Home
last modified time | relevance | path

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

/PHP-5.6/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 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.h4 char *tsrm_strtok_r(char *s, const char *delim, char **last);
/PHP-5.6/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 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…
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…
/PHP-5.6/ext/spl/tests/
H A DSplFileObject_fputcsv_error.phpt15 $delim = ";";
18 var_dump( $fo->fputcsv($fields, $delim, $enclosure, $escape, $fo) );
/PHP-5.6/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.h328 …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 Dexplode_variation6.phpt33 function test_explode($delim, $string, $limit)
35 $e = explode($delim, $string, $limit);
/PHP-5.6/ext/standard/
H A Dphp_string.h140 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 Dstring.c1036 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 DREADME146 [, string delim [, string null_as]])
149 [, string delim [, string null_as]])
/PHP-5.6/main/streams/
H A Dstreams.c1004 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 Dphp_pcre.c1743 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 Dspl_directory.c2609 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 Dphp_imap.c1903 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 Dphar.c2085 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 Dphar_internal.h511 char *tsrm_strtok_r(char *s, const char *delim, char **last);
/PHP-5.6/ext/sqlite3/libsqlite/
H A Dsqlite3.c127318 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;

Completed in 590 milliseconds