Home
last modified time | relevance | path

Searched refs:len (Results 201 – 225 of 484) sorted by relevance

12345678910>>...20

/PHP-5.4/ext/mbstring/libmbfl/tests/
H A Dconv_encoding.c17 for (i = 0; i < ptr->len; i++) { in hexdump()
21 printf(" (%u)\n", ptr->len); in hexdump()
H A Dstrcut.c18 for (i = 0; i < ptr->len; i++) { in hexdump()
22 printf(" (%u)\n", ptr->len); in hexdump()
/PHP-5.4/ext/standard/
H A Dlink.c127 size_t len; in PHP_FUNCTION() local
139 len = php_dirname(dirname, strlen(dirname)); in PHP_FUNCTION()
141 if (!expand_filepath_ex(topath, dest_p, dirname, len TSRMLS_CC)) { in PHP_FUNCTION()
H A Dlink_win32.c118 size_t len; in PHP_FUNCTION() local
147 len = php_dirname(dirname, strlen(dirname)); in PHP_FUNCTION()
149 if (!expand_filepath_ex(topath, dest_p, dirname, len TSRMLS_CC)) { in PHP_FUNCTION()
/PHP-5.4/sapi/roxen/
H A Droxen.c408 (total_read = Pike_sp[-1].u.string->len)); in php_roxen_low_read_post()
518 zvalue->value.str.len = strlen(buf); \
519 zvalue->value.str.val = estrndup(buf, zvalue->value.str.len); \
547 buf_len = MIN(511, ind->u.string->len); in php_roxen_hash_environment()
552 zvalue->value.str.len = val->u.string->len; in php_roxen_hash_environment()
553 zvalue->value.str.val = estrndup(val->u.string->str, zvalue->value.str.len); in php_roxen_hash_environment()
576 int res, len; in php_roxen_module_main() local
/PHP-5.4/ext/zip/
H A Dphp_zip.c144 int n, len, ret; in php_zip_extract_file() local
232 if (!len) { in php_zip_extract_file()
751 ZEND_ARG_INFO(0, len)
825 int len = 0; in php_zip_property_reader() local
1359 long len = 0; in PHP_NAMED_FUNCTION() local
1370 if (len <= 0) { in PHP_NAMED_FUNCTION()
1371 len = 1024; in PHP_NAMED_FUNCTION()
1581 int zep, syp, len; in ZIPARCHIVE_METHOD() local
2513 long len = 0; in php_zip_get_from() local
2540 if (len < 1) { in php_zip_get_from()
[all …]
/PHP-5.4/sapi/cli/
H A Dphp_cli_server.c149 struct { const char *p; size_t len; } immortal; member
427 size_t len = strlen(pair->ext); in get_mime_type() local
428 if (len == ext_len && memcmp(pair->ext, ext, len) == 0) { in get_mime_type()
847 return chunk->data.heap.len; in php_cli_server_chunk_size()
849 return chunk->data.immortal.len; in php_cli_server_chunk_size()
926 chunk->data.immortal.len = len; in php_cli_server_chunk_immortal_new()
941 chunk->data.heap.len = len; in php_cli_server_chunk_heap_new()
956 chunk->data.heap.len = len; in php_cli_server_chunk_heap_new_self_contained()
994 chunk->data.heap.len -= nbytes_sent; in php_cli_server_content_sender_send()
1013 chunk->data.immortal.len -= nbytes_sent; in php_cli_server_content_sender_send()
[all …]
/PHP-5.4/sapi/fpm/fpm/
H A Dfastcgi.h128 int fcgi_read(fcgi_request *req, char *str, int len);
130 ssize_t fcgi_write(fcgi_request *req, fcgi_request_type type, const char *str, int len);
H A Dfpm_status.c387 size_t len; in fpm_status_handle_request() local
416 len = 0; in fpm_status_handle_request()
421 …ntities_ex((unsigned char *)proc.query_string, strlen(proc.query_string), &len, 1, ENT_HTML_IGNORE… in fpm_status_handle_request()
461 if (len > 0 && query_string) { in fpm_status_handle_request()
/PHP-5.4/ext/zip/lib/
H A Dzip_close.c444 copy_data(FILE *fs, off_t len, FILE *ft, struct zip_error *error) in copy_data() argument
449 if (len == 0) in copy_data()
452 while (len > 0) { in copy_data()
453 nn = len > sizeof(buf) ? sizeof(buf) : len; in copy_data()
468 len -= n; in copy_data()
606 int len = strlen(za->zn) + 8; in _zip_create_temp_output() local
608 if ((temp=(char *)malloc(len)) == NULL) { in _zip_create_temp_output()
613 snprintf(temp, len, "%s.XXXXXX", za->zn); in _zip_create_temp_output()
H A Dzip_open.c96 off_t len; in _zip_open() local
102 len = ftello(fp); in _zip_open()
105 if (len == 0) { in _zip_open()
113 cdir = _zip_find_central_dir(fp, flags, zep, len); in _zip_open()
511 _zip_find_central_dir(FILE *fp, int flags, int *zep, off_t len) in _zip_find_central_dir() argument
519 i = fseeko(fp, -(len < CDBUFSIZE ? len : CDBUFSIZE), SEEK_END); in _zip_find_central_dir()
/PHP-5.4/ext/fileinfo/
H A Dlibmagic.patch158 size_t i, len;
167 len = (ms->c.len = 10) * sizeof(*ms->c.li);
190 - if (map->len)
298 - ssize_t len;
299 + size_t len;
641 - if (read(fd, map->p, map->len) != (ssize_t)map->len) {
781 - if (write(fd, map->magic[i], len) != (ssize_t)len) {
925 - if (pread(info->i_fd, buf, len, off) != (ssize_t)len)
1944 int len;
2131 len = (ms->c.len += 20) * sizeof(*ms->c.li);
[all …]
/PHP-5.4/ext/mbstring/libmbfl/filters/
H A Dmbfilter_base64.c118 int status, cache, len; in mbfl_filt_conv_base64enc_flush() local
122 len = (filter->status & 0xff00) >> 8; in mbfl_filt_conv_base64enc_flush()
128 if (len > 72){ in mbfl_filt_conv_base64enc_flush()
/PHP-5.4/ext/phar/
H A Dzip.c64 len -= read + 4; in phar_zip_process_extra()
84 } while (len); in phar_zip_process_extra()
959 entry->metadata_str.len = 0; in phar_zip_changed_apply()
1238 if (len < 0) { in phar_zip_flush()
1247 if (len == -1) { in phar_zip_flush()
1248 len = PHP_STREAM_COPY_ALL; in phar_zip_flush()
1250 len = -len; in phar_zip_flush()
1255 if (!(len = php_stream_copy_to_mem(stubfile, &user_stub, len, 0)) || !user_stub) { in phar_zip_flush()
1266 tmp = estrndup(user_stub, len); in phar_zip_flush()
1280 len = pos - user_stub + 18; in phar_zip_flush()
[all …]
/PHP-5.4/main/streams/
H A Dstreams.c817 int len; in _php_stream_puts() local
1457 if (len) { in _php_stream_copy_to_mem()
1463 return len; in _php_stream_copy_to_mem()
1481 len += ret; in _php_stream_copy_to_mem()
1490 if (len) { in _php_stream_copy_to_mem()
1497 return len; in _php_stream_copy_to_mem()
1510 if (!len) { in _php_stream_copy_to_stream_ex()
1515 *len = 0; in _php_stream_copy_to_stream_ex()
1529 *len = 0; in _php_stream_copy_to_stream_ex()
1610 size_t len; in _php_stream_copy_to_stream() local
[all …]
/PHP-5.4/ext/dba/
H A Ddba.c208 size_t len; local
227 return len;
230 int len; local
236 len = Z_STRLEN(tmp);
239 return len;
1008 int len = 0; in PHP_FUNCTION() local
1037 RETURN_STRINGL(val, len, 0); in PHP_FUNCTION()
1079 int len; in PHP_FUNCTION() local
1092 RETURN_STRINGL(fkey, len, 0); in PHP_FUNCTION()
1103 int len; in PHP_FUNCTION() local
[all …]
/PHP-5.4/ext/gd/libgd/
H A Dxbm.c162 int len; in gdCtxPrintf() local
166 len = vspprintf(&buf, 0, format, args); in gdCtxPrintf()
168 out->putBuf(out, buf, len); in gdCtxPrintf()
H A Dgd_io_dp.c58 static int dynamicGetbuf (gdIOCtxPtr ctx, void *buf, int len);
227 static int dynamicGetbuf (gdIOCtxPtr ctx, void *buf, int len) in dynamicGetbuf() argument
237 if (remain >= len) { in dynamicGetbuf()
238 rlen = len; in dynamicGetbuf()
/PHP-5.4/ext/pgsql/
H A Dpgsql.c860 if (len) {
861 *len = i;
1028 if (len <= 2) { in _php_pgsql_detect_identifier_escape()
1644 int len; local
2265 str.len = 0;
3370 long len; local
3382 buf_len = len;
3404 int len; local
3421 len = z_len;
4647 int len; local
[all …]
/PHP-5.4/ext/hash/
H A Dphp_hash_joaat.h32 static php_hash_uint32 joaat_buf(void *buf, size_t len, php_hash_uint32 hval);
H A Dphp_hash_adler32.h31 …_HASH_API void PHP_ADLER32Update(PHP_ADLER32_CTX *context, const unsigned char *input, size_t len);
/PHP-5.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_string.h45 unsigned int len; member
/PHP-5.4/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.h53 int len; /* length of string/buf */ member
/PHP-5.4/ext/fileinfo/libmagic/
H A Dreadcdf.c57 int len; local
93 len = info[i].pi_str.s_len;
94 if (len > 1) {
101 for (j = 0; j < sizeof(vbuf) && len--;
/PHP-5.4/Zend/
H A Dzend_builtin_functions.c118 ZEND_ARG_INFO(0, len)
514 long len; in ZEND_FUNCTION() local
520 if (len < 0) { in ZEND_FUNCTION()
552 long len; in ZEND_FUNCTION() local
558 if (len < 0) { in ZEND_FUNCTION()
1234 int len; in ZEND_FUNCTION() local
1244 len--; in ZEND_FUNCTION()
1277 int len; in ZEND_FUNCTION() local
1287 len--; in ZEND_FUNCTION()
1320 int len; in ZEND_FUNCTION() local
[all …]

Completed in 147 milliseconds

12345678910>>...20