Searched defs:delim (Results 1 - 9 of 9) sorted by relevance

/PHP_5_4/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)) {
/PHP_5_4/ext/sqlite3/libsqlite/
H A Dsqlite3.c107254 int delim = z[0]; local
119422 char delim[128]; /* flag ASCII delimiters */ member in struct:simple_tokenizer
[all...]
/PHP_5_4/ext/phar/
H A Dphar.c2097 static inline int in_character_class(char ch, const char *delim) /* {{{ */ argument
2099 while (*delim) {
2100 if (*delim == ch) {
2103 ++delim;
2109 char *tsrm_strtok_r(char *s, const char *delim, char **last) /* {{{ */ argument
2117 while (*s && in_character_class(*s, delim)) {
2127 while (*s && !in_character_class(*s, delim)) {
/PHP_5_4/main/
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_5_4/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_4/ext/spl/
H A Dspl_directory.c2588 char *delim = NULL, *enclo = NULL, *esc = NULL; local
2591 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sss", &delim, &d_len, &enclo, &e_len, &esc, &esc_len) == SUCCESS) {
2613 delimiter = delim[0];
2629 char *delim = NULL, *enclo = NULL; local
2633 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|ss", &fields, &delim, &d_len, &enclo, &e_len) == SUCCESS) {
2648 delimiter = delim[0];
2666 char *delim = NULL, *enclo = NULL, *esc = NULL; local
2669 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sss", &delim, &d_len, &enclo, &e_len, &esc, &esc_len) == SUCCESS) {
2691 delimiter = delim[0];
/PHP_5_4/ext/standard/
H A Dstring.c1015 PHPAPI void php_explode(zval *delim, zval *str, zval *return_value, long limit) argument
1022 p2 = php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp);
1029 p1 = p2 + Z_STRLEN_P(delim);
1030 } while ((p2 = php_memnstr(p1, Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp)) != NULL &&
1041 PHPAPI void php_explode_negative_limit(zval *delim, zval *str, zval *return_value, long limit) argument
1049 p2 = php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp);
1067 positions[found++] = p1 = p2 + Z_STRLEN_P(delim);
1088 char *str, *delim; local
1129 php_implode(zval *delim, zval *arr, zval *return_value TSRMLS_DC) argument
1217 zval **arg1 = NULL, **arg2 = NULL, *delim, *arr; local
4909 char *str, delim = ',', enc = '"', esc = '\\\\'; local
[all...]
/PHP_5_4/main/streams/
H A Dstreams.c1009 char *delim, /* non-empty! */
1022 delim[0], seek_len - skiplen);
1025 delim, delim_len,
1030 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
1044 stream, maxlen, 0, delim, delim_len TSRMLS_CC);
1048 /* try to read up to maxlen length bytes while we don't find the delim */
1077 delim, delim_len TSRMLS_CC);
1006 _php_stream_search_delim(php_stream *stream, size_t maxlen, size_t skiplen, char *delim, size_t delim_len TSRMLS_DC) argument
/PHP_5_4/ext/pcre/
H A Dphp_pcre.c1656 char *delim = NULL; /* Additional delimiter argument */ local
1662 zend_bool quote_delim = 0; /* Whether to quote additional delim char */
1666 &delim, &delim_len) == FAILURE) {
1677 if (delim && *delim) {
1678 delim_char = delim[0];

Completed in 146 milliseconds