Searched refs:chars (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_jit_compile.c3184 static int scan_prefix(compiler_common *common, pcre_uchar *cc, pcre_uint32 *chars, pcre_uint8 *bytes, int max_chars) argument
3266 max_chars = scan_prefix(common, cc + len, chars, bytes, max_chars);
3289 max_chars = scan_prefix(common, alternative + 1 + LINK_SIZE, chars, bytes, max_chars);
3413 chars[0] = mask;
3414 chars[1] = mask;
3420 chars += 2;
3476 if (chars[0] == NOTACHAR && chars[1] == 0)
3478 if (chars[0] == NOTACHAR)
3481 chars[
3521 pcre_uint32 chars[MAX_N_CHARS * 2]; local
[all...]
/PHP_TRUNK/ext/ereg/regex/
H A Dcclass.h4 const unsigned char *chars; member in struct:cclass
H A Dregcomp.c709 /* xxx what about signed chars here... */
744 u = cp->chars;
/PHP_TRUNK/ext/filter/
H A Dsanitizing_filters.c30 static void php_filter_encode_html(zval *value, const unsigned char *chars) argument
42 if (chars[*s]) {
47 /* XXX: this needs to be optimized to work with blocks of 'safe' chars */
66 static void php_filter_encode_url(zval *value, const unsigned char* chars, const int char_len, int high, int low, int encode_nul) argument
70 unsigned char *s = (unsigned char *)chars;
79 /* XXX: This is not needed since these chars in the allowed list never include the high/low/null value
209 /* strip tags, implicitly also removes \0 chars */
322 /* Strip all chars not part of section 5 of
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c73 char chars[127]; local
74 int8_t chars_len = sizeof(chars);
78 chars[0] = 0x1A;
79 chars[1] = 0;
82 RETVAL_STRINGL(chars, chars_len);
93 ucnv_getSubstChars(objval->src, chars, &chars_len, &uerror);
96 chars[0] = 0x1A;
97 chars[1] = 0;
101 RETVAL_STRINGL(chars, chars_len);
576 /* {{{ proto bool UConverter::setSubstChars(string $chars) */
583 char *chars; local
628 char chars[127]; local
[all...]
/PHP_TRUNK/ext/ldap/
H A Dldap.c2534 static void php_ldap_escape_map_set_chars(zend_bool *map, const char *chars, const int charslen, char escape) argument
2538 map[(unsigned char) chars[i++]] = escape;
/PHP_TRUNK/ext/standard/
H A Dscanf.c107 char *chars; member in struct:CharSet
170 cset->chars = (char *) safe_emalloc(sizeof(char), (end - format - 1), 0);
184 cset->chars[cset->nchars++] = *ch;
201 cset->chars[cset->nchars++] = start;
202 cset->chars[cset->nchars++] = *ch;
219 cset->chars[cset->nchars++] = *ch;
248 if (cset->chars[i] == ch) {
283 efree((char *)cset->chars);
H A Dstring.c789 * what indicates which chars are to be trimmed. NULL->default (' \t\n\r\v\0')
1295 /* no other chars left */
2269 * needed to stop that many chars from the end of the string
2364 * needed to stop that many chars from the end of the string
3159 Escapes all chars mentioned in charlist with backslash. It creates octal representations if asked to backslash characters with 8th bit set or with ASCII<32 (except '\n', '\r', '\t' etc...) */
4775 int chars[256]; local
4793 memset((void*) chars, 0, sizeof(chars));
4796 chars[*buf]++;
4808 add_index_long(return_value, inx, chars[in
[all...]

Completed in 28 milliseconds