Searched defs:text (Results 1 - 25 of 27) sorted by relevance

12

/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c213 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 Dxml_element.h151 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 Dxmlrpc.c185 static int date_from_ISO8601 (const char *text, time_t * value) { argument
192 if (strchr (text, '-')) {
193 char *p = (char *) text, *p2 = buf;
205 text = buf;
208 if (strlen(text)<17) {
219 XMLRPC_IS_NUMBER(text[i])
220 tm.tm_year += (text[i]-'0')*n;
226 XMLRPC_IS_NUMBER(text[i+4])
227 tm.tm_mon += (text[i+4]-'0')*n;
238 XMLRPC_IS_NUMBER(text[
[all...]
/PHP_TRUNK/scripts/dev/generate-phpt/src/
H A DgtCodeSnippet.php46 $text = file($filename); variable
47 foreach ($text as $t) {
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregexec.c2742 const UChar* text, const UChar* text_end, UChar* text_range)
2751 s = (UChar* )text;
2794 const UChar* text, const UChar* text_end, UChar* text_range)
2803 s = (UChar* )text;
2818 const UChar* text, const UChar* adjust_text,
2830 while (s >= text) {
2851 const UChar* text, const UChar* adjust_text,
2863 while (s >= text) {
2876 const UChar* text, const UChar* text_end,
2884 fprintf(stderr, "bm_search_notrev: text
2741 slow_search(OnigEncoding enc, UChar* target, UChar* target_end, const UChar* text, const UChar* text_end, UChar* text_range) argument
2792 slow_search_ic(OnigEncoding enc, int case_fold_flag, UChar* target, UChar* target_end, const UChar* text, const UChar* text_end, UChar* text_range) argument
2817 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
2849 slow_search_backward_ic(OnigEncoding enc, int case_fold_flag, UChar* target, UChar* target_end, const UChar* text, const UChar* adjust_text, const UChar* text_end, const UChar* text_start) argument
2875 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
2931 bm_search(regex_t* reg, const UChar* target, const UChar* target_end, const UChar* text, const UChar* text_end, const UChar* text_range) argument
2991 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
3020 map_search(OnigEncoding enc, UChar map[], const UChar* text, const UChar* text_range) argument
3034 map_search_backward(OnigEncoding enc, UChar map[], const UChar* text, const UChar* adjust_text, const UChar* text_start) argument
[all...]
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dascmagic.c29 * 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 */
150 (size_t)(utf8_end - utf8_buf), 0, TEXTTEST, text)) == 0)
201 if (file_printf(ms, "text/plain") == -1)
207 switch (file_replace(ms, " text$", ", ")) {
209 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 Dsoftmagic.c88 size_t level, int mode, int text)
94 text, 0, level, &printed_something, &need_separator,
130 const unsigned char *s, size_t nbytes, size_t offset, int mode, int text,
153 ((text && (m->str_flags & FLT) == STRING_BINTEST) ||
154 (!text && (m->str_flags & FLT) == STRING_TEXTTEST))) ||
168 switch (mget(ms, s, m, nbytes, offset, cont_level, mode, text,
258 text, flip, recursion_level + 1, printed_something,
1160 size_t nbytes, size_t o, unsigned int cont_level, int mode, int text,
1746 recursion_level, BINTEST, text);
1789 mode, text, fli
87 file_softmagic(struct magic_set *ms, const unsigned char *buf, size_t nbytes, size_t level, int mode, int text) argument
129 match(struct magic_set *ms, struct magic *magic, uint32_t nmagic, const unsigned char *s, size_t nbytes, size_t offset, int mode, int text, int flip, int recursion_level, int *printed_something, int *need_separator, int *returnval) argument
1159 mget(struct magic_set *ms, const unsigned char *s, struct magic *m, size_t nbytes, size_t o, unsigned int cont_level, int mode, int text, int flip, int recursion_level, int *printed_something, int *need_separator, int *returnval) argument
[all...]
H A Dapprentice.c889 /* Allow text overrides */
906 /* binary test if pattern is not text */
1054 static const char text[] = "text"; local
1056 static const size_t len = sizeof(text);
1068 me[i].mp->flag & BINTEST ? binary : text);
1070 char *p = strstr(me[i].mp->desc, text);
1077 "binary test for text type\n");
/PHP_TRUNK/win32/build/
H A Dmkdist.php143 $text = file_get_contents($source); variable
144 $text = preg_replace("/(\r\n?)|\n/", "\r\n", $text); variable
146 fwrite($fp, $text);
/PHP_TRUNK/ext/ftp/
H A Dftp.c1617 char *text; local
1680 text = (char*) (ret + lines + 1);
1681 *entry = text;
1685 *(text - 1) = 0;
1686 *++entry = text;
1688 *text++ = ch;
/PHP_TRUNK/ext/imap/
H A Dphp_imap.h53 #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_TRUNK/ext/intl/breakiterator/
H A Dbreakiterator_class.h38 // current text
39 zval text; member in struct:__anon95
H A Dbreakiterator_methods.cpp142 if (Z_ISUNDEF(bio->text)) {
145 ZVAL_COPY(return_value, &bio->text);
151 char *text; local
159 &text, &text_len) == FAILURE) {
170 /* assert it's safe to use text and text_len because zpp changes the
172 assert(text == Z_STRVAL_P(textzv));
174 ut = utext_openUTF8(ut, text, text_len, BREAKITER_ERROR_CODE_P(bio));
185 zval_ptr_dtor(&bio->text);
186 ZVAL_COPY(&bio->text, textzv);
H A Dcodepointiterator_internal.cpp114 void CodePointBreakIterator::setText(const UnicodeString &text) argument
119 this->fText = utext_openConstUnicodeString(this->fText, &text, &uec);
124 void CodePointBreakIterator::setText(UText *text, UErrorCode &status) argument
130 this->fText = utext_clone(this->fText, text, FALSE, TRUE, &status);
/PHP_TRUNK/ext/intl/grapheme/
H A Dgrapheme_util.c234 int grapheme_split_string(const UChar *text, int32_t text_length, int boundary_array[], int boundary_array_len TSRMLS_DC ) argument
247 ubrk_setText(bi, text, text_length, &status);
387 NULL, /* text not set in global iterator */
388 0, /* text length = 0 */
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp448 UnicodeString *text = new UnicodeString(); local
449 intl_stringFromChar(*text,
458 delete text;
461 formattable.adoptString(text);
/PHP_TRUNK/ext/intl/spoofchecker/
H A Dspoofchecker_main.c24 /* {{{ proto bool Spoofchecker::isSuspicious( string text[, int &error_code ] )
25 * Checks if a given text contains any suspicious characters
30 char *text; local
35 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z", &text, &text_len, &error_code)) {
41 ret = uspoof_checkUTF8(co->uspoof, text, text_len, NULL, SPOOFCHECKER_ERROR_CODE_P(co));
57 * Checks if a given text contains any confusable characters
/PHP_TRUNK/ext/readline/
H A Dreadline.c444 static char *_readline_command_generator(const char *text, int state) argument
457 if (strncmp (Z_STRVAL_P(entry), text, strlen(text)) == 0) {
479 static char **_readline_completion_cb(const char *text, int start, int end) argument
486 _readline_string_zval(&params[0], text);
493 matches = rl_completion_matches(text,_readline_command_generator);
H A Dreadline_cli.c402 static char *cli_completion_generator_ht(const char *text, int textlen, int *state, HashTable *ht, void **pData TSRMLS_DC) /* {{{ */ argument
413 if (!textlen || !strncmp(name->val, text, textlen)) {
428 static char *cli_completion_generator_var(const char *text, int textlen, int *state TSRMLS_DC) /* {{{ */ argument
433 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, symbol_table ? &symbol_table->ht : NULL, NULL TSRMLS_CC);
443 static char *cli_completion_generator_ini(const char *text, int textlen, int *state TSRMLS_DC) /* {{{ */ argument
447 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, EG(ini_directives), NULL TSRMLS_CC);
457 static char *cli_completion_generator_func(const char *text, int textlen, int *state, HashTable *ht TSRMLS_DC) /* {{{ */ argument
460 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&func TSRMLS_CC);
469 static char *cli_completion_generator_class(const char *text, int textlen, int *state TSRMLS_DC) /* {{{ */ argument
472 char *retval = cli_completion_generator_ht(text, textle
481 cli_completion_generator_define(const char *text, int textlen, int *state, HashTable *ht TSRMLS_DC) argument
495 cli_completion_generator(const char *text, int index) argument
575 cli_code_completion(const char *text, int start, int end) argument
[all...]
/PHP_TRUNK/ext/sybase_ct/
H A Dphp_sybase_ct.c414 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_TRUNK/ext/ldap/
H A Dldap.c1210 char *text; local
1219 text = ldap_get_dn(ld->link, resultentry->data);
1220 if (text != NULL) {
1221 RETVAL_STRING(text);
1223 ldap_memfree(text);
1225 free(text);
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c825 xmlNodePtr ret, text; local
898 text = xmlNewTextLen(BAD_CAST(str), new_len);
899 xmlAddChild(ret, text);
910 xmlNodePtr ret, text; local
919 text = xmlNewTextLen(BAD_CAST(str->val), str->len);
920 xmlAddChild(ret, text);
928 text = xmlNewTextLen(BAD_CAST(str->val), str->len);
929 xmlAddChild(ret, text);
943 xmlNodePtr ret, text; local
964 text
1551 xmlNodePtr dummy, text; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_help.h44 char *text; member in struct:_phpdbg_help_text_t
H A Dphpdbg_lexer.c20 #define yytext ((char*) LEX(text))
37 LEX(text) = YYCURSOR = (unsigned char *) input;
45 LEX(text) = YYCURSOR;
157 YYCURSOR = LEX(text);
1173 char *text = yytext + 2; local
1174 while (*++text < '0');
1175 yylval->num = atoi(text);
1273 YYCURSOR = LEX(text);
1351 char *text = yytext + 2; local
1352 while (*++text < '
[all...]
H A Dphpdbg_lexer.h28 unsigned char *text; member in struct:__anon13

Completed in 60 milliseconds

12