Searched defs:delim (Results 1 - 8 of 8) 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 TSRM_API 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_TRUNK/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_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c127318 int delim = z[0]; local
142304 char delim[128]; /* flag ASCII delimiters */ member in struct:simple_tokenizer
[all...]
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c1886 char *delim = NULL; /* Additional delimiter argument */ local
1892 zend_bool quote_delim = 0; /* Whether to quote additional delim char */
1897 &delim, &delim_len) == FAILURE) {
1904 Z_PARAM_STRING(delim, delim_len)
1915 if (delim && *delim) {
1916 delim_char = delim[0];
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c1913 char *delim=NIL; local
1933 delim = safe_emalloc(2, sizeof(char), 0);
1940 delim[0] = (char)cur->delimiter;
1941 delim[1] = 0;
1942 add_property_string(&mboxob, "delimiter", delim);
1950 efree(delim);
2229 char *delim=NIL; local
2249 delim = safe_emalloc(2, sizeof(char), 0);
2256 delim[0] = (char)cur->delimiter;
2257 delim[
[all...]
/PHP_TRUNK/main/streams/
H A Dstreams.c986 const char *delim, /* non-empty! */
999 delim[0], seek_len - skiplen);
1002 delim, delim_len,
1007 PHPAPI zend_string *php_stream_get_record(php_stream *stream, size_t maxlen, const char *delim, size_t delim_len) argument
1021 stream, maxlen, 0, delim, delim_len);
1025 /* try to read up to maxlen length bytes while we don't find the delim */
1054 delim, delim_len);
983 _php_stream_search_delim(php_stream *stream, size_t maxlen, size_t skiplen, const char *delim, size_t delim_len) argument
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c2578 char *delim = NULL, *enclo = NULL, *esc = NULL; local
2581 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|sss", &delim, &d_len, &enclo, &e_len, &esc, &esc_len) == SUCCESS) {
2609 delimiter = delim[0];
2625 char *delim = NULL, *enclo = NULL, *esc = NULL; local
2630 if (zend_parse_parameters(ZEND_NUM_ARGS(), "a|sss", &fields, &delim, &d_len, &enclo, &e_len, &esc, &esc_len) == SUCCESS) {
2652 delimiter = delim[0];
2670 char *delim = NULL, *enclo = NULL, *esc = NULL; local
2673 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|sss", &delim, &d_len, &enclo, &e_len, &esc, &esc_len) == SUCCESS) {
2695 delimiter = delim[0];
/PHP_TRUNK/ext/standard/
H A Dstring.c1081 PHPAPI void php_explode(const zend_string *delim, zend_string *str, zval *return_value, zend_long limit) argument
1085 char *p2 = (char *) php_memnstr(ZSTR_VAL(str), ZSTR_VAL(delim), ZSTR_LEN(delim), endp);
1095 p1 = p2 + ZSTR_LEN(delim);
1096 p2 = (char *) php_memnstr(p1, ZSTR_VAL(delim), ZSTR_LEN(delim), endp);
1109 PHPAPI void php_explode_negative_limit(const zend_string *delim, zend_string *str, zval *return_value, zend_long limit) argument
1114 char *p2 = (char *) php_memnstr(ZSTR_VAL(str), ZSTR_VAL(delim), ZSTR_LEN(delim), endp);
1133 positions[found++] = p1 = p2 + ZSTR_LEN(delim);
1153 zend_string *str, *delim; local
1202 php_implode(const zend_string *delim, zval *arr, zval *return_value) argument
1285 zend_string *delim; local
4958 char delim = ',', enc = '"', esc = '\\\\'; local
[all...]

Completed in 167 milliseconds