Home
last modified time | relevance | path

Searched refs:buff (Results 1 – 15 of 15) sorted by relevance

/php-src/ext/dom/
H A Ddocumenttype.c138 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 Dzend_virtual_cwd.h266 #define VCWD_GETCWD(buff, size) virtual_getcwd(buff, size) argument
277 #define VCWD_STAT(path, buff) virtual_stat(path, buff) argument
278 # define VCWD_LSTAT(path, buff) virtual_lstat(path, buff) argument
311 #define VCWD_GETCWD(buff, size) php_win32_ioutil_getcwd(buff, size) argument
323 #define VCWD_GETCWD(buff, size) getcwd(buff, size) argument
329 #define VCWD_STAT(path, buff) php_sys_stat(path, buff) argument
330 #define VCWD_LSTAT(path, buff) lstat(path, buff) argument
/php-src/ext/dom/lexbor/lexbor/core/
H A Dstr.c132 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 Dbst.c418 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 Dstr.h86 const lxb_char_t *buff, size_t length);
98 const lxb_char_t *buff, size_t length);
/php-src/ext/intl/idn/
H A Didn.c44 char *buff; in php_intl_idn_check_status() local
45 spprintf(&buff, 0, "%s: %s", in php_intl_idn_check_status()
48 intl_error_set_custom_msg(NULL, buff, 1); in php_intl_idn_check_status()
49 efree(buff); in php_intl_idn_check_status()
/php-src/ext/standard/
H A Dlink.c63 char buff[MAXPATHLEN]; in PHP_FUNCTION() local
74 ret = php_sys_readlink(link, buff, MAXPATHLEN-1); in PHP_FUNCTION()
85 buff[ret] = '\0'; in PHP_FUNCTION()
87 RETURN_STRINGL(buff, ret); in PHP_FUNCTION()
H A Dstreamsfuncs.c1467 size_t buff; in PHP_FUNCTION() local
1477 buff = arg2; in PHP_FUNCTION()
1480 if (buff == 0) { in PHP_FUNCTION()
1483 …ret = php_stream_set_option(stream, PHP_STREAM_OPTION_WRITE_BUFFER, PHP_STREAM_BUFFER_FULL, &buff); in PHP_FUNCTION()
1530 size_t buff; in PHP_FUNCTION() local
1540 buff = arg2; in PHP_FUNCTION()
1543 if (buff == 0) { in PHP_FUNCTION()
1546 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_READ_BUFFER, PHP_STREAM_BUFFER_FULL, &buff); in PHP_FUNCTION()
H A Dfile.c2232 char buff[META_DEF_BUFSIZE + 1]; in php_next_meta_token() local
2234 memset((void *)buff, 0, META_DEF_BUFSIZE + 1); in php_next_meta_token()
2267 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()
2301 buff[(md->token_len)++] = ch; in php_next_meta_token()
2303 buff[(md->token_len)++] = ch; in php_next_meta_token()
2317 memcpy(md->token_data, buff, md->token_len+1); in php_next_meta_token()
/php-src/ext/opcache/jit/ir/dynasm/
H A Dminilua.c399 #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 Dpcre2_study.c826 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 Drfc1867.c772 char buff[FILLUNIT]; local
991 blen = multipart_buffer_read(mbuff, buff, sizeof(buff), &end);
1014 event_file_data.data = buff;
1035 wlen = write(fd, buff, (unsigned int)blen);
1037 wlen = write(fd, buff, blen);
1058 blen = multipart_buffer_read(mbuff, buff, sizeof(buff), &end);
/php-src/ext/mysqlnd/
H A Dmysqlnd_commands.c191 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 Dspl_directory.c1254 char buff[MAXPATHLEN]; in FileInfoFunction() local
1276 ret = php_sys_readlink(expanded_path, buff, MAXPATHLEN - 1); in FileInfoFunction()
1278 ret = php_sys_readlink(ZSTR_VAL(intern->file_name), buff, MAXPATHLEN-1); in FileInfoFunction()
1289 buff[ret] = '\0'; in FileInfoFunction()
1291 RETVAL_STRINGL(buff, ret); in FileInfoFunction()
1300 char buff[MAXPATHLEN]; in PHP_METHOD() local
1320 if (filename && VCWD_REALPATH(filename, buff)) { in PHP_METHOD()
1322 if (VCWD_ACCESS(buff, F_OK)) { in PHP_METHOD()
1326 RETURN_STRING(buff); in PHP_METHOD()
/php-src/ext/gd/
H A Dgd.c1535 zend_string *buff; in _php_image_create_from() local
1538 buff = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0); in _php_image_create_from()
1540 if (!buff) { in _php_image_create_from()
1546 pstr = pestrndup(ZSTR_VAL(buff), ZSTR_LEN(buff), 1); in _php_image_create_from()
1547 io_ctx = gdNewDynamicCtxEx(ZSTR_LEN(buff), pstr, 0); in _php_image_create_from()
1550 zend_string_release_ex(buff, 0); in _php_image_create_from()
1562 zend_string_release_ex(buff, 0); in _php_image_create_from()

Completed in 75 milliseconds