Home
last modified time | relevance | path

Searched refs:delim (Results 1 – 20 of 20) sorted by relevance

/PHP-7.1/TSRM/
H A Dtsrm_strtok_r.c6 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 TSRM_API 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 Dtsrm_strtok_r.h6 TSRM_API char *tsrm_strtok_r(char *s, const char *delim, char **last);
/PHP-7.1/ext/standard/tests/file/
H A Dbug43522.phpt11 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 Dfputcsv_error.phpt20 $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…
H A Dfgetcsv_error.phpt19 $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…
/PHP-7.1/ext/spl/tests/
H A DSplFileObject_fputcsv_error.phpt15 $delim = ";";
18 var_dump( $fo->fputcsv($fields, $delim, $enclosure, $escape, $fo) );
/PHP-7.1/main/
H A Dphp_reentrancy.h105 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 Dreentrancy.c380 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 Dphp.h141 char *strtok_r(char *s, const char *delim, char **last);
H A Dphp_streams.h337 PHPAPI zend_string *php_stream_get_record(php_stream *stream, size_t maxlen, const char *delim, siz…
/PHP-7.1/ext/standard/tests/strings/
H A Dexplode_variation6.phpt33 function test_explode($delim, $string, $limit)
35 $e = explode($delim, $string, $limit);
/PHP-7.1/ext/standard/
H A Dphp_string.h138 PHPAPI void php_implode(const zend_string *delim, zval *arr, zval *return_value);
139 PHPAPI void php_explode(const zend_string *delim, zend_string *str, zval *return_value, zend_long l…
H A Dstring.c1079 char *p2 = (char *) php_memnstr(ZSTR_VAL(str), ZSTR_VAL(delim), ZSTR_LEN(delim), endp); in php_explode()
1090 p2 = (char *) php_memnstr(p1, ZSTR_VAL(delim), ZSTR_LEN(delim), endp); in php_explode()
1128 p2 = (char *) php_memnstr(p1, ZSTR_VAL(delim), ZSTR_LEN(delim), endp); in php_explode_negative_limit()
1147 zend_string *str, *delim; in PHP_FUNCTION() local
1152 Z_PARAM_STR(delim) in PHP_FUNCTION()
1158 if (ZSTR_LEN(delim) == 0) { in PHP_FUNCTION()
1249 cptr -= ZSTR_LEN(delim); in php_implode()
1250 memcpy(cptr, ZSTR_VAL(delim), ZSTR_LEN(delim)); in php_implode()
1273 zend_string *delim; in PHP_FUNCTION() local
1303 zend_string_release(delim); in PHP_FUNCTION()
[all …]
/PHP-7.1/ext/pgsql/
H A DREADME146 [, string delim [, string null_as]])
149 [, string delim [, string null_as]])
/PHP-7.1/main/streams/
H A Dstreams.c987 const char *delim, /* non-empty! */ in _php_stream_search_delim() argument
1000 delim[0], seek_len - skiplen); in _php_stream_search_delim()
1003 delim, delim_len, in _php_stream_search_delim()
1008 PHPAPI zend_string *php_stream_get_record(php_stream *stream, size_t maxlen, const char *delim, siz… in php_stream_get_record() argument
1022 stream, maxlen, 0, delim, delim_len); in php_stream_get_record()
1055 delim, delim_len); in php_stream_get_record()
/PHP-7.1/ext/spl/
H A Dspl_directory.c2577 char *delim = NULL, *enclo = NULL, *esc = NULL; in SPL_METHOD() local
2580 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "|sss", &delim, &d_len, &enclo, &e_len, &esc, &esc_len)… in SPL_METHOD()
2608 delimiter = delim[0]; in SPL_METHOD()
2624 char *delim = NULL, *enclo = NULL, *esc = NULL; in SPL_METHOD() local
2629 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "a|sss", &fields, &delim, &d_len, &enclo, &e_len, &esc,… in SPL_METHOD()
2651 delimiter = delim[0]; in SPL_METHOD()
2669 char *delim = NULL, *enclo = NULL, *esc = NULL; in SPL_METHOD() local
2672 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "|sss", &delim, &d_len, &enclo, &e_len, &esc, &esc_len)… in SPL_METHOD()
2694 delimiter = delim[0]; in SPL_METHOD()
/PHP-7.1/ext/pcre/
H A Dphp_pcre.c1958 char *delim = NULL; /* Additional delimiter argument */ in PHP_FUNCTION() local
1970 Z_PARAM_STRING(delim, delim_len) in PHP_FUNCTION()
1980 if (delim && *delim) { in PHP_FUNCTION()
1981 delim_char = delim[0]; in PHP_FUNCTION()
/PHP-7.1/ext/imap/
H A Dphp_imap.c1930 char *delim=NIL; in PHP_FUNCTION() local
1950 delim = safe_emalloc(2, sizeof(char), 0); in PHP_FUNCTION()
1957 delim[0] = (char)cur->delimiter; in PHP_FUNCTION()
1958 delim[1] = 0; in PHP_FUNCTION()
1959 add_property_string(&mboxob, "delimiter", delim); in PHP_FUNCTION()
1967 efree(delim); in PHP_FUNCTION()
2246 char *delim=NIL; in PHP_FUNCTION() local
2266 delim = safe_emalloc(2, sizeof(char), 0); in PHP_FUNCTION()
2273 delim[0] = (char)cur->delimiter; in PHP_FUNCTION()
2274 delim[1] = 0; in PHP_FUNCTION()
[all …]
/PHP-7.1/ext/phar/
H A Dphar_internal.h484 char *tsrm_strtok_r(char *s, const char *delim, char **last);
/PHP-7.1/ext/sqlite3/libsqlite/
H A Dsqlite3.c153751 int delim = z[0];
153752 testcase( delim=='`' );
153753 testcase( delim=='\'' );
153754 testcase( delim=='"' );
153756 if( c==delim ){
153757 if( z[i+1]==delim ){
169720 char delim[128]; /* flag ASCII delimiters */
169735 return c<0x80 && t->delim[c];
169768 t->delim[ch] = 1;
169774 t->delim[i] = !fts3_isalnum(i) ? -1 : 0;

Completed in 570 milliseconds