Searched defs:str_len (Results 1 - 25 of 52) sorted by relevance

123

/PHP_TRUNK/ext/intl/breakiterator/
H A Drulebasedbreakiterator_methods.cpp126 size_t str_len; local
129 if (intl_charFromString(rules, &str, &str_len, BREAKITER_ERROR_CODE_P(bio)) == FAILURE)
136 RETVAL_STRINGL(str, str_len);
/PHP_TRUNK/ext/intl/dateformat/
H A Ddateformat_attrcpp.cpp48 size_t str_len; local
62 intl_charFromString(res, &str, &str_len, &INTL_DATA_ERROR_CODE(dfo));
65 RETVAL_STRINGL(str, str_len);
/PHP_TRUNK/ext/intl/formatter/
H A Dformatter_parse.c43 size_t str_len; local
54 &object, NumberFormatter_ce_ptr, &str, &str_len, &type, &zposition ) == FAILURE )
66 intl_convert_utf8_to_utf16(&sstr, &sstr_len, str, str_len, &INTL_DATA_ERROR_CODE(nfo));
135 size_t str_len; local
143 &object, NumberFormatter_ce_ptr, &str, &str_len, &zcurrency, &zposition ) == FAILURE )
155 intl_convert_utf8_to_utf16(&sstr, &sstr_len, str, str_len, &INTL_DATA_ERROR_CODE(nfo));
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_convert.c174 size_t str_len = 0; local
178 intl_convert_utf16_to_utf8( &str, &str_len,
184 ZVAL_STRINGL( utf8_zval, str, str_len);
/PHP_TRUNK/ext/intl/grapheme/
H A Dgrapheme_string.c375 size_t str_len; local
388 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl|l!", (char **)&str, &str_len, &lstart, &length, &no_length) == FAILURE) {
394 if ( OUTSIDE_STRING(lstart, str_len)) {
403 length = str_len;
414 if ( grapheme_ascii_check((unsigned char *)str, str_len) >= 0 ) {
416 grapheme_substr_ascii(str, str_len, start, (int32_t)length, &sub_str, &asub_str_len);
429 intl_convert_utf8_to_utf16(&ustr, &ustr_len, str, str_len, &status);
484 /* OK to convert here since if str_len were big, convert above would fail */
485 if (length >= (int32_t)str_len) {
689 grapheme_extract_charcount_iter(UBreakIterator *bi, int32_t csize, unsigned char *pstr, int32_t str_len) argument
726 grapheme_extract_bytecount_iter(UBreakIterator *bi, int32_t bsize, unsigned char *pstr, int32_t str_len) argument
760 grapheme_extract_count_iter(UBreakIterator *bi, int32_t size, unsigned char *pstr, int32_t str_len) argument
801 size_t str_len; local
[all...]
H A Dgrapheme_util.c52 void grapheme_substr_ascii(char *str, size_t str_len, int32_t f, int32_t l, char **sub_str, int32_t *sub_str_len) argument
54 int32_t str_len2 = (int32_t)str_len; /* in order to avoid signed/unsigned problems */
57 if(str_len > INT32_MAX) {
102 l = str_len - f;
/PHP_TRUNK/ext/intl/
H A Dintl_convertcpp.cpp28 int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status) argument
30 if(str_len > INT32_MAX) {
37 int32_t capacity = (int32_t)str_len + 1;
44 str, str_len, U_SENTINEL /* no substitution */, NULL,
/PHP_TRUNK/ext/intl/timezone/
H A Dtimezone_class.cpp90 size_t str_len; local
92 if (intl_charFromString(id, &str, &str_len, &INTL_ERROR_CODE(*outside_error)) == FAILURE) {
98 ZVAL_STRINGL(&arg, str, str_len);
295 size_t str_len; local
317 intl_convert_utf16_to_utf8(&str, &str_len,
322 ZVAL_STRINGL(&zv, str, str_len);
H A Dtimezone_methods.cpp309 size_t str_len; local
310 intl_convert_utf16_to_utf8(&str, &str_len, result.getBuffer(), result.length(), &status);
313 RETVAL_STRINGL(str, str_len);
397 size_t str_len; local
399 intl_convert_utf16_to_utf8(&str, &str_len, result.getBuffer(), result.length(), &status);
402 RETVAL_STRINGL(str, str_len);
573 size_t str_len; local
574 intl_convert_utf16_to_utf8(&str, &str_len, result.getBuffer(), result.length(), TIMEZONE_ERROR_CODE_P(to));
578 RETVAL_STRINGL(str, str_len);
/PHP_TRUNK/ext/intl/transliterator/
H A Dtransliterator_methods.c306 size_t str_len; local
324 &arg1, &str, &str_len, &start, &limit ) == FAILURE )
359 &str, &str_len, &start, &limit ) == FAILURE )
386 intl_convert_utf8_to_utf16( &ustr, &ustr_len, str, str_len,
/PHP_TRUNK/ext/ereg/
H A Dereg.c637 size_t spliton_len, str_len; local
640 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss|l", &spliton, &spliton_len, &str, &str_len, &count) == FAILURE) {
649 endp = strp + str_len;
/PHP_TRUNK/ext/standard/
H A Dbase64.c215 size_t str_len; local
218 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &str, &str_len) == FAILURE) {
221 result = php_base64_encode((unsigned char*)str, str_len);
236 size_t str_len; local
239 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|b", &str, &str_len, &strict) == FAILURE) {
242 result = php_base64_decode_ex((unsigned char*)str, str_len, strict);
H A Dcrypt.c261 size_t str_len, salt_in_len = 0; local
270 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &str, &str_len, &salt_in, &salt_in_len) == FAILURE) {
297 if ((result = php_crypt(str, (int)str_len, salt, (int)salt_in_len)) == NULL) {
H A Ddir.c296 size_t str_len; local
298 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &str, &str_len) == FAILURE) {
328 size_t str_len; local
330 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &str, &str_len) == FAILURE) {
H A Diptc.c305 size_t str_len; local
308 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &str, &str_len) != SUCCESS) {
314 while (inx < str_len) { /* find 1st tag */
322 while (inx < str_len) {
327 if ((inx + 4) >= str_len)
334 if((inx+6) >= str_len) {
345 if ((len < 0) || (len > str_len) || (inx + len) > str_len) {
H A Dmail.c83 size_t j, str_len; local
85 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &str, &str_len) == FAILURE) {
89 for (j = 0; j < str_len; j++) {
H A Dpassword.c82 static int php_password_salt_to64(const char *str, const size_t str_len, const size_t out_len, char *ret) /* {{{ */ argument
86 if ((int) str_len < 0) {
89 buffer = php_base64_encode((unsigned char*) str, str_len);
H A Dsoundex.c32 size_t i, _small, str_len, code, last; local
63 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &str, &str_len) == FAILURE) {
66 if (str_len == 0) {
72 for (i = 0, _small = 0; i < str_len && _small < 4; i++) {
H A Durl.c374 size_t str_len; local
378 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &str, &str_len, &key) == FAILURE) {
382 resource = php_url_parse_ex(str, str_len);
/PHP_TRUNK/sapi/apache2filter/
H A Dapache_config.c127 uint str_len; local
135 zend_hash_get_current_key(&d->config, &str, &str_len,
140 if ((pe = zend_hash_find(&n->config, str, str_len) != NULL) != NULL) {
143 zend_hash_update(&n->config, str, str_len, data, sizeof(*data), NULL);
166 uint str_len; local
170 zend_hash_get_current_key(&d->config, &str, &str_len, NULL) == HASH_KEY_IS_STRING;
174 if (zend_alter_ini_entry(str, str_len, data->value, data->value_len, data->status, data->htaccess?PHP_INI_STAGE_HTACCESS:PHP_INI_STAGE_ACTIVATE) == FAILURE) {
/PHP_TRUNK/sapi/apache2handler/
H A Dapache_config.c146 uint str_len; local
160 zend_hash_get_current_key(&d->config, &str, &str_len,
165 if (zend_hash_find(&n->config, str, str_len, (void **) &pe) == SUCCESS) {
169 zend_hash_update(&n->config, str, str_len, data, sizeof(*data), NULL);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_watch.h73 size_t str_len; member in struct:_phpdbg_watchpoint_t
/PHP_TRUNK/Zend/
H A Dzend_ini_scanner.c154 static inline int convert_to_number(zval *retval, const char *str, const int str_len) argument
161 if ((type = is_numeric_string_ex(str, str_len, &lval, &dval, 0, &overflow)) != 0) {
/PHP_TRUNK/ext/json/
H A Dphp_json.h56 PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, size_t str_len, zend_long options, zend_long depth);
81 static inline void php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, zend_long depth) argument
83 php_json_decode_ex(return_value, str, str_len, assoc ? PHP_JSON_OBJECT_AS_ARRAY : 0, depth);
/PHP_TRUNK/ext/recode/
H A Drecode.c149 size_t req_len, str_len; local
152 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &req, &req_len, &str, &str_len) == FAILURE) {
168 recode_buffer_to_buffer(request, str, str_len, &r, &r_len, &r_alen);

Completed in 37 milliseconds

123