Home
last modified time | relevance | path

Searched refs:len (Results 151 – 175 of 496) sorted by path

12345678910>>...20

/PHP-5.5/ext/mbstring/oniguruma/
H A Dregenc.c136 while (len > 1) { in onigenc_strlen_null()
139 len--; in onigenc_strlen_null()
161 while (len > 1) { in onigenc_str_bytelen_null()
164 len--; in onigenc_str_bytelen_null()
644 int c, i, len; in onigenc_mbn_mbc_to_code() local
647 len = enclen(enc, p); in onigenc_mbn_mbc_to_code()
649 if (len == 1) return n; in onigenc_mbn_mbc_to_code()
664 int len; in onigenc_mbn_mbc_case_fold() local
679 (*pp) += len; in onigenc_mbn_mbc_case_fold()
779 int len; in onigenc_minimum_property_name_to_ctype() local
[all …]
H A Dregenc.h102 short int len; member
H A Dregerror.c198 int len; in to_ascii() local
204 len = 0; in to_ascii()
213 len += 10; in to_ascii()
218 len += 6; in to_ascii()
240 return len; in to_ascii()
259 int len, is_over; local
283 p += len;
299 len = p - s;
306 s[len] = '\0';
311 return len;
[all …]
H A Dregexec.c1297 int len; in match_at() local
1441 int len; in match_at() local
1530 int len; in match_at() local
2141 int len; in match_at() local
2163 sprev += len; in match_at()
2173 int len; in match_at() local
2195 sprev += len; in match_at()
2204 int len, is_fail; in match_at() local
2283 int len; in match_at() local
2973 int i, len; in set_bm_backward_skip() local
[all …]
H A Dregext.c98 int len = end - s; in conv_encoding() local
102 *conv = (UChar* )xmalloc(len * 2); in conv_encoding()
104 *conv_end = *conv + (len * 2); in conv_encoding()
110 *conv = (UChar* )xmalloc(len); in conv_encoding()
112 *conv_end = *conv + len; in conv_encoding()
119 *conv = (UChar* )xmalloc(len * 2); in conv_encoding()
121 *conv_end = *conv + (len * 2); in conv_encoding()
133 *conv_end = *conv + (len * 4); in conv_encoding()
139 *conv = (UChar* )xmalloc(len); in conv_encoding()
141 *conv_end = *conv + len; in conv_encoding()
[all …]
H A Dregint.h570 #define GET_LENGTH_INC(len,p) PLATFORM_GET_INC(len, p, LengthType) argument
H A Dregparse.c221 int len = end - src; in onig_strcpy() local
222 if (len > 0) { in onig_strcpy()
662 int i, len; in name_find() local
670 if (len == e->name_len && onig_strncmp(name, e->name, len) == 0) in name_find()
1566 int i, len; in node_str_head_pad() local
4224 r = len; in parse_char_class()
4261 if (i < len) { in parse_char_class()
4297 r = len; in parse_char_class()
4997 int r, i, len; in i_apply_case_fold() local
5107 len = 1; in parse_exp()
[all …]
H A Dregposerr.c77 size_t len; in regerror() local
91 len = strlen(s) + 1; /* use strlen() because s is ascii encoding. */ in regerror()
97 return len; in regerror()
H A Dregposix.c39 #define ENC_STRING_LEN(enc,s,len) do { \ argument
43 len = tmps - (UChar* )(s); \
46 len = onigenc_str_bytelen_null(enc, (UChar* )s); \
136 int r, len; in regcomp() local
153 ENC_STRING_LEN(OnigEncDefaultCharEncoding, pattern, len); in regcomp()
154 r = onig_new(PONIG_C(reg), (UChar* )pattern, (UChar* )(pattern + len), in regcomp()
169 int r, i, len; in regexec() local
192 ENC_STRING_LEN(ONIG_C(reg)->enc, str, len); in regexec()
193 end = (UChar* )(str + len); in regexec()
H A Dtestu.c25 static void uconv(char* from, char* to, int len) in uconv() argument
33 for (i = 0; i < len; i += 2) { in uconv()
/PHP-5.5/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()
1182 int n, i, err, pos, len, beg, end; in _php_mb_regex_ereg_search_exec() local
1207 len = 0; in _php_mb_regex_ereg_search_exec()
1210 len = Z_STRLEN_P(MBREX(search_str)); in _php_mb_regex_ereg_search_exec()
1228 err = onig_search(MBREX(search_re), str, str + len, str + pos, str + len, MBREX(search_regs), 0); in _php_mb_regex_ereg_search_exec()
1230 MBREX(search_pos) = len; in _php_mb_regex_ereg_search_exec()
1364 int n, i, len, beg, end; in PHP_FUNCTION() local
[all …]
/PHP-5.5/ext/mbstring/tests/
H A Dbug52981.phpt10 $len = strlen($upper);
11 for ($i = 0; $i < $len; ++$i) echo dechex(ord($upper[$i])) . ' ';
/PHP-5.5/ext/mbstring/ucgendat/
H A Ducgendat.c71 int len; member
227 int i, j, k, len; in add_range() local
234 len = 2; in add_range()
240 len = 1; in add_range()
244 if (props[i].len == len && memcmp(props[i].name, name, len) == 0) in add_range()
323 ordered_range_insert(ac_uint4 c, char *name, int len) in ordered_range_insert() argument
329 if (len == 0) in ordered_range_insert()
335 if ((len == 2 && memcmp(name, "BN", 2) == 0) || in ordered_range_insert()
336 (len == 3 && in ordered_range_insert()
344 len = 2; in ordered_range_insert()
[all …]
/PHP-5.5/ext/mcrypt/tests/
H A Dblowfish.phpt9 $len = strlen($data);
10 return pack("H" . $len, $data);
/PHP-5.5/ext/mysql/
H A Dphp_mysql.c2478 int len; local
2578 len = strlen(buf);
2580 if (len && buf[len-1] == ' ') {
2581 buf[len-1] = 0;
2582 len--;
2585 Z_STRLEN_P(return_value) = len;
2586 Z_STRVAL_P(return_value) = estrndup(buf, len);
/PHP-5.5/ext/mysql/tests/
H A Dmysql_fetch_array.phpt144 function func_mysql_fetch_array_make_string($len) {
147 for ($i = 0; $i < $len; $i++)
/PHP-5.5/ext/mysqli/
H A Dmysqli_api.c44 if (str->len) { in mysqli_tx_cor_options_to_string()
49 if (str->len) { in mysqli_tx_cor_options_to_string()
56 if (str->len) { in mysqli_tx_cor_options_to_string()
61 if (str->len) { in mysqli_tx_cor_options_to_string()
H A Dmysqli_nonapi.c1059 if (tmp_str.len) {
1069 if (tmp_str.len) {
1074 if (tmp_str.len) {
/PHP-5.5/ext/mysqli/tests/
H A D065.phpt26 $len = $charset = array();
H A Dmysqli_fetch_all.phpt162 function func_mysqli_fetch_array_make_string($len) {
165 for ($i = 0; $i < $len; $i++)
H A Dmysqli_fetch_all_oo.phpt162 function func_mysqli_fetch_array_oo_make_string($len) {
165 for ($i = 0; $i < $len; $i++)
H A Dmysqli_fetch_array.phpt148 function func_mysqli_fetch_array_make_string($len) {
151 for ($i = 0; $i < $len; $i++)
H A Dmysqli_fetch_array_large.phpt24 $len = strlen($sql);
25 assert($len < $package_size);
35 … printf("[%03d + 1] len = %d, [%d] %s\n", $offset, $len, mysqli_errno($link), mysqli_error($link));
41 … printf("[%03d + 2] len = %d, [%d] %s\n", $offset, $len, mysqli_errno($link), mysqli_error($link));
47 printf("[%03d + 3] Wrong results - expecting '%s' got '%s', len = %d, [%d] %s\n",
48 $offset, $random_char, $row['label'], $len, mysqli_errno($link), mysqli_error($link));
55 … printf("[%03d + 4] len = %d, [%d] %s\n", $offset, $len, mysqli_errno($link), mysqli_error($link));
61 …printf("[%03d + 5] len = %d, [%d] %s, [%d] %s\n", $offset, $len, mysqli_stmt_errno($stmt), mysqli_…
67 …printf("[%03d + 6] len = %d, [%d] %s, [%d] %s\n", $offset, $len, mysqli_stmt_errno($stmt), mysqli_…
73 printf("[%03d + 7] Wrong results - expecting '%s' got '%s', len = %d, [%d] %s\n",
[all …]
H A Dmysqli_fetch_array_many_rows.phpt58 $len = strlen($row[1]);
59 if (!is_string($row[1]) || $len == 0 || $len > 1) {
H A Dmysqli_fetch_array_oo.phpt135 function func_mysqli_fetch_array_make_string($len) {
138 for ($i = 0; $i < $len; $i++)

Completed in 103 milliseconds

12345678910>>...20