| /PHP_5_3/ext/xmlrpc/libxmlrpc/ |
| H A D | xml_element.c | 213 simplestring_free(&root->text); 270 simplestring_init(&elem->text); 273 simplestring_addn(&elem->text, "", 0); 279 static int xml_elem_writefunc(int (*fptr)(void *data, const char *text, int size), const char *text, void *data, int len) argument 281 return fptr && text ? fptr(data, text, len ? len : strlen(text)) : 0; 376 static void xml_element_serialize(xml_element *el, int (*fptr)(void *data, const char *text, int size), void *data, XML_ELEM_OUTPUT_OPTIONS options, int depth) argument 438 /* if no text an 502 file_out_fptr(void *f, const char *text, int size) argument 509 simplestring_out_fptr(void *f, const char *text, int size) argument [all...] |
| H A D | xml_element.h | 151 simplestring text; /* text contained between element begin/end pairs */ member in struct:_xml_element 190 #define xml_elem_get_val(el) (char *)((el) ? el->text.str : NULL)
|
| H A D | xmlrpc.c | 185 static int date_from_ISO8601 (const char *text, time_t * value) { argument 192 if (strchr (text, '-')) { 193 char *p = (char *) text, *p2 = buf; 204 text = buf; 215 XMLRPC_IS_NUMBER(text[i]) 216 tm.tm_year += (text[i]-'0')*n; 222 XMLRPC_IS_NUMBER(text[i]) 223 tm.tm_mon += (text[i+4]-'0')*n; 231 XMLRPC_IS_NUMBER(text[i]) 232 tm.tm_mday += (text[ [all...] |
| /PHP_5_3/scripts/dev/generate-phpt/src/ |
| H A D | gtCodeSnippet.php | 46 $text = file($filename); variable 47 foreach ($text as $t) {
|
| /PHP_5_3/win32/build/ |
| H A D | mkdist.php | 143 $text = file_get_contents($source); variable 144 $text = preg_replace("/(\r\n?)|\n/", "\r\n", $text); variable 146 fwrite($fp, $text);
|
| /PHP_5_3/ext/fileinfo/libmagic/ |
| H A D | apprentice.c | 616 /* Allow text overrides */ 633 /* binary test if pattern is not text */ 832 static const char text[] = "text"; local 834 static const size_t len = sizeof(text); 843 marray[i].mp->flag & BINTEST ? binary : text); 845 char *p = strstr(marray[i].mp->desc, text); 852 "binary test for text type\n");
|
| H A D | ascmagic.c | 29 * ASCII magic -- try to detect text encoding. 72 int text) 87 /* If file doesn't look like any sort of text, give up. */ 93 type, text); 103 const char *type, int text) 138 /* Convert ubuf to UTF-8 and try text soft magic */ 148 (size_t)(utf8_end - utf8_buf), TEXTTEST, text)) == 0) 199 if (file_printf(ms, "text/plain") == -1) 205 switch (file_replace(ms, " text$", ", ")) { 207 switch (file_replace(ms, " text executabl 71 file_ascmagic(struct magic_set *ms, const unsigned char *buf, size_t nbytes, int text) argument 101 file_ascmagic_with_encoding(struct magic_set *ms, const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t ulen, const char *code, const char *type, int text) argument [all...] |
| H A D | softmagic.c | 75 int mode, int text) 81 text)) != 0) 116 const unsigned char *s, size_t nbytes, int mode, int text) 134 ((text && (m->str_flags & (STRING_BINTEST | STRING_TEXTTEST)) == STRING_BINTEST) || 135 (!text && (m->str_flags & (STRING_TEXTTEST | STRING_BINTEST)) == STRING_TEXTTEST))) || 148 switch (mget(ms, s, m, nbytes, cont_level, text)) { 230 switch (mget(ms, s, m, nbytes, cont_level, text)) { 1000 struct magic *m, size_t nbytes, unsigned int cont_level, int text) 1559 BINTEST, text); 74 file_softmagic(struct magic_set *ms, const unsigned char *buf, size_t nbytes, int mode, int text) argument 115 match(struct magic_set *ms, struct magic *magic, uint32_t nmagic, const unsigned char *s, size_t nbytes, int mode, int text) argument 999 mget(struct magic_set *ms, const unsigned char *s, struct magic *m, size_t nbytes, unsigned int cont_level, int text) argument
|
| /PHP_5_3/ext/intl/grapheme/ |
| H A D | grapheme_util.c | 397 int grapheme_split_string(const UChar *text, int32_t text_length, int boundary_array[], int boundary_array_len TSRMLS_DC ) argument 410 ubrk_setText(bi, text, text_length, &status); 621 NULL, /* text not set in global iterator */ 622 0, /* text length = 0 */
|
| /PHP_5_3/ext/mbstring/oniguruma/ |
| H A D | regexec.c | 2923 const UChar* text, const UChar* text_end, UChar* text_range) 2932 s = (UChar* )text; 2982 const UChar* text, const UChar* text_end, UChar* text_range) 2991 s = (UChar* )text; 3005 const UChar* text, const UChar* adjust_text, 3017 while (s >= text) { 3038 const UChar* text, const UChar* adjust_text, 3050 while (s >= text) { 3063 const UChar* text, const UChar* text_end, 3071 fprintf(stderr, "bm_search_notrev: text 2922 slow_search(OnigEncoding enc, UChar* target, UChar* target_end, const UChar* text, const UChar* text_end, UChar* text_range) argument 2980 slow_search_ic(OnigEncoding enc, int ambig_flag, UChar* target, UChar* target_end, const UChar* text, const UChar* text_end, UChar* text_range) argument 3004 slow_search_backward(OnigEncoding enc, UChar* target, UChar* target_end, const UChar* text, const UChar* adjust_text, const UChar* text_end, const UChar* text_start) argument 3036 slow_search_backward_ic(OnigEncoding enc, int ambig_flag, UChar* target, UChar* target_end, const UChar* text, const UChar* adjust_text, const UChar* text_end, const UChar* text_start) argument 3062 bm_search_notrev(regex_t* reg, const UChar* target, const UChar* target_end, const UChar* text, const UChar* text_end, const UChar* text_range) argument 3120 bm_search(regex_t* reg, const UChar* target, const UChar* target_end, const UChar* text, const UChar* text_end, const UChar* text_range) argument 3179 bm_search_backward(regex_t* reg, const UChar* target, const UChar* target_end, const UChar* text, const UChar* adjust_text, const UChar* text_end, const UChar* text_start) argument 3208 map_search(OnigEncoding enc, UChar map[], const UChar* text, const UChar* text_range) argument 3222 map_search_backward(OnigEncoding enc, UChar map[], const UChar* text, const UChar* adjust_text, const UChar* text_start) argument [all...] |
| /PHP_5_3/ext/ftp/ |
| H A D | ftp.c | 1602 char *text; local 1665 text = (char*) (ret + lines + 1); 1666 *entry = text; 1670 *(text - 1) = 0; 1671 *++entry = text; 1673 *text++ = ch;
|
| /PHP_5_3/ext/imap/ |
| H A D | php_imap.c | 88 char *cpytxt(SIZEDTEXT *dst, char *text, unsigned long size); 314 ZEND_ARG_INFO(0, text) 318 ZEND_ARG_INFO(0, text) 322 ZEND_ARG_INFO(0, text) 326 ZEND_ARG_INFO(0, text) 679 if(cur->text.data) 680 fs_give((void **)&(cur->text.data)); 711 if ((*errlist)->text.data) { 712 fs_give((void **) &(*errlist)->text.data); 926 /* text ca 2470 char *text, *decode; local 2493 char *text, *decode; local 2516 char *text, *decode; local 2539 char *text, *decode; local 4225 char *str, *string, *charset, encoding, *text, *decode; local [all...] |
| H A D | php_imap.h | 53 #define LSIZE text.size 54 #define LTEXT text.data 61 #define LTEXT text 81 SIZEDTEXT text; member in struct:php_imap_mailbox_struct 88 SIZEDTEXT text; member in struct:php_imap_error_struct
|
| /PHP_5_3/ext/ldap/ |
| H A D | ldap.c | 1174 char *text; local 1183 text = ldap_get_dn(ld->link, resultentry->data); 1184 if (text != NULL) { 1185 RETVAL_STRING(text, 1); 1187 ldap_memfree(text); 1189 free(text);
|
| /PHP_5_3/ext/readline/ |
| H A D | readline.c | 411 static char *_readline_command_generator(const char *text, int state) argument 424 if (strncmp (Z_STRVAL_PP(entry), text, strlen(text)) == 0) { 459 static char **_readline_completion_cb(const char *text, int start, int end) argument 466 params[0]=_readline_string_zval(text); 473 matches = rl_completion_matches(text,_readline_command_generator);
|
| /PHP_5_3/ext/soap/ |
| H A D | php_encoding.c | 875 xmlNodePtr ret, text; local 952 text = xmlNewTextLen(BAD_CAST(str), new_len); 953 xmlAddChild(ret, text); 964 xmlNodePtr ret, text; local 974 text = xmlNewTextLen(str, str_len); 975 xmlAddChild(ret, text); 983 text = xmlNewTextLen(str, str_len); 984 xmlAddChild(ret, text); 998 xmlNodePtr ret, text; local 1021 text 1634 xmlNodePtr dummy, text; local [all...] |
| /PHP_5_3/ext/sybase_ct/ |
| H A D | php_sybase_ct.c | 414 zval *msgnumber, *severity, *state, *line, *text, *retval = NULL; local 437 MAKE_STD_ZVAL(text); 438 ZVAL_STRING(text, srvmsg->text, 1); 439 args[4] = &text; 461 zval_ptr_dtor(&text); 474 SybCtG(server_message) = estrdup(srvmsg->text); 505 srvmsg->text, (long)srvmsg->severity, ((srvmsg->proclen>0) ? srvmsg->proc : "N/A"));
|
| /PHP_5_3/main/ |
| H A D | output.c | 38 static void php_ob_append(const char *text, uint text_length TSRMLS_DC); 40 static void php_ob_prepend(const char *text, uint text_length); 607 static inline void php_ob_append(const char *text, uint text_length TSRMLS_DC) argument 616 memcpy(target, text, text_length); 630 static inline void php_ob_prepend(const char *text, uint text_length) 644 memcpy(OG(ob_buffer), text, text_length);
|
| /PHP_5_3/sapi/cli/ |
| H A D | php_cli_readline.c | 278 static char *cli_completion_generator_ht(const char *text, int textlen, int *state, HashTable *ht, void **pData TSRMLS_DC) /* {{{ */ argument 289 if (!textlen || !strncmp(name, text, textlen)) { 304 static char *cli_completion_generator_var(const char *text, int textlen, int *state TSRMLS_DC) /* {{{ */ argument 308 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, EG(active_symbol_table), NULL TSRMLS_CC); 318 static char *cli_completion_generator_func(const char *text, int textlen, int *state, HashTable *ht TSRMLS_DC) /* {{{ */ argument 321 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&func TSRMLS_CC); 330 static char *cli_completion_generator_class(const char *text, int textlen, int *state TSRMLS_DC) /* {{{ */ argument 333 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&pce TSRMLS_CC); 342 static char *cli_completion_generator_define(const char *text, int textlen, int *state, HashTable *ht TSRMLS_DC) /* {{{ */ argument 345 char *retval = cli_completion_generator_ht(text, textle 356 cli_completion_generator(const char *text, int index) argument 433 cli_code_completion(const char *text, int start, int end) argument [all...] |
| /PHP_5_3/ext/standard/ |
| H A D | string.c | 805 const char *text, *breakchar = "\n"; local 813 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lsb", &text, &textlen, &linelength, &breakchar, &breakcharlen, &docut) == FAILURE) { 834 newtext = estrndup(text, textlen); 838 if (text[current] == breakchar[0]) { 840 } else if (text[current] == ' ') { 865 /* now keep track of the actual new text length */ 877 if (text[current] == breakchar[0] 879 && !strncmp(text+current, breakchar, breakcharlen)) { 880 memcpy(newtext+newtextlen, text+laststart, current-laststart+breakcharlen); 888 else if (text[curren [all...] |