| /PHP_5_3/ext/spl/ |
| H A D | spl.php | 180 function spl_autoload(string $class_name, string $file_extensions = NULL) {/**/}; 188 function spl_autoload_call(string $class_name) {/**/}; 217 function spl_autoload_register(string $autoload_function = "spl_autoload", $throw = true) {/**/}; 226 function spl_autoload_unregister(string $autoload_function = "spl_autoload") {/**/}; 263 /** The string represenations as generated during construction */ 264 private $string; variable 295 $this->string = StringFormat($this); variable 333 /** @return the stack trace as string 339 /** @return string represenatio [all...] |
| /PHP_5_3/ext/xmlrpc/libxmlrpc/ |
| H A D | simplestring.c | 68 * Why would I write yet another string API? Because I couldn't find any that were 82 #include <string.h> 95 * void simplestring_init(simplestring* string) 97 * initialize string 99 * string - pointer to a simplestring struct that will be initialized 108 void simplestring_init(simplestring* string) { argument 109 memset(string, 0, sizeof(simplestring)); 113 static void simplestring_init_str(simplestring* string) { argument 114 string->str = (char*)malloc(SIMPLESTRING_INCR); 115 if(string 142 simplestring_clear(simplestring* string) argument 167 simplestring_free(simplestring* string) argument [all...] |
| H A D | xmlrpc.c | 50 * #45226 (xmlrpc_set_type() segfaults with valid ISO8601 date string) 142 * intelligent string handling, so not many strlen() calls, etc. 153 #include <string.h> 881 * len length of id string if known, or 0 if unknown. 884 * const char* pointer to the newly allocated id string, or NULL 900 /* upper or lower case string in place if required. could be a seperate func. */ 933 * Assign a string value to an XMLRPC_VALUE, and set it to type xmlrpc_string 936 * val The desired new string val. 937 * len length of val string if known, or 0 if unknown. 939 * const char* pointer to the newly allocated value string, o 2758 char* string = NULL; local [all...] |
| /PHP_5_3/win32/ |
| H A D | fnmatch.c | 50 #include <string.h> 59 PHPAPI int fnmatch(const char *pattern, const char *string, int flags) argument 64 for (stringstart = string;;) 67 if ((flags & FNM_LEADING_DIR) && *string == '/') 69 return (*string == EOS ? 0 : FNM_NOMATCH); 71 if (*string == EOS) 73 if (*string == '/' && (flags & FNM_PATHNAME)) 75 if (*string == '.' && (flags & FNM_PERIOD) && 76 (string == stringstart || 77 ((flags & FNM_PATHNAME) && *(string [all...] |
| H A D | sendmail.c | 31 #include <string.h> 129 /* This pattern removes \r\n from the start of the string, 130 * \r\n from the end of the string and also makes sure every line 267 * string found in the lowercase headrs + 5 characters to jump over 346 // Output: pointer to a string containing the error description 371 // 4) data: Null terminated string containing the data to be send. 478 * string found in the lowercase headrs + 3 characters to jump over 533 * string found in the lowercase headrs + 4 characters to jump over 568 /* headers = point to string start of header 664 static int addToHeader(char **header_buffer, const char *specifier, char *string) argument [all...] |
| /PHP_5_3/ext/gd/libgd/ |
| H A D | gdft.c | 10 #include <string.h> 40 double ptsize, double angle, int x, int y, char *string) 43 return gdImageStringFT (im, brect, fg, fontlist, ptsize, angle, x, y, string); 49 double ptsize, double angle, int x, int y, char *string, 57 double ptsize, double angle, int x, int y, char *string) 170 * Extract the Tcl_UniChar represented by the UTF-8 string. Bad 179 * ensure that enough bytes remain in the string. 183 * number of bytes from the UTF-8 string that were consumed. 763 /* gdImageStringFT - render a utf8 string onto a gd image */ 767 double ptsize, double angle, int x, int y, char *string) 39 gdImageStringTTF(gdImage * im, int *brect, int fg, char *fontlist, double ptsize, double angle, int x, int y, char *string) argument 48 gdImageStringFTEx(gdImage * im, int *brect, int fg, char *fontlist, double ptsize, double angle, int x, int y, char *string, gdFTStringExtraPtr strex) argument 56 gdImageStringFT(gdImage * im, int *brect, int fg, char *fontlist, double ptsize, double angle, int x, int y, char *string) argument 766 gdImageStringFT(gdImage * im, int *brect, int fg, char *fontlist, double ptsize, double angle, int x, int y, char *string) argument 773 gdImageStringFTEx(gdImage * im, int *brect, int fg, char *fontlist, double ptsize, double angle, int x, int y, char *string, gdFTStringExtraPtr strex) argument [all...] |
| /PHP_5_3/ext/intl/grapheme/ |
| H A D | grapheme_string.c | 53 /* {{{ proto int grapheme_strlen(string str) 54 Get number of graphemes in a string */ 57 unsigned char* string; local 64 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", (char **)&string, &string_len) == FAILURE) { 72 ret_len = grapheme_ascii_check(string, string_len); 77 /* convert the string to UTF-16. */ 79 intl_convert_utf8_to_utf16(&ustring, &ustring_len, (char*) string, string_len, &status ); 86 intl_error_set_custom_msg( NULL, "Error converting input string to UTF-16", 0 TSRMLS_CC ); 107 /* {{{ proto int grapheme_strpos(string haystack, string needl [all...] |
| H A D | grapheme_util.c | 50 /* {{{ grapheme_intl_case_fold: convert string to lowercase */ 57 /* allocate a destination string that is a bit larger than the src, hoping that is enough */ 115 * of the string 126 * needed to stop that many chars from the end of the string 172 intl_error_set_custom_msg( NULL, "Error converting input string to UTF-16", 0 TSRMLS_CC ); 191 intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR, "grapheme_strpos: Offset not contained in string", 1 TSRMLS_CC ); 209 intl_error_set_custom_msg( NULL, "Error converting input string to UTF-16", 0 TSRMLS_CC ); 309 intl_error_set_custom_msg( NULL, "Error converting input string to UTF-16", 0 TSRMLS_CC ); 326 intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR, "grapheme_strpos: Offset not contained in string", 1 TSRMLS_CC ); 349 intl_error_set_custom_msg( NULL, "Error converting input string t 436 grapheme_count_graphemes(UBreakIterator *bi, UChar *string, int32_t string_len) argument [all...] |
| /PHP_5_3/ext/mbstring/libmbfl/mbfl/ |
| H A D | mbfl_string.c | 43 * string object 46 mbfl_string_init(mbfl_string *string) argument 48 if (string) { 49 string->no_language = mbfl_no_language_uni; 50 string->no_encoding = mbfl_no_encoding_pass; 51 string->val = (unsigned char*)NULL; 52 string->len = 0; 57 mbfl_string_init_set(mbfl_string *string, mbfl_language_id no_language, mbfl_encoding_id no_encoding) argument 59 if (string) { 60 string 68 mbfl_string_clear(mbfl_string *string) argument [all...] |
| /PHP_5_3/ext/mbstring/libmbfl/tests/ |
| H A D | conv_encoding.c | 10 #include <string.h> 30 mbfl_string string, result, *ret; local 61 mbfl_string_init_set(&string, no_language, from_encoding); 93 mbfl_memory_device_result(&dev, &string); 95 ret = mbfl_buffer_converter_feed_result(convd, &string, &result); 98 mbfl_string_clear(&string);
|
| H A D | conv_kana.c | 10 #include <string.h> 29 mbfl_string string, result; local 107 mbfl_string_init_set(&string, no_lang, no_enc); 139 mbfl_memory_device_result(&dev, &string); 140 mbfl_ja_jp_hantozen(&string, &result, mode); 143 mbfl_string_clear(&string);
|
| H A D | sample.c | 16 mbfl_string string, result, *ret; local 18 unsigned char input[] = "���ܸ�ʸ����"; /* EUC-JP kanji string */ 24 mbfl_string_init(&string); 27 string.no_encoding = from_encoding; 28 string.no_language = no_language; 29 string.val = (unsigned char *)input; 30 string.len = strlen(input); 33 ret = mbfl_buffer_converter_feed_result(convd, &string, &result);
|
| H A D | strcut.c | 10 #include <string.h> 30 mbfl_string string; local 70 mbfl_string_init_set(&string, no_language, no_encoding); 102 mbfl_memory_device_result(&dev, &string); 103 if (mbfl_strcut(&string, &result, offset, length)) { 109 mbfl_string_clear(&string);
|
| H A D | strwidth.c | 10 #include <string.h> 18 mbfl_string string; local 41 mbfl_string_init_set(&string, no_language, no_encoding); 73 mbfl_memory_device_result(&dev, &string); 74 printf("%d\n", mbfl_strwidth(&string)); 75 mbfl_string_clear(&string);
|
| /PHP_5_3/ext/mbstring/oniguruma/ |
| H A D | reggnu.c | 44 re_adjust_startpos(regex_t* reg, const char* string, int size, argument 49 UChar *s = (UChar* )string + startpos; 52 p = onigenc_get_right_adjust_char_head(reg->enc, (UChar* )string, s); 55 p = ONIGENC_LEFT_ADJUST_CHAR_HEAD(reg->enc, (UChar* )string, s); 57 return p - (UChar* )string; 72 re_search(regex_t* bufp, const char* string, int size, int startpos, int range, argument 75 return onig_search(bufp, (UChar* )string, (UChar* )(string + size), 76 (UChar* )(string + startpos), 77 (UChar* )(string [all...] |
| /PHP_5_3/ext/com_dotnet/ |
| H A D | com_olechar.c | 33 PHP_COM_DOTNET_API OLECHAR *php_com_string_to_olestring(char *string, uint string_len, int codepage TSRMLS_DC) argument 41 string_len = MultiByteToWideChar(codepage, flags, string, -1, NULL, 0); 49 ok = MultiByteToWideChar(codepage, flags, string, string_len, olestring, string_len); 60 "Could not convert string to unicode: `%s'", msg); 70 char *string; local 77 string = (char*)safe_emalloc(length, sizeof(char), 0); 78 length = WideCharToMultiByte(codepage, 0, olestring, -1, string, length, NULL, NULL); 81 string = (char*)emalloc(sizeof(char)); 82 *string = '\0'; 91 "Could not convert string fro [all...] |
| /PHP_5_3/ext/ereg/ |
| H A D | ereg.c | 32 ZEND_ARG_INFO(0, string) 39 ZEND_ARG_INFO(0, string) 44 ZEND_ARG_INFO(0, string) 49 ZEND_ARG_INFO(0, string) 302 char *string = NULL; local 321 /* we convert numbers to integers and treat them as a string */ 335 /* make a copy of the string we're looking in */ 336 string = estrndup(findin, findin_len); 342 err = regexec(&re, string, re.re_nsub+1, subs, 0); 364 add_index_stringl(*array, i, string 403 php_ereg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended) argument 555 char *string; local 733 char *string, *tmp; local [all...] |
| /PHP_5_3/ext/mbstring/ |
| H A D | mb_gpc.c | 203 mbfl_string string, resvar, resval; local 209 mbfl_string_init_set(&string, info->to_language, info->to_encoding); 285 string.val = (unsigned char *)val_list[n]; 286 string.len = len_list[n]; 287 if (mbfl_encoding_detector_feed(identd, &string)) { 318 string.no_encoding = from_encoding; 322 string.val = (unsigned char *)val_list[n]; 323 string.len = len_list[n]; 324 if (convd != NULL && mbfl_buffer_converter_feed_result(convd, &string, &resvar) != NULL) { 330 string [all...] |
| H A D | php_mbregex.c | 654 /* {{{ proto string mb_regex_encoding([string encoding]) 655 Returns the current encoding for regex as a string. */ 693 char *string; local 703 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Zs|z", &arg_pattern, &string, &string_len, &array) == FAILURE) { 714 /* we convert numbers to integers and treat them as a string */ 737 if (onig_search(re, (OnigUChar *)string, (OnigUChar *)(string + string_len), (OnigUChar *)string, (OnigUChar *)(string 797 char *string; local 992 char *string; local 1071 char *string; local 1374 char *string = NULL; local [all...] |
| /PHP_5_3/ext/standard/ |
| H A D | info.c | 236 PHPAPI void php_info_html_esc_write(char *string, int str_len TSRMLS_DC) argument 239 char *ret = php_escape_html_entities((unsigned char *)string, str_len, &new_len, 0, ENT_QUOTES, NULL TSRMLS_CC); 248 PHPAPI char *php_info_html_esc(char *string TSRMLS_DC) 251 return php_escape_html_entities((unsigned char *)string, strlen(string), &new_len, 0, ENT_QUOTES, NULL TSRMLS_CC); 1261 /* {{{ proto string phpversion([string extension]) 1326 /* {{{ proto string php_logo_guid(void) 1339 /* {{{ proto string php_real_logo_guid(void) 1352 /* {{{ proto string php_egg_logo_gui [all...] |
| H A D | scanf.c | 295 * Parse the format string and verify that it is properly formed 305 * format The format string. 323 * is assigned to by the format string. We use this to detect if 357 * in the same format string. 479 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unmatched [ in format string"); 571 * string literal string to be processed 572 * format format string 579 PHPAPI int php_sscanf_internal( char *string, char *format, argument 609 zend_printf("<br>in sscanf_internal : <br> string i [all...] |
| /PHP_5_3/ext/xsl/ |
| H A D | xsltprocessor.c | 98 Translates a string to a XPath Expression */ 101 const xmlChar *string = (const xmlChar *)str; local 106 str_len = xmlStrlen(string) + 3; 108 if (xmlStrchr(string, '"')) { 109 if (xmlStrchr(string, '\'')) { 110 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot create XPath expression (string contains both quote and double-quotes)"); 114 snprintf(value, str_len, "'%s'", string); 117 snprintf(value, str_len, "\"%s\"", string); 294 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Handler name must be a string"); 320 /* Push an empty string, s [all...] |
| /PHP_5_3/ext/zlib/ |
| H A D | zlib.c | 389 /* {{{ proto array gzfile(string filename [, int use_include_path]) 424 slashed = php_addslashes(buf, 0, &len, 0 TSRMLS_CC); /* 0 = don't free source string */ 434 /* {{{ proto resource gzopen(string filename, string mode [, int use_include_path]) 462 /* {{{ proto int readgzfile(string filename [, int use_include_path]) 489 /* {{{ proto string gzcompress(string data [, int level]) 490 Gzip-compress a string */ 531 /* {{{ proto string gzuncompress(string dat 989 char *string; local [all...] |
| /PHP_5_3/ext/pcre/pcrelib/ |
| H A D | pcre_valid_utf8.c | 53 * Validate a UTF-8 string * 57 check that a supposed UTF-8 string is actually valid. The early check means 58 that subsequent code can assume it is dealing with a valid string. The check 60 invalid string are then undefined. 74 PCRE_UTF8_ERR1 Missing 1 byte at the end of the string 75 PCRE_UTF8_ERR2 Missing 2 bytes at the end of the string 76 PCRE_UTF8_ERR3 Missing 3 bytes at the end of the string 77 PCRE_UTF8_ERR4 Missing 4 bytes at the end of the string 78 PCRE_UTF8_ERR5 Missing 5 bytes at the end of the string 98 string point 107 valid_utf(PCRE_PUCHAR string, int length, int *erroroffset) argument [all...] |
| H A D | pcreposix.c | 85 REG_BADRPT, /* operand of unlimited repeat could match the empty string */ 125 REG_BADPAT, /* invalid UTF-8 string */ 161 REG_BADPAT, /* invalid UTF-16 string (should not occur) */ 165 REG_BADPAT /* invalid UTF-32 string (should not occur) */ 195 * Translate error code to string * 311 regexec(const regex_t *preg, const char *string, size_t nmatch, argument 328 /* When no string data is being returned, or no vector has been passed in which 351 string, not how it is matched". That is why the "so" value is used to bump the 362 eo = (int)strlen(string); 365 rc = pcre_exec((const pcre *)preg->re_pcre, NULL, string [all...] |