Searched refs:delim (Results 1 - 15 of 15) sorted by relevance

/PHP_5_5/TSRM/
H A Dtsrm_strtok_r.c6 static inline int in_character_class(char ch, const char *delim) argument
8 while (*delim) {
9 if (*delim == ch) {
12 delim++;
17 char *tsrm_strtok_r(char *s, const char *delim, char **last) argument
25 while (*s && in_character_class(*s, delim)) {
34 while (*s && !in_character_class(*s, delim)) {
H A Dtsrm_strtok_r.h4 char *tsrm_strtok_r(char *s, const char *delim, char **last);
/PHP_5_5/ext/phar/
H A Dphar_internal.h534 char *tsrm_strtok_r(char *s, const char *delim, char **last);
H A Dphar.c2095 static inline int in_character_class(char ch, const char *delim) /* {{{ */ argument
2097 while (*delim) {
2098 if (*delim == ch) {
2101 ++delim;
2107 char *tsrm_strtok_r(char *s, const char *delim, char **last) /* {{{ */ argument
2115 while (*s && in_character_class(*s, delim)) {
2125 while (*s && !in_character_class(*s, delim)) {
/PHP_5_5/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.c1026 PHPAPI void php_explode(zval *delim, zval *str, zval *return_value, long limit) argument
1033 p2 = php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp);
1040 p1 = p2 + Z_STRLEN_P(delim);
1041 } while ((p2 = php_memnstr(p1, Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp)) != NULL &&
1052 PHPAPI void php_explode_negative_limit(zval *delim, zval *str, zval *return_value, long limit) argument
1060 p2 = php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp);
1078 positions[found++] = p1 = p2 + Z_STRLEN_P(delim);
1099 char *str, *delim; local
1140 php_implode(zval *delim, zval *arr, zval *return_value TSRMLS_DC) argument
1228 zval **arg1 = NULL, **arg2 = NULL, *delim, *arr; local
4870 char *str, delim = ',', enc = '"', esc = '\\\\'; local
[all...]
/PHP_5_5/main/
H A Dphp.h140 char *strtok_r(char *s, const char *delim, char **last);
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) argument
392 * Skip (span) leading delimiters (s += strspn(s, delim), sort of).
396 for (spanp = (char *)delim; (sc = *spanp++) != 0; )
412 * Scan token (scan for delimiters: s += strcspn(s, delim), sort of).
413 * Note that delim must have one NUL; we stop if we see that, too.
418 spanp = (char *)delim;
H A Dphp_streams.h328 PHPAPI char *php_stream_get_record(php_stream *stream, size_t maxlen, size_t *returned_len, char *delim, size_t delim_len TSRMLS_DC);
/PHP_5_5/ext/imap/
H A Dphp_imap.c1884 char *delim=NIL; local
1902 delim = safe_emalloc(2, sizeof(char), 0);
1910 delim[0] = (char)cur->delimiter;
1911 delim[1] = 0;
1912 add_property_string(mboxob, "delimiter", delim, 1);
1920 efree(delim);
2190 char *delim=NIL; local
2208 delim = safe_emalloc(2, sizeof(char), 0);
2216 delim[0] = (char)cur->delimiter;
2217 delim[
[all...]
/PHP_5_5/main/streams/
H A Dstreams.c1004 char *delim, /* non-empty! */
1017 delim[0], seek_len - skiplen);
1020 delim, delim_len,
1025 PHPAPI char *php_stream_get_record(php_stream *stream, size_t maxlen, size_t *returned_len, char *delim, size_t delim_len TSRMLS_DC) argument
1039 stream, maxlen, 0, delim, delim_len TSRMLS_CC);
1043 /* try to read up to maxlen length bytes while we don't find the delim */
1072 delim, delim_len TSRMLS_CC);
1001 _php_stream_search_delim(php_stream *stream, size_t maxlen, size_t skiplen, char *delim, size_t delim_len TSRMLS_DC) argument
/PHP_5_5/ext/pcre/
H A Dphp_pcre.c1660 char *delim = NULL; /* Additional delimiter argument */ local
1666 zend_bool quote_delim = 0; /* Whether to quote additional delim char */
1670 &delim, &delim_len) == FAILURE) {
1681 if (delim && *delim) {
1682 delim_char = delim[0];
/PHP_5_5/ext/spl/
H A Dspl_directory.c2583 char *delim = NULL, *enclo = NULL, *esc = NULL; local
2586 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sss", &delim, &d_len, &enclo, &e_len, &esc, &esc_len) == SUCCESS) {
2608 delimiter = delim[0];
2624 char *delim = NULL, *enclo = NULL, *esc = NULL; local
2628 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|sss", &fields, &delim, &d_len, &enclo, &e_len, &esc, &esc_len) == SUCCESS) {
2650 delimiter = delim[0];
2668 char *delim = NULL, *enclo = NULL, *esc = NULL; local
2671 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sss", &delim, &d_len, &enclo, &e_len, &esc, &esc_len) == SUCCESS) {
2693 delimiter = delim[0];
/PHP_5_5/ext/sqlite3/libsqlite/
H A Dsqlite3.c124293 int delim = z[0]; local
138850 char delim[128]; /* flag ASCII delimiters */ member in struct:simple_tokenizer
[all...]

Completed in 266 milliseconds