Searched defs:str (Results 1 - 25 of 197) sorted by relevance

12345678

/PHP_TRUNK/ext/skeleton/
H A Dskeleton.php16 $str = $function($module); variable
18 $str = "Module $module is not compiled into PHP"; variable
20 echo "$str\n";
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dreggnu.c64 re_match(regex_t* reg, const char* str, int size, int pos, argument
67 return onig_match(reg, (UChar* )str, (UChar* )(str + size),
68 (UChar* )(str + pos), regs, ONIG_OPTION_NONE);
H A Dtestc.c34 static void xx(char* pattern, char* str, int from, int to, int mem, int not) argument
51 r = regexec(&reg, str, reg.re_nsub + 1, pmatch, 0);
61 fprintf(stdout, "OK(N): /%s/ '%s'\n", pattern, str);
65 fprintf(stdout, "FAIL: /%s/ '%s'\n", pattern, str);
71 fprintf(stdout, "FAIL(N): /%s/ '%s'\n", pattern, str);
76 fprintf(stdout, "OK: /%s/ '%s'\n", pattern, str);
80 fprintf(stdout, "FAIL: /%s/ '%s' %d-%d : %d-%d\n", pattern, str,
102 r = onig_search(reg, (UChar* )str, (UChar* )(str + SLEN(str)),
144 x2(char* pattern, char* str, int from, int to) argument
149 x3(char* pattern, char* str, int from, int to, int mem) argument
154 n(char* pattern, char* str) argument
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/win32/
H A Dtestc.c34 static void xx(char* pattern, char* str, int from, int to, int mem, int not) argument
51 r = regexec(&reg, str, reg.re_nsub + 1, pmatch, 0);
61 fprintf(stdout, "OK(N): /%s/ '%s'\n", pattern, str);
65 fprintf(stdout, "FAIL: /%s/ '%s'\n", pattern, str);
71 fprintf(stdout, "FAIL(N): /%s/ '%s'\n", pattern, str);
76 fprintf(stdout, "OK: /%s/ '%s'\n", pattern, str);
80 fprintf(stdout, "FAIL: /%s/ '%s' %d-%d : %d-%d\n", pattern, str,
102 r = onig_search(reg, (UChar* )str, (UChar* )(str + SLEN(str)),
144 x2(char* pattern, char* str, int from, int to) argument
149 x3(char* pattern, char* str, int from, int to, int mem) argument
154 n(char* pattern, char* str) argument
[all...]
/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Dstr2num.c44 bc_str2num (bc_num *num, char *str, int scale) argument
54 ptr = str;
79 ptr = str;
H A Dnum2str.c47 zend_string *str; local
55 str = zend_string_alloc(num->n_len + num->n_scale + signch + 1, 0);
57 str = zend_string_alloc(num->n_len + signch, 0);
58 if (str == NULL) bc_out_of_memory();
61 sptr = ZSTR_VAL(str);
79 ZSTR_LEN(str) = sptr - (char *)ZSTR_VAL(str);
80 return str;
/PHP_TRUNK/ext/mbstring/libmbfl/tests/
H A Demoji.c36 //char str[] = {0xF9,0xD7,0x00}; // U+2122
37 //char str[] = {0xF9,0x82,0x00}; // U+1F195
38 char str[] = {0xF9,0xD6,0x00}; // U+00A9 local
41 //char str[] = {0xF7,0x6A,0x00};// U+2122
42 //char str[] = {0xF7,0xE5,0x00}; // U+1F195
43 //char str[] = {0xF3,0xD2,0x00}; // U+1F1E8 U+1F1F3
44 char str[] = {0xF7,0x74,0x00}; // U+00A9 local
47 //char str[] = {0xFB,0xD7,0x00};// U+2122
48 //char str[] = {0xF7,0xB2,0x00}; // U+1F195
49 //char str[]
50 char str[] = {0xF7,0xEE,0x00}; // U+00A9 local
[all...]
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.h52 char* str; /* string buf */ member in struct:_simplestring
/PHP_TRUNK/Zend/
H A Dzend_ts_hash.h114 static zend_always_inline void *zend_ts_hash_str_find_ptr(TsHashTable *ht, const char *str, size_t len) argument
118 zv = zend_ts_hash_str_find(ht, str, len);
122 static zend_always_inline void *zend_ts_hash_str_update_ptr(TsHashTable *ht, const char *str, size_t len, void *pData) argument
127 zv = zend_ts_hash_str_update(ht, str, len, &tmp);
131 static zend_always_inline void *zend_ts_hash_str_add_ptr(TsHashTable *ht, const char *str, size_t len, void *pData) argument
136 zv = zend_ts_hash_str_add(ht, str, len, &tmp);
H A Dzend_smart_str.c35 ZEND_API void ZEND_FASTCALL smart_str_erealloc(smart_str *str, size_t len) argument
37 if (UNEXPECTED(!str->s)) {
38 str->a = len < SMART_STR_START_SIZE
41 str->s = zend_string_alloc(str->a, 0);
42 ZSTR_LEN(str->s) = 0;
44 str->a = SMART_STR_NEW_SIZE(len);
45 str->s = (zend_string *) erealloc2(str->s, _ZSTR_HEADER_SIZE + str
49 smart_str_realloc(smart_str *str, size_t len) argument
[all...]
/PHP_TRUNK/ext/standard/
H A Ddatetime.c57 char *str; local
60 str = emalloc(81);
61 str[0] = '\0';
64 return str;
67 snprintf(str, 80, "%s, %02d %s %04d %02d:%02d:%02d GMT",
74 str[79] = 0;
75 return (str);
H A Dsoundex.c27 /* {{{ proto string soundex(string str)
31 char *str; local
63 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &str, &str_len) == FAILURE) {
77 code = toupper((int)(unsigned char)str[i]);
H A Dbase64.c56 PHPAPI zend_string *php_base64_encode(const unsigned char *str, size_t length) /* {{{ */ argument
58 const unsigned char *current = str;
130 PHPAPI zend_string *php_base64_decode(const unsigned char *str, size_t length) /* {{{ */ argument
132 return php_base64_decode_ex(str, length, 0);
136 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, zend_bool strict) /* {{{ */ argument
138 const unsigned char *current = str;
210 /* {{{ proto string base64_encode(string str)
214 char *str; local
218 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &str, &str_len) == FAILURE) {
221 result = php_base64_encode((unsigned char*)str, str_le
234 char *str; local
[all...]
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfsmagic.c82 handle_mime(struct magic_set *ms, int mime, const char *str) argument
85 if (file_printf(ms, "inode/%s", str) == -1)
/PHP_TRUNK/ext/zip/lib/
H A Dzip_file_get_comment.c44 const zip_uint8_t *str; local
49 if ((str=_zip_string_get(de->comment, &len, flags, &za->error)) == NULL)
55 return (const char *)str;
H A Dzip_get_archive_comment.c45 const zip_uint8_t *str; local
52 if ((str=_zip_string_get(comment, &len, flags, &za->error)) == NULL)
58 return (const char *)str;
H A Dzip_get_name.c51 const zip_uint8_t *str; local
56 if ((str=_zip_string_get(de->filename, NULL, flags, error)) == NULL)
59 return (const char *)str;
H A Dzip_set_name.c45 zip_string_t *str; local
61 if ((str=_zip_string_new((const zip_uint8_t *)name, (zip_uint16_t)strlen(name), flags, &za->error)) == NULL)
63 if ((flags & ZIP_FL_ENCODING_ALL) == ZIP_FL_ENC_GUESS && _zip_guess_encoding(str, ZIP_ENCODING_UNKNOWN) == ZIP_ENCODING_UTF8_GUESSED)
64 str->encoding = ZIP_ENCODING_UTF8_KNOWN;
67 str = NULL;
71 _zip_string_free(str);
78 _zip_string_free(str);
91 changed = !_zip_string_equal(e->orig->filename, str);
99 _zip_string_free(str);
103 e->changes->filename = str;
[all...]
H A Dzip_source_win32a.c41 static void * _win32_strdup_a(const void *str);
78 _win32_strdup_a(const void *str) argument
80 return strdup((const char *)str);
H A Dzip_source_win32w.c41 static void * _win32_strdup_w(const void *str);
78 _win32_strdup_w(const void *str) argument
80 return _wcsdup((const wchar_t *)str);
/PHP_TRUNK/main/
H A Dhttp_status_codes.h26 const char *str; member in struct:_http_response_status_code_pair
/PHP_TRUNK/ext/dom/
H A Dprocessinginstruction.c137 zend_string *str; local
144 str = zval_get_string(newval);
146 xmlNodeSetContentLen(nodep, (xmlChar *) ZSTR_VAL(str), ZSTR_LEN(str) + 1);
148 zend_string_release(str);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_webdata_transfer.c24 zend_string *str = zend_string_init(name, len, 0); local
25 ret = zend_is_auto_global(str);
26 efree(str);
55 zend_string *str; local
58 if ((str = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0))) {
59 ZVAL_STR(&zv[2], str);
/PHP_TRUNK/ext/intl/formatter/
H A Dformatter_parse.c32 /* {{{ proto mixed NumberFormatter::parse( string $str[, int $type, int &$position ])
34 /* {{{ proto mixed numfmt_parse( NumberFormatter $nf, string $str[, int $type, int &$position ])
42 char* str = NULL; 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));
121 /* {{{ proto double NumberFormatter::parseCurrency( string $str, string $&currency[, int $&position] )
123 /* {{{ proto double numfmt_parse_currency( NumberFormatter $nf, string $str, string $&currency[, int $&position] )
133 char *str; local
142 &object, NumberFormatter_ce_ptr, &str, &str_len, &zcurrency, &zposition ) == FAILURE )
154 intl_convert_utf8_to_utf16(&sstr, &sstr_len, str, str_le
[all...]
/PHP_TRUNK/ext/intl/
H A Dintl_convertcpp.cpp28 int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status) argument
44 str, str_len, U_SENTINEL /* no substitution */, NULL,

Completed in 56 milliseconds

12345678