Home
last modified time | relevance | path

Searched refs:len (Results 176 – 200 of 484) sorted by relevance

12345678910>>...20

/PHP-5.4/TSRM/
H A Dtsrm_virtual_cwd.h70 #define IS_UNC_PATH(path, len) \ argument
71 (len >= 2 && IS_SLASH(path[0]) && IS_SLASH(path[1]))
72 #define IS_ABSOLUTE_PATH(path, len) \ argument
73 (len >= 2 && ((isalpha(path[0]) && path[1] == ':') || IS_UNC_PATH(path, len)))
85 #define IS_ABSOLUTE_PATH(path, len) \ argument
86 ((strchr(path, ':') != NULL) || ((len >= 1) && ((path[0] == '/') || (path[0] == '\\'))))
112 #define IS_ABSOLUTE_PATH(path, len) \ argument
/PHP-5.4/ext/standard/tests/strings/
H A Dstrncmp_variation5.phpt5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
12 echo "*** Test strncmp() function: by supplying all types for 'len' ***\n";
90 $len = $lengths[$index];
92 var_dump( strncmp($str1, $str2, $len) );
100 *** Test strncmp() function: by supplying all types for 'len' ***
H A Dsubstr_replace_error.phpt55 Warning: substr_replace(): 'from' and 'len' should be of same type - numerical or array in %s on l…
58 Warning: substr_replace(): 'from' and 'len' should be of same type - numerical or array in %s on l…
63 Warning: substr_replace(): 'from' and 'len' should have the same number of elements in %s on line %d
68 Warning: substr_replace(): Functionality of 'from' and 'len' as arrays is not implemented in %s on …
/PHP-5.4/ext/zip/lib/
H A Dzip_source_pkware.c110 zip_uint64_t len, int update_only) in decrypt() argument
116 for (i=0; i<len; i++) { in decrypt()
182 zip_uint64_t len, enum zip_source_cmd cmd) in pkware_decrypt() argument
196 if ((n=zip_source_read(src, data, len)) < 0) in pkware_decrypt()
/PHP-5.4/ext/mbstring/tests/
H A Dbug52981.phpt10 $len = strlen($upper);
11 for ($i = 0; $i < $len; ++$i) echo dechex(ord($upper[$i])) . ' ';
/PHP-5.4/ext/ereg/regex/
H A Dregcomp.c97 register size_t len; variable
736 register size_t len; local
742 len = p->next - sp;
744 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0')
807 register int len; local
815 len = p->next - sp;
817 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0')
819 if (len == 1)
1198 cs->smultis -= len;
1361 if (len == 0)
[all …]
/PHP-5.4/ext/pcre/pcrelib/
H A Dpcre_exec.c673 return (len > 0)? -len : len; in match()
2667 int len = 1; in match() local
2672 eptr += len; in match()
3192 int len = 1; in match() local
3204 eptr += len; in match()
5424 eptr+= len; in match()
5444 eptr+= len; in match()
5459 eptr+= len; in match()
5474 eptr+= len; in match()
5489 eptr+= len; in match()
[all …]
/PHP-5.4/ext/wddx/
H A Dwddx.c1054 Z_STRVAL_P(ent->data) = estrndup(s, len); in php_wddx_process_data()
1055 Z_STRLEN_P(ent->data) = len; in php_wddx_process_data()
1059 Z_STRLEN_P(ent->data) += len; in php_wddx_process_data()
1072 Z_STRLEN_P(ent->data) += len; in php_wddx_process_data()
1078 Z_STRLEN_P(ent->data) = len; in php_wddx_process_data()
1079 Z_STRVAL_P(ent->data) = estrndup(s, len); in php_wddx_process_data()
1100 tmp = emalloc(len + 1); in php_wddx_process_data()
1101 memcpy(tmp, s, len); in php_wddx_process_data()
1102 tmp[len] = '\0'; in php_wddx_process_data()
1108 Z_STRLEN_P(ent->data) = len; in php_wddx_process_data()
[all …]
/PHP-5.4/ext/hash/
H A Dhash_gost.c250 PHP_HASH_API void PHP_GOSTUpdate(PHP_GOST_CTX *context, const unsigned char *input, size_t len) in PHP_GOSTUpdate() argument
252 if ((MAX32 - context->count[0]) < (len * 8)) { in PHP_GOSTUpdate()
255 context->count[0] = (len * 8) - context->count[0]; in PHP_GOSTUpdate()
257 context->count[0] += len * 8; in PHP_GOSTUpdate()
260 if (context->length + len < 32) { in PHP_GOSTUpdate()
261 memcpy(&context->buffer[context->length], input, len); in PHP_GOSTUpdate()
262 context->length += len; in PHP_GOSTUpdate()
264 size_t i = 0, r = (context->length + len) % 32; in PHP_GOSTUpdate()
272 for (; i + 32 <= len; i += 32) { in PHP_GOSTUpdate()
H A Dhash_tiger.c198 PHP_HASH_API void PHP_TIGERUpdate(PHP_TIGER_CTX *context, const unsigned char *input, size_t len) in PHP_TIGERUpdate() argument
200 if (context->length + len < 64) { in PHP_TIGERUpdate()
201 memcpy(&context->buffer[context->length], input, len); in PHP_TIGERUpdate()
202 context->length += len; in PHP_TIGERUpdate()
204 size_t i = 0, r = (context->length + len) % 64; in PHP_TIGERUpdate()
214 for (; i + 64 <= len; i += 64) { in PHP_TIGERUpdate()
/PHP-5.4/ext/standard/tests/general_functions/
H A Dob_get_length_basic.phpt17 $len = ob_get_length();
19 var_dump( $len );
/PHP-5.4/ext/gd/libgd/
H A Dgdtest.c16 static int freadWrapper (void *context, char *buf, int len);
17 static int fwriteWrapper (void *context, const char *buffer, int len);
399 freadWrapper (void *context, char *buf, int len) in freadWrapper() argument
401 int got = fread (buf, 1, len, (FILE *) context); in freadWrapper()
406 fwriteWrapper (void *context, const char *buffer, int len) in fwriteWrapper() argument
408 return fwrite (buffer, 1, len, (FILE *) context); in fwriteWrapper()
/PHP-5.4/ext/pdo/tests/
H A Dpdo_033.phpt21 $len = strlen($unquoted);
25 $db->query("CREATE TABLE test (t char($len))");
/PHP-5.4/ext/phar/
H A Dphar.c658 php_uint32 len; local
1027 if(!len) {
1038 buffer += len;
1123 buffer += len;
2085 (len >= 2 && !php_check_dots(element, len))
2473 while (len--) {
2521 if (!len) {
2522 len = &dummy;
2636 if (len < 0) {
2651 len = -len;
[all …]
/PHP-5.4/ext/sysvshm/
H A Dsysvshm.c119 static int php_put_shm_data(sysvshm_chunk_head *ptr, long key, const char *data, long len);
267 ret = php_put_shm_data(shm_list_ptr->ptr, shm_key, shm_var.c, shm_var.len); in PHP_FUNCTION()
359 static int php_put_shm_data(sysvshm_chunk_head *ptr, long key, const char *data, long len) in php_put_shm_data() argument
365 …total_size = ((long) (len + sizeof(sysvshm_chunk) - 1) / sizeof(long)) * sizeof(long) + sizeof(lon… in php_put_shm_data()
377 shm_var->length = len; in php_put_shm_data()
379 memcpy(&(shm_var->mem), data, len); in php_put_shm_data()
/PHP-5.4/sapi/fpm/fpm/
H A Dfpm_php.c149 int len;
151 len = sprintf(max_workers, "%u", (unsigned int) wp->config->pm_max_children);
153 fcgi_set_mgmt_var("FCGI_MAX_CONNS", sizeof("FCGI_MAX_CONNS")-1, max_workers, len);
154 fcgi_set_mgmt_var("FCGI_MAX_REQS", sizeof("FCGI_MAX_REQS")-1, max_workers, len);
/PHP-5.4/Zend/
H A Dzend_highlight.c57 ZEND_API void zend_html_puts(const char *s, uint len TSRMLS_DC) in zend_html_puts()
59 const unsigned char *ptr = (const unsigned char*)s, *end = ptr + len; in zend_html_puts()
64 LANG_SCNG(output_filter)(&filtered, &filtered_len, ptr, len TSRMLS_CC); in zend_html_puts()
/PHP-5.4/ext/spl/
H A Dspl_functions.c83 size_t len = pce->name_length; in spl_add_class_name() local
86 if (zend_hash_find(Z_ARRVAL_P(list), pce->name, len+1, (void*)&tmp) == FAILURE) { in spl_add_class_name()
89 zend_hash_add(Z_ARRVAL_P(list), pce->name, len+1, &tmp, sizeof(zval *), NULL); in spl_add_class_name()
/PHP-5.4/ext/standard/
H A Dincomplete_class.c161 PHPAPI void php_store_class_name(zval *object, const char *name, zend_uint len) in php_store_class_name() argument
169 Z_STRVAL_P(val) = estrndup(name, len); in php_store_class_name()
170 Z_STRLEN_P(val) = len; in php_store_class_name()
H A Dphp_smart_str_public.h28 size_t len; member
/PHP-5.4/ext/mbstring/libmbfl/tests/
H A Dconv_kana.c17 for (i = 0; i < ptr->len; i++) { in hexdump()
21 printf(" (%u)\n", ptr->len); in hexdump()
/PHP-5.4/ext/mbstring/
H A Dphp_mbregex.c476 size_t len_left = len; in _php_mb_regex_get_option_string()
570 if (len < len_req) { in _php_mb_regex_get_option_string()
953 eval_buf.len = 0; in _php_mb_regex_ereg_replace_exec()
978 eval_buf.len = 0; in _php_mb_regex_ereg_replace_exec()
1183 int n, i, err, pos, len, beg, end; in _php_mb_regex_ereg_search_exec() local
1208 len = 0; in _php_mb_regex_ereg_search_exec()
1211 len = Z_STRLEN_P(MBREX(search_str)); in _php_mb_regex_ereg_search_exec()
1229 err = onig_search(MBREX(search_re), str, str + len, str + pos, str + len, MBREX(search_regs), 0); in _php_mb_regex_ereg_search_exec()
1231 MBREX(search_pos) = len; in _php_mb_regex_ereg_search_exec()
1365 int n, i, len, beg, end; in PHP_FUNCTION() local
[all …]
/PHP-5.4/ext/exif/
H A Dexif.c298 len++; in ZEND_GET_MODULE()
301 return len; in ZEND_GET_MODULE()
1052 if (len) { in exif_char_dump()
1170 int len; in exif_dump_data() local
1199 len += 4; in exif_dump_data()
1206 len += 6; in exif_dump_data()
1227 len += 2; in exif_dump_data()
1472 len = 0; in exif_get_sectionlist()
1479 if (len>2) in exif_get_sectionlist()
2649 &len, in exif_process_user_comment()
[all …]
/PHP-5.4/sapi/thttpd/
H A Dthttpd.c106 static int do_writev(struct iovec *vec, int nvec, int len TSRMLS_DC) in do_writev()
129 if (n < len) { in do_writev()
160 # define ADD_VEC(str,l) vec[n].iov_base=str;len += (vec[n].iov_len=l); n++
180 size_t len = 0; in sapi_thttpd_send_headers() local
214 len = do_writev(vec, n, len TSRMLS_CC); in sapi_thttpd_send_headers()
233 sapi_thttpd_ub_write(vec_str.c, vec_str.len TSRMLS_CC); in sapi_thttpd_send_headers()
235 do_writev(vec, n, len TSRMLS_CC); in sapi_thttpd_send_headers()
686 TG(hc)->responselen = TG(sbuf).len;
690 TG(sbuf).len = 0;
/PHP-5.4/ext/interbase/
H A Dinterbase.c129 ZEND_ARG_INFO(0, len)
868 if (dpb_args[i] && args[i] && len[i] && buf_len > 0) { in _php_ibase_attach_db()
896 int i, len[] = { 0, 0, 0, 0, 0 }; in _php_ibase_connect() local
906 &args[DB], &len[DB], &args[USER], &len[USER], &args[PASS], &len[PASS], in _php_ibase_connect()
907 &args[CSET], &len[CSET], &largs[BUF], &largs[DLECT], &args[ROLE], &len[ROLE], in _php_ibase_connect()
915 len[DB] = strlen(c); in _php_ibase_connect()
917 if (!len[USER] && (c = INI_STR("ibase.default_user"))) { in _php_ibase_connect()
919 len[USER] = strlen(c); in _php_ibase_connect()
923 len[PASS] = strlen(c); in _php_ibase_connect()
927 len[CSET] = strlen(c); in _php_ibase_connect()
[all …]

Completed in 110 milliseconds

12345678910>>...20