/PHP-7.3/ext/mbstring/oniguruma/src/ |
H A D | euc_kr.c | 98 euckr_code_to_mbc(OnigCodePoint code, UChar *buf) in euckr_code_to_mbc() argument 100 return onigenc_mb2_code_to_mbc(ONIG_ENCODING_EUC_KR, code, buf); in euckr_code_to_mbc()
|
H A D | euc_tw.c | 117 euctw_code_to_mbc(OnigCodePoint code, UChar *buf) in euctw_code_to_mbc() argument 119 return onigenc_mb4_code_to_mbc(ONIG_ENCODING_EUC_TW, code, buf); in euctw_code_to_mbc()
|
/PHP-7.3/ext/sysvsem/ |
H A D | sysvsem.c | 48 struct semid_ds *buf; /* buffer for IPC_STAT, IPC_SET */ member 383 struct semid_ds buf; local 395 un.buf = &buf;
|
/PHP-7.3/ext/hash/ |
H A D | hash.c | 150 char buf[1024]; in php_hash_do_hash() local 153 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in php_hash_do_hash() 154 ops->hash_update(context, (unsigned char *) buf, n); in php_hash_do_hash() 278 char buf[1024]; in php_hash_do_hash_hmac() local 282 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in php_hash_do_hash_hmac() 283 ops->hash_update(context, (unsigned char *) buf, n); in php_hash_do_hash_hmac() 454 char buf[1024]; in PHP_FUNCTION() local 461 if ((n = php_stream_read(stream, buf, toread)) <= 0) { in PHP_FUNCTION() 483 char buf[1024]; in PHP_FUNCTION() local 500 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in PHP_FUNCTION() [all …]
|
/PHP-7.3/sapi/phpdbg/ |
H A D | phpdbg_io.h | 29 PHPDBG_API int phpdbg_consume_stdin_line(char *buf);
|
H A D | phpdbg_list.h | 45 char *buf; member
|
H A D | phpdbg_cmd.c | 744 char buf[PHPDBG_MAX_CMD]; in phpdbg_read_input() local 760 phpdbg_consume_stdin_line(cmd = buf); in phpdbg_read_input() 820 char buf[PHPDBG_MAX_CMD]; in phpdbg_ask_user_permission() local 825 phpdbg_consume_stdin_line(buf); in phpdbg_ask_user_permission() 826 if (buf[1] == '\n' && (buf[0] == 'y' || buf[0] == 'n')) { in phpdbg_ask_user_permission() 827 if (buf[0] == 'y') { in phpdbg_ask_user_permission()
|
/PHP-7.3/ext/intl/transliterator/ |
H A D | transliterator_methods.c | 69 char *buf = NULL; in create_transliterator() local 71 spprintf( &buf, 0, "transliterator_create: unable to open ICU transliterator" in create_transliterator() 73 if( buf == NULL ) { in create_transliterator() 79 intl_error_set_custom_msg( NULL, buf, /* copy message */ 1 ); in create_transliterator() 80 efree( buf ); in create_transliterator()
|
/PHP-7.3/Zend/ |
H A D | zend.h | 153 …int (*unserialize)(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, z… 187 void (*printf_to_smart_string_function)(smart_string *buf, const char *format, va_list ap); 188 void (*printf_to_smart_str_function)(smart_str *buf, const char *format, va_list ap); 276 extern void (*zend_printf_to_smart_string)(smart_string *buf, const char *format, va_list ap); 277 extern void (*zend_printf_to_smart_str)(smart_str *buf, const char *format, va_list ap);
|
H A D | zend_interfaces.h | 75 ZEND_API int zend_user_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buf, si… 78 …_unserialize_deny(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, ze…
|
H A D | zend_gc.c | 159 #define GC_IDX2PTR(idx) (GC_G(buf) + (idx)) 415 if (gc_globals->buf) { in root_buffer_dtor() 416 free(gc_globals->buf); in root_buffer_dtor() 417 gc_globals->buf = NULL; in root_buffer_dtor() 428 gc_globals->buf = NULL; in gc_globals_ctor_ex() 466 if (GC_G(buf)) { in gc_reset() 494 GC_G(buf)[0].ref = NULL; in gc_enable() local 540 GC_G(buf) = perealloc(GC_G(buf), sizeof(gc_root_buffer) * new_size, 1); in gc_grow_root_buffer() 1135 gc_root_buffer *buf; in gc_add_garbage() local 1149 buf = GC_IDX2PTR(idx); in gc_add_garbage() [all …]
|
/PHP-7.3/sapi/litespeed/ |
H A D | lsapilib.c | 97 uint32 buf[4]; member 243 char buf[1024]; in LSAPI_Log() local 244 char *p = buf; in LSAPI_Log() 276 if (p > buf) in LSAPI_Log() 277 fprintf(stderr, "%.*s", (int)(p - buf), buf); in LSAPI_Log() 4094 t = (uint32) ((unsigned) buf[3] << 8 | buf[2]) << 16 | in byteReverse() 4095 ((unsigned) buf[1] << 8 | buf[0]); in byteReverse() 4233 a = buf[0]; in lsapi_MD5Transform() 4234 b = buf[1]; in lsapi_MD5Transform() 4235 c = buf[2]; in lsapi_MD5Transform() [all …]
|
/PHP-7.3/ext/pcre/pcre2lib/sljit/ |
H A D | sljitLir.c | 459 buf = compiler->buf; in sljit_free_compiler() 460 while (buf) { in sljit_free_compiler() 461 curr = buf; in sljit_free_compiler() 462 buf = buf->next; in sljit_free_compiler() 467 while (buf) { in sljit_free_compiler() 468 curr = buf; in sljit_free_compiler() 469 buf = buf->next; in sljit_free_compiler() 546 ret = compiler->buf->memory + compiler->buf->used_size; in ensure_buf() 595 struct sljit_memory_fragment *buf = compiler->buf; in reverse_buf() local 602 prev = buf; in reverse_buf() [all …]
|
/PHP-7.3/win32/ |
H A D | winutil.h | 32 PHP_WINUTIL_API int php_win32_get_random_bytes(unsigned char *buf, size_t size);
|
/PHP-7.3/ext/odbc/ |
H A D | php_odbc.c | 845 char buf[32]; in PHP_MINFO_FUNCTION() local 849 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ODBCG(num_persistent)); in PHP_MINFO_FUNCTION() 851 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ODBCG(num_links)); in PHP_MINFO_FUNCTION() 855 snprintf(buf, sizeof(buf), "0x%0.4x", ODBCVER); in PHP_MINFO_FUNCTION() 1456 char buf[4096]; in PHP_FUNCTION() local 1807 efree(buf); in php_odbc_fetch_hash() 1843 if (buf) { in php_odbc_fetch_hash() 1844 efree(buf); in php_odbc_fetch_hash() 1963 efree(buf); in PHP_FUNCTION() 1989 if (buf) efree(buf); in PHP_FUNCTION() [all …]
|
/PHP-7.3/ext/com_dotnet/ |
H A D | com_wrapper.c | 73 char buf[4096]; in trace() local 75 snprintf(buf, sizeof(buf), "T=%08x ", GetCurrentThreadId()); in trace() 76 OutputDebugString(buf); in trace() 79 vsnprintf(buf, sizeof(buf), fmt, ap); in trace() 81 OutputDebugString(buf); in trace()
|
/PHP-7.3/TSRM/ |
H A D | tsrm_win32.c | 744 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf) in shmctl() argument 754 memcpy(buf, shm->descriptor, sizeof(struct shmid_ds)); in shmctl() 759 shm->descriptor->shm_perm.uid = buf->shm_perm.uid; in shmctl() 760 shm->descriptor->shm_perm.gid = buf->shm_perm.gid; in shmctl() 761 shm->descriptor->shm_perm.mode = buf->shm_perm.mode; in shmctl() 787 TSRM_API int win32_utime(const char *filename, struct utimbuf *buf) /* {{{ */ in win32_utime() argument 812 if (!buf) { in win32_utime() 818 UnixTimeToFileTime(buf->modtime, &mtime); in win32_utime() 819 UnixTimeToFileTime(buf->actime, &atime); in win32_utime()
|
/PHP-7.3/ext/fileinfo/libmagic/ |
H A D | print.c | 234 file_fmttime(uint64_t v, int flags, char *buf) in file_fmttime() argument 257 pp = php_asctime_r(tm, buf); in file_fmttime() 264 return strcpy(buf, "*Invalid time*"); in file_fmttime()
|
/PHP-7.3/ext/sockets/ |
H A D | multicast.c | 758 char *buf = NULL, local 771 buf = ecalloc(size, 1); 773 if_conf.ifc_buf = buf; 787 efree(buf); 788 buf = NULL; 830 efree(buf); 844 if (buf != NULL) 845 efree(buf);
|
/PHP-7.3/ext/xmlrpc/libxmlrpc/ |
H A D | xmlrpc.c | 186 char buf[30]; in date_from_ISO8601() local 190 char *p = (char *) text, *p2 = buf; in date_from_ISO8601() 195 if (p2-buf >= sizeof(buf)) { in date_from_ISO8601() 202 text = buf; in date_from_ISO8601() 272 static int date_to_ISO8601 (time_t value, char *buf, int length) { in date_to_ISO8601() argument 279 return strftime (buf, length, "%Y-%m-%dT%H:%M:%SZ", tm); in date_to_ISO8601() 281 return strftime(buf, length, "%Y%m%dT%H:%M:%SZ", tm); in date_to_ISO8601() 760 char buf[1024]; in map_expat_errors() local 761 snprintf(buf, sizeof(buf), in map_expat_errors() 777 xReturn = XMLRPC_UtilityCreateFault(code, buf); in map_expat_errors()
|
/PHP-7.3/ext/openssl/ |
H A D | xp_ssl.c | 467 char buf[1024]; in php_openssl_matches_common_name() local 473 cert_name_len = X509_NAME_get_text_by_NID(cert_name, NID_commonName, buf, sizeof(buf)); in php_openssl_matches_common_name() 477 } else if ((size_t)cert_name_len != strlen(buf)) { in php_openssl_matches_common_name() 484 cert_name_len, buf, subject_name); in php_openssl_matches_common_name() 596 memcpy(buf, Z_STRVAL_P(val), Z_STRLEN_P(val)+1); in php_openssl_passwd_callback() 2024 return php_openssl_sockop_io( 1, stream, buf, count ); in php_openssl_sockop_read() 2030 return php_openssl_sockop_io( 0, stream, (char*)buf, count ); in php_openssl_sockop_write() 2194 nr_bytes = php_stream_socket_ops.read(stream, buf, count); in php_openssl_sockop_io() 2444 char buf; in php_openssl_sockop_set_option() local 2467 int n = SSL_peek(sslsock->ssl_handle, &buf, sizeof(buf)); in php_openssl_sockop_set_option() [all …]
|
/PHP-7.3/ext/zip/lib/ |
H A D | zip_dirent.c | 99 zip_uint8_t buf[EOCDLEN + EOCD64LEN + EOCD64LOCLEN]; in _zip_cdir_write() local 133 if ((buffer = _zip_buffer_new(buf, sizeof(buf))) == NULL) { in _zip_cdir_write() 300 zip_uint8_t buf[CDENTRYSIZE]; in _zip_dirent_read() local 316 if ((buffer = _zip_buffer_new_from_source(src, size, buf, error)) == NULL) { in _zip_dirent_read() 623 zip_uint8_t buf[CDENTRYSIZE]; in _zip_dirent_write() local 698 if ((buffer = _zip_buffer_new(buf, sizeof(buf))) == NULL) { in _zip_dirent_write() 766 if (_zip_write(za, buf, _zip_buffer_offset(buffer)) < 0) { in _zip_dirent_write()
|
/PHP-7.3/ext/zlib/tests/ |
H A D | inflate_get_read_len.phpt | 16 $buf = inflate_add($ctx, $compressed);
|
/PHP-7.3/ext/standard/ |
H A D | url_scanner_ex.h | 43 smart_str buf; member
|
/PHP-7.3/main/streams/ |
H A D | php_stream_filter_api.h | 46 char *buf; member 68 PHPAPI php_stream_bucket *php_stream_bucket_new(php_stream *stream, char *buf, size_t buflen, uint8…
|