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

/PHP_5_6/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_6/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_6/ext/phar/
H A Dphar.c2073 static inline int in_character_class(char ch, const char *delim) /* {{{ */ argument
2075 while (*delim) {
2076 if (*delim == ch) {
2079 ++delim;
2085 char *tsrm_strtok_r(char *s, const char *delim, char **last) /* {{{ */ argument
2093 while (*s && in_character_class(*s, delim)) {
2103 while (*s && !in_character_class(*s, delim)) {
H A Dphar_internal.h509 char *tsrm_strtok_r(char *s, const char *delim, char **last);
/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.c1011 PHPAPI void php_explode(zval *delim, zval *str, zval *return_value, long limit) argument
1018 p2 = php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp);
1025 p1 = p2 + Z_STRLEN_P(delim);
1026 } while ((p2 = php_memnstr(p1, Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp)) != NULL &&
1037 PHPAPI void php_explode_negative_limit(zval *delim, zval *str, zval *return_value, long limit) argument
1045 p2 = php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp);
1063 positions[found++] = p1 = p2 + Z_STRLEN_P(delim);
1084 char *str, *delim; local
1125 php_implode(zval *delim, zval *arr, zval *return_value TSRMLS_DC) argument
1213 zval **arg1 = NULL, **arg2 = NULL, *delim, *arr; local
4855 char *str, delim = ',', enc = '"', esc = '\\\\'; local
[all...]
/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) 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.h141 char *strtok_r(char *s, const char *delim, char **last);
H A Dphp_streams.h328 PHPAPI char *php_stream_get_record(php_stream *stream, size_t maxlen, size_t *returned_len, const char *delim, size_t delim_len TSRMLS_DC);
/PHP_5_6/ext/pcre/
H A Dphp_pcre.c1698 char *delim = NULL; /* Additional delimiter argument */ local
1704 zend_bool quote_delim = 0; /* Whether to quote additional delim char */
1708 &delim, &delim_len) == FAILURE) {
1719 if (delim && *delim) {
1720 delim_char = delim[0];
/PHP_5_6/ext/sqlite3/libsqlite/
H A Dsqlite3.c119378 int delim = z[0]; local
133831 char delim[128]; /* flag ASCII delimiters */ member in struct:simple_tokenizer
[all...]
/PHP_5_6/ext/spl/
H A Dspl_directory.c2606 char *delim = NULL, *enclo = NULL, *esc = NULL; local
2609 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sss", &delim, &d_len, &enclo, &e_len, &esc, &esc_len) == SUCCESS) {
2637 delimiter = delim[0];
2653 char *delim = NULL, *enclo = NULL; local
2657 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|ss", &fields, &delim, &d_len, &enclo, &e_len) == SUCCESS) {
2672 delimiter = delim[0];
2690 char *delim = NULL, *enclo = NULL, *esc = NULL; local
2693 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sss", &delim, &d_len, &enclo, &e_len, &esc, &esc_len) == SUCCESS) {
2715 delimiter = delim[0];
/PHP_5_6/main/streams/
H A Dstreams.c1004 const 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, const 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, const char *delim, size_t delim_len TSRMLS_DC) argument

Completed in 200 milliseconds