/PHP-7.3/ext/intl/breakiterator/ |
H A D | codepointiterator_internal.cpp | 244 char *buf = (char*)stackBuffer; in createBufferClone() local 252 uint32_t offsetUp = (uint32_t)U_ALIGNMENT_OFFSET_UP(buf); in createBufferClone() 254 buf += offsetUp; in createBufferClone() 268 return new(buf) CodePointBreakIterator(*this); in createBufferClone()
|
/PHP-7.3/win32/ |
H A D | ioutil.h | 168 PW32IO php_win32_ioutil_normalization_result php_win32_ioutil_normalize_path_w(wchar_t **buf, size_… 260 PW32IO size_t php_win32_ioutil_dirname(char *buf, size_t len); 265 PW32IO wchar_t *php_win32_ioutil_getcwd_w(wchar_t *buf, size_t len); 485 __forceinline static char *php_win32_ioutil_getcwd(char *buf, size_t len) in php_win32_ioutil_getcwd() argument 513 if (!buf && !len) { in php_win32_ioutil_getcwd() 515 buf = tmp_bufa; in php_win32_ioutil_getcwd() 517 memmove(buf, tmp_bufa, tmp_bufa_len + 1); in php_win32_ioutil_getcwd() 521 return buf; in php_win32_ioutil_getcwd()
|
/PHP-7.3/ext/session/ |
H A D | session.c | 848 return buf.s; in PHP_INI_END() 903 smart_str_0(&buf); in PS_SERIALIZER_ENCODE_FUNC() 906 return buf.s; in PS_SERIALIZER_ENCODE_FUNC() 973 smart_str_0(&buf); in PS_SERIALIZER_ENCODE_FUNC() 976 return buf.s; in PS_SERIALIZER_ENCODE_FUNC() 1119 char buf[MAX_STR]; in strcpy_gmt() local 1155 ADD_HEADER(buf); in last_modified() 1171 ADD_HEADER(buf); in CACHE_LIMITER_FUNC() 1174 ADD_HEADER(buf); in CACHE_LIMITER_FUNC() 1185 ADD_HEADER(buf); in CACHE_LIMITER_FUNC() [all …]
|
/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_trace.h | 12 int fpm_trace_get_strz(char *buf, size_t sz, long addr);
|
H A D | fpm_conf.c | 188 char *buf; in fpm_conf_expand_pool_name() local 205 efree(buf); in fpm_conf_expand_pool_name() 1028 char *buf; in fpm_conf_process_all_pools() local 1034 efree(buf); in fpm_conf_process_all_pools() 1038 efree(buf); in fpm_conf_process_all_pools() 1158 char buf[64]; in fpm_conf_write_pid() local 1558 free(buf); in fpm_conf_load_ini_file() 1564 buf[n] = c; in fpm_conf_load_ini_file() 1578 free(buf); in fpm_conf_load_ini_file() 1590 free(buf); in fpm_conf_load_ini_file() [all …]
|
/PHP-7.3/ext/standard/ |
H A D | php_var.h | 35 PHPAPI void php_var_export_ex(zval *struc, int level, smart_str *buf); 42 PHPAPI void php_var_serialize(smart_str *buf, zval *struc, php_serialize_data_t *data);
|
H A D | url_scanner_ex.re | 507 YYCURSOR = ZSTR_VAL(ctx->buf.s); 508 YYLIMIT = ZSTR_VAL(ctx->buf.s) + ZSTR_LEN(ctx->buf.s); 583 ZSTR_LEN(ctx->buf.s) = rest; 591 smart_str buf = {0}; 615 smart_str_0(&buf); 617 result = estrndup(ZSTR_VAL(buf.s), ZSTR_LEN(buf.s)); 620 smart_str_free(&buf); 642 smart_str_free(&ctx->buf); 677 smart_str_free(&ctx->buf); 705 if (ctx->buf.s && ZSTR_LEN(ctx->buf.s)) { [all …]
|
H A D | math.c | 195 char buf[40]; in _php_math_round() local 196 snprintf(buf, 39, "%15fe%d", tmp_value, -places); in _php_math_round() 197 buf[39] = '\0'; in _php_math_round() 198 tmp_value = zend_strtod(buf, NULL); in _php_math_round() 916 char buf[(sizeof(zend_ulong) << 3) + 1]; in _php_math_longtobase() local 926 end = ptr = buf + sizeof(buf) - 1; in _php_math_longtobase() 930 ZEND_ASSERT(ptr > buf); in _php_math_longtobase() 955 char buf[(sizeof(double) << 3) + 1]; in _php_math_zvaltobase() local 963 end = ptr = buf + sizeof(buf) - 1; in _php_math_zvaltobase() 969 } while (ptr > buf && fabs(fvalue) >= 1); in _php_math_zvaltobase()
|
H A D | ftp_fopen_wrapper.c | 616 static size_t php_ftp_dirstream_read(php_stream *stream, char *buf, size_t count) in php_ftp_dirstream_read() argument 618 php_stream_dirent *ent = (php_stream_dirent *)buf; in php_ftp_dirstream_read() 1065 char *p, *e, *buf; in php_stream_ftp_mkdir() local 1067 buf = estrndup(ZSTR_VAL(resource->path), ZSTR_LEN(resource->path)); in php_stream_ftp_mkdir() 1068 e = buf + ZSTR_LEN(resource->path); in php_stream_ftp_mkdir() 1071 while ((p = strrchr(buf, '/'))) { in php_stream_ftp_mkdir() 1073 php_stream_printf(stream, "CWD %s\r\n", strlen(buf) ? buf : "/"); in php_stream_ftp_mkdir() 1081 php_stream_printf(stream, "MKD %s\r\n", strlen(buf) ? buf : "/"); in php_stream_ftp_mkdir() 1086 p = buf; in php_stream_ftp_mkdir() 1092 php_stream_printf(stream, "MKD %s\r\n", buf); in php_stream_ftp_mkdir() [all …]
|
/PHP-7.3/ext/sockets/tests/ |
H A D | socket_abstract_path.phpt | 37 if (!socket_recv($conns, $buf, 20, 0)) die("recv"); 38 print_r($buf);
|
/PHP-7.3/TSRM/ |
H A D | tsrm_win32.h | 105 TSRM_API int win32_utime(const char *filename, struct utimbuf *buf); 110 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf);
|
/PHP-7.3/ext/json/ |
H A D | php_json_encoder.h | 38 int php_json_encode_zval(smart_str *buf, zval *val, int options, php_json_encoder *encoder);
|
/PHP-7.3/ext/tidy/ |
H A D | tidy.c | 524 efree(buf); in php_tidy_free() 637 TidyBuffer buf; in php_tidy_quick_repair() local 639 tidyBufInit(&buf); in php_tidy_quick_repair() 798 TidyBuffer buf; in tidy_node_cast_handler() local 817 tidyBufInit(&buf); in tidy_node_cast_handler() 820 ZVAL_STRINGL(out, (char *) buf.bp, buf.size-1); in tidy_node_cast_handler() 824 tidyBufFree(&buf); in tidy_node_cast_handler() 865 TidyBuffer buf; in tidy_add_default_properties() local 879 ADD_PROPERTY_STRINGL(obj->std.properties, value, buf.bp, buf.size ? buf.size-1 : 0); in tidy_add_default_properties() 1039 TidyBuffer buf; in php_tidy_parse_string() local [all …]
|
/PHP-7.3/ext/posix/ |
H A D | posix.c | 1071 char *buf; in PHP_FUNCTION() local 1083 buf = emalloc(buflen); in PHP_FUNCTION() 1087 if (getgrnam_r(name, g, buf, buflen, &g) || g == NULL) { in PHP_FUNCTION() 1090 buf = erealloc(buf, buflen); in PHP_FUNCTION() 1094 efree(buf); in PHP_FUNCTION() 1111 efree(buf); in PHP_FUNCTION() 1203 char *buf; in PHP_FUNCTION() local 1215 buf = emalloc(buflen); in PHP_FUNCTION() 1222 buf = erealloc(buf, buflen); in PHP_FUNCTION() 1225 efree(buf); in PHP_FUNCTION() [all …]
|
H A D | config.m4 | 20 char buf[64]; 22 return !ttyname_r(0, buf, 64);
|
/PHP-7.3/main/streams/ |
H A D | php_stream_transport.h | 102 PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, 108 PHPAPI int php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen, 146 char *buf; member
|
/PHP-7.3/ext/sockets/ |
H A D | sockets.c | 138 ZEND_ARG_INFO(0, buf) 184 ZEND_ARG_INFO(1, buf) 191 ZEND_ARG_INFO(0, buf) 198 ZEND_ARG_INFO(1, buf) 629 const char *buf; local 653 buf = NULL; 670 return (buf ? (char *) buf : ""); 1728 ZVAL_NULL(buf); 1755 char *buf; local 2853 (LPSTR)&buf, [all …]
|
/PHP-7.3/ext/hash/ |
H A D | php_hash_joaat.h | 30 static uint32_t joaat_buf(void *buf, size_t len, uint32_t hval);
|
/PHP-7.3/ext/wddx/tests/ |
H A D | bug34306.phpt | 9 $buf = wddx_serialize_value($var, 'name');
|
/PHP-7.3/ext/mbstring/oniguruma/src/ |
H A D | big5.c | 99 big5_code_to_mbc(OnigCodePoint code, UChar *buf) in big5_code_to_mbc() argument 101 return onigenc_mb2_code_to_mbc(ONIG_ENCODING_BIG5, code, buf); in big5_code_to_mbc()
|
H A D | utf32_be.c | 80 utf32be_code_to_mbc(OnigCodePoint code, UChar *buf) in utf32be_code_to_mbc() argument 82 UChar* p = buf; in utf32be_code_to_mbc()
|
H A D | utf32_le.c | 80 utf32le_code_to_mbc(OnigCodePoint code, UChar *buf) in utf32le_code_to_mbc() argument 82 UChar* p = buf; in utf32le_code_to_mbc()
|
H A D | sjis.c | 145 code_to_mbc(OnigCodePoint code, UChar *buf) in code_to_mbc() argument 147 UChar *p = buf; in code_to_mbc() 152 return (int )(p - buf); in code_to_mbc()
|
/PHP-7.3/ext/opcache/ |
H A D | zend_accelerator_util_funcs.h | 40 unsigned int zend_adler32(unsigned int checksum, unsigned char *buf, uint32_t len);
|
/PHP-7.3/ext/spl/ |
H A D | spl_observer.c | 701 smart_str buf = {0}; in SPL_METHOD() local 710 smart_str_appendl(&buf, "x:", 2); in SPL_METHOD() 712 php_var_serialize(&buf, &flags, &var_hash); in SPL_METHOD() 718 smart_str_free(&buf); in SPL_METHOD() 723 smart_str_appendc(&buf, ','); in SPL_METHOD() 725 smart_str_appendc(&buf, ';'); in SPL_METHOD() 730 smart_str_appendl(&buf, "m:", 2); in SPL_METHOD() 739 if (buf.s) { in SPL_METHOD() 740 RETURN_NEW_STR(buf.s); in SPL_METHOD() 753 char *buf; in SPL_METHOD() local [all …]
|