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

/PHP_TRUNK/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_TRUNK/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_TRUNK/ext/phar/
H A Dphar.c2077 static inline int in_character_class(char ch, const char *delim) /* {{{ */ argument
2079 while (*delim) {
2080 if (*delim == ch) {
2083 ++delim;
2089 char *tsrm_strtok_r(char *s, const char *delim, char **last) /* {{{ */ argument
2097 while (*s && in_character_class(*s, delim)) {
2107 while (*s && !in_character_class(*s, delim)) {
H A Dphar_internal.h501 char *tsrm_strtok_r(char *s, const char *delim, char **last);
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c2580 char *delim = NULL, *enclo = NULL, *esc = NULL; local
2583 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sss", &delim, &d_len, &enclo, &e_len, &esc, &esc_len) == SUCCESS) {
2611 delimiter = delim[0];
2627 char *delim = NULL, *enclo = NULL; local
2632 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|ss", &fields, &delim, &d_len, &enclo, &e_len) == SUCCESS) {
2647 delimiter = delim[0];
2665 char *delim = NULL, *enclo = NULL, *esc = NULL; local
2668 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sss", &delim, &d_len, &enclo, &e_len, &esc, &esc_len) == SUCCESS) {
2690 delimiter = delim[0];
/PHP_TRUNK/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, zend_long limit);
H A Dstring.c1016 PHPAPI void php_explode(zval *delim, zval *str, zval *return_value, zend_long limit) argument
1023 p2 = (char*)php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp);
1030 p1 = p2 + Z_STRLEN_P(delim);
1031 } while ((p2 = (char*)php_memnstr(p1, Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp)) != NULL &&
1042 PHPAPI void php_explode_negative_limit(zval *delim, zval *str, zval *return_value, zend_long limit) argument
1050 p2 = (char*)php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp);
1068 positions[found++] = p1 = p2 + Z_STRLEN_P(delim);
1087 zend_string *str, *delim; local
1136 php_implode(zval *delim, zval *arr, zval *return_value TSRMLS_DC) argument
1208 zval *arg1 = NULL, *arg2 = NULL, *delim, *arr, tmp; local
4700 char delim = ',', enc = '"', esc = '\\\\'; local
[all...]
/PHP_TRUNK/main/
H A Dphp.h141 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 Dphp_streams.h326 PHPAPI zend_string *php_stream_get_record(php_stream *stream, size_t maxlen, const char *delim, size_t delim_len TSRMLS_DC);
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;
/PHP_TRUNK/main/streams/
H A Dstreams.c1008 const char *delim, /* non-empty! */
1021 delim[0], seek_len - skiplen);
1024 delim, delim_len,
1029 PHPAPI zend_string *php_stream_get_record(php_stream *stream, size_t maxlen, const char *delim, size_t delim_len TSRMLS_DC) argument
1043 stream, maxlen, 0, delim, delim_len TSRMLS_CC);
1047 /* try to read up to maxlen length bytes while we don't find the delim */
1076 delim, delim_len TSRMLS_CC);
1005 _php_stream_search_delim(php_stream *stream, size_t maxlen, size_t skiplen, const char *delim, size_t delim_len TSRMLS_DC) argument
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c1886 char *delim=NIL; local
1904 delim = safe_emalloc(2, sizeof(char), 0);
1911 delim[0] = (char)cur->delimiter;
1912 delim[1] = 0;
1913 add_property_string(&mboxob, "delimiter", delim);
1921 efree(delim);
2191 char *delim=NIL; local
2209 delim = safe_emalloc(2, sizeof(char), 0);
2216 delim[0] = (char)cur->delimiter;
2217 delim[
[all...]
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c1771 char *delim = NULL; /* Additional delimiter argument */ local
1777 zend_bool quote_delim = 0; /* Whether to quote additional delim char */
1782 &delim, &delim_len) == FAILURE) {
1789 Z_PARAM_STRING(delim, delim_len)
1800 if (delim && *delim) {
1801 delim_char = delim[0];

Completed in 197 milliseconds