/php-src/ext/dom/ |
H A D | documenttype.c | 138 xmlOutputBuffer *buff = xmlAllocOutputBuffer(NULL); in dom_documenttype_internal_subset_read() local 140 if (buff != NULL) { in dom_documenttype_internal_subset_read() 141 xmlNodeDumpOutput (buff, NULL, cur, 0, 0, NULL); in dom_documenttype_internal_subset_read() 142 xmlOutputBufferFlush(buff); in dom_documenttype_internal_subset_read() 144 …tr_appendl(&ret_buf, (const char *) xmlOutputBufferGetContent(buff), xmlOutputBufferGetSize(buff)); in dom_documenttype_internal_subset_read() 146 (void)xmlOutputBufferClose(buff); in dom_documenttype_internal_subset_read()
|
/php-src/Zend/ |
H A D | zend_virtual_cwd.h | 273 #define VCWD_GETCWD(buff, size) virtual_getcwd(buff, size) argument 284 #define VCWD_STAT(path, buff) virtual_stat(path, buff) argument 285 # define VCWD_LSTAT(path, buff) virtual_lstat(path, buff) argument 318 #define VCWD_GETCWD(buff, size) php_win32_ioutil_getcwd(buff, size) argument 330 #define VCWD_GETCWD(buff, size) getcwd(buff, size) argument 336 #define VCWD_STAT(path, buff) php_sys_stat(path, buff) argument 337 #define VCWD_LSTAT(path, buff) lstat(path, buff) argument
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | str.c | 132 const lxb_char_t *buff, size_t length) in lexbor_str_append() argument 140 memcpy(data_begin, buff, sizeof(lxb_char_t) * length); in lexbor_str_append() 150 const lxb_char_t *buff, size_t length) in lexbor_str_append_before() argument 160 memcpy(str->data, buff, sizeof(lxb_char_t) * length); in lexbor_str_append_before() 213 end = buff + length; in lexbor_str_append_with_rep_null_chars() 215 while (buff != end) { in lexbor_str_append_with_rep_null_chars() 216 pos = memchr(buff, '\0', sizeof(lxb_char_t) * (end - buff)); in lexbor_str_append_with_rep_null_chars() 221 res = lexbor_str_append(str, mraw, buff, (pos - buff)); in lexbor_str_append_with_rep_null_chars() 233 buff = pos + 1; in lexbor_str_append_with_rep_null_chars() 236 if (buff != end) { in lexbor_str_append_with_rep_null_chars() [all …]
|
H A D | bst.c | 418 lxb_char_t buff[1024]; in lexbor_bst_serialize_entry() local 432 buff, sizeof(buff)); in lexbor_bst_serialize_entry() 433 callback(buff, len, ctx); in lexbor_bst_serialize_entry() 456 buff, sizeof(buff)); in lexbor_bst_serialize_entry() 457 callback(buff, len, ctx); in lexbor_bst_serialize_entry()
|
H A D | str.h | 86 const lxb_char_t *buff, size_t length); 98 const lxb_char_t *buff, size_t length);
|
/php-src/ext/intl/idn/ |
H A D | idn.c | 42 char *buff; in php_intl_idn_check_status() local 43 spprintf(&buff, 0, "%s: %s", in php_intl_idn_check_status() 46 intl_error_set_custom_msg(NULL, buff, 1); in php_intl_idn_check_status() 47 efree(buff); in php_intl_idn_check_status()
|
/php-src/ext/standard/ |
H A D | link.c | 61 char buff[MAXPATHLEN]; in PHP_FUNCTION() local 72 ret = php_sys_readlink(link, buff, MAXPATHLEN-1); in PHP_FUNCTION() 83 buff[ret] = '\0'; in PHP_FUNCTION() 85 RETURN_STRINGL(buff, ret); in PHP_FUNCTION()
|
H A D | streamsfuncs.c | 1468 size_t buff; in PHP_FUNCTION() local 1478 buff = arg2; in PHP_FUNCTION() 1481 if (buff == 0) { in PHP_FUNCTION() 1484 …ret = php_stream_set_option(stream, PHP_STREAM_OPTION_WRITE_BUFFER, PHP_STREAM_BUFFER_FULL, &buff); in PHP_FUNCTION() 1531 size_t buff; in PHP_FUNCTION() local 1541 buff = arg2; in PHP_FUNCTION() 1544 if (buff == 0) { in PHP_FUNCTION() 1547 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_READ_BUFFER, PHP_STREAM_BUFFER_FULL, &buff); in PHP_FUNCTION()
|
H A D | file.c | 2198 char buff[META_DEF_BUFSIZE + 1]; in php_next_meta_token() local 2200 memset((void *)buff, 0, META_DEF_BUFSIZE + 1); in php_next_meta_token() 2233 buff[(md->token_len)++] = ch; in php_next_meta_token() 2249 memcpy(md->token_data, buff, md->token_len+1); in php_next_meta_token() 2267 buff[(md->token_len)++] = ch; in php_next_meta_token() 2269 buff[(md->token_len)++] = ch; in php_next_meta_token() 2283 memcpy(md->token_data, buff, md->token_len+1); in php_next_meta_token()
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | minilua.c | 399 #define luaZ_initbuffer(L,buff)((buff)->buffer=NULL,(buff)->buffsize=0) argument 400 #define luaZ_buffer(buff)((buff)->buffer) argument 401 #define luaZ_sizebuffer(buff)((buff)->buffsize) argument 402 #define luaZ_bufflen(buff)((buff)->n) argument 403 #define luaZ_resetbuffer(buff)((buff)->n=0) argument 404 #define luaZ_resizebuffer(L,buff,size)(luaM_reallocvector(L,(buff)->buffer,(buff)->buffsize,size,ch… argument 2603 z->p=buff; 3925 lexstate.buff=buff; 6133 *size=fread(lf->buff,1,sizeof(lf->buff),lf->f); 6196 ls.s=buff; [all …]
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_study.c | 826 PCRE2_UCHAR buff[6]; in set_table_bit() local 827 (void)PRIV(ord2utf)(c, buff); in set_table_bit() 828 SET_BIT(buff[0]); in set_table_bit() 880 PCRE2_UCHAR buff[6]; in set_type_bits() local 881 (void)PRIV(ord2utf)(c, buff); in set_type_bits() 882 SET_BIT(buff[0]); in set_type_bits() 1094 PCRE2_UCHAR buff[6]; in set_start_bits() local 1095 (void)PRIV(ord2utf)(c, buff); in set_start_bits() 1096 c = buff[0]; in set_start_bits()
|
/php-src/main/ |
H A D | rfc1867.c | 780 char buff[FILLUNIT]; local 999 blen = multipart_buffer_read(mbuff, buff, sizeof(buff), &end); 1022 event_file_data.data = buff; 1043 wlen = write(fd, buff, (unsigned int)blen); 1045 wlen = write(fd, buff, blen); 1066 blen = multipart_buffer_read(mbuff, buff, sizeof(buff), &end);
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_commands.c | 191 zend_uchar buff[4]; in MYSQLND_METHOD() local 195 int4store(buff, process_id); in MYSQLND_METHOD() 197 ret = send_command(conn->payload_decoder_factory, COM_PROCESS_KILL, buff, 4, FALSE, in MYSQLND_METHOD()
|
/php-src/ext/spl/ |
H A D | spl_directory.c | 1228 char buff[MAXPATHLEN]; in FileInfoFunction() local 1250 ret = php_sys_readlink(expanded_path, buff, MAXPATHLEN - 1); in FileInfoFunction() 1252 ret = php_sys_readlink(ZSTR_VAL(intern->file_name), buff, MAXPATHLEN-1); in FileInfoFunction() 1263 buff[ret] = '\0'; in FileInfoFunction() 1265 RETVAL_STRINGL(buff, ret); in FileInfoFunction() 1274 char buff[MAXPATHLEN]; in PHP_METHOD() local 1294 if (filename && VCWD_REALPATH(filename, buff)) { in PHP_METHOD() 1296 if (VCWD_ACCESS(buff, F_OK)) { in PHP_METHOD() 1300 RETURN_STRING(buff); in PHP_METHOD()
|
/php-src/ext/gd/ |
H A D | gd.c | 1559 zend_string *buff; in _php_image_create_from() local 1562 buff = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0); in _php_image_create_from() 1564 if (!buff) { in _php_image_create_from() 1570 pstr = pestrndup(ZSTR_VAL(buff), ZSTR_LEN(buff), 1); in _php_image_create_from() 1571 io_ctx = gdNewDynamicCtxEx(ZSTR_LEN(buff), pstr, 0); in _php_image_create_from() 1574 zend_string_release_ex(buff, 0); in _php_image_create_from() 1586 zend_string_release_ex(buff, 0); in _php_image_create_from()
|