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

/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/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/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...]
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c1884 char *delim=NIL; local
1902 delim = safe_emalloc(2, sizeof(char), 0);
1909 delim[0] = (char)cur->delimiter;
1910 delim[1] = 0;
1911 add_property_string(&mboxob, "delimiter", delim);
1919 efree(delim);
2189 char *delim=NIL; local
2207 delim = safe_emalloc(2, sizeof(char), 0);
2214 delim[0] = (char)cur->delimiter;
2215 delim[
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c2579 char *delim = NULL, *enclo = NULL, *esc = NULL; local
2582 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|sss", &delim, &d_len, &enclo, &e_len, &esc, &esc_len) == SUCCESS) {
2610 delimiter = delim[0];
2626 char *delim = NULL, *enclo = NULL, *esc = NULL; local
2631 if (zend_parse_parameters(ZEND_NUM_ARGS(), "a|sss", &fields, &delim, &d_len, &enclo, &e_len, &esc, &esc_len) == SUCCESS) {
2653 delimiter = delim[0];
2671 char *delim = NULL, *enclo = NULL, *esc = NULL; local
2674 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|sss", &delim, &d_len, &enclo, &e_len, &esc, &esc_len) == SUCCESS) {
2696 delimiter = delim[0];
/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) argument
1043 stream, maxlen, 0, delim, delim_len);
1047 /* try to read up to maxlen length bytes while we don't find the delim */
1076 delim, delim_len);
1005 _php_stream_search_delim(php_stream *stream, size_t maxlen, size_t skiplen, const char *delim, size_t delim_len) argument
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c1762 char *delim = NULL; /* Additional delimiter argument */ local
1768 zend_bool quote_delim = 0; /* Whether to quote additional delim char */
1773 &delim, &delim_len) == FAILURE) {
1780 Z_PARAM_STRING(delim, delim_len)
1791 if (delim && *delim) {
1792 delim_char = delim[0];
/PHP_TRUNK/ext/standard/
H A Dstring.c1026 PHPAPI void php_explode(const zend_string *delim, zend_string *str, zval *return_value, zend_long limit) argument
1030 char *p2 = (char *) php_memnstr(str->val, delim->val, delim->len, endp);
1037 p1 = p2 + delim->len;
1038 p2 = (char *) php_memnstr(p1, delim->val, delim->len, endp);
1050 PHPAPI void php_explode_negative_limit(const zend_string *delim, zend_string *str, zval *return_value, zend_long limit) argument
1055 char *p2 = (char *) php_memnstr(str->val, delim->val, delim->len, endp);
1073 positions[found++] = p1 = p2 + delim
1093 zend_string *str, *delim; local
1139 php_implode(const zend_string *delim, zval *arr, zval *return_value) argument
1212 zend_string *delim; local
4702 char delim = ',', enc = '"', esc = '\\\\'; local
[all...]

Completed in 181 milliseconds