length 502 TSRM/tsrm_virtual_cwd.c *length = 1; length 517 TSRM/tsrm_virtual_cwd.c *length = state->cwd_length+1; length 518 TSRM/tsrm_virtual_cwd.c retval = (char *) malloc(*length+1); length 522 TSRM/tsrm_virtual_cwd.c memcpy(retval, state->cwd, *length); length 524 TSRM/tsrm_virtual_cwd.c retval[*length-1] = DEFAULT_SLASH; length 525 TSRM/tsrm_virtual_cwd.c retval[*length] = '\0'; length 529 TSRM/tsrm_virtual_cwd.c *length = state->cwd_length; length 537 TSRM/tsrm_virtual_cwd.c size_t length; length 540 TSRM/tsrm_virtual_cwd.c cwd = virtual_getcwd_ex(&length TSRMLS_CC); length 545 TSRM/tsrm_virtual_cwd.c if (length > size-1) { length 550 TSRM/tsrm_virtual_cwd.c memcpy(buf, cwd, length+1); length 1367 TSRM/tsrm_virtual_cwd.c int length = strlen(path); length 1372 TSRM/tsrm_virtual_cwd.c if (length == 0) { length 1375 TSRM/tsrm_virtual_cwd.c while(--length >= 0 && !IS_SLASH(path[length])) { length 1378 TSRM/tsrm_virtual_cwd.c if (length == -1) { length 1384 TSRM/tsrm_virtual_cwd.c if (length == COPY_WHEN_ABSOLUTE(path) && IS_ABSOLUTE_PATH(path, length+1)) { /* Also use trailing slash if this is absolute */ length 1385 TSRM/tsrm_virtual_cwd.c length++; length 1387 TSRM/tsrm_virtual_cwd.c temp = (char *) tsrm_do_alloca(length+1, use_heap); length 1388 TSRM/tsrm_virtual_cwd.c memcpy(temp, path, length); length 1389 TSRM/tsrm_virtual_cwd.c temp[length] = 0; length 1296 Zend/zend_API.c ZVAL_STRINGL(tmp, str, length, duplicate); length 1379 Zend/zend_API.c ZVAL_STRINGL(tmp, str, length, duplicate); length 1462 Zend/zend_API.c ZVAL_STRINGL(tmp, str, length, duplicate); length 1490 Zend/zend_API.c ZVAL_STRINGL(tmp, str, length, duplicate); length 1534 Zend/zend_API.c ZVAL_STRINGL(tmp, str, length, duplicate); length 1688 Zend/zend_API.c ZVAL_STRINGL(tmp, str, length, duplicate); length 2622 Zend/zend_alloc.c int length; length 2630 Zend/zend_alloc.c length = strlen(s)+1; length 2631 Zend/zend_alloc.c p = (char *) _emalloc(length ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC); length 2636 Zend/zend_alloc.c memcpy(p, s, length); length 2650 Zend/zend_alloc.c p = (char *) _emalloc(length+1 ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC); length 2655 Zend/zend_alloc.c memcpy(p, s, length); length 2656 Zend/zend_alloc.c p[length] = 0; length 2671 Zend/zend_alloc.c p = (char *) malloc(length+1); length 2676 Zend/zend_alloc.c if (length) { length 2677 Zend/zend_alloc.c memcpy(p, s, length); length 2679 Zend/zend_alloc.c p[length] = 0; length 130 Zend/zend_alloc.h #define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(length))) length 252 Zend/zend_compile.c int length = strlen(new_compiled_filename); length 254 Zend/zend_compile.c if (zend_hash_find(&CG(filenames_table), new_compiled_filename, length+1, (void **) &pp) == SUCCESS) { length 258 Zend/zend_compile.c p = estrndup(new_compiled_filename, length); length 259 Zend/zend_compile.c zend_hash_update(&CG(filenames_table), new_compiled_filename, length+1, &p, sizeof(char *), (void **) &pp); length 2413 Zend/zend_compile.c zend_uint length; length 2422 Zend/zend_compile.c length = sizeof("::")-1 + result->u.constant.value.str.len + name->u.constant.value.str.len; length 2423 Zend/zend_compile.c result->u.constant.value.str.val = erealloc(result->u.constant.value.str.val, length+1); length 2427 Zend/zend_compile.c result->u.constant.value.str.len = length; length 2429 Zend/zend_compile.c length = sizeof("\\")-1 + result->u.constant.value.str.len + name->u.constant.value.str.len; length 2430 Zend/zend_compile.c result->u.constant.value.str.val = erealloc(result->u.constant.value.str.val, length+1); length 2434 Zend/zend_compile.c result->u.constant.value.str.len = length; length 3229 Zend/zend_compile.c if (UNEXPECTED(offset - buf + size >= length)) { \ length 3230 Zend/zend_compile.c length += size + 1; \ length 3231 Zend/zend_compile.c buf = erealloc(buf, length); \ length 3237 Zend/zend_compile.c zend_uint length = 1024; length 3239 Zend/zend_compile.c offset = buf = (char *)emalloc(length * sizeof(char)); length 3254 Zend/zend_compile.c REALLOC_BUF_IF_EXCEED(buf, offset, length, name_len); length 3279 Zend/zend_compile.c REALLOC_BUF_IF_EXCEED(buf, offset, length, class_name_len); length 3287 Zend/zend_compile.c REALLOC_BUF_IF_EXCEED(buf, offset, length, type_name_len); length 3299 Zend/zend_compile.c REALLOC_BUF_IF_EXCEED(buf, offset, length, arg_info->name_len); length 3353 Zend/zend_compile.c REALLOC_BUF_IF_EXCEED(buf, offset, length, MIN(Z_STRLEN_P(zv), 10)); length 3367 Zend/zend_compile.c REALLOC_BUF_IF_EXCEED(buf, offset, length, Z_STRLEN(zv_copy)); length 3387 Zend/zend_compile.c REALLOC_BUF_IF_EXCEED(buf, offset, length, 32); length 317 Zend/zend_hash.h const char *end = key + length - 1; \ length 320 Zend/zend_hash.h || (*tmp == '0' && length > 2) /* numbers with leading zeros */ \ length 348 Zend/zend_hash.h ZEND_HANDLE_NUMERIC_EX(key, length, idx, return func); \ length 184 Zend/zend_ini_parser.c int length = Z_STRLEN_P(op1) + Z_STRLEN_P(op2); length 186 Zend/zend_ini_parser.c Z_STRVAL_P(result) = (char *) realloc(Z_STRVAL_P(op1), length+1); length 188 Zend/zend_ini_parser.c Z_STRVAL_P(result)[length] = 0; length 189 Zend/zend_ini_parser.c Z_STRLEN_P(result) = length; length 107 Zend/zend_ini_parser.y int length = Z_STRLEN_P(op1) + Z_STRLEN_P(op2); length 109 Zend/zend_ini_parser.y Z_STRVAL_P(result) = (char *) realloc(Z_STRVAL_P(op1), length+1); length 111 Zend/zend_ini_parser.y Z_STRVAL_P(result)[length] = 0; length 112 Zend/zend_ini_parser.y Z_STRLEN_P(result) = length; length 708 Zend/zend_language_scanner.c size_t original_offset = offset, length = 0; length 711 Zend/zend_language_scanner.c if ((size_t)-1 == SCNG(input_filter)(&p, &length, SCNG(script_org), offset TSRMLS_CC)) { length 715 Zend/zend_language_scanner.c if (length > original_offset) { length 717 Zend/zend_language_scanner.c } else if (length < original_offset) { length 720 Zend/zend_language_scanner.c } while (original_offset != length); length 841 Zend/zend_language_scanner.c size_t length; length 851 Zend/zend_language_scanner.c length = SCNG(script_org_size); length 854 Zend/zend_language_scanner.c if ((size_t)-1 == SCNG(input_filter)(&new_yy_start, &length, SCNG(script_org), SCNG(script_org_size) TSRMLS_CC)) { length 859 Zend/zend_language_scanner.c SCNG(script_filtered_size) = length; length 1981 Zend/zend_language_scanner.c YYCURSOR += heredoc_label->length - 1; length 1982 Zend/zend_language_scanner.c yyleng = heredoc_label->length; length 2073 Zend/zend_language_scanner.c if (IS_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, heredoc_label->label, heredoc_label->length)) { length 2074 Zend/zend_language_scanner.c YYCTYPE *end = YYCURSOR + heredoc_label->length; length 3908 Zend/zend_language_scanner.c heredoc_label->length = yyleng-bprefix-3-1-(yytext[yyleng-2]=='\r'?1:0); length 3912 Zend/zend_language_scanner.c heredoc_label->length--; length 3917 Zend/zend_language_scanner.c heredoc_label->length -= 2; length 3923 Zend/zend_language_scanner.c heredoc_label->length -= 2; length 3929 Zend/zend_language_scanner.c heredoc_label->label = estrndup(s, heredoc_label->length); length 3932 Zend/zend_language_scanner.c if (heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, s, heredoc_label->length)) { length 3933 Zend/zend_language_scanner.c YYCTYPE *end = YYCURSOR + heredoc_label->length; length 7542 Zend/zend_language_scanner.c if (IS_LABEL_START(*YYCURSOR) && heredoc_label->length < YYLIMIT - YYCURSOR && !memcmp(YYCURSOR, heredoc_label->label, heredoc_label->length)) { length 7543 Zend/zend_language_scanner.c YYCTYPE *end = YYCURSOR + heredoc_label->length; length 56 Zend/zend_language_scanner.h int length; length 145 Zend/zend_multibyte.c return multibyte_functions.encoding_detector(string, length, list, list_size TSRMLS_CC); length 143 Zend/zend_operators.c const char *end = number+length; length 146 Zend/zend_operators.c if (!length) { length 1254 Zend/zend_operators.c int length = Z_STRLEN_P(op1) + 1; length 1258 Zend/zend_operators.c buf = (char *) emalloc(length + 1); length 1261 Zend/zend_operators.c buf = (char *) erealloc(Z_STRVAL_P(op1), length + 1); length 1263 Zend/zend_operators.c buf[length - 1] = (char) Z_LVAL_P(op2); length 1264 Zend/zend_operators.c buf[length] = 0; length 1265 Zend/zend_operators.c ZVAL_STRINGL(result, buf, length, 0); length 1273 Zend/zend_operators.c int length = Z_STRLEN_P(op1) + Z_STRLEN_P(op2); length 1277 Zend/zend_operators.c buf = (char *) emalloc(length+1); length 1280 Zend/zend_operators.c buf = (char *) erealloc(Z_STRVAL_P(op1), length+1); length 1283 Zend/zend_operators.c buf[length] = 0; length 1284 Zend/zend_operators.c ZVAL_STRINGL(result, buf, length, 0); length 1328 Zend/zend_operators.c int length = Z_STRLEN_P(op1) + Z_STRLEN_P(op2); length 1329 Zend/zend_operators.c char *buf = (char *) emalloc(length + 1); length 1333 Zend/zend_operators.c buf[length] = 0; length 1334 Zend/zend_operators.c ZVAL_STRINGL(result, buf, length, 0); length 1966 Zend/zend_operators.c register unsigned char *end = str + length; length 1979 Zend/zend_operators.c return zend_str_tolower_copy((char *)emalloc(length+1), source, length); length 1986 Zend/zend_operators.c register unsigned char *end = p + length; length 2018 Zend/zend_operators.c retval = memcmp(s1, s2, MIN(length, MIN(len1, len2))); length 2020 Zend/zend_operators.c return (MIN(length, len1) - MIN(length, len2)); length 2057 Zend/zend_operators.c len = MIN(length, MIN(len1, len2)); length 2066 Zend/zend_operators.c return MIN(length, len1) - MIN(length, len2); length 2100 Zend/zend_operators.c len = MIN(length, MIN(len1, len2)); length 2109 Zend/zend_operators.c return MIN(length, len1) - MIN(length, len2); length 138 Zend/zend_operators.h if (!length) { length 150 Zend/zend_operators.h length--; length 161 Zend/zend_operators.h if (length > 2 && *str == '0' && (str[1] == 'x' || str[1] == 'X')) { length 229 Zend/zend_operators.h if (ptr != str + length) { length 269 Zend/zend_operators.h return is_numeric_string_ex(str, length, lval, dval, allow_errors, NULL); length 159 ext/bcmath/libbcmath/src/bcmath.h #define bc_new_num(length, scale) _bc_new_num_ex((length), (scale), 0) length 54 ext/bcmath/libbcmath/src/init.c temp = (bc_num) safe_pemalloc (1, sizeof(bc_struct)+length, scale, persistent); length 65 ext/bcmath/libbcmath/src/init.c temp->n_len = length; length 69 ext/bcmath/libbcmath/src/init.c temp->n_ptr = (char *) safe_pemalloc (1, length, scale, persistent); length 72 ext/bcmath/libbcmath/src/init.c memset (temp->n_ptr, 0, length+scale); length 72 ext/bcmath/libbcmath/src/recmul.c temp->n_len = length; length 71 ext/com_dotnet/com_olechar.c uint length = 0; length 74 ext/com_dotnet/com_olechar.c length = WideCharToMultiByte(codepage, 0, olestring, -1, NULL, 0, NULL, NULL); length 76 ext/com_dotnet/com_olechar.c if (length) { length 77 ext/com_dotnet/com_olechar.c string = (char*)safe_emalloc(length, sizeof(char), 0); length 78 ext/com_dotnet/com_olechar.c length = WideCharToMultiByte(codepage, 0, olestring, -1, string, length, NULL, NULL); length 79 ext/com_dotnet/com_olechar.c ok = length > 0; length 84 ext/com_dotnet/com_olechar.c length = 0; length 97 ext/com_dotnet/com_olechar.c *string_len = length-1; length 1270 ext/curl/interface.c size_t length = size * nmemb; length 1280 ext/curl/interface.c PHPWRITE(data, length); length 1285 ext/curl/interface.c if (length > 0) { length 1286 ext/curl/interface.c smart_str_appendl(&t->buf, data, (int) length); length 1303 ext/curl/interface.c ZVAL_STRINGL(zdata, data, length, 1); length 1321 ext/curl/interface.c length = -1; length 1326 ext/curl/interface.c length = Z_LVAL_P(retval_ptr); length 1336 ext/curl/interface.c return length; length 1492 ext/curl/interface.c int length = 0; length 1497 ext/curl/interface.c length = fread(data, size, nmemb, t->fp); length 1540 ext/curl/interface.c length = CURL_READFUNC_ABORT; length 1544 ext/curl/interface.c length = MIN((int) (size * nmemb), Z_STRLEN_P(retval_ptr)); length 1545 ext/curl/interface.c memcpy(data, Z_STRVAL_P(retval_ptr), length); length 1557 ext/curl/interface.c return length; length 1567 ext/curl/interface.c size_t length = size * nmemb; length 1574 ext/curl/interface.c if (ch->handlers->write->method == PHP_CURL_RETURN && length > 0) { length 1575 ext/curl/interface.c smart_str_appendl(&ch->handlers->write->buf, data, (int) length); length 1577 ext/curl/interface.c PHPWRITE(data, length); length 1595 ext/curl/interface.c ZVAL_STRINGL(zdata, data, length, 1); length 1615 ext/curl/interface.c length = -1; length 1620 ext/curl/interface.c length = Z_LVAL_P(retval_ptr); length 1629 ext/curl/interface.c return length; length 1635 ext/curl/interface.c return length; length 4150 ext/date/lib/parse_date.c int length = 0; length 4156 ext/date/lib/parse_date.c s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); length 4157 ext/date/lib/parse_date.c TIMELIB_PROCESS_YEAR(s->time->y, length); length 5354 ext/date/lib/parse_date.c int length = 0; length 5359 ext/date/lib/parse_date.c s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); length 5361 ext/date/lib/parse_date.c TIMELIB_PROCESS_YEAR(s->time->y, length); length 6585 ext/date/lib/parse_date.c int length = 0; length 6591 ext/date/lib/parse_date.c s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); length 6592 ext/date/lib/parse_date.c TIMELIB_PROCESS_YEAR(s->time->y, length); length 10204 ext/date/lib/parse_date.c int length = 0; length 10211 ext/date/lib/parse_date.c s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); length 10212 ext/date/lib/parse_date.c TIMELIB_PROCESS_YEAR(s->time->y, length); length 10998 ext/date/lib/parse_date.c int length = 0; length 11004 ext/date/lib/parse_date.c s->time->y = timelib_get_nr_ex((char **) &ptr, 2, &length); length 11005 ext/date/lib/parse_date.c TIMELIB_PROCESS_YEAR(s->time->y, length); length 11650 ext/date/lib/parse_date.c int length = 0; length 11654 ext/date/lib/parse_date.c s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); length 11657 ext/date/lib/parse_date.c TIMELIB_PROCESS_YEAR(s->time->y, length); length 11767 ext/date/lib/parse_date.c int length = 0; length 11774 ext/date/lib/parse_date.c s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); length 11775 ext/date/lib/parse_date.c TIMELIB_PROCESS_YEAR(s->time->y, length); length 12583 ext/date/lib/parse_date.c int length = 0; length 12587 ext/date/lib/parse_date.c s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); length 12590 ext/date/lib/parse_date.c TIMELIB_PROCESS_YEAR(s->time->y, length); length 12633 ext/date/lib/parse_date.c int length = 0; length 12637 ext/date/lib/parse_date.c s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); length 12640 ext/date/lib/parse_date.c TIMELIB_PROCESS_YEAR(s->time->y, length); length 12939 ext/date/lib/parse_date.c int length = 0; length 12943 ext/date/lib/parse_date.c s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); length 12946 ext/date/lib/parse_date.c TIMELIB_PROCESS_YEAR(s->time->y, length); length 13271 ext/date/lib/parse_date.c int length = 0; length 13275 ext/date/lib/parse_date.c s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); length 13278 ext/date/lib/parse_date.c TIMELIB_PROCESS_YEAR(s->time->y, length); length 14599 ext/date/lib/parse_date.c int length = 0; length 14603 ext/date/lib/parse_date.c s->time->y = timelib_get_nr_ex((char **) &ptr, 4, &length); length 14606 ext/date/lib/parse_date.c TIMELIB_PROCESS_YEAR(s->time->y, length); length 24844 ext/date/lib/parse_date.c int length = 0; length 24846 ext/date/lib/parse_date.c if ((s->time->y = timelib_get_nr_ex((char **) &ptr, 2, &length)) == TIMELIB_UNSET) { length 24849 ext/date/lib/parse_date.c TIMELIB_PROCESS_YEAR(s->time->y, length); length 24887 ext/date/lib/parse_date.c int length; length 24891 ext/date/lib/parse_date.c min = timelib_get_nr_ex((char **) &ptr, 2, &length); length 24892 ext/date/lib/parse_date.c if (min == TIMELIB_UNSET || length != 2) { length 24901 ext/date/lib/parse_date.c int length; length 24905 ext/date/lib/parse_date.c sec = timelib_get_nr_ex((char **) &ptr, 2, &length); length 24906 ext/date/lib/parse_date.c if (sec == TIMELIB_UNSET || length != 2) { length 1052 ext/date/php_date.c int i, length = 0; length 1089 ext/date/php_date.c case 'd': length = slprintf(buffer, 32, "%02d", (int) t->d); break; length 1090 ext/date/php_date.c case 'D': length = slprintf(buffer, 32, "%s", php_date_short_day_name(t->y, t->m, t->d)); break; length 1091 ext/date/php_date.c case 'j': length = slprintf(buffer, 32, "%d", (int) t->d); break; length 1092 ext/date/php_date.c case 'l': length = slprintf(buffer, 32, "%s", php_date_full_day_name(t->y, t->m, t->d)); break; length 1093 ext/date/php_date.c case 'S': length = slprintf(buffer, 32, "%s", english_suffix(t->d)); break; length 1094 ext/date/php_date.c case 'w': length = slprintf(buffer, 32, "%d", (int) timelib_day_of_week(t->y, t->m, t->d)); break; length 1095 ext/date/php_date.c case 'N': length = slprintf(buffer, 32, "%d", (int) timelib_iso_day_of_week(t->y, t->m, t->d)); break; length 1096 ext/date/php_date.c case 'z': length = slprintf(buffer, 32, "%d", (int) timelib_day_of_year(t->y, t->m, t->d)); break; length 1101 ext/date/php_date.c length = slprintf(buffer, 32, "%02d", (int) isoweek); break; /* iso weeknr */ length 1104 ext/date/php_date.c length = slprintf(buffer, 32, "%d", (int) isoyear); break; /* iso year */ length 1107 ext/date/php_date.c case 'F': length = slprintf(buffer, 32, "%s", mon_full_names[t->m - 1]); break; length 1108 ext/date/php_date.c case 'm': length = slprintf(buffer, 32, "%02d", (int) t->m); break; length 1109 ext/date/php_date.c case 'M': length = slprintf(buffer, 32, "%s", mon_short_names[t->m - 1]); break; length 1110 ext/date/php_date.c case 'n': length = slprintf(buffer, 32, "%d", (int) t->m); break; length 1111 ext/date/php_date.c case 't': length = slprintf(buffer, 32, "%d", (int) timelib_days_in_month(t->y, t->m)); break; length 1114 ext/date/php_date.c case 'L': length = slprintf(buffer, 32, "%d", timelib_is_leap((int) t->y)); break; length 1115 ext/date/php_date.c case 'y': length = slprintf(buffer, 32, "%02d", (int) t->y % 100); break; length 1116 ext/date/php_date.c case 'Y': length = slprintf(buffer, 32, "%s%04lld", t->y < 0 ? "-" : "", php_date_llabs((timelib_sll) t->y)); break; length 1119 ext/date/php_date.c case 'a': length = slprintf(buffer, 32, "%s", t->h >= 12 ? "pm" : "am"); break; length 1120 ext/date/php_date.c case 'A': length = slprintf(buffer, 32, "%s", t->h >= 12 ? "PM" : "AM"); break; length 1127 ext/date/php_date.c length = slprintf(buffer, 32, "%03d", retval); length 1130 ext/date/php_date.c case 'g': length = slprintf(buffer, 32, "%d", (t->h % 12) ? (int) t->h % 12 : 12); break; length 1131 ext/date/php_date.c case 'G': length = slprintf(buffer, 32, "%d", (int) t->h); break; length 1132 ext/date/php_date.c case 'h': length = slprintf(buffer, 32, "%02d", (t->h % 12) ? (int) t->h % 12 : 12); break; length 1133 ext/date/php_date.c case 'H': length = slprintf(buffer, 32, "%02d", (int) t->h); break; length 1134 ext/date/php_date.c case 'i': length = slprintf(buffer, 32, "%02d", (int) t->i); break; length 1135 ext/date/php_date.c case 's': length = slprintf(buffer, 32, "%02d", (int) t->s); break; length 1136 ext/date/php_date.c case 'u': length = slprintf(buffer, 32, "%06d", (int) floor(t->f * 1000000 + 0.5)); break; length 1139 ext/date/php_date.c case 'I': length = slprintf(buffer, 32, "%d", localtime ? offset->is_dst : 0); break; length 1141 ext/date/php_date.c case 'O': length = slprintf(buffer, 32, "%c%02d%s%02d", length 1148 ext/date/php_date.c case 'T': length = slprintf(buffer, 32, "%s", localtime ? offset->abbr : "GMT"); break; length 1150 ext/date/php_date.c length = slprintf(buffer, 32, "%s", "UTC"); length 1154 ext/date/php_date.c length = slprintf(buffer, 32, "%s", t->tz_info->name); length 1157 ext/date/php_date.c length = slprintf(buffer, 32, "%s", offset->abbr); length 1160 ext/date/php_date.c length = slprintf(buffer, 32, "%c%02d:%02d", length 1169 ext/date/php_date.c case 'Z': length = slprintf(buffer, 32, "%d", localtime ? offset->offset : 0); break; length 1172 ext/date/php_date.c case 'c': length = slprintf(buffer, 96, "%04d-%02d-%02dT%02d:%02d:%02d%c%02d:%02d", length 1180 ext/date/php_date.c case 'r': length = slprintf(buffer, 96, "%3s, %02d %3s %04d %02d:%02d:%02d %c%02d%02d", length 1189 ext/date/php_date.c case 'U': length = slprintf(buffer, 32, "%lld", (timelib_sll) t->sse); break; length 1193 ext/date/php_date.c default: buffer[0] = format[i]; buffer[1] = '\0'; length = 1; break; length 1195 ext/date/php_date.c smart_str_appendl(&string, buffer, length); length 4261 ext/date/php_date.c int i, length, have_format_spec = 0; length 4271 ext/date/php_date.c case 'Y': length = slprintf(buffer, 32, "%02d", (int) t->y); break; length 4272 ext/date/php_date.c case 'y': length = slprintf(buffer, 32, "%d", (int) t->y); break; length 4274 ext/date/php_date.c case 'M': length = slprintf(buffer, 32, "%02d", (int) t->m); break; length 4275 ext/date/php_date.c case 'm': length = slprintf(buffer, 32, "%d", (int) t->m); break; length 4277 ext/date/php_date.c case 'D': length = slprintf(buffer, 32, "%02d", (int) t->d); break; length 4278 ext/date/php_date.c case 'd': length = slprintf(buffer, 32, "%d", (int) t->d); break; length 4280 ext/date/php_date.c case 'H': length = slprintf(buffer, 32, "%02d", (int) t->h); break; length 4281 ext/date/php_date.c case 'h': length = slprintf(buffer, 32, "%d", (int) t->h); break; length 4283 ext/date/php_date.c case 'I': length = slprintf(buffer, 32, "%02d", (int) t->i); break; length 4284 ext/date/php_date.c case 'i': length = slprintf(buffer, 32, "%d", (int) t->i); break; length 4286 ext/date/php_date.c case 'S': length = slprintf(buffer, 32, "%02ld", (long) t->s); break; length 4287 ext/date/php_date.c case 's': length = slprintf(buffer, 32, "%ld", (long) t->s); break; length 4291 ext/date/php_date.c length = slprintf(buffer, 32, "%d", (int) t->days); length 4293 ext/date/php_date.c length = slprintf(buffer, 32, "(unknown)"); length 4296 ext/date/php_date.c case 'r': length = slprintf(buffer, 32, "%s", t->invert ? "-" : ""); break; length 4297 ext/date/php_date.c case 'R': length = slprintf(buffer, 32, "%c", t->invert ? '-' : '+'); break; length 4299 ext/date/php_date.c case '%': length = slprintf(buffer, 32, "%%"); break; length 4300 ext/date/php_date.c default: buffer[0] = '%'; buffer[1] = format[i]; buffer[2] = '\0'; length = 2; break; length 4302 ext/date/php_date.c smart_str_appendl(&string, buffer, length); length 144 ext/dom/characterdata.c long length = 0; length 158 ext/dom/characterdata.c length = xmlUTF8Strlen(content); length 162 ext/dom/characterdata.c ZVAL_LONG(*retval, length); length 180 ext/dom/characterdata.c int length; length 194 ext/dom/characterdata.c length = xmlUTF8Strlen(cur); length 196 ext/dom/characterdata.c if (offset < 0 || count < 0 || offset > length) { length 202 ext/dom/characterdata.c if ((offset + count) > length) { length 203 ext/dom/characterdata.c count = length - offset; length 263 ext/dom/characterdata.c int length, arg_len; length 277 ext/dom/characterdata.c length = xmlUTF8Strlen(cur); length 279 ext/dom/characterdata.c if (offset < 0 || offset > length) { length 286 ext/dom/characterdata.c second = xmlUTF8Strsub(cur, offset, length - offset); length 310 ext/dom/characterdata.c int length; length 324 ext/dom/characterdata.c length = xmlUTF8Strlen(cur); length 326 ext/dom/characterdata.c if (offset < 0 || count < 0 || offset > length) { length 338 ext/dom/characterdata.c if ((offset + count) > length) { length 339 ext/dom/characterdata.c count = length - offset; length 342 ext/dom/characterdata.c second = xmlUTF8Strsub(cur, offset + count, length - offset); length 366 ext/dom/characterdata.c int length, arg_len; length 380 ext/dom/characterdata.c length = xmlUTF8Strlen(cur); length 382 ext/dom/characterdata.c if (offset < 0 || count < 0 || offset > length) { length 394 ext/dom/characterdata.c if ((offset + count) > length) { length 395 ext/dom/characterdata.c count = length - offset; length 398 ext/dom/characterdata.c if (offset < length) { length 399 ext/dom/characterdata.c second = xmlUTF8Strsub(cur, offset + count, length - offset); length 69 ext/dom/dom_iterators.c ret->length = 0; length 155 ext/dom/text.c int length; length 171 ext/dom/text.c length = xmlUTF8Strlen(cur); length 173 ext/dom/text.c if (offset > length || offset < 0) { length 179 ext/dom/text.c second = xmlUTF8Strsub(cur, offset, length - offset); length 1187 ext/exif/exif.c len = spprintf(&dump, 0, "(%d,%d) {", components, length); length 1371 ext/exif/exif.c DWORD length; length 1681 ext/exif/exif.c if (length < 0) { length 1692 ext/exif/exif.c info_data->length = length; length 1699 ext/exif/exif.c length = php_strnlen(value, length); length 1700 ext/exif/exif.c info_value->s = estrndup(value, length); length 1701 ext/exif/exif.c info_data->length = length; length 1703 ext/exif/exif.c info_data->length = 0; length 1718 ext/exif/exif.c if (!length) length 1723 ext/exif/exif.c info_value->s = estrndup(value, length); length 1724 ext/exif/exif.c info_data->length = length; length 1726 ext/exif/exif.c info_data->length = 0; length 1739 ext/exif/exif.c if (length==0) { length 1742 ext/exif/exif.c if (length>1) { length 1743 ext/exif/exif.c info_value->list = safe_emalloc(length, sizeof(image_info_value), 0); length 1747 ext/exif/exif.c for (idex=0,vptr=value; idex<(size_t)length; idex++,vptr=(char *) vptr + php_tiff_bytes_per_format[format]) { length 1748 ext/exif/exif.c if (length>1) { length 1803 ext/exif/exif.c exif_iif_add_value(image_info, section_index, name, tag, format, (int)length, value, image_info->motorola_intel TSRMLS_CC); length 1821 ext/exif/exif.c info_data->length = 1; length 1843 ext/exif/exif.c info_data->length = 1; length 1884 ext/exif/exif.c info_data->length = length; length 1886 ext/exif/exif.c info_data->value.s = safe_emalloc(length, 1, 1); length 1887 ext/exif/exif.c memcpy(info_data->value.s, value, length); length 1888 ext/exif/exif.c info_data->value.s[length] = 0; length 1911 ext/exif/exif.c if (image_info->info_list[section_index].list[i].length<1) length 1930 ext/exif/exif.c if (image_info->info_list[section_index].list[i].length > 1) { length 1980 ext/exif/exif.c if (info_data->length==0) { length 1996 ext/exif/exif.c add_assoc_stringl(tmpi, name, info_value->s, info_data->length, 1); length 2022 ext/exif/exif.c if ((l = info_data->length) > 1) { length 2227 ext/exif/exif.c exif_iif_add_tag(image_info, SECTION_COMMENT, "Comment", TAG_COMPUTED_VALUE, TAG_FMT_STRING, length-2, value+2 TSRMLS_CC); length 2239 ext/exif/exif.c if (length>3) { length 2242 ext/exif/exif.c exif_iif_add_tag(image_info, SECTION_COMMENT, "Comment", TAG_COMPUTED_VALUE, TAG_FMT_UNDEFINED, length, value TSRMLS_CC); length 2245 ext/exif/exif.c exif_iif_add_tag(image_info, SECTION_COMMENT, "Comment", TAG_COMPUTED_VALUE, TAG_FMT_STRING, length, value); length 2376 ext/exif/exif.c byte_count = php_tiff_bytes_per_format[info_data->format] * info_data->length; length 2379 ext/exif/exif.c if (!info_data->length) { length 2395 ext/exif/exif.c for(i=0; i<info_data->length; i++) { length 2396 ext/exif/exif.c if (info_data->length==1) { length 2477 ext/exif/exif.c byte_count = php_tiff_bytes_per_format[info_data->format] * info_data->length; length 2498 ext/exif/exif.c byte_count = php_tiff_bytes_per_format[info_data->format] * info_data->length; length 2500 ext/exif/exif.c exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Thumbnail: process tag(x%04X=%s): %s%s (%d bytes)", info_data->tag, exif_get_tagname(info_data->tag, tagname, -12, tag_table_IFD TSRMLS_CC), (info_data->length>1)&&info_data->format!=TAG_FMT_UNDEFINED&&info_data->format!=TAG_FMT_STRING?"ARRAY OF ":"", exif_get_tagformat(info_data->format), byte_count); length 2510 ext/exif/exif.c php_ifd_set32u(new_data + 4, info_data->length, ImageInfo->motorola_intel); length 2554 ext/exif/exif.c if ((ImageInfo->Thumbnail.offset + ImageInfo->Thumbnail.size) > length) { length 2808 ext/exif/exif.c size_t length; length 2914 ext/exif/exif.c dump_data = exif_dump_data(&dump_free, format, components, length, ImageInfo->motorola_intel, value_ptr TSRMLS_CC); length 2963 ext/exif/exif.c if (byte_count>1 && (length=php_strnlen(value_ptr, byte_count)) > 0) { length 2964 ext/exif/exif.c if (length<byte_count-1) { length 2967 ext/exif/exif.c ImageInfo->CopyrightEditor = estrdup(value_ptr+length+1); length 2968 ext/exif/exif.c spprintf(&ImageInfo->Copyright, 0, "%s, %s", value_ptr, value_ptr+length+1); length 3215 ext/exif/exif.c if (offset_of_ifd > length) { length 3222 ext/exif/exif.c exif_process_IFD_in_JPEG(ImageInfo, CharBuf+offset_of_ifd, CharBuf, length/*-14*/, displacement, SECTION_IFD0 TSRMLS_CC); length 3243 ext/exif/exif.c if (length <= 8 || memcmp(CharBuf+2, ExifHeader, 6)) { length 3247 ext/exif/exif.c exif_process_TIFF_in_JPEG(ImageInfo, CharBuf + 8, length - 8, displacement+8 TSRMLS_CC); length 3261 ext/exif/exif.c if ((l1 = php_strnlen(buffer+2, length-2)) > 0) { length 3263 ext/exif/exif.c if (length > 2+l1+1) { length 3264 ext/exif/exif.c l2 = php_strnlen(buffer+2+l1+1, length-2-l1-1); length 3448 ext/exif/exif.c size_t length=2, pos=0; length 3461 ext/exif/exif.c pos += length; length 3479 ext/exif/exif.c length = php_jpg_get16(data+pos); length 3480 ext/exif/exif.c if (pos+length>=ImageInfo->Thumbnail.size) { length 3484 ext/exif/exif.c exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Thumbnail: process section(x%02X=%s) @ x%04X + x%04X", marker, exif_get_markername(marker), pos, length); length 786 ext/filter/logical_filters.c int tokens, length, i, offset, exp_separator_set, exp_separator_len; length 804 ext/filter/logical_filters.c length = 4; length 809 ext/filter/logical_filters.c length = 2; length 814 ext/filter/logical_filters.c length = 2; length 829 ext/filter/logical_filters.c offset = i * (length + 1); length 831 ext/filter/logical_filters.c if (i < tokens - 1 && input[offset + length] != separator) { length 835 ext/filter/logical_filters.c if (php_filter_parse_hex(input + offset, length, &ret TSRMLS_CC) < 0) { length 78 ext/gd/libgd/gd_png.c check = gdGetBuf(data, length, (gdIOCtx *) png_get_io_ptr(png_ptr)); length 79 ext/gd/libgd/gd_png.c if (check != length) { length 86 ext/gd/libgd/gd_png.c gdPutBuf (data, length, (gdIOCtx *) png_get_io_ptr(png_ptr)); length 208 ext/hash/hash.c for (i=0; i < length; i++) { length 215 ext/hash/hash.c for (i=0; i < length; i++) { length 424 ext/hash/hash.c long length = -1, didread = 0; length 426 ext/hash/hash.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr|l", &zhash, &zstream, &length) == FAILURE) { length 433 ext/hash/hash.c while (length) { length 437 ext/hash/hash.c if (length > 0 && toread > length) { length 438 ext/hash/hash.c toread = length; length 446 ext/hash/hash.c length -= n; length 614 ext/hash/hash.c long loops, i, j, algo_len, pass_len, iterations, length, digest_length = 0; length 621 ext/hash/hash.c if (zend_parse_parameters(argc TSRMLS_CC, "sssl|lb", &algo, &algo_len, &pass, &pass_len, &salt, &salt_len, &iterations, &length, &raw_output) == FAILURE) { length 636 ext/hash/hash.c if (length < 0) { length 637 ext/hash/hash.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Length must be greater than or equal to 0: %ld", length); length 660 ext/hash/hash.c if (length == 0) { length 661 ext/hash/hash.c length = ops->digest_size; length 663 ext/hash/hash.c length = length * 2; length 666 ext/hash/hash.c digest_length = length; length 668 ext/hash/hash.c digest_length = (long) ceil((float) length / 2.0); length 720 ext/hash/hash.c returnval = safe_emalloc(length, 1, 1); length 722 ext/hash/hash.c memcpy(returnval, result, length); length 726 ext/hash/hash.c returnval[length] = 0; length 728 ext/hash/hash.c RETURN_STRINGL(returnval, length, 0); length 260 ext/hash/hash_gost.c if (context->length + len < 32) { length 261 ext/hash/hash_gost.c memcpy(&context->buffer[context->length], input, len); length 262 ext/hash/hash_gost.c context->length += len; length 264 ext/hash/hash_gost.c size_t i = 0, r = (context->length + len) % 32; length 266 ext/hash/hash_gost.c if (context->length) { length 267 ext/hash/hash_gost.c i = 32 - context->length; length 268 ext/hash/hash_gost.c memcpy(&context->buffer[context->length], input, i); length 278 ext/hash/hash_gost.c context->length = r; length 286 ext/hash/hash_gost.c if (context->length) { length 152 ext/hash/hash_snefru.c if (context->length + len < 32) { length 153 ext/hash/hash_snefru.c memcpy(&context->buffer[context->length], input, len); length 154 ext/hash/hash_snefru.c context->length += len; length 156 ext/hash/hash_snefru.c size_t i = 0, r = (context->length + len) % 32; length 158 ext/hash/hash_snefru.c if (context->length) { length 159 ext/hash/hash_snefru.c i = 32 - context->length; length 160 ext/hash/hash_snefru.c memcpy(&context->buffer[context->length], input, i); length 170 ext/hash/hash_snefru.c context->length = r; length 178 ext/hash/hash_snefru.c if (context->length) { length 141 ext/hash/hash_tiger.c context->passed += (php_hash_uint64) context->length << 3; length 143 ext/hash/hash_tiger.c context->buffer[context->length++] = 0x1; length 144 ext/hash/hash_tiger.c if (context->length % 8) { length 145 ext/hash/hash_tiger.c memset(&context->buffer[context->length], 0, 8-context->length%8); length 146 ext/hash/hash_tiger.c context->length += 8-context->length%8; length 149 ext/hash/hash_tiger.c if (context->length > 56) { length 150 ext/hash/hash_tiger.c memset(&context->buffer[context->length], 0, 64 - context->length); length 154 ext/hash/hash_tiger.c memset(&context->buffer[context->length], 0, 56 - context->length); length 200 ext/hash/hash_tiger.c if (context->length + len < 64) { length 201 ext/hash/hash_tiger.c memcpy(&context->buffer[context->length], input, len); length 202 ext/hash/hash_tiger.c context->length += len; length 204 ext/hash/hash_tiger.c size_t i = 0, r = (context->length + len) % 64; length 206 ext/hash/hash_tiger.c if (context->length) { length 207 ext/hash/hash_tiger.c i = 64 - context->length; length 208 ext/hash/hash_tiger.c memcpy(&context->buffer[context->length], input, i); length 221 ext/hash/hash_tiger.c context->length = r; length 30 ext/hash/php_hash_gost.h unsigned char length; length 34 ext/hash/php_hash_snefru.h unsigned char length; length 30 ext/hash/php_hash_tiger.h unsigned int length:7; length 1997 ext/iconv/iconv.c long offset, length = 0; length 2004 ext/iconv/iconv.c &str, &str_len, &offset, &length, length 2015 ext/iconv/iconv.c length = str_len; length 2018 ext/iconv/iconv.c err = _php_iconv_substr(&retval, str, str_len, offset, length, charset); length 104 ext/intl/calendar/calendar_methods.cpp int32_t length; length 105 ext/intl/calendar/calendar_methods.cpp const UChar* str = uenum_unext(uenum, &length, &status); length 109 ext/intl/calendar/calendar_methods.cpp return &unistr.setTo(str, length); length 114 ext/intl/calendar/calendar_methods.cpp int32_t length = -1; length 115 ext/intl/calendar/calendar_methods.cpp const char* str = uenum_next(uenum, &length, &status); length 121 ext/intl/calendar/calendar_methods.cpp *resultLength = (length == -1) ? strlen(str) : length; length 84 ext/intl/collator/collator_is_numeric.c int length = u - nstart; length 87 ext/intl/collator/collator_is_numeric.c if (length < sizeof(buf)) { length 90 ext/intl/collator/collator_is_numeric.c numbuf = (char *) _do_alloca(length + 1, use_heap); length 232 ext/intl/collator/collator_is_numeric.c if (!length) { length 237 ext/intl/collator/collator_is_numeric.c if (length>=2 && str[0]=='0' && (str[1]=='x' || str[1]=='X')) { length 244 ext/intl/collator/collator_is_numeric.c if (end_ptr_long == str+length) { /* integer string */ length 265 ext/intl/collator/collator_is_numeric.c if (end_ptr_double == str+length) { /* floating point string */ length 231 ext/intl/converter/converter.c ZVAL_STRINGL(zcodeunits, codeUnits, length, 1); length 320 ext/intl/converter/converter.c while (i < length) { length 322 ext/intl/converter/converter.c U16_NEXT(codeUnits, i, length, c); length 89 ext/intl/dateformat/dateformat_attr.c int length = USIZE( value_buf ); length 106 ext/intl/dateformat/dateformat_attr.c length = udat_toPattern(DATE_FORMAT_OBJECT(dfo), is_pattern_localized, value, length, &INTL_DATA_ERROR_CODE(dfo)); length 107 ext/intl/dateformat/dateformat_attr.c if(INTL_DATA_ERROR_CODE(dfo) == U_BUFFER_OVERFLOW_ERROR && length >= USIZE( value_buf )) { length 108 ext/intl/dateformat/dateformat_attr.c ++length; /* to avoid U_STRING_NOT_TERMINATED_WARNING */ length 110 ext/intl/dateformat/dateformat_attr.c value = eumalloc(length); length 111 ext/intl/dateformat/dateformat_attr.c length = udat_toPattern(DATE_FORMAT_OBJECT(dfo), is_pattern_localized, value, length, &INTL_DATA_ERROR_CODE(dfo) ); length 119 ext/intl/dateformat/dateformat_attr.c INTL_METHOD_RETVAL_UTF8( dfo, value, length, ( value != value_buf ) ); length 108 ext/intl/formatter/formatter_attr.c int length = 0; length 124 ext/intl/formatter/formatter_attr.c length = unum_getTextAttribute( FORMATTER_OBJECT(nfo), attribute, value, value_buf_size, &INTL_DATA_ERROR_CODE(nfo) ); length 125 ext/intl/formatter/formatter_attr.c if(INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR && length >= value_buf_size) { length 126 ext/intl/formatter/formatter_attr.c ++length; /* to avoid U_STRING_NOT_TERMINATED_WARNING */ length 128 ext/intl/formatter/formatter_attr.c value = eumalloc(length); length 129 ext/intl/formatter/formatter_attr.c length = unum_getTextAttribute( FORMATTER_OBJECT(nfo), attribute, value, length, &INTL_DATA_ERROR_CODE(nfo) ); length 137 ext/intl/formatter/formatter_attr.c INTL_METHOD_RETVAL_UTF8( nfo, value, length, ( value != value_buf ) ); length 255 ext/intl/formatter/formatter_attr.c int length = USIZE(value_buf); length 276 ext/intl/formatter/formatter_attr.c length = unum_getSymbol(FORMATTER_OBJECT(nfo), symbol, value_buf, length, &INTL_DATA_ERROR_CODE(nfo)); length 277 ext/intl/formatter/formatter_attr.c if(INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR && length >= USIZE( value_buf )) { length 278 ext/intl/formatter/formatter_attr.c ++length; /* to avoid U_STRING_NOT_TERMINATED_WARNING */ length 280 ext/intl/formatter/formatter_attr.c value = eumalloc(length); length 281 ext/intl/formatter/formatter_attr.c length = unum_getSymbol(FORMATTER_OBJECT(nfo), symbol, value, length, &INTL_DATA_ERROR_CODE(nfo)); length 289 ext/intl/formatter/formatter_attr.c INTL_METHOD_RETVAL_UTF8( nfo, value, length, ( value_buf != value ) ); length 348 ext/intl/formatter/formatter_attr.c int length = USIZE( value_buf ); length 365 ext/intl/formatter/formatter_attr.c length = unum_toPattern(FORMATTER_OBJECT(nfo), 0, value, length, &INTL_DATA_ERROR_CODE(nfo)); length 366 ext/intl/formatter/formatter_attr.c if(INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR && length >= USIZE( value_buf )) { length 367 ext/intl/formatter/formatter_attr.c ++length; /* to avoid U_STRING_NOT_TERMINATED_WARNING */ length 369 ext/intl/formatter/formatter_attr.c value = eumalloc(length); length 370 ext/intl/formatter/formatter_attr.c length = unum_toPattern( FORMATTER_OBJECT(nfo), 0, value, length, &INTL_DATA_ERROR_CODE(nfo) ); length 378 ext/intl/formatter/formatter_attr.c INTL_METHOD_RETVAL_UTF8( nfo, value, length, ( value != value_buf ) ); length 404 ext/intl/grapheme/grapheme_string.c long lstart = 0, length = 0; length 413 ext/intl/grapheme/grapheme_string.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|l", (char **)&str, &str_len, &lstart, &length) == FAILURE) { length 434 ext/intl/grapheme/grapheme_string.c grapheme_substr_ascii((char *)str, str_len, start, length, ZEND_NUM_ARGS(), (char **) &sub_str, &sub_str_len); length 534 ext/intl/grapheme/grapheme_string.c if(length == 0) { length 545 ext/intl/grapheme/grapheme_string.c if ( length < 0 ) { length 557 ext/intl/grapheme/grapheme_string.c while ( length ) { length 564 ext/intl/grapheme/grapheme_string.c length += iter_val; length 570 ext/intl/grapheme/grapheme_string.c if(length < 0) { length 62 ext/intl/intl_convertcpp.cpp int32_t capacity = from.length() * 3 + 1; length 76 ext/intl/intl_convertcpp.cpp u_strToUTF8WithSub(*res, capacity - 1, &actual_len, utf16buf, from.length(), length 183 ext/intl/msgformat/msgformat_helpers.cpp if (zend_hash_find(ret, (char*)argName.getBuffer(), argName.length(), length 187 ext/intl/msgformat/msgformat_helpers.cpp if (zend_hash_update(ret, (char*)argName.getBuffer(), argName.length(), length 436 ext/intl/msgformat/msgformat_helpers.cpp zend_hash_find(types, (char*)key.getBuffer(), key.length(), length 627 ext/intl/msgformat/msgformat_helpers.cpp *formatted_len = resultStr.length(); length 685 ext/intl/msgformat/msgformat_helpers.cpp intl_convert_utf16_to_utf8(&stmp, &stmp_len, temp.getBuffer(), temp.length(), status); length 88 ext/intl/resourcebundle/resourcebundle_iterator.c return (iterator->i < iterator->length) ? SUCCESS : FAILURE; length 172 ext/intl/resourcebundle/resourcebundle_iterator.c iterator->length = ures_getSize( rb->me ); length 28 ext/intl/resourcebundle/resourcebundle_iterator.h long length; length 310 ext/intl/timezone/timezone_class.cpp ustr.getBuffer(), ustr.length(), &uec); length 321 ext/intl/timezone/timezone_methods.cpp result.getBuffer(), result.length(), &status); length 405 ext/intl/timezone/timezone_methods.cpp result.getBuffer(), result.length(), &status); length 431 ext/intl/timezone/timezone_methods.cpp id_us.getBuffer(), id_us.length(), TIMEZONE_ERROR_CODE_P(to)); length 573 ext/intl/timezone/timezone_methods.cpp result.getBuffer(), result.length(), TIMEZONE_ERROR_CODE_P(to)); length 455 ext/json/JSON_parser.c for (the_index = 0; the_index < length; the_index += 1) { length 40 ext/json/JSON_parser.h return parse_JSON_ex(jp, z, utf16_json, length, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0 TSRMLS_CC); length 91 ext/json/utf8_decode.c utf8->the_length = length; length 1324 ext/mbstring/libmbfl/mbfl/mbfilter.c end = from + length; length 1327 ext/mbstring/libmbfl/mbfl/mbfilter.c end = start + length*2; length 1330 ext/mbstring/libmbfl/mbfl/mbfilter.c end = start + length*4; length 1353 ext/mbstring/libmbfl/mbfl/mbfilter.c while (k < length) { length 1409 ext/mbstring/libmbfl/mbfl/mbfilter.c mbfl_memory_device_init(&device, length + 1, 0); length 1430 ext/mbstring/libmbfl/mbfl/mbfilter.c pc.stop = from + length; length 1473 ext/mbstring/libmbfl/mbfl/mbfilter.c if (from < 0 || length < 0) { length 1504 ext/mbstring/libmbfl/mbfl/mbfilter.c if (from + length >= string->len) { length 1505 ext/mbstring/libmbfl/mbfl/mbfilter.c length = string->len - from; length 1509 ext/mbstring/libmbfl/mbfl/mbfilter.c end = start + (length & -2); length 1513 ext/mbstring/libmbfl/mbfl/mbfilter.c if (from + length >= string->len) { length 1514 ext/mbstring/libmbfl/mbfl/mbfilter.c length = string->len - from; length 1518 ext/mbstring/libmbfl/mbfl/mbfilter.c end = start + (length & -4); length 1520 ext/mbstring/libmbfl/mbfl/mbfilter.c if (from + length >= string->len) { length 1521 ext/mbstring/libmbfl/mbfl/mbfilter.c length = string->len - from; length 1525 ext/mbstring/libmbfl/mbfl/mbfilter.c end = start + length; length 1542 ext/mbstring/libmbfl/mbfl/mbfilter.c if ((start - string->val) + length >= (int)string->len) { length 1545 ext/mbstring/libmbfl/mbfl/mbfilter.c for (q = p + length; p < q; p += (m = mbtab[*p])); length 1601 ext/mbstring/libmbfl/mbfl/mbfilter.c mbfl_memory_device_init(&device, length + 8, 0); length 1623 ext/mbstring/libmbfl/mbfl/mbfilter.c if (length > q - p) { length 1624 ext/mbstring/libmbfl/mbfl/mbfilter.c length = q - p; length 1627 ext/mbstring/libmbfl/mbfl/mbfilter.c if (length >= 20) { length 1630 ext/mbstring/libmbfl/mbfl/mbfilter.c for (r = p + length - 20; p < r; p++) { length 1636 ext/mbstring/libmbfl/mbfl/mbfilter.c if (device.pos > length) { length 1656 ext/mbstring/libmbfl/mbfl/mbfilter.c if (device.pos > length) { length 1687 ext/mbstring/libmbfl/mbfl/mbfilter.c if (device.pos > length) { length 1708 ext/mbstring/libmbfl/mbfl/mbfilter.c if (device.pos > length) { length 50 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->length = 0; length 55 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->length = initsz; length 73 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c if (initsz > device->length) { length 77 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->length = initsz; length 96 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->length = 0; length 125 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->length = 0; length 143 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c if (device->pos >= device->length) { length 148 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c newlen = device->length + device->allocsz; length 153 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->length = newlen; length 166 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c if ((device->pos + 2) >= device->length) { length 171 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c newlen = device->length + device->allocsz; length 176 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->length = newlen; length 191 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c if ((device->pos + 4) >= device->length) { length 196 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c newlen = device->length + device->allocsz; length 201 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->length = newlen; length 227 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c if ((device->pos + len) >= device->length) { length 229 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c int newlen = device->length + (len + MBFL_MEMORY_DEVICE_ALLOC_SIZE)*sizeof(unsigned char); length 234 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->length = newlen; length 254 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c if ((device->pos + len) >= device->length) { length 256 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c int newlen = device->length + len + MBFL_MEMORY_DEVICE_ALLOC_SIZE; length 261 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->length = newlen; length 281 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c if ((dest->pos + src->pos) >= dest->length) { length 283 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c int newlen = dest->length + src->pos + MBFL_MEMORY_DEVICE_ALLOC_SIZE; length 288 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c dest->length = newlen; length 309 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->length = 0; length 323 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->length = 0; length 333 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c if (device->pos >= device->length) { length 338 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c newlen = device->length + device->allocsz; length 343 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->length = newlen; length 41 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.h int length; length 48 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.h int length; length 80 ext/mbstring/libmbfl/tests/conv_encoding.c if (dev.pos >= dev.length) { length 81 ext/mbstring/libmbfl/tests/conv_encoding.c if (dev.length + dev.allocsz < dev.length) { length 86 ext/mbstring/libmbfl/tests/conv_encoding.c mbfl_memory_device_realloc(&dev, dev.length + dev.allocsz, length 126 ext/mbstring/libmbfl/tests/conv_kana.c if (dev.pos >= dev.length) { length 127 ext/mbstring/libmbfl/tests/conv_kana.c if (dev.length + dev.allocsz < dev.length) { length 132 ext/mbstring/libmbfl/tests/conv_kana.c mbfl_memory_device_realloc(&dev, dev.length + dev.allocsz, length 72 ext/mbstring/libmbfl/tests/emoji.c mbfl_memory_device_realloc(&dev, dev.length + dev.allocsz, dev.allocsz); length 101 ext/mbstring/libmbfl/tests/emoji.c mbfl_memory_device_realloc(&dev2, dev2.length + dev2.allocsz, dev2.allocsz); length 31 ext/mbstring/libmbfl/tests/strcut.c int offset, length; length 59 ext/mbstring/libmbfl/tests/strcut.c length = strtol(argv[4], NULL, 10); length 89 ext/mbstring/libmbfl/tests/strcut.c if (dev.pos >= dev.length) { length 90 ext/mbstring/libmbfl/tests/strcut.c if (dev.length + dev.allocsz < dev.length) { length 95 ext/mbstring/libmbfl/tests/strcut.c mbfl_memory_device_realloc(&dev, dev.length + dev.allocsz, length 103 ext/mbstring/libmbfl/tests/strcut.c if (mbfl_strcut(&string, &result, offset, length)) { length 60 ext/mbstring/libmbfl/tests/strwidth.c if (dev.pos >= dev.length) { length 61 ext/mbstring/libmbfl/tests/strwidth.c if (dev.length + dev.allocsz < dev.length) { length 66 ext/mbstring/libmbfl/tests/strwidth.c mbfl_memory_device_realloc(&dev, dev.length + dev.allocsz, length 2981 ext/mbstring/mbstring.c string.len = length; length 953 ext/mssql/php_mssql.c int length; length 956 ext/mssql/php_mssql.c length=dbdatlen(mssql_ptr->link,offset); length 958 ext/mssql/php_mssql.c while (length>0 && data[length-1] == ' ') { /* nuke trailing whitespace */ length 959 ext/mssql/php_mssql.c length--; length 962 ext/mssql/php_mssql.c ZVAL_STRINGL(result, data, length, 1); length 2507 ext/mysql/php_mysql.c Z_LVAL_P(return_value) = mysql_field->length; length 364 ext/mysqli/mysqli_api.c bind[ofs].length = &stmt->result.buf[ofs].output_len; length 406 ext/mysqli/mysqli_api.c (stmt->stmt->fields) ? (stmt->stmt->fields[ofs].length) ? stmt->stmt->fields[ofs].length + 1: 256: 256; length 421 ext/mysqli/mysqli_api.c bind[ofs].length = &stmt->result.buf[ofs].output_len; length 1144 ext/mysqli/mysqli_api.c add_property_long(value, "length", field->length); length 560 ext/mysqlnd/mysqlnd_alloc.c ret = (persistent) ? __zend_malloc(REAL_SIZE(length + 1)) : _emalloc(REAL_SIZE(length + 1) ZEND_FILE_LINE_CC ZEND_FILE_LINE_ORIG_RELAY_CC); length 562 ext/mysqlnd/mysqlnd_alloc.c size_t l = length; length 572 ext/mysqlnd/mysqlnd_alloc.c *(size_t *) ret = length; length 745 ext/mysqlnd/mysqlnd_alloc.c return pestrndup(ptr, length, persistent); length 227 ext/mysqlnd/mysqlnd_bt.c *length = res_len; length 69 ext/mysqlnd/mysqlnd_debug.h char * (*get_backtrace)(uint max_levels, size_t * length TSRMLS_DC); length 219 ext/mysqlnd/mysqlnd_driver.c stmt->execute_cmd_buffer.length = 4096; length 220 ext/mysqlnd/mysqlnd_driver.c stmt->execute_cmd_buffer.buffer = mnd_pemalloc(stmt->execute_cmd_buffer.length, stmt->persistent); length 699 ext/mysqlnd/mysqlnd_net.c net->cmd_buffer.length = *(unsigned int*) value; length 700 ext/mysqlnd/mysqlnd_net.c DBG_INF_FMT("new_length="MYSQLND_SZ_T_SPEC, net->cmd_buffer.length); length 702 ext/mysqlnd/mysqlnd_net.c net->cmd_buffer.buffer = mnd_pemalloc(net->cmd_buffer.length, net->persistent); length 704 ext/mysqlnd/mysqlnd_net.c net->cmd_buffer.buffer = mnd_perealloc(net->cmd_buffer.buffer, net->cmd_buffer.length, net->persistent); length 41 ext/mysqlnd/mysqlnd_priv.h #define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(length))) length 1262 ext/mysqlnd/mysqlnd_ps.c const char * const data, unsigned long length TSRMLS_DC) length 1274 ext/mysqlnd/mysqlnd_ps.c DBG_INF_FMT("stmt=%lu param_no=%u data_len=%lu", stmt->stmt_id, param_no, length); length 1314 ext/mysqlnd/mysqlnd_ps.c cmd_buf = mnd_emalloc(packet_len = STMT_ID_LENGTH + 2 + length); length 1320 ext/mysqlnd/mysqlnd_ps.c memcpy(cmd_buf + STMT_ID_LENGTH + 2, data, length); length 208 ext/mysqlnd/mysqlnd_ps_codec.c unsigned long length; /* First byte encodes the length*/ length 212 ext/mysqlnd/mysqlnd_ps_codec.c if ((length = php_mysqlnd_net_field_length(row))) { length 222 ext/mysqlnd/mysqlnd_ps_codec.c t.second_part = (length > 8) ? (unsigned long) sint4korr(to+8) : 0; length 230 ext/mysqlnd/mysqlnd_ps_codec.c (*row) += length; length 236 ext/mysqlnd/mysqlnd_ps_codec.c length = mnd_sprintf(&value, 0, "%s%02u:%02u:%02u", (t.neg ? "-" : ""), t.hour, t.minute, t.second); length 239 ext/mysqlnd/mysqlnd_ps_codec.c ZVAL_STRINGL(zv, value, length, 1); length 251 ext/mysqlnd/mysqlnd_ps_codec.c unsigned long length; /* First byte encodes the length*/ length 255 ext/mysqlnd/mysqlnd_ps_codec.c if ((length = php_mysqlnd_net_field_length(row))) { length 267 ext/mysqlnd/mysqlnd_ps_codec.c (*row)+= length; length 273 ext/mysqlnd/mysqlnd_ps_codec.c length = mnd_sprintf(&value, 0, "%04u-%02u-%02u", t.year, t.month, t.day); length 276 ext/mysqlnd/mysqlnd_ps_codec.c ZVAL_STRINGL(zv, value, length, 1); length 288 ext/mysqlnd/mysqlnd_ps_codec.c unsigned long length; /* First byte encodes the length*/ length 292 ext/mysqlnd/mysqlnd_ps_codec.c if ((length = php_mysqlnd_net_field_length(row))) { length 302 ext/mysqlnd/mysqlnd_ps_codec.c if (length > 4) { length 309 ext/mysqlnd/mysqlnd_ps_codec.c t.second_part = (length > 7) ? (unsigned long) sint4korr(to+7) : 0; length 311 ext/mysqlnd/mysqlnd_ps_codec.c (*row)+= length; length 317 ext/mysqlnd/mysqlnd_ps_codec.c length = mnd_sprintf(&value, 0, "%04u-%02u-%02u %02u:%02u:%02u", t.year, t.month, t.day, t.hour, t.minute, t.second); length 320 ext/mysqlnd/mysqlnd_ps_codec.c ZVAL_STRINGL(zv, value, length, 1); length 335 ext/mysqlnd/mysqlnd_ps_codec.c const unsigned long length = php_mysqlnd_net_field_length(row); length 337 ext/mysqlnd/mysqlnd_ps_codec.c DBG_INF_FMT("len = %lu", length); length 339 ext/mysqlnd/mysqlnd_ps_codec.c ZVAL_STRINGL(zv, (char *)*row, length, 1); length 341 ext/mysqlnd/mysqlnd_ps_codec.c (*row) += length; length 351 ext/mysqlnd/mysqlnd_ps_codec.c unsigned long length = php_mysqlnd_net_field_length(row); length 352 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, length TSRMLS_CC); length 860 ext/mysqlnd/mysqlnd_ps_codec.c size_t cmd_buffer_length = stmt->execute_cmd_buffer.length; length 64 ext/mysqlnd/mysqlnd_result_meta.c const char *end=key+length-1; length 66 ext/mysqlnd/mysqlnd_result_meta.c if (*tmp++=='0' && length>2) { /* don't accept numbers with leading zeros */ length 151 ext/mysqlnd/mysqlnd_result_meta.c field_len = meta->fields[i].length / 8; length 156 ext/mysqlnd/mysqlnd_result_meta.c if (meta->fields[i].length % 8) { length 69 ext/mysqlnd/mysqlnd_structs.h size_t length; length 82 ext/mysqlnd/mysqlnd_structs.h unsigned long length; /* Width of column (create length) */ length 192 ext/mysqlnd/mysqlnd_wireprotocol.c if (length < (uint64_t) L64(251)) { length 193 ext/mysqlnd/mysqlnd_wireprotocol.c *packet = (zend_uchar) length; length 197 ext/mysqlnd/mysqlnd_wireprotocol.c if (length < (uint64_t) L64(65536)) { length 199 ext/mysqlnd/mysqlnd_wireprotocol.c int2store(packet,(unsigned int) length); length 203 ext/mysqlnd/mysqlnd_wireprotocol.c if (length < (uint64_t) L64(16777216)) { length 205 ext/mysqlnd/mysqlnd_wireprotocol.c int3store(packet,(ulong) length); length 209 ext/mysqlnd/mysqlnd_wireprotocol.c int8store(packet, length); length 219 ext/mysqlnd/mysqlnd_wireprotocol.c if (length < (uint64_t) L64(251)) { length 222 ext/mysqlnd/mysqlnd_wireprotocol.c if (length < (uint64_t) L64(65536)) { length 225 ext/mysqlnd/mysqlnd_wireprotocol.c if (length < (uint64_t) L64(16777216)) { length 645 ext/mysqlnd/mysqlnd_wireprotocol.c size_t buf_len = conn->net->cmd_buffer.buffer? conn->net->cmd_buffer.length: AUTH_RESP_BUFFER_SIZE; length 765 ext/mysqlnd/mysqlnd_wireprotocol.c zend_uchar * buffer = conn->net->cmd_buffer.length >= packet->auth_data_len? conn->net->cmd_buffer.buffer : mnd_emalloc(packet->auth_data_len); length 808 ext/mysqlnd/mysqlnd_wireprotocol.c size_t buf_len = conn->net->cmd_buffer.buffer? conn->net->cmd_buffer.length : OK_BUFFER_SIZE; length 900 ext/mysqlnd/mysqlnd_wireprotocol.c size_t buf_len = conn->net->cmd_buffer.length; length 1002 ext/mysqlnd/mysqlnd_wireprotocol.c tmp = (tmp_len > net->cmd_buffer.length)? mnd_emalloc(tmp_len):net->cmd_buffer.buffer; length 1049 ext/mysqlnd/mysqlnd_wireprotocol.c size_t buf_len = conn->net->cmd_buffer.length; length 1189 ext/mysqlnd/mysqlnd_wireprotocol.c size_t buf_len = conn->net->cmd_buffer.length, total_len = 0; length 1258 ext/mysqlnd/mysqlnd_wireprotocol.c meta->length = uint4korr(p); length 1281 ext/mysqlnd/mysqlnd_wireprotocol.c (meta->type != MYSQL_TYPE_TIMESTAMP || meta->length == 14 || meta->length == 8) length 1888 ext/mysqlnd/mysqlnd_wireprotocol.c size_t buf_len = conn->net->cmd_buffer.length; length 1930 ext/mysqlnd/mysqlnd_wireprotocol.c size_t buf_len = conn->net->cmd_buffer.length; length 2018 ext/mysqlnd/mysqlnd_wireprotocol.c size_t buf_len = conn->net->cmd_buffer.length; length 316 ext/oci8/oci8_interface.c long length; length 321 ext/oci8/oci8_interface.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &length) == FAILURE) { length 326 ext/oci8/oci8_interface.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &z_descriptor, oci_lob_class_entry_ptr, &length) == FAILURE) { length 338 ext/oci8/oci8_interface.c if (length <= 0) { length 343 ext/oci8/oci8_interface.c if (php_oci_lob_read(descriptor, length, descriptor->lob_current_position, &buffer, &buffer_len TSRMLS_CC)) { length 649 ext/oci8/oci8_interface.c long offset = -1, length = -1; length 652 ext/oci8/oci8_interface.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ll", &offset, &length) == FAILURE) { length 661 ext/oci8/oci8_interface.c if (ZEND_NUM_ARGS() > 1 && length < 0) { length 667 ext/oci8/oci8_interface.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|ll", &z_descriptor, oci_lob_class_entry_ptr, &offset, &length) == FAILURE) { length 676 ext/oci8/oci8_interface.c if (ZEND_NUM_ARGS() > 2 && length < 0) { length 689 ext/oci8/oci8_interface.c if (php_oci_lob_erase(descriptor, offset, length, &bytes_erased TSRMLS_CC)) { length 800 ext/oci8/oci8_interface.c long length = 0; length 802 ext/oci8/oci8_interface.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "OO|l", &z_descriptor_dest, oci_lob_class_entry_ptr, &z_descriptor_from, oci_lob_class_entry_ptr, &length) == FAILURE) { length 819 ext/oci8/oci8_interface.c if (ZEND_NUM_ARGS() == 3 && length < 0) { length 826 ext/oci8/oci8_interface.c length = -1; length 829 ext/oci8/oci8_interface.c if (php_oci_lob_copy(descriptor_dest, descriptor_from, length TSRMLS_CC)) { length 881 ext/oci8/oci8_interface.c long start = -1, length = -1, block_length; length 887 ext/oci8/oci8_interface.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|ll", &filename, &filename_len, &start, &length) == FAILURE) { length 889 ext/oci8/oci8_interface.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|ll", &filename, &filename_len, &start, &length) == FAILURE) { length 898 ext/oci8/oci8_interface.c if (ZEND_NUM_ARGS() > 2 && length < 0) { length 905 ext/oci8/oci8_interface.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Op|ll", &z_descriptor, oci_lob_class_entry_ptr, &filename, &filename_len, &start, &length) == FAILURE) { length 907 ext/oci8/oci8_interface.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os|ll", &z_descriptor, oci_lob_class_entry_ptr, &filename, &filename_len, &start, &length) == FAILURE) { length 916 ext/oci8/oci8_interface.c if (ZEND_NUM_ARGS() > 3 && length < 0) { length 945 ext/oci8/oci8_interface.c if (length == -1) { length 946 ext/oci8/oci8_interface.c length = lob_length - descriptor->lob_current_position; length 949 ext/oci8/oci8_interface.c if (length == 0) { length 972 ext/oci8/oci8_interface.c if (block_length > length) { length 973 ext/oci8/oci8_interface.c block_length = length; length 976 ext/oci8/oci8_interface.c while(length > 0) { length 991 ext/oci8/oci8_interface.c length -= tmp_bytes_read; length 995 ext/oci8/oci8_interface.c if (block_length > length) { length 996 ext/oci8/oci8_interface.c block_length = length; length 120 ext/oci8/oci8_lob.c *length = 0; length 123 ext/oci8/oci8_lob.c *length = descriptor->lob_size; length 135 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(connection->errcode, OCILobGetLength, (connection->svc, connection->err, descriptor->descriptor, (ub4 *)length)); length 143 ext/oci8/oci8_lob.c descriptor->lob_size = *length; length 239 ext/oci8/oci8_lob.c ub4 length = 0; length 261 ext/oci8/oci8_lob.c if (php_oci_lob_get_length(descriptor, &length TSRMLS_CC)) { length 265 ext/oci8/oci8_lob.c if (length <= 0) { length 269 ext/oci8/oci8_lob.c if (initial_offset > length) { length 275 ext/oci8/oci8_lob.c requested_len = length; length 278 ext/oci8/oci8_lob.c if (requested_len > (length - initial_offset)) { length 279 ext/oci8/oci8_lob.c requested_len = length - initial_offset; length 545 ext/oci8/oci8_lob.c if (length == -1) { length 548 ext/oci8/oci8_lob.c copy_len = length; length 860 ext/oci8/oci8_lob.c if (length == -1) { length 861 ext/oci8/oci8_lob.c length = lob_length; length 864 ext/oci8/oci8_lob.c PHP_OCI_CALL_RETURN(connection->errcode, OCILobErase, (connection->svc, connection->err, lob, (ub4 *)&length, offset+1)); length 872 ext/oci8/oci8_lob.c *bytes_erased = length; length 641 ext/openssl/openssl.c add_assoc_stringl(val, key, (char *)str->data, str->length, 1); length 1368 ext/openssl/openssl.c ZVAL_STRINGL(zout, bio_buf->data, bio_buf->length, 1); length 1420 ext/openssl/openssl.c long i, length, num; length 1429 ext/openssl/openssl.c length = extension->value->length; length 1431 ext/openssl/openssl.c names = (GENERAL_NAMES*)(ASN1_item_d2i(NULL, &p, length, length 1434 ext/openssl/openssl.c names = (GENERAL_NAMES*)(method->d2i(NULL, &p, length)); length 1589 ext/openssl/openssl.c add_assoc_stringl(subitem, extname, bio_buf->data, bio_buf->length, 1); length 1601 ext/openssl/openssl.c add_assoc_stringl(subitem, extname, bio_buf->data, bio_buf->length, 1); length 2054 ext/openssl/openssl.c ZVAL_STRINGL(zout, bio_buf->data, bio_buf->length, 1); length 2110 ext/openssl/openssl.c ZVAL_STRINGL(zcert, bio_buf->data, bio_buf->length, 1); length 2120 ext/openssl/openssl.c ZVAL_STRINGL(zpkey, bio_buf->data, bio_buf->length, 1); length 2138 ext/openssl/openssl.c ZVAL_STRINGL(zextracert, bio_buf->data, bio_buf->length, 1); length 2459 ext/openssl/openssl.c ZVAL_STRINGL(zout, bio_buf->data, bio_buf->length, 1); length 1741 ext/pcre/pcrelib/pcre_compile.c int length = -1; length 1785 ext/pcre/pcrelib/pcre_compile.c if (length < 0) length = branchlength; length 1786 ext/pcre/pcrelib/pcre_compile.c else if (length != branchlength) return -1; length 1787 ext/pcre/pcrelib/pcre_compile.c if (*cc != OP_ALT) return length; length 2892 ext/pcre/pcrelib/pcre_compile.c int length = (int)(ptr - cd->start_pattern - GET(previous_callout, 2)); length 2893 ext/pcre/pcrelib/pcre_compile.c PUT(previous_callout, 2 + LINK_SIZE, length); length 7114 ext/pcre/pcrelib/pcre_compile.c int length; length 7132 ext/pcre/pcrelib/pcre_compile.c length = 2 + 2*LINK_SIZE + skipbytes; length 7176 ext/pcre/pcrelib/pcre_compile.c length += 1 + LINK_SIZE; length 7184 ext/pcre/pcrelib/pcre_compile.c cond_depth, cd, (lengthptr == NULL)? NULL : &length)) length 7332 ext/pcre/pcrelib/pcre_compile.c length += 2 + 2*LINK_SIZE; length 7351 ext/pcre/pcrelib/pcre_compile.c if (OFLOW_MAX - *lengthptr < length) length 7356 ext/pcre/pcrelib/pcre_compile.c *lengthptr += length; length 7373 ext/pcre/pcrelib/pcre_compile.c length += 1 + LINK_SIZE; length 7777 ext/pcre/pcrelib/pcre_compile.c int length = 1; /* For final END opcode */ length 8037 ext/pcre/pcrelib/pcre_compile.c cd, &length); length 8040 ext/pcre/pcrelib/pcre_compile.c DPRINTF(("end pre-compile: length=%d workspace=%d\n", length, length 8043 ext/pcre/pcrelib/pcre_compile.c if (length > MAX_PATTERN_SIZE) length 8054 ext/pcre/pcrelib/pcre_compile.c size = sizeof(REAL_PCRE) + (length + cd->names_found * cd->name_entry_size) * sizeof(pcre_uchar); length 8137 ext/pcre/pcrelib/pcre_compile.c if (code - codestart > length) errorcode = ERR23; length 8144 ext/pcre/pcrelib/pcre_compile.c VALGRIND_MAKE_MEM_NOACCESS(code, (length - (code - codestart)) * sizeof(pcre_uchar)); length 8334 ext/pcre/pcrelib/pcre_compile.c length, re->top_bracket, re->top_backref); length 8367 ext/pcre/pcrelib/pcre_compile.c if (code - codestart > length) length 117 ext/pcre/pcrelib/pcre_exec.c if (is_subject && length > md->end_subject - p) length = md->end_subject - p; length 118 ext/pcre/pcrelib/pcre_exec.c while (length-- > 0) length 162 ext/pcre/pcrelib/pcre_exec.c pchars(eptr, length, TRUE, md); length 165 ext/pcre/pcrelib/pcre_exec.c pchars(p, length, FALSE, md); length 172 ext/pcre/pcrelib/pcre_exec.c if (length < 0) return -1; length 193 ext/pcre/pcrelib/pcre_exec.c PCRE_PUCHAR endptr = p + length; length 220 ext/pcre/pcrelib/pcre_exec.c while (length-- > 0) length 238 ext/pcre/pcrelib/pcre_exec.c while (length-- > 0) length 632 ext/pcre/pcrelib/pcre_exec.c int length; length 2674 ext/pcre/pcrelib/pcre_exec.c length = (md->jscript_compat)? 0 : -1; length 2676 ext/pcre/pcrelib/pcre_exec.c length = md->offset_vector[offset+1] - md->offset_vector[offset]; length 2705 ext/pcre/pcrelib/pcre_exec.c if ((length = match_ref(offset, eptr, length, md, caseless)) < 0) length 2707 ext/pcre/pcrelib/pcre_exec.c if (length == -2) eptr = md->end_subject; /* Partial match */ length 2711 ext/pcre/pcrelib/pcre_exec.c eptr += length; length 2721 ext/pcre/pcrelib/pcre_exec.c if (length == 0) continue; length 2722 ext/pcre/pcrelib/pcre_exec.c if (length < 0 && min == 0) continue; length 2731 ext/pcre/pcrelib/pcre_exec.c if ((slength = match_ref(offset, eptr, length, md, caseless)) < 0) length 2755 ext/pcre/pcrelib/pcre_exec.c if ((slength = match_ref(offset, eptr, length, md, caseless)) < 0) length 2774 ext/pcre/pcrelib/pcre_exec.c if ((slength = match_ref(offset, eptr, length, md, caseless)) < 0) length 2794 ext/pcre/pcrelib/pcre_exec.c eptr -= length; length 3145 ext/pcre/pcrelib/pcre_exec.c length = 1; length 3147 ext/pcre/pcrelib/pcre_exec.c GETCHARLEN(fc, ecode, length); length 3148 ext/pcre/pcrelib/pcre_exec.c if (length > md->end_subject - eptr) length 3153 ext/pcre/pcrelib/pcre_exec.c while (length-- > 0) if (*ecode++ != RAWUCHARINC(eptr)) RRETURN(MATCH_NOMATCH); length 3182 ext/pcre/pcrelib/pcre_exec.c length = 1; length 3184 ext/pcre/pcrelib/pcre_exec.c GETCHARLEN(fc, ecode, length); length 3207 ext/pcre/pcrelib/pcre_exec.c ecode += length; length 3304 ext/pcre/pcrelib/pcre_exec.c length = 1; length 3306 ext/pcre/pcrelib/pcre_exec.c GETCHARLEN(fc, ecode, length); length 3307 ext/pcre/pcrelib/pcre_exec.c ecode += length; length 3312 ext/pcre/pcrelib/pcre_exec.c if (length > 1) length 3324 ext/pcre/pcrelib/pcre_exec.c if (eptr <= md->end_subject - length && length 3325 ext/pcre/pcrelib/pcre_exec.c memcmp(eptr, charptr, IN_UCHARS(length)) == 0) eptr += length; length 3347 ext/pcre/pcrelib/pcre_exec.c if (eptr <= md->end_subject - length && length 3348 ext/pcre/pcrelib/pcre_exec.c memcmp(eptr, charptr, IN_UCHARS(length)) == 0) eptr += length; length 3368 ext/pcre/pcrelib/pcre_exec.c if (eptr <= md->end_subject - length && length 3369 ext/pcre/pcrelib/pcre_exec.c memcmp(eptr, charptr, IN_UCHARS(length)) == 0) eptr += length; length 3393 ext/pcre/pcrelib/pcre_exec.c eptr -= length; length 6284 ext/pcre/pcrelib/pcre_exec.c if (re == NULL && extra_data == NULL && subject == NULL && length == -999 && length 6298 ext/pcre/pcrelib/pcre_exec.c if (length < 0) return PCRE_ERROR_BADLENGTH; length 6299 ext/pcre/pcrelib/pcre_exec.c if (start_offset < 0 || start_offset > length) return PCRE_ERROR_BADOFFSET; length 6328 ext/pcre/pcrelib/pcre_exec.c int errorcode = PRIV(valid_utf)((PCRE_PUCHAR)subject, length, &erroroffset); length 6348 ext/pcre/pcrelib/pcre_exec.c if (start_offset > 0 && start_offset < length && length 6367 ext/pcre/pcrelib/pcre_exec.c rc = PRIV(jit_exec)(extra_data, (const pcre_uchar *)subject, length, length 6429 ext/pcre/pcrelib/pcre_exec.c md->end_subject = md->start_subject + length; length 84 ext/pcre/pcrelib/pcre_study.c int length = -1; length 157 ext/pcre/pcrelib/pcre_study.c if (length < 0 || (!had_recurse && branchlength < length)) length 158 ext/pcre/pcrelib/pcre_study.c length = branchlength; length 159 ext/pcre/pcrelib/pcre_study.c if (op != OP_ALT) return length; length 107 ext/pcre/pcrelib/pcre_valid_utf8.c PRIV(valid_utf)(PCRE_PUCHAR string, int length, int *erroroffset) length 112 ext/pcre/pcrelib/pcre_valid_utf8.c if (length < 0) length 115 ext/pcre/pcrelib/pcre_valid_utf8.c length = (int)(p - string); length 118 ext/pcre/pcrelib/pcre_valid_utf8.c for (p = string; length-- > 0; p++) length 139 ext/pcre/pcrelib/pcre_valid_utf8.c if (length < ab) length 142 ext/pcre/pcrelib/pcre_valid_utf8.c return ab - length; /* Codes ERR1 to ERR5 */ length 144 ext/pcre/pcrelib/pcre_valid_utf8.c length -= ab; /* Length remaining */ length 305 ext/pcre/pcrelib/pcre_valid_utf8.c (void)(length); length 202 ext/pcre/pcrelib/pcreposix.c size_t length, addlength; length 206 ext/pcre/pcrelib/pcreposix.c length = strlen(message) + 1; length 214 ext/pcre/pcrelib/pcreposix.c if (addlength > 0 && errbuf_size >= length + addlength) length 223 ext/pcre/pcrelib/pcreposix.c return length + addlength; length 231 ext/pdo_mysql/mysql_statement.c S->fields[i].length; length 250 ext/pdo_mysql/mysql_statement.c S->bound_result[i].length = &S->out_length[i]; length 473 ext/pdo_mysql/mysql_statement.c b->length = &S->in_length[param->paramno]; length 501 ext/pdo_mysql/mysql_statement.c *b->length = 0; length 559 ext/pdo_mysql/mysql_statement.c *b->length = Z_STRLEN_P(param->parameter); length 690 ext/pdo_mysql/mysql_statement.c cols[i].maxlen = S->fields[i].length; length 79 ext/phar/phar_internal.h # define pestrndup(s, length, persistent) ((persistent)?zend_strndup((s),(length)):estrndup((s),(length))) length 2578 ext/session/session.c value_len = data->length; length 2671 ext/session/session.c Z_LVAL_P(progress->current_file_bytes_processed) = data->offset + data->length; length 685 ext/soap/php_schema.c schema_restriction_var_int(trav, &cur_type->restrictions->length); length 2418 ext/soap/php_schema.c delete_restriction_var_int(&type->restrictions->length); length 2465 ext/soap/php_schema.c delete_restriction_var_int_persistent(&type->restrictions->length); length 1347 ext/soap/php_sdl.c type->restrictions->length = sdl_deserialize_resriction_int(in); length 1949 ext/soap/php_sdl.c sdl_serialize_resriction_int(type->restrictions->length,out); length 2775 ext/soap/php_sdl.c if (ptype->restrictions->length) { length 2776 ext/soap/php_sdl.c make_persistent_restriction_int(&ptype->restrictions->length); length 145 ext/soap/php_sdl.h sdlRestrictionIntPtr length; length 1093 ext/sockets/sockets.c long length = 0; length 1096 ext/sockets/sockets.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|l", &arg1, &str, &str_len, &length) == FAILURE) { length 1103 ext/sockets/sockets.c length = str_len; length 1107 ext/sockets/sockets.c retval = write(php_sock->bsd_socket, str, MIN(length, str_len)); length 1109 ext/sockets/sockets.c retval = send(php_sock->bsd_socket, str, min(length, str_len), 0); length 1129 ext/sockets/sockets.c long length, type = PHP_BINARY_READ; length 1131 ext/sockets/sockets.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|l", &arg1, &length, &type) == FAILURE) { length 1136 ext/sockets/sockets.c if ((length + 1) < 2) { length 1140 ext/sockets/sockets.c tmpbuf = emalloc(length + 1); length 1145 ext/sockets/sockets.c retval = php_read(php_sock, tmpbuf, length, 0); length 1147 ext/sockets/sockets.c retval = recv(php_sock->bsd_socket, tmpbuf, length, 0); length 2835 ext/spl/spl_directory.c long length = 0; length 2837 ext/spl/spl_directory.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &str, &str_len, &length) == FAILURE) { length 2842 ext/spl/spl_directory.c str_len = MAX(0, MIN(length, str_len)); length 19025 ext/sqlite3/libsqlite/sqlite3.c int length; /* Length of the field */ length 19053 ext/sqlite3/libsqlite/sqlite3.c length = 0; length 19238 ext/sqlite3/libsqlite/sqlite3.c length = (int)(&buf[etBUFSIZE-1]-bufpt); length 19239 ext/sqlite3/libsqlite/sqlite3.c for(idx=precision-length; idx>0; idx--){ length 19249 ext/sqlite3/libsqlite/sqlite3.c length = (int)(&buf[etBUFSIZE-1]-bufpt); length 19256 ext/sqlite3/libsqlite/sqlite3.c length = 0; length 19281 ext/sqlite3/libsqlite/sqlite3.c length = 3; length 19298 ext/sqlite3/libsqlite/sqlite3.c length = sqlite3Strlen30(bufpt); length 19388 ext/sqlite3/libsqlite/sqlite3.c length = (int)(bufpt-buf); length 19393 ext/sqlite3/libsqlite/sqlite3.c if( flag_zeropad && !flag_leftjustify && length < width){ length 19395 ext/sqlite3/libsqlite/sqlite3.c int nPad = width - length; length 19401 ext/sqlite3/libsqlite/sqlite3.c length = width; length 19407 ext/sqlite3/libsqlite/sqlite3.c length = width = 0; length 19412 ext/sqlite3/libsqlite/sqlite3.c length = 1; length 19419 ext/sqlite3/libsqlite/sqlite3.c length = precision; length 19421 ext/sqlite3/libsqlite/sqlite3.c length =1; length 19434 ext/sqlite3/libsqlite/sqlite3.c for(length=0; length<precision && bufpt[length]; length++){} length 19436 ext/sqlite3/libsqlite/sqlite3.c length = sqlite3Strlen30(bufpt); length 19473 ext/sqlite3/libsqlite/sqlite3.c length = j; length 19484 ext/sqlite3/libsqlite/sqlite3.c length = width = 0; length 19497 ext/sqlite3/libsqlite/sqlite3.c length = width = 0; length 19512 ext/sqlite3/libsqlite/sqlite3.c nspace = width-length; length 19517 ext/sqlite3/libsqlite/sqlite3.c if( length>0 ){ length 19518 ext/sqlite3/libsqlite/sqlite3.c sqlite3StrAccumAppend(pAccum, bufpt, length); length 19522 ext/sqlite3/libsqlite/sqlite3.c nspace = width-length; length 20790 ext/sqlite3/libsqlite/sqlite3.c const char *zEnd = z + length; length 20932 ext/sqlite3/libsqlite/sqlite3.c return !sqlite3Atoi64(z, pResult, length, enc); length 20992 ext/sqlite3/libsqlite/sqlite3.c const char *zEnd = zNum + length; length 26921 ext/sqlite3/libsqlite/sqlite3.c unsigned long long length; /* nbr of bytes to lock */ length 26949 ext/sqlite3/libsqlite/sqlite3.c pb.length = length; length 26954 ext/sqlite3/libsqlite/sqlite3.c offset, length)); length 83741 ext/sqlite3/libsqlite/sqlite3.c FUNCTION(length, 1, 0, 0, lengthFunc ), length 1835 ext/standard/array.c if (length < 0) { length 1836 ext/standard/array.c length = num_in - offset + length; length 1837 ext/standard/array.c } else if (((unsigned)offset + (unsigned)length) > (unsigned)num_in) { length 1838 ext/standard/array.c length = num_in - offset; length 1843 ext/standard/array.c zend_hash_init(out_hash, (length > 0 ? num_in - length : 0) + list_count, NULL, ZVAL_PTR_DTOR, 0); length 1861 ext/standard/array.c for ( ; pos < offset + length && p; pos++, p = p->pListNext) { length 1871 ext/standard/array.c for ( ; pos < offset + length && p; pos++, p = p->pListNext); length 2056 ext/standard/array.c length = 0, length 2060 ext/standard/array.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "al|lz/", &array, &offset, &length, &repl_array) == FAILURE) { length 2067 ext/standard/array.c length = num_in; length 2085 ext/standard/array.c int size = length; length 2095 ext/standard/array.c if (length < 0) { length 2096 ext/standard/array.c size = num_in - offset + length; length 2097 ext/standard/array.c } else if (((unsigned long) offset + (unsigned long) length) > (unsigned) num_in) { length 2107 ext/standard/array.c new_hash = php_splice(Z_ARRVAL_P(array), offset, length, repl, repl_num, rem_hash); length 2133 ext/standard/array.c length = 0; length 2151 ext/standard/array.c length = num_in; length 2154 ext/standard/array.c length = Z_LVAL_PP(z_length); length 2166 ext/standard/array.c if (length < 0) { length 2167 ext/standard/array.c length = num_in - offset + length; length 2168 ext/standard/array.c } else if (((unsigned long) offset + (unsigned long) length) > (unsigned) num_in) { length 2169 ext/standard/array.c length = num_in - offset; length 2173 ext/standard/array.c array_init_size(return_value, length > 0 ? length : 0); length 2175 ext/standard/array.c if (length <= 0) { length 2188 ext/standard/array.c while (pos < offset + length && zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void **)&entry, &hpos) == SUCCESS) { length 62 ext/standard/base64.c if (length < 0) { length 69 ext/standard/base64.c result = (unsigned char *) safe_emalloc((length + 2) / 3, 4 * sizeof(char), 1); length 72 ext/standard/base64.c while (length > 2) { /* keep going until we have less than 24 bits */ length 79 ext/standard/base64.c length -= 3; /* we just handle 3 octets of data */ length 83 ext/standard/base64.c if (length != 0) { length 85 ext/standard/base64.c if (length > 1) { length 139 ext/standard/base64.c return php_base64_decode_ex(str, length, ret_length, 0); length 150 ext/standard/base64.c result = (unsigned char *)safe_emalloc(length, 1, 1); length 153 ext/standard/base64.c while ((ch = *current++) != '\0' && length-- > 0) { length 155 ext/standard/base64.c if (*current != '=' && ((i % 4) == 1 || (strict && length > 0))) { length 261 ext/standard/cyr_convert.c for( i = 0; i<length; i++) length 834 ext/standard/html.c *length = *buf - *start; length 836 ext/standard/html.c if (*length == 0) length 847 ext/standard/html.c ulong hash = zend_inline_hash_func(start, length); length 851 ext/standard/html.c if (s->entity_len == length) { length 852 ext/standard/html.c if (memcmp(start, s->entity, length) == 0) { length 423 ext/standard/image.c off_t length = ((unsigned int)php_read2(stream TSRMLS_CC)); length 425 ext/standard/image.c if (length < 2) { length 428 ext/standard/image.c length = length - 2; length 429 ext/standard/image.c php_stream_seek(stream, (long)length, SEEK_CUR); length 438 ext/standard/image.c unsigned short length; length 443 ext/standard/image.c length = php_read2(stream TSRMLS_CC); length 444 ext/standard/image.c if (length < 2) { length 447 ext/standard/image.c length -= 2; /* length includes itself */ length 449 ext/standard/image.c buffer = emalloc(length); length 451 ext/standard/image.c if (php_stream_read(stream, buffer, (long) length) <= 0) { length 460 ext/standard/image.c add_assoc_stringl(info, markername, buffer, length, 1); length 474 ext/standard/image.c unsigned short length, ff_read=1; length 496 ext/standard/image.c length = php_read2(stream TSRMLS_CC); length 501 ext/standard/image.c if (!info || length < 8) { /* if we don't want an extanded info -> return */ length 504 ext/standard/image.c if (php_stream_seek(stream, length - 8, SEEK_CUR)) { /* file error after info */ length 125 ext/standard/iptc.c unsigned int length; length 132 ext/standard/iptc.c length = (((unsigned char) c1) << 8) + ((unsigned char) c2); length 134 ext/standard/iptc.c length -= 2; length 136 ext/standard/iptc.c while (length--) length 118 ext/standard/password.c if (length > (INT_MAX / 3)) { length 123 ext/standard/password.c raw_length = length * 3 / 4 + 1; length 160 ext/standard/password.c result = safe_emalloc(length, 1, 1); length 161 ext/standard/password.c if (php_password_salt_to64(buffer, raw_length, length, result) == FAILURE) { length 167 ext/standard/password.c memcpy(ret, result, (int) length); length 170 ext/standard/password.c ret[length] = 0; length 87 ext/standard/quot_print.c i = length, p1 = str; buf_size = length; length 100 ext/standard/quot_print.c i = length; p1 = str; p2 = retval; length 154 ext/standard/quot_print.c ret = safe_emalloc(3, length + (((3 * length)/(PHP_QPRINT_MAXL-9)) + 1), 1); length 157 ext/standard/quot_print.c while (length--) { length 158 ext/standard/quot_print.c if (((c = *str++) == '\015') && (*str == '\012') && length > 0) { length 161 ext/standard/quot_print.c length--; length 3469 ext/standard/string.c char *new_str = safe_emalloc(4, (length?length:(length=strlen(str))), 1); length 3481 ext/standard/string.c for (source = (char*)str, end = source + length, target = new_str; source < end; source++) { length 3504 ext/standard/string.c if (target - new_str < length * 4) { length 3534 ext/standard/string.c new_str = (char *) safe_emalloc(2, (length ? length : (length = strlen(str))), 1); length 3536 ext/standard/string.c end = source + length; length 3659 ext/standard/string.c if (needle_len < length) { length 3664 ext/standard/string.c new_str = estrndup(haystack, length); length 3665 ext/standard/string.c *_new_length = length; length 3668 ext/standard/string.c end = new_str + length; length 3676 ext/standard/string.c haystack_dup = estrndup(haystack, length); length 3678 ext/standard/string.c php_strtolower(haystack_dup, length); length 3680 ext/standard/string.c end = haystack_dup + length; length 3693 ext/standard/string.c haystack_dup = estrndup(haystack, length); length 3695 ext/standard/string.c php_strtolower(haystack_dup, length); length 3700 ext/standard/string.c new_str = emalloc(length + 1); length 3712 ext/standard/string.c endp = o + length; length 3726 ext/standard/string.c new_str = estrndup(haystack, length); length 3728 ext/standard/string.c *_new_length = length; length 3732 ext/standard/string.c new_str = safe_emalloc(count, str_len - needle_len, length + 1); length 3739 ext/standard/string.c end = haystack + length; length 3755 ext/standard/string.c end = haystack_dup + length; length 3786 ext/standard/string.c } else if (needle_len > length) { length 3788 ext/standard/string.c *_new_length = length; length 3789 ext/standard/string.c new_str = estrndup(haystack, length); length 3792 ext/standard/string.c if (case_sensitivity && memcmp(haystack, needle, length)) { length 3797 ext/standard/string.c l_haystack = estrndup(haystack, length); length 3798 ext/standard/string.c l_needle = estrndup(needle, length); length 3800 ext/standard/string.c php_strtolower(l_haystack, length); length 3801 ext/standard/string.c php_strtolower(l_needle, length); length 3803 ext/standard/string.c if (memcmp(l_haystack, l_needle, length)) { length 3829 ext/standard/string.c return php_str_to_str_ex(haystack, length, needle, needle_len, str, str_len, _new_length, 1, NULL); length 5144 ext/standard/string.c long offset = 0, length = 0; length 5150 ext/standard/string.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|ll", &haystack, &haystack_len, &needle, &needle_len, &offset, &length) == FAILURE) { length 5175 ext/standard/string.c if (length <= 0) { length 5179 ext/standard/string.c if (length > (haystack_len - offset)) { length 5180 ext/standard/string.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Length value %ld exceeds string length", length); length 5183 ext/standard/string.c endp = p + length; length 104 ext/standard/url.c ue = s + length; length 107 ext/standard/url.c if ((e = memchr(s, ':', length)) && (e - s)) { length 148 ext/standard/url.c length -= ++e - s; length 173 ext/standard/url.c length -= ++e - s; length 213 ext/standard/url.c ue = s + length; length 1182 ext/sybase_ct/php_sybase_ct.c if ((length - 1) <= EG(precision)) { \ length 1188 ext/sybase_ct/php_sybase_ct.c ZVAL_STRINGL(&result, buf, length- 1, 1); \ length 1191 ext/sybase_ct/php_sybase_ct.c ZVAL_STRINGL(&result, buf, length- 1, 1); \ length 42 ext/sysvshm/php_sysvshm.h long length; length 309 ext/sysvshm/sysvshm.c if (php_var_unserialize(&return_value, (const unsigned char **) &shm_data, (unsigned char *) shm_data + shm_var->length, &var_hash TSRMLS_CC) != 1) { length 377 ext/sysvshm/sysvshm.c shm_var->length = len; length 25 ext/xmlrpc/libxmlrpc/base64.c b->length = 512; length 26 ext/xmlrpc/libxmlrpc/base64.c b->data = malloc(sizeof(char)*(b->length)); length 36 ext/xmlrpc/libxmlrpc/base64.c if (b->offset == b->length) { length 37 ext/xmlrpc/libxmlrpc/base64.c b->length += 512; length 38 ext/xmlrpc/libxmlrpc/base64.c b->data = realloc(b->data, b->length); length 46 ext/xmlrpc/libxmlrpc/base64.c b->length = 0; length 82 ext/xmlrpc/libxmlrpc/base64.c if (offset > length) { length 153 ext/xmlrpc/libxmlrpc/base64.c if (offset > length) endoffile = 1; length 15 ext/xmlrpc/libxmlrpc/base64.h int length; length 275 ext/xmlrpc/libxmlrpc/xmlrpc.c return strftime (buf, length, "%Y-%m-%dT%H:%M:%SZ", tm); length 277 ext/xmlrpc/libxmlrpc/xmlrpc.c return strftime(buf, length, "%Y%m%dT%H:%M:%SZ", tm); length 335 ext/xmlrpc/xmlrpc-epi-php.c if(id) return add_assoc_stringl(list, id, string, length, duplicate); length 336 ext/xmlrpc/xmlrpc-epi-php.c else return add_next_index_stringl(list, string, length, duplicate); length 364 main/fopen_wrappers.c int length; length 386 main/fopen_wrappers.c length = s - (path_info + 2); length 387 main/fopen_wrappers.c if (length > (int)sizeof(user) - 1) { length 388 main/fopen_wrappers.c length = sizeof(user) - 1; length 390 main/fopen_wrappers.c memcpy(user, path_info + 2, length); length 391 main/fopen_wrappers.c user[length] = '\0'; length 411 main/fopen_wrappers.c if (PG(doc_root) && path_info && (length = strlen(PG(doc_root))) && length 412 main/fopen_wrappers.c IS_ABSOLUTE_PATH(PG(doc_root), length)) { length 414 main/fopen_wrappers.c filename = emalloc(length + path_len + 2); length 416 main/fopen_wrappers.c memcpy(filename, PG(doc_root), length); length 417 main/fopen_wrappers.c if (!IS_SLASH(filename[length - 1])) { /* length is never 0 */ length 418 main/fopen_wrappers.c filename[length++] = PHP_DIR_SEPARATOR; length 421 main/fopen_wrappers.c length--; length 423 main/fopen_wrappers.c strncpy(filename + length, path_info, path_len + 1); length 267 main/mergesort.c int i, length, size2, tmp, sense; length 290 main/mergesort.c length = 2; length 295 main/mergesort.c length += 2; length 297 main/mergesort.c if (length < THRESHOLD) { /* Pairwise merge */ length 41 main/php_content_types.c int length; length 53 main/php_content_types.c length = SG(request_info).post_data_length; length 54 main/php_content_types.c data = estrndup(SG(request_info).post_data, length); length 55 main/php_content_types.c SET_VAR_STRINGL("HTTP_RAW_POST_DATA", data, length); length 361 main/php_ini.c int length = strlen(filename); length 363 main/php_ini.c if (IS_ABSOLUTE_PATH(filename, length)) { length 34 main/php_memory_streams.h #define php_stream_memory_open(mode, buf, length) _php_stream_memory_open((mode), (buf), (length) STREAMS_CC TSRMLS_CC) length 35 main/php_memory_streams.h #define php_stream_memory_get_buffer(stream, length) _php_stream_memory_get_buffer((stream), (length) STREAMS_CC TSRMLS_CC) length 40 main/php_memory_streams.h #define php_stream_temp_open(mode, max_memory_usage, buf, length) _php_stream_temp_open((mode), (max_memory_usage), (buf), (length) STREAMS_CC TSRMLS_CC) length 873 main/rfc1867.c event_formdata.length = new_val_len; length 894 main/rfc1867.c event_formdata.length = value_len; length 1018 main/rfc1867.c event_file_data.length = blen; length 42 main/rfc1867.h size_t length; length 56 main/rfc1867.h size_t length; length 576 main/snprintf.c #define PREFIX( str, length, ch ) *--str = ch ; length++ ; has_prefix = YES length 150 main/streams/filter.c (*left)->buf = pemalloc(length, in->is_persistent); length 151 main/streams/filter.c (*left)->buflen = length; length 152 main/streams/filter.c memcpy((*left)->buf, in->buf, length); length 157 main/streams/filter.c (*right)->buflen = in->buflen - length; length 159 main/streams/filter.c memcpy((*right)->buf, in->buf + length, (*right)->buflen); length 320 main/streams/memory.c ms->fsize = length; length 322 main/streams/memory.c if (length) { length 324 main/streams/memory.c php_stream_write(stream, buf, length); length 339 main/streams/memory.c assert(length != 0); length 341 main/streams/memory.c *length = ms->fsize; length 578 main/streams/memory.c if (length) { length 580 main/streams/memory.c php_stream_temp_write(stream, buf, length TSRMLS_CC); length 30 main/streams/mmap.c range.length = length; length 36 main/streams/mmap.c if (length > 4 * 1024 * 1024) { length 42 main/streams/mmap.c *mapped_len = range.length; length 52 main/streams/php_stream_mmap.h size_t length; length 640 main/streams/plain_wrapper.c if (range->length == 0 && range->offset > 0 && range->offset < data->sb.st_size) { length 641 main/streams/plain_wrapper.c range->length = data->sb.st_size - range->offset; length 643 main/streams/plain_wrapper.c if (range->length == 0 || range->length > data->sb.st_size) { length 644 main/streams/plain_wrapper.c range->length = data->sb.st_size; length 648 main/streams/plain_wrapper.c range->length = 0; length 670 main/streams/plain_wrapper.c range->mapped = (char*)mmap(NULL, range->length, prot, flags, fd, range->offset); length 677 main/streams/plain_wrapper.c data->last_mapped_len = range->length; length 732 main/streams/plain_wrapper.c if (range->length == 0 && range->offset > 0 && range->offset < size) { length 733 main/streams/plain_wrapper.c range->length = size - range->offset; length 735 main/streams/plain_wrapper.c if (range->length == 0 || range->length > size) { length 736 main/streams/plain_wrapper.c range->length = size; length 740 main/streams/plain_wrapper.c range->length = 0; length 754 main/streams/plain_wrapper.c data->last_mapped_addr = MapViewOfFile(data->file_mapping, acc, 0, loffs, range->length + delta); length 1050 sapi/apache_hooks/php_apache.c long length; length 1054 sapi/apache_hooks/php_apache.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &length) == FAILURE) { length 1060 sapi/apache_hooks/php_apache.c ap_set_content_length(r, length); length 55 sapi/cli/php_cli_process_title.c int length = 0; length 63 sapi/cli/php_cli_process_title.c rc = get_ps_title(&length, &title); length 69 sapi/cli/php_cli_process_title.c RETURN_STRINGL(title, length, 1); length 1635 sapi/cli/php_cli_server.c normalize_vpath(&vpath, &vpath_len, at, length, 1); length 1645 sapi/cli/php_cli_server.c client->request.query_string = pestrndup(at, length, 1); length 1646 sapi/cli/php_cli_server.c client->request.query_string_len = length; length 1654 sapi/cli/php_cli_server.c client->request.request_uri = pestrndup(at, length, 1); length 1655 sapi/cli/php_cli_server.c client->request.request_uri_len = length; length 1672 sapi/cli/php_cli_server.c client->current_header_name_len = length; length 1679 sapi/cli/php_cli_server.c char *value = pestrndup(at, length, 1); length 1718 sapi/cli/php_cli_server.c client->request.content = perealloc(client->request.content, client->request.content_len + length, 1); length 1719 sapi/cli/php_cli_server.c memmove(client->request.content + client->request.content_len, at, length); length 1720 sapi/cli/php_cli_server.c client->request.content_len += length; length 596 sapi/nsapi/nsapi.c int length, content_length = 0; length 612 sapi/nsapi/nsapi.c length = nbuf->cursize - nbuf->pos; length 613 sapi/nsapi/nsapi.c length = MIN(count_bytes, length); length 614 sapi/nsapi/nsapi.c if (length > 0) { length 615 sapi/nsapi/nsapi.c memcpy(read_ptr, nbuf->inbuf + nbuf->pos, length); length 616 sapi/nsapi/nsapi.c bytes_read += length; length 617 sapi/nsapi/nsapi.c read_ptr += length; length 618 sapi/nsapi/nsapi.c content_length -= length; length 619 sapi/nsapi/nsapi.c nbuf->pos += length; length 632 sapi/nsapi/nsapi.c length = net_read(rc->sn->csd, read_ptr, bytes_to_read, NSAPI_G(read_timeout)); length 634 sapi/nsapi/nsapi.c if (length == IO_ERROR || length == IO_EOF) { length 638 sapi/nsapi/nsapi.c bytes_read += length; length 639 sapi/nsapi/nsapi.c read_ptr += length; length 640 sapi/nsapi/nsapi.c content_length -= length;