Home
last modified time | relevance | path

Searched refs:buf (Results 126 – 150 of 313) sorted by relevance

12345678910>>...13

/PHP-7.4/ext/iconv/
H A Diconv.c283 snprintf(buf, sizeof(buf), "%d.%d", in PHP_INI_END()
285 version = buf; in PHP_INI_END()
750 out_p = buf; in _php_iconv_strlen()
870 out_p = buf; in _php_iconv_substr()
1002 out_p = buf; in _php_iconv_strpos()
1033 if (_php_iconv_memequal(buf, ndl_buf_p, sizeof(buf))) { in _php_iconv_strpos()
1074 if (_php_iconv_memequal(buf, ndl_buf_p, sizeof(buf))) { in _php_iconv_strpos()
1136 char *buf = NULL; in _php_iconv_mime_encode() local
1247 out_p = buf; in _php_iconv_mime_encode()
1354 out_p = buf; in _php_iconv_mime_encode()
[all …]
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_trace.h12 int fpm_trace_get_strz(char *buf, size_t sz, long addr);
/PHP-7.4/ext/gd/libgd/
H A Dgd_io_dp.c58 static int dynamicGetbuf (gdIOCtxPtr ctx, void *buf, int len);
201 dynamicPutbuf (struct gdIOCtx *ctx, const void *buf, int size) in dynamicPutbuf() argument
206 appendDynamic (dctx->dp, buf, size); in dynamicPutbuf()
230 static int dynamicGetbuf (gdIOCtxPtr ctx, void *buf, int len) in dynamicGetbuf() argument
249 memcpy(buf, (void *) ((char *) dp->data + dp->pos), rlen); in dynamicGetbuf()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dsoftmagic.c505 buf += l; in varexpand()
534 buf += l; in varexpand()
544 buf[l] = '\0'; in varexpand()
572 (void)snprintf(buf, sizeof(buf), "%d", in mprint()
594 (void)snprintf(buf, sizeof(buf), "%u", in mprint()
617 (void)snprintf(buf, sizeof(buf), "%u", in mprint()
639 (void)snprintf(buf, sizeof(buf), "%" INT64_T_FORMAT "u", in mprint()
751 (void)snprintf(buf, sizeof(buf), "%g", vf); in mprint()
771 (void)snprintf(buf, sizeof(buf), "%g", vd); in mprint()
2350 if (varexpand(ms, buf, sizeof(buf), m->mimetype) == -1) in handle_annotation()
[all …]
/PHP-7.4/Zend/
H A Dzend_virtual_cwd.h164 CWD_API char *virtual_getcwd(char *buf, size_t size);
174 CWD_API int virtual_stat(const char *path, zend_stat_t *buf);
175 CWD_API int virtual_lstat(const char *path, zend_stat_t *buf);
184 CWD_API int virtual_utime(const char *filename, struct utimbuf *buf);
265 #define VCWD_GETWD(buf) argument
319 #define VCWD_GETWD(buf) getwd(buf) argument
/PHP-7.4/sapi/litespeed/
H A Dlsapi_main.c222 char buf[128]; in litespeed_php_import_environment_variables() local
223 char **env, *p, *t = buf; in litespeed_php_import_environment_variables()
224 size_t alloc_size = sizeof(buf); in litespeed_php_import_environment_variables()
259 if (t != buf && t != NULL) { in litespeed_php_import_environment_variables()
398 len = slprintf(buf, sizeof(buf), "Status:%s", s); in sapi_lsapi_send_headers_like_cgi()
423 … len = slprintf(buf, sizeof(buf), "Status: %d", SG(sapi_headers).http_response_code); in sapi_lsapi_send_headers_like_cgi()
515 char buf[8192]; in sapi_lsapi_log_message() local
520 message = buf; in sapi_lsapi_log_message()
536 char buf[0x100];
537 vsnprintf(buf, sizeof(buf), fmt, ap);
[all …]
/PHP-7.4/ext/soap/
H A Dphp_http.c41 zend_string *buf; in proxy_authentication() local
53 smart_str_appendl(soap_headers, (char*)ZSTR_VAL(buf), ZSTR_LEN(buf)); in proxy_authentication()
70 zend_string* buf; in basic_authentication() local
82 smart_str_appendl(soap_headers, (char*)ZSTR_VAL(buf), ZSTR_LEN(buf)); in basic_authentication()
374 request = buf; in make_http_soap_request()
449 if (request != buf) { in make_http_soap_request()
462 if (request != buf) { in make_http_soap_request()
474 if (request != buf) { in make_http_soap_request()
809 zend_string *buf; in make_http_soap_request() local
821 smart_str_appendl(&soap_headers, (char*)ZSTR_VAL(buf), ZSTR_LEN(buf)); in make_http_soap_request()
[all …]
/PHP-7.4/ext/json/
H A Dphp_json_encoder.h38 int php_json_encode_zval(smart_str *buf, zval *val, int options, php_json_encoder *encoder);
/PHP-7.4/ext/sockets/tests/
H A Dsocket_abstract_path.phpt37 if (!socket_recv($conns, $buf, 20, 0)) die("recv");
38 print_r($buf);
/PHP-7.4/TSRM/
H A Dtsrm_win32.h105 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.4/ext/session/
H A Dsession.c848 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.4/sapi/cli/
H A Dphp_cli_server.c248 if (buf == NULL) { in php_cli_server_get_system_time()
761 char buf[52]; in sapi_cli_server_log_write() local
772 buf[l - 1] = '\0'; in sapi_cli_server_log_write()
1252 char *buf = NULL; in php_cli_server_logf() local
1263 if (!buf) { in php_cli_server_logf()
1269 efree(buf); in php_cli_server_logf()
1469 while (q > buf) { in php_cli_server_request_translate_vpath()
1489 pefree(buf, 1); in php_cli_server_request_translate_vpath()
1822 char buf[16384]; in php_cli_server_client_read_request() local
1840 nbytes_read = recv(client->sock, buf, sizeof(buf) - 1, 0); in php_cli_server_client_read_request()
[all …]
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_prompt.c466 char *buf; in PHPDBG_COMMAND() local
483 if (!memcmp(sep, nl, seplen) && (*buf == '\n' || (*buf == '\r' && buf[1] == '\n'))) { in PHPDBG_COMMAND()
490 nl = buf + 1; in PHPDBG_COMMAND()
492 buf++; in PHPDBG_COMMAND()
494 if (buf != nl && buf <= nl + seplen) { in PHPDBG_COMMAND()
558 memmove(data->buf, data->buf + 2, data->len); in phpdbg_compile_stdin()
569 char *buf; in phpdbg_compile() local
795 char *buf = emalloc(end - p + 2), *q = buf; in PHPDBG_COMMAND() local
825 efree(buf); in PHPDBG_COMMAND()
849 efree(buf); in PHPDBG_COMMAND()
[all …]
H A Dphpdbg_out.h70 #define phpdbg_asprintf(buf, ...) _phpdbg_asprintf(buf, ##__VA_ARGS__) argument
71 PHPDBG_API int _phpdbg_asprintf(char **buf, const char *format, ...);
/PHP-7.4/ext/hash/
H A Dphp_hash_joaat.h30 static uint32_t joaat_buf(void *buf, size_t len, uint32_t hval);
/PHP-7.4/win32/
H A Dsendmail.c925 ZEND_TLS char buf[MAIL_BUFFER_SIZE]; in Ack() local
936 if ((rlen = recv(PW32G(mail_socket), buf + Index, ((MAIL_BUFFER_SIZE) - 1) - Received, 0)) < 1) { in Ack()
940 buf[Received] = 0; in Ack()
948 if (Received < 5 || buf[Received - 1] != '\n' || buf[Received - 2] != '\r') { in Ack()
952 if (buf[0] > '3') { in Ack()
958 if (buf[Received-1] == '\n' || buf[Received-1] == '\r') { in Ack()
960 if (buf[Received-2] == '\r' || buf[Received-2] == '\n') { in Ack()
966 *server_response = estrndup(buf, Received - dec); in Ack()
/PHP-7.4/ext/posix/
H A Dconfig.m421 char buf[64];
23 return !ttyname_r(0, buf, 64);
H A Dposix.c1089 char *buf; in PHP_FUNCTION() local
1101 buf = emalloc(buflen); in PHP_FUNCTION()
1105 if (getgrnam_r(name, g, buf, buflen, &g) || g == NULL) { in PHP_FUNCTION()
1108 buf = erealloc(buf, buflen); in PHP_FUNCTION()
1112 efree(buf); in PHP_FUNCTION()
1129 efree(buf); in PHP_FUNCTION()
1221 char *buf; in PHP_FUNCTION() local
1233 buf = emalloc(buflen); in PHP_FUNCTION()
1240 buf = erealloc(buf, buflen); in PHP_FUNCTION()
1243 efree(buf); in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp248 char *buf = (char*)stackBuffer; in createBufferClone() local
256 uint32_t offsetUp = (uint32_t)U_ALIGNMENT_OFFSET_UP(buf); in createBufferClone()
258 buf += offsetUp; in createBufferClone()
272 return new(buf) CodePointBreakIterator(*this); in createBufferClone()
/PHP-7.4/ext/standard/
H A Dmath.c195 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()
935 char buf[(sizeof(zend_ulong) << 3) + 1]; in _php_math_longtobase() local
945 end = ptr = buf + sizeof(buf) - 1; in _php_math_longtobase()
949 ZEND_ASSERT(ptr > buf); in _php_math_longtobase()
974 char buf[(sizeof(double) << 3) + 1]; in _php_math_zvaltobase() local
982 end = ptr = buf + sizeof(buf) - 1; in _php_math_zvaltobase()
988 } while (ptr > buf && fabs(fvalue) >= 1); in _php_math_zvaltobase()
H A Durl_scanner_ex.re505 YYCURSOR = ZSTR_VAL(ctx->buf.s);
506 YYLIMIT = ZSTR_VAL(ctx->buf.s) + ZSTR_LEN(ctx->buf.s);
581 ZSTR_LEN(ctx->buf.s) = rest;
589 smart_str buf = {0};
613 smart_str_0(&buf);
615 result = estrndup(ZSTR_VAL(buf.s), ZSTR_LEN(buf.s));
618 smart_str_free(&buf);
640 smart_str_free(&ctx->buf);
675 smart_str_free(&ctx->buf);
703 if (ctx->buf.s && ZSTR_LEN(ctx->buf.s)) {
[all …]
H A Dphp_var.h36 PHPAPI void php_var_export_ex(zval *struc, int level, smart_str *buf);
43 PHPAPI void php_var_serialize(smart_str *buf, zval *struc, php_serialize_data_t *data);
/PHP-7.4/main/streams/
H A Dphp_stream_transport.h102 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.4/ext/sockets/
H A Dsockets.c147 ZEND_ARG_INFO(0, buf)
193 ZEND_ARG_INFO(1, buf)
200 ZEND_ARG_INFO(0, buf)
207 ZEND_ARG_INFO(1, buf)
216 ZEND_ARG_INFO(0, buf)
638 const char *buf; local
662 buf = NULL;
677 return (buf ? (char *) buf : "");
1751 char *buf; local
2843 if (!buf[0]) {
[all …]
/PHP-7.4/ext/opcache/
H A Dzend_accelerator_util_funcs.h38 unsigned int zend_adler32(unsigned int checksum, unsigned char *buf, uint32_t len);

Completed in 112 milliseconds

12345678910>>...13