Searched refs:text (Results 1 - 25 of 46) sorted by relevance

12

/PHP_5_4/ext/phar/tests/files/
H A Dpear2coverage.phar.php125 $output->writeAttribute('type', 'text');
192 $output->writeAttribute('type', 'text/css');
200 $output->text('Aggregate Code Coverage for all tests');
206 $output->text('File ' . $name . ' code coverage');
214 $output->text(str_replace($testpath . '/', '', $testfile));
235 $output->text("\n ");
237 $output->text("\n ");
243 $output->text("\n ");
247 $output->writeAttribute('type', 'text/css');
249 $output->text("\
[all...]
/PHP_5_4/ext/sybase_ct/tests/
H A Dtest.inc13 // {{{ bool sybase_msg_handler(int msgnumber, int severity, int state, int line, string text)
15 function sybase_msg_handler($msgnumber, $severity, $state, $line, $text) {
22 chop($text)
30 // {{{ public static bool static_handler(int msgnumber, int severity, int state, int line, string text)
32 static function static_handler($msgnumber, $severity, $state, $line, $text) {
33 return sybase_msg_handler($msgnumber, $severity, $state, $line, $text);
37 // {{{ public bool static_handler(int msgnumber, int severity, int state, int line, string text)
39 function handler($msgnumber, $severity, $state, $line, $text) {
40 return sybase_msg_handler($msgnumber, $severity, $state, $line, $text);
/PHP_5_4/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 Dxml_to_dandarpc.c91 XMLRPC_SetValueString(xCurrent, el->text.str, el->text.len);
94 XMLRPC_SetValueInt(xCurrent, atoi(el->text.str));
97 XMLRPC_SetValueBoolean(xCurrent, atoi(el->text.str));
100 XMLRPC_SetValueDouble(xCurrent, atof(el->text.str));
103 XMLRPC_SetValueDateTime_ISO8601(xCurrent, el->text.str);
107 base64_decode_xmlrpc(&buf, el->text.str, el->text.len);
150 XMLRPC_RequestSetMethodName(request, el->text.str);
205 simplestring_addn(&elem_val->text, XMLRPC_GetValueStrin
[all...]
H A Dxml_to_xmlrpc.c123 XMLRPC_SetValueString(current_val, el->text.str, el->text.len);
126 XMLRPC_SetValueID_Case(current_val, el->text.str, 0, xmlrpc_case_exact);
129 XMLRPC_SetValueInt(current_val, atoi(el->text.str));
132 XMLRPC_SetValueBoolean(current_val, atoi(el->text.str));
135 XMLRPC_SetValueDouble(current_val, atof(el->text.str));
138 XMLRPC_SetValueDateTime_ISO8601(current_val, el->text.str);
142 base64_decode_xmlrpc(&buf, el->text.str, el->text.len);
161 XMLRPC_RequestSetMethodName(request, el->text
[all...]
H A Dxmlrpc_introspection.c364 xReturn = describeValue_worker(ptype, name, (desc ? desc : (xSubList ? NULL : el->text.str)), optional, def, xSubList);
401 xReturn = XMLRPC_CreateValueString(name, el->text.str, el->text.len);
416 /* or anything at all really, so long as its got some text.
419 else if(el->name && el->text.len) {
420 xReturn = XMLRPC_CreateValueString(el->name, el->text.str, el->text.len);
H A Dxml_to_soap.c346 XMLRPC_SetValueString(xCurrent, el->text.str, el->text.len);
349 XMLRPC_SetValueInt(xCurrent, atoi(el->text.str));
352 XMLRPC_SetValueBoolean(xCurrent, atoi(el->text.str));
356 XMLRPC_SetValueDouble(xCurrent, atof(el->text.str));
362 XMLRPC_SetValueDateTime_ISO8601(xCurrent, el->text.str);
366 base64_decode_xmlrpc(&buf, el->text.str, el->text.len);
501 simplestring_addn(&elem_val->text, XMLRPC_GetValueString(node), XMLRPC_GetValueStringLen(node));
506 simplestring_add(&elem_val->text, bu
[all...]
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;
204 text = buf;
215 XMLRPC_IS_NUMBER(text[i])
216 tm.tm_year += (text[i]-'0')*n;
222 XMLRPC_IS_NUMBER(text[i+4])
223 tm.tm_mon += (text[i+4]-'0')*n;
234 XMLRPC_IS_NUMBER(text[i+6])
235 tm.tm_mday += (text[
[all...]
/PHP_5_4/ext/xmlwriter/examples/
H A Dxmlwriter_oo.php6 $xw->text("example");
/PHP_5_4/scripts/dev/generate-phpt/src/
H A DgtCodeSnippet.php46 $text = file($filename); variable
47 foreach ($text as $t) {
/PHP_5_4/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_5_4/ext/intl/grapheme/
H A Dgrapheme_util.h34 int grapheme_split_string(const UChar *text, int32_t text_length, int boundary_array[], int boundary_array_len TSRMLS_DC );
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_5_4/build/
H A Dshtool479 text="$*"
501 if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%[Bb]'`" != . ]; then
552 if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%[uUgG]'`" != . ]; then
581 if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%U'`" != . ]; then
615 if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%[gG]'`" != . ]; then
646 if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%g'`" != . ]; then
681 if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%h'`" != . ]; then
698 if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%d'`" != . ]; then
723 if [ ".$opt_e" = .yes ] && [ ".`echo $text | grep '%[DMYm]'`" != . ]; then
752 text
[all...]
/PHP_5_4/ext/readline/
H A Dreadline.c434 static char *_readline_command_generator(const char *text, int state) argument
447 if (strncmp (Z_STRVAL_PP(entry), text, strlen(text)) == 0) {
482 static char **_readline_completion_cb(const char *text, int start, int end) argument
489 params[0]=_readline_string_zval(text);
496 matches = rl_completion_matches(text,_readline_command_generator);
H A Dreadline_cli.c409 static char *cli_completion_generator_ht(const char *text, int textlen, int *state, HashTable *ht, void **pData TSRMLS_DC) /* {{{ */ argument
420 if (!textlen || !strncmp(name, text, textlen)) {
435 static char *cli_completion_generator_var(const char *text, int textlen, int *state TSRMLS_DC) /* {{{ */ argument
439 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, EG(active_symbol_table), NULL TSRMLS_CC);
449 static char *cli_completion_generator_ini(const char *text, int textlen, int *state TSRMLS_DC) /* {{{ */ argument
453 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, EG(ini_directives), NULL TSRMLS_CC);
463 static char *cli_completion_generator_func(const char *text, int textlen, int *state, HashTable *ht TSRMLS_DC) /* {{{ */ argument
466 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&func TSRMLS_CC);
475 static char *cli_completion_generator_class(const char *text, int textlen, int *state TSRMLS_DC) /* {{{ */ argument
478 char *retval = cli_completion_generator_ht(text, textle
487 cli_completion_generator_define(const char *text, int textlen, int *state, HashTable *ht TSRMLS_DC) argument
501 cli_completion_generator(const char *text, int index) argument
580 cli_code_completion(const char *text, int start, int end) argument
[all...]
/PHP_5_4/ext/ctype/
H A Dctype.c49 ZEND_ARG_INFO(0, text)
53 ZEND_ARG_INFO(0, text)
57 ZEND_ARG_INFO(0, text)
61 ZEND_ARG_INFO(0, text)
65 ZEND_ARG_INFO(0, text)
69 ZEND_ARG_INFO(0, text)
73 ZEND_ARG_INFO(0, text)
77 ZEND_ARG_INFO(0, text)
81 ZEND_ARG_INFO(0, text)
85 ZEND_ARG_INFO(0, text)
[all...]
/PHP_5_4/ext/imap/
H A Dphp_imap.c88 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
2461 char *text, *decode; local
2484 char *text, *decode; local
2507 char *text, *decode; local
2530 char *text, *decode; local
4216 char *str, *string, *charset, encoding, *text, *decode; local
[all...]
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_5_4/ext/oci8/
H A Doci8_collection.c66 (text *) schema,
68 (text *) tdo,
70 (CONST text *) 0,
310 PHP_OCI_CALL_RETURN(connection->errcode, OCIDateFromText, (connection->err, (CONST text *)date, date_len, NULL, 0, NULL, 0, &oci_date));
521 text *str;
597 PHP_OCI_CALL_RETURN(connection->errcode, OCIDateFromText, (connection->err, (CONST text *)date, date_len, NULL, 0, NULL, 0, &oci_date));
H A Doci8_statement.c65 (text *)query,
239 column->data = (text *) ecalloc(1, PHP_OCI_PIECE_SIZE + 1);
411 text *colname;
676 buf = outcol->data = (text *) safe_emalloc(1, outcol->storage_size4, 0);
965 /* int curr_element_length = strlen(((text *)bind->array.elements)+i*bind->array.max_length); */
969 ZVAL_STRINGL(*entry, (char *)(((text *)bind->array.elements)+i*bind->array.max_length), curr_element_length, 1);
972 add_next_index_stringl(bind->zval, (char *)(((text *)bind->array.elements)+i*bind->array.max_length), curr_element_length, 1);
1126 (text*) name, /* placeholder name */
1479 (text *)name,
1527 bind->array.elements = (text *)safe_emallo
[all...]
/PHP_5_4/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...]
/PHP_5_4/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_5_4/ext/standard/
H A Dstring.c878 const char *text, *breakchar = "\n"; local
886 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lsb", &text, &textlen, &linelength, &breakchar, &breakcharlen, &docut) == FAILURE) {
907 newtext = estrndup(text, textlen);
911 if (text[current] == breakchar[0]) {
913 } else if (text[current] == ' ') {
938 /* now keep track of the actual new text length */
950 if (text[current] == breakchar[0]
952 && !strncmp(text+current, breakchar, breakcharlen)) {
953 memcpy(newtext+newtextlen, text+laststart, current-laststart+breakcharlen);
961 else if (text[curren
3025 php_strtr_array_prepare(STR *text, PATNREPL *patterns, int patnum, int B, int Bp) argument
3098 php_strtr_array_do_repl(STR *text, PPRES *d, zval *return_value) argument
3156 STR text; local
[all...]

Completed in 52 milliseconds

12