Home
last modified time | relevance | path

Searched refs:buf (Results 276 – 300 of 337) sorted by relevance

1...<<11121314

/PHP-5.5/ext/zlib/
H A Dzlib_filter.c94 memcpy(data->strm.next_in, bucket->buf + bin, desired); in php_zlib_inflate_filter()
213 memcpy(data->strm.next_in, bucket->buf + bin, desired); in php_zlib_deflate_filter()
/PHP-5.5/main/
H A DSAPI.c893 char buf[255]; in sapi_send_headers() local
899 http_status_line.header = buf; in sapi_send_headers()
900 …http_status_line.header_len = slprintf(buf, sizeof(buf), "HTTP/1.0 %d X", SG(sapi_headers).http_re… in sapi_send_headers()
H A Dphp_network.h65 PHPAPI char *php_socket_strerror(long err, char *buf, size_t bufsize);
H A Dphp.h280 PHPAPI int php_write(void *buf, uint size TSRMLS_DC);
/PHP-5.5/main/streams/
H A Duserspace.c621 static size_t php_userstreamop_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) in php_userstreamop_write() argument
636 ZVAL_STRINGL(zbufptr, (char*)buf, count, 1);; in php_userstreamop_write()
675 static size_t php_userstreamop_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_userstreamop_read() argument
715 memcpy(buf, Z_STRVAL_P(retval), didread); in php_userstreamop_read()
1515 static size_t php_userstreamop_readdir(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_userstreamop_readdir() argument
1522 php_stream_dirent *ent = (php_stream_dirent*)buf; in php_userstreamop_readdir()
/PHP-5.5/Zend/
H A Dzend_gc.h103 gc_root_buffer *buf; /* preallocated arrays of buffers */ member
H A Dzend_alloc.c977 static void zend_mm_random(unsigned char *buf, size_t size) /* {{{ */ in zend_mm_random() argument
999 BOOL ret = CryptGenRandom(hCryptProv, size, buf); in zend_mm_random()
1002 while (i < size && buf[i] != 0) { in zend_mm_random()
1015 if (read(fd, buf, size) == size) { in zend_mm_random()
1016 while (i < size && buf[i] != 0) { in zend_mm_random()
1030 buf[i] = ((unsigned char)rand()) ^ t; in zend_mm_random()
1031 } while (buf[i] == 0); in zend_mm_random()
1032 t = buf[i++] << 1; in zend_mm_random()
/PHP-5.5/
H A Dacinclude.m41174 char buf[27];
1180 r = (int) asctime_r(&t, buf, 26);
1192 char buf[27], *p;
1195 p = asctime_r(&t, buf, 26);
1258 char buf[3];
1486 AC_TRY_RUN([main() {char buf[20];exit(sprintf(buf,"testing 123")!=11); }],[
1511 char buf[20];
1514 res = res || (buf[1] != '\0');
1516 snprintf(buf, 0, "boerger");
1518 res = res || (buf[0] != 'm');
[all …]
/PHP-5.5/Zend/tests/
H A Dcompare_002.phpt36 $buf = ob_get_clean();
37 echo str_replace("\n", "", $buf);
H A Dcompare_002_64bit.phpt36 $buf = ob_get_clean();
37 echo str_replace("\n", "", $buf);
/PHP-5.5/ext/mssql/
H A Dphp_mssql.c524 char buf[32]; in PHP_MINFO_FUNCTION() local
529 snprintf(buf, sizeof(buf), "%ld", MS_SQL_G(num_persistent)); in PHP_MINFO_FUNCTION()
530 php_info_print_table_row(2, "Active Persistent Links", buf); in PHP_MINFO_FUNCTION()
531 snprintf(buf, sizeof(buf), "%ld", MS_SQL_G(num_links)); in PHP_MINFO_FUNCTION()
532 php_info_print_table_row(2, "Active Links", buf); in PHP_MINFO_FUNCTION()
/PHP-5.5/ext/phar/
H A Dstream.c359 static size_t phar_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) /* {{{ */ in phar_stream_read() argument
379 got = php_stream_read(data->fp, buf, MIN(count, entry->uncompressed_filesize - data->position)); in phar_stream_read()
434 static size_t phar_stream_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) /* {{{… in phar_stream_write() argument
439 if (count != php_stream_write(data->fp, buf, count)) { in phar_stream_write()
H A Dphar_object.c167 char *name = NULL, buf[8192]; in phar_file_action() local
229 got = php_stream_read(fp, buf, MIN(8192, info->uncompressed_filesize - position)); in phar_file_action()
231 PHPWRITE(buf, got); in phar_file_action()
3903 char *buf; in PHP_METHOD() local
3969 buf = safe_emalloc(len, 1, 1); in PHP_METHOD()
3971 if (len != php_stream_read(fp, buf, len)) { in PHP_METHOD()
3977 efree(buf); in PHP_METHOD()
3990 buf[len] = '\0'; in PHP_METHOD()
3991 RETURN_STRINGL(buf, len, 0); in PHP_METHOD()
4023 efree(buf); in PHP_METHOD()
[all …]
/PHP-5.5/ext/hash/
H A Dhash_sha.c125 unsigned char buf[1024]; in PHP_FUNCTION() local
142 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in PHP_FUNCTION()
143 PHP_SHA1Update(&context, buf, n); in PHP_FUNCTION()
/PHP-5.5/ext/mbstring/oniguruma/
H A Dregcomp.c77 sn->s = sn->buf; in swap_node()
86 sn->s = sn->buf; in swap_node()
139 onig_bbuf_init(BBuf* buf, int size) in onig_bbuf_init() argument
143 buf->p = NULL; in onig_bbuf_init()
146 buf->p = (UChar* )xmalloc(size); in onig_bbuf_init()
150 buf->alloc = size; in onig_bbuf_init()
151 buf->used = 0; in onig_bbuf_init()
3207 q = buf; in update_string_node_case_fold()
3217 *sp++ = buf[i]; in update_string_node_case_fold()
3260 UChar buf[ONIGENC_CODE_TO_MBC_MAXLEN]; in expand_case_fold_string_alt() local
[all …]
/PHP-5.5/sapi/fpm/
H A Dconfig.m4251 char buf[128];
253 sprintf(buf, "/proc/%d/$proc_mem_file", getpid());
254 fd = open(buf, O_RDONLY);
/PHP-5.5/ext/mysqli/
H A Dphp_mysqli_structs.h109 VAR_BUFFER *buf; member
/PHP-5.5/ext/pcre/pcrelib/sljit/
H A DsljitNativeARM_64.c208 struct sljit_memory_fragment *buf; in sljit_generate_code() local
227 buf = compiler->buf; in sljit_generate_code()
236 buf_ptr = (sljit_ins*)buf->memory; in sljit_generate_code()
237 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
262 buf = buf->next; in sljit_generate_code()
263 } while (buf); in sljit_generate_code()
H A DsljitNativeARM_T2_32.c344 struct sljit_memory_fragment *buf; in sljit_generate_code() local
361 buf = compiler->buf; in sljit_generate_code()
370 buf_ptr = (sljit_uh*)buf->memory; in sljit_generate_code()
371 buf_end = buf_ptr + (buf->used_size >> 1); in sljit_generate_code()
396 buf = buf->next; in sljit_generate_code()
397 } while (buf); in sljit_generate_code()
H A DsljitNativeARM_32.c558 struct sljit_memory_fragment *buf; in sljit_generate_code() local
592 buf = compiler->buf; in sljit_generate_code()
617 buf_ptr = (sljit_uw*)buf->memory; in sljit_generate_code()
618 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
699 buf = buf->next; in sljit_generate_code()
700 } while (buf); in sljit_generate_code()
H A DsljitNativeMIPS_common.c361 struct sljit_memory_fragment *buf; in sljit_generate_code() local
379 buf = compiler->buf; in sljit_generate_code()
387 buf_ptr = (sljit_ins*)buf->memory; in sljit_generate_code()
388 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
419 buf = buf->next; in sljit_generate_code()
420 } while (buf); in sljit_generate_code()
H A DsljitNativePPC_common.c319 struct sljit_memory_fragment *buf; in sljit_generate_code() local
344 buf = compiler->buf; in sljit_generate_code()
352 buf_ptr = (sljit_ins*)buf->memory; in sljit_generate_code()
353 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
415 buf = buf->next; in sljit_generate_code()
416 } while (buf); in sljit_generate_code()
H A DsljitNativeTILEGX_64.c998 struct sljit_memory_fragment *buf; in sljit_generate_code() local
1016 buf = compiler->buf; in sljit_generate_code()
1024 buf_ptr = (sljit_ins *)buf->memory; in sljit_generate_code()
1025 buf_end = buf_ptr + (buf->used_size >> 3); in sljit_generate_code()
1059 buf = buf->next; in sljit_generate_code()
1060 } while (buf); in sljit_generate_code()
/PHP-5.5/ext/oci8/
H A Doci8_statement.c417 dvoid *buf; in php_oci_statement_execute() local
603 buf = 0; in php_oci_statement_execute()
676 buf = outcol->data = (text *) safe_emalloc(1, outcol->storage_size4, 0); in php_oci_statement_execute()
677 memset(buf, 0, outcol->storage_size4); in php_oci_statement_execute()
707 (dvoid *)buf, /* IN/OUT pointer to a buffer */ in php_oci_statement_execute()
/PHP-5.5/ext/xml/
H A Dxml.c722 char *buf = emalloc(Z_STRLEN_P(val) + 1); in _xml_zval_strdup() local
723 memcpy(buf, Z_STRVAL_P(val), Z_STRLEN_P(val)); in _xml_zval_strdup()
724 buf[Z_STRLEN_P(val)] = '\0'; in _xml_zval_strdup()
725 return buf; in _xml_zval_strdup()

Completed in 153 milliseconds

1...<<11121314