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

123456789

/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Dstr2num.c44 bc_str2num (bc_num *num, char *str, int scale TSRMLS_DC) 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 = str->val;
79 str->len = sptr - (char *)str->val;
80 return str;
/PHP_TRUNK/ext/ereg/regex/
H A Dsplit.c147 * pgm str sep splits str by sep
148 * pgm str sep n splits str by sep n times
210 char *str; member in struct:__anon73
287 for (n = 0; tests[n].str != NULL; n++) {
288 (void) strcpy(buf, tests[n].str);
294 tests[n].str, tests[n].seps, nf, tests[n].nf);
306 tests[n].str, tests[n].seps,
/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/xmlrpc/libxmlrpc/
H A Dsimplestring.h52 char* str; /* string buf */ member in struct:_simplestring
/PHP_TRUNK/ext/intl/
H A Dintl_convertcpp.cpp28 int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status) argument
39 str, str_len, U_SENTINEL /* no substitution */, NULL,
/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/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/zip/lib/
H A Dzip_file_get_comment.c48 const zip_uint8_t *str;
53 if ((str=_zip_string_get(de->comment, &len, flags, &za->error)) == NULL)
59 return (const char *)str;
46 const zip_uint8_t *str; local
H A Dzip_get_archive_comment.c49 const zip_uint8_t *str;
56 if ((str=_zip_string_get(comment, &len, flags, &za->error)) == NULL)
62 return (const char *)str;
47 const zip_uint8_t *str; local
H A Dzip_get_name.c57 const zip_uint8_t *str;
62 if ((str=_zip_string_get(de->filename, NULL, flags, error)) == NULL)
65 return (const char *)str;
54 const zip_uint8_t *str; local
H A Dzip_set_name.c49 struct zip_string *str;
65 if ((str=_zip_string_new((const zip_uint8_t *)name, (zip_uint16_t)strlen(name), flags, &za->error)) == NULL)
67 if ((flags & ZIP_FL_ENCODING_ALL) == ZIP_FL_ENC_GUESS && _zip_guess_encoding(str, ZIP_ENCODING_UNKNOWN) == ZIP_ENCODING_UTF8_GUESSED)
68 str->encoding = ZIP_ENCODING_UTF8_KNOWN;
71 str = NULL;
75 _zip_string_free(str);
82 _zip_string_free(str);
95 changed = !_zip_string_equal(e->orig->filename, str);
103 _zip_string_free(str);
107 e->changes->filename = str;
47 struct zip_string *str; local
[all...]
H A Dzip_file_get_external_attributes.c41 const zip_uint8_t *str; local
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_watch.h69 char *str; member in struct:_phpdbg_watchpoint_t
H A Dphpdbg_list.c75 phpdbg_list_function_byname(param->str, param->len TSRMLS_CC);
106 if (zend_lookup_class(param->str, param->len, &ce TSRMLS_CC) == SUCCESS) {
121 phpdbg_error("The requested class (%s) could not be found", param->str);
197 void phpdbg_list_function_byname(const char *str, size_t len TSRMLS_DC) /* {{{ */ argument
201 char *func_name = (char*) str;
/PHP_TRUNK/Zend/
H A Dzend_ts_hash.h114 static inline void *zend_ts_hash_str_find_ptr(TsHashTable *ht, const char *str, int len) argument
118 zv = zend_ts_hash_str_find(ht, str, len);
122 static inline void *zend_ts_hash_str_update_ptr(TsHashTable *ht, const char *str, int len, void *pData) argument
127 zv = zend_ts_hash_str_update(ht, str, len, &tmp);
131 static inline void *zend_ts_hash_str_add_ptr(TsHashTable *ht, const char *str, int len, void *pData) argument
136 zv = zend_ts_hash_str_add(ht, str, len, &tmp);
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfsmagic.c78 handle_mime(struct magic_set *ms, int mime, const char *str) argument
81 if (file_printf(ms, "inode/%s", str) == -1)
/PHP_TRUNK/ext/intl/dateformat/
H A Ddateformat_attrcpp.cpp47 char *str; local
62 intl_charFromString(res, &str, &str_len, &INTL_DATA_ERROR_CODE(dfo));
65 RETVAL_STRINGL(str, str_len);
67 efree(str);
/PHP_TRUNK/ext/dom/
H A Dprocessinginstruction.c142 zend_string *str; local
149 str = zval_get_string(newval);
151 xmlNodeSetContentLen(nodep, str->val, str->len + 1);
153 zend_string_release(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] )
134 char *str; local
143 &object, NumberFormatter_ce_ptr, &str, &str_len, &zcurrency, &zposition ) == FAILURE )
155 intl_convert_utf8_to_utf16(&sstr, &sstr_len, str, str_le
[all...]
/PHP_TRUNK/ext/standard/
H A Dbase64.c56 PHPAPI zend_string *php_base64_encode(const unsigned char *str, size_t length) /* {{{ */ argument
58 const unsigned char *current = str;
134 PHPAPI zend_string *php_base64_decode(const unsigned char *str, size_t length) /* {{{ */ argument
136 return php_base64_decode_ex(str, length, 0);
140 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, zend_bool strict) /* {{{ */ argument
142 const unsigned char *current = str;
214 /* {{{ proto string base64_encode(string str)
218 char *str; local
222 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) == FAILURE) {
225 result = php_base64_encode((unsigned char*)str, str_le
238 char *str; local
[all...]
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() TSRMLS_CC, "s", &str, &str_len) == FAILURE) {
77 code = toupper((int)(unsigned char)str[i]);

Completed in 73 milliseconds

123456789