/PHP-5.6/TSRM/ |
H A D | tsrm_strtok_r.c | 6 static inline int in_character_class(char ch, const char *delim) in in_character_class() argument 8 while (*delim) { in in_character_class() 9 if (*delim == ch) { in in_character_class() 12 delim++; in in_character_class() 17 char *tsrm_strtok_r(char *s, const char *delim, char **last) in tsrm_strtok_r() argument 25 while (*s && in_character_class(*s, delim)) { in tsrm_strtok_r() 34 while (*s && !in_character_class(*s, delim)) { in tsrm_strtok_r()
|
H A D | tsrm_strtok_r.h | 4 char *tsrm_strtok_r(char *s, const char *delim, char **last);
|
/PHP-5.6/ext/standard/tests/file/ |
H A D | bug43522.phpt | 11 function DoTest($fp, $delim) { 12 echo "Delimiter: " . $delim . "\n"; 14 echo "\t" . stream_get_line($fp, 10, $delim) . "\n"; 15 echo "\t" . stream_get_line($fp, 10, $delim) . "\n";
|
H A D | fgetcsv_error.phpt | 19 $delim = ";"; 22 var_dump( fgetcsv($fp, $len, $delim, $enclosure, $escape, $fp) ); 39 …var_dump( fgetcsv($invalid_args[$loop_counter - 1], $len, $delim, $enclosure, $escape) ); // all a…
|
H A D | fputcsv_error.phpt | 20 $delim = ";"; 22 var_dump( fputcsv($fp, $fields, $delim, $enclosure, $fp) ); 39 …var_dump( fputcsv($invalid_args[$loop_counter - 1], $fields, $delim, $enclosure) ); // all args sp…
|
/PHP-5.6/ext/spl/tests/ |
H A D | SplFileObject_fputcsv_error.phpt | 15 $delim = ";"; 18 var_dump( $fo->fputcsv($fields, $delim, $enclosure, $escape, $fo) );
|
/PHP-5.6/main/ |
H A D | php_reentrancy.h | 105 PHPAPI char *php_strtok_r(char *s, const char *delim, char **last); 109 char *strtok_r(char *s, const char *delim, char **last);
|
H A D | reentrancy.c | 380 php_strtok_r(char *s, const char *delim, char **last) in php_strtok_r() argument 396 for (spanp = (char *)delim; (sc = *spanp++) != 0; ) in php_strtok_r() 418 spanp = (char *)delim; in php_strtok_r()
|
H A D | php.h | 141 char *strtok_r(char *s, const char *delim, char **last);
|
H A D | php_streams.h | 328 …cord(php_stream *stream, size_t maxlen, size_t *returned_len, const char *delim, size_t delim_len …
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | explode_variation6.phpt | 33 function test_explode($delim, $string, $limit) 35 $e = explode($delim, $string, $limit);
|
/PHP-5.6/ext/standard/ |
H A D | php_string.h | 140 PHPAPI void php_implode(zval *delim, zval *arr, zval *return_value TSRMLS_DC); 141 PHPAPI void php_explode(zval *delim, zval *str, zval *return_value, long limit);
|
H A D | string.c | 1036 p2 = php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp); in php_explode() 1044 } while ((p2 = php_memnstr(p1, Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp)) != NULL && in php_explode() 1063 p2 = php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp); in php_explode_negative_limit() 1082 } while ((p2 = php_memnstr(p1, Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp)) != NULL); in php_explode_negative_limit() 1102 char *str, *delim; in PHP_FUNCTION() local 1212 smart_str_appendl(&implstr, Z_STRVAL_P(delim), Z_STRLEN_P(delim)); in php_implode() 1243 MAKE_STD_ZVAL(delim); in PHP_FUNCTION() 1253 delim = *arg2; in PHP_FUNCTION() 1257 delim = *arg1; in PHP_FUNCTION() 1267 FREE_ZVAL(delim); in PHP_FUNCTION() [all …]
|
/PHP-5.6/ext/pgsql/ |
H A D | README | 146 [, string delim [, string null_as]]) 149 [, string delim [, string null_as]])
|
/PHP-5.6/main/streams/ |
H A D | streams.c | 1004 const char *delim, /* non-empty! */ in _php_stream_search_delim() argument 1017 delim[0], seek_len - skiplen); in _php_stream_search_delim() 1020 delim, delim_len, in _php_stream_search_delim() 1025 …cord(php_stream *stream, size_t maxlen, size_t *returned_len, const char *delim, size_t delim_len … in php_stream_get_record() argument 1039 stream, maxlen, 0, delim, delim_len TSRMLS_CC); in php_stream_get_record() 1072 delim, delim_len TSRMLS_CC); in php_stream_get_record()
|
/PHP-5.6/ext/pcre/ |
H A D | php_pcre.c | 1743 char *delim = NULL; /* Additional delimiter argument */ in PHP_FUNCTION() local 1753 &delim, &delim_len) == FAILURE) { in PHP_FUNCTION() 1764 if (delim && *delim) { in PHP_FUNCTION() 1765 delim_char = delim[0]; in PHP_FUNCTION()
|
/PHP-5.6/ext/spl/ |
H A D | spl_directory.c | 2609 char *delim = NULL, *enclo = NULL, *esc = NULL; in SPL_METHOD() local 2612 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sss", &delim, &d_len, &enclo, &e_len, &esc,… in SPL_METHOD() 2640 delimiter = delim[0]; in SPL_METHOD() 2656 char *delim = NULL, *enclo = NULL, *esc = NULL; in SPL_METHOD() local 2660 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|sss", &fields, &delim, &d_len, &enclo, &e_… in SPL_METHOD() 2682 delimiter = delim[0]; in SPL_METHOD() 2700 char *delim = NULL, *enclo = NULL, *esc = NULL; in SPL_METHOD() local 2703 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sss", &delim, &d_len, &enclo, &e_len, &esc,… in SPL_METHOD() 2725 delimiter = delim[0]; in SPL_METHOD()
|
/PHP-5.6/ext/imap/ |
H A D | php_imap.c | 1903 char *delim=NIL; in PHP_FUNCTION() local 1921 delim = emalloc(2); in PHP_FUNCTION() 1929 delim[0] = (char)cur->delimiter; in PHP_FUNCTION() 1930 delim[1] = 0; in PHP_FUNCTION() 1931 add_property_string(mboxob, "delimiter", delim, 1); in PHP_FUNCTION() 1939 efree(delim); in PHP_FUNCTION() 2209 char *delim=NIL; in PHP_FUNCTION() local 2227 delim = emalloc(2); in PHP_FUNCTION() 2235 delim[0] = (char)cur->delimiter; in PHP_FUNCTION() 2236 delim[1] = 0; in PHP_FUNCTION() [all …]
|
/PHP-5.6/ext/phar/ |
H A D | phar.c | 2085 static inline int in_character_class(char ch, const char *delim) /* {{{ */ argument 2087 while (*delim) { 2088 if (*delim == ch) { 2091 ++delim; 2097 char *tsrm_strtok_r(char *s, const char *delim, char **last) /* {{{ */ argument 2105 while (*s && in_character_class(*s, delim)) { 2115 while (*s && !in_character_class(*s, delim)) {
|
H A D | phar_internal.h | 511 char *tsrm_strtok_r(char *s, const char *delim, char **last);
|
/PHP-5.6/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 127318 int delim = z[0]; 127319 testcase( delim=='`' ); 127320 testcase( delim=='\'' ); 127321 testcase( delim=='"' ); 127323 if( c==delim ){ 127324 if( z[i+1]==delim ){ 142304 char delim[128]; /* flag ASCII delimiters */ 142319 return c<0x80 && t->delim[c]; 142352 t->delim[ch] = 1; 142358 t->delim[i] = !fts3_isalnum(i) ? -1 : 0;
|