c 47 TSRM/tsrm_nw.c #define tsrm_strtok_r(a,b,c) strtok((a),(b)) c 272 Zend/zend.h #define ZEND_PUTC(c) zend_write(&(c), 1) c 502 Zend/zend_API.c char c = *spec_walk++; c 520 Zend/zend_API.c switch (c) { c 531 Zend/zend_API.c if (!zend_parse_arg_long(arg, p, is_null, check_null, c == 'L')) { c 620 Zend/zend_API.c if (!zend_parse_arg_array(arg, p, check_null, c == 'A')) { c 631 Zend/zend_API.c if (!zend_parse_arg_array_ht(arg, p, check_null, c == 'H')) { c 738 Zend/zend_API.c ZEND_ASSERT(c != 'Z'); c 807 Zend/zend_API.c int c, i; c 818 Zend/zend_API.c c = *spec_walk; c 819 Zend/zend_API.c switch (c) { c 851 Zend/zend_API.c if (c == '+') { c 561 Zend/zend_ast.c unsigned char c = ZSTR_VAL(s)[i]; c 562 Zend/zend_ast.c if (c == '\'' || c == '\\') { c 564 Zend/zend_ast.c smart_str_appendc(str, c); c 566 Zend/zend_ast.c smart_str_appendc(str, c); c 576 Zend/zend_ast.c unsigned char c = ZSTR_VAL(s)[i]; c 577 Zend/zend_ast.c if (c < ' ') { c 578 Zend/zend_ast.c switch (c) { c 603 Zend/zend_ast.c smart_str_appendc(str, '0' + (c / 8)); c 604 Zend/zend_ast.c smart_str_appendc(str, '0' + (c % 8)); c 608 Zend/zend_ast.c if (c == quote || c == '$' || c == '\\') { c 611 Zend/zend_ast.c smart_str_appendc(str, c); c 657 Zend/zend_ast.c unsigned char c = (unsigned char)ch; c 659 Zend/zend_ast.c if (c != '_' && c < 127 && c 660 Zend/zend_ast.c (c < '0' || c > '9') && c 661 Zend/zend_ast.c (c < 'A' || c > 'Z') && c 662 Zend/zend_ast.c (c < 'a' || c > 'z')) { c 670 Zend/zend_ast.c unsigned char c; c 676 Zend/zend_ast.c c = (unsigned char)s[0]; c 677 Zend/zend_ast.c if (c != '_' && c < 127 && c 678 Zend/zend_ast.c (c < 'A' || c > 'Z') && c 679 Zend/zend_ast.c (c < 'a' || c > 'z')) { c 683 Zend/zend_ast.c c = (unsigned char)s[i]; c 684 Zend/zend_ast.c if (c != '_' && c < 127 && c 685 Zend/zend_ast.c (c < '0' || c > '9') && c 686 Zend/zend_ast.c (c < 'A' || c > 'Z') && c 687 Zend/zend_ast.c (c < 'a' || c > 'z')) { c 815 Zend/zend_builtin_functions.c zend_constant c; c 862 Zend/zend_builtin_functions.c copy_constant_array(&c.value, val); c 888 Zend/zend_builtin_functions.c ZVAL_DUP(&c.value, val); c 891 Zend/zend_builtin_functions.c c.flags = case_sensitive; /* non persistent */ c 892 Zend/zend_builtin_functions.c c.name = zend_string_copy(name); c 893 Zend/zend_builtin_functions.c c.module_number = PHP_USER_CONSTANT; c 894 Zend/zend_builtin_functions.c if (zend_register_constant(&c) == SUCCESS) { c 1247 Zend/zend_compile.c zend_constant *c = zend_hash_find_ptr_lc(EG(zend_constants), name, len); c 1248 Zend/zend_compile.c if (c && !(c->flags & CONST_CS) && (c->flags & CONST_CT_SUBST)) { c 1249 Zend/zend_compile.c return c; c 1257 Zend/zend_compile.c zend_constant *c; c 1260 Zend/zend_compile.c c = zend_hash_find_ptr(EG(zend_constants), name); c 1261 Zend/zend_compile.c if (c && ( c 1262 Zend/zend_compile.c ((c->flags & CONST_PERSISTENT) && !(CG(compiler_options) & ZEND_COMPILE_NO_PERSISTENT_CONSTANT_SUBSTITUTION)) c 1263 Zend/zend_compile.c || (Z_TYPE(c->value) < IS_OBJECT && !(CG(compiler_options) & ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION)) c 1265 Zend/zend_compile.c ZVAL_DUP(zv, &c->value); c 1278 Zend/zend_compile.c c = zend_lookup_reserved_const(lookup_name, lookup_len); c 1279 Zend/zend_compile.c if (c) { c 1280 Zend/zend_compile.c ZVAL_DUP(zv, &c->value); c 1405 Zend/zend_compile.c zval *c; c 1408 Zend/zend_compile.c c = zend_hash_find(&CG(active_class_entry)->constants_table, name); c 1412 Zend/zend_compile.c c = zend_hash_find(&ce->constants_table, name); c 1425 Zend/zend_compile.c if (c && Z_TYPE_P(c) < IS_OBJECT) { c 1426 Zend/zend_compile.c ZVAL_DUP(zv, c); c 2967 Zend/zend_compile.c zval c; c 2969 Zend/zend_compile.c ZVAL_NEW_STR(&c, lcname); c 2970 Zend/zend_compile.c zend_add_literal(CG(active_op_array), &c); c 7437 Zend/zend_compile.c zend_uchar c; c 7446 Zend/zend_compile.c c = (zend_uchar) Z_STRVAL_P(container)[offset]; c 7447 Zend/zend_compile.c if (CG(one_char_string)[c]) { c 7448 Zend/zend_compile.c ZVAL_INTERNED_STR(&result, CG(one_char_string)[c]); c 7450 Zend/zend_compile.c ZVAL_NEW_STR(&result, zend_string_init((char *) &c, 1, 0)); c 33 Zend/zend_constants.c zend_constant *c = Z_PTR_P(zv); c 35 Zend/zend_constants.c if (!(c->flags & CONST_PERSISTENT)) { c 36 Zend/zend_constants.c zval_dtor(&c->value); c 38 Zend/zend_constants.c zval_internal_dtor(&c->value); c 40 Zend/zend_constants.c if (c->name) { c 41 Zend/zend_constants.c zend_string_release(c->name); c 43 Zend/zend_constants.c pefree(c, c->flags & CONST_PERSISTENT); c 49 Zend/zend_constants.c zend_constant *c = Z_PTR_P(zv); c 51 Zend/zend_constants.c Z_PTR_P(zv) = pemalloc(sizeof(zend_constant), c->flags & CONST_PERSISTENT); c 52 Zend/zend_constants.c memcpy(Z_PTR_P(zv), c, sizeof(zend_constant)); c 54 Zend/zend_constants.c c = Z_PTR_P(zv); c 55 Zend/zend_constants.c c->name = zend_string_copy(c->name); c 56 Zend/zend_constants.c if (!(c->flags & CONST_PERSISTENT)) { c 57 Zend/zend_constants.c zval_copy_ctor(&c->value); c 59 Zend/zend_constants.c if (Z_TYPE(c->value) == IS_STRING) { c 60 Zend/zend_constants.c Z_STR(c->value) = zend_string_dup(Z_STR(c->value), 1); c 74 Zend/zend_constants.c zend_constant *c = Z_PTR_P(zv); c 75 Zend/zend_constants.c return (c->flags & CONST_PERSISTENT) ? ZEND_HASH_APPLY_STOP : ZEND_HASH_APPLY_REMOVE; c 81 Zend/zend_constants.c zend_constant *c = Z_PTR_P(zv); c 82 Zend/zend_constants.c return (c->flags & CONST_PERSISTENT) ? 0 : 1; c 88 Zend/zend_constants.c zend_constant *c = (zend_constant *)Z_PTR_P(el); c 91 Zend/zend_constants.c if (c->module_number == module_number) { c 167 Zend/zend_constants.c zend_constant c; c 169 Zend/zend_constants.c ZVAL_NULL(&c.value); c 170 Zend/zend_constants.c c.flags = flags; c 171 Zend/zend_constants.c c.name = zend_string_init(name, name_len, flags & CONST_PERSISTENT); c 172 Zend/zend_constants.c c.module_number = module_number; c 173 Zend/zend_constants.c zend_register_constant(&c); c 178 Zend/zend_constants.c zend_constant c; c 180 Zend/zend_constants.c ZVAL_BOOL(&c.value, bval); c 181 Zend/zend_constants.c c.flags = flags; c 182 Zend/zend_constants.c c.name = zend_string_init(name, name_len, flags & CONST_PERSISTENT); c 183 Zend/zend_constants.c c.module_number = module_number; c 184 Zend/zend_constants.c zend_register_constant(&c); c 189 Zend/zend_constants.c zend_constant c; c 191 Zend/zend_constants.c ZVAL_LONG(&c.value, lval); c 192 Zend/zend_constants.c c.flags = flags; c 193 Zend/zend_constants.c c.name = zend_string_init(name, name_len, flags & CONST_PERSISTENT); c 194 Zend/zend_constants.c c.module_number = module_number; c 195 Zend/zend_constants.c zend_register_constant(&c); c 201 Zend/zend_constants.c zend_constant c; c 203 Zend/zend_constants.c ZVAL_DOUBLE(&c.value, dval); c 204 Zend/zend_constants.c c.flags = flags; c 205 Zend/zend_constants.c c.name = zend_string_init(name, name_len, flags & CONST_PERSISTENT); c 206 Zend/zend_constants.c c.module_number = module_number; c 207 Zend/zend_constants.c zend_register_constant(&c); c 213 Zend/zend_constants.c zend_constant c; c 215 Zend/zend_constants.c ZVAL_NEW_STR(&c.value, zend_string_init(strval, strlen, flags & CONST_PERSISTENT)); c 216 Zend/zend_constants.c c.flags = flags; c 217 Zend/zend_constants.c c.name = zend_string_init(name, name_len, flags & CONST_PERSISTENT); c 218 Zend/zend_constants.c c.module_number = module_number; c 219 Zend/zend_constants.c zend_register_constant(&c); c 230 Zend/zend_constants.c zend_constant *c; c 246 Zend/zend_constants.c c = zend_hash_find_ptr(EG(zend_constants), haltname); c 248 Zend/zend_constants.c return c; c 257 Zend/zend_constants.c zend_constant *c; c 260 Zend/zend_constants.c if ((c = zend_hash_str_find_ptr(EG(zend_constants), name, name_len)) == NULL) { c 263 Zend/zend_constants.c if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, name_len)) != NULL) { c 264 Zend/zend_constants.c if (c->flags & CONST_CS) { c 265 Zend/zend_constants.c c = NULL; c 268 Zend/zend_constants.c c = zend_get_special_constant(name, name_len); c 273 Zend/zend_constants.c return c ? &c->value : NULL; c 278 Zend/zend_constants.c zend_constant *c; c 281 Zend/zend_constants.c if ((c = zend_hash_find_ptr(EG(zend_constants), name)) == NULL) { c 284 Zend/zend_constants.c if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, ZSTR_LEN(name))) != NULL) { c 285 Zend/zend_constants.c if (c->flags & CONST_CS) { c 286 Zend/zend_constants.c c = NULL; c 289 Zend/zend_constants.c c = zend_get_special_constant(ZSTR_VAL(name), ZSTR_LEN(name)); c 294 Zend/zend_constants.c return c ? &c->value : NULL; c 299 Zend/zend_constants.c zend_constant *c; c 403 Zend/zend_constants.c if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, lcname_len)) == NULL) { c 406 Zend/zend_constants.c if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, lcname_len)) != NULL) { c 407 Zend/zend_constants.c if ((c->flags & CONST_CS) != 0) { c 408 Zend/zend_constants.c c = NULL; c 413 Zend/zend_constants.c if (c) { c 414 Zend/zend_constants.c return &c->value; c 432 Zend/zend_constants.c zend_constant *c; c 434 Zend/zend_constants.c if ((c = zend_hash_find_ptr(EG(zend_constants), Z_STR_P(key))) == NULL) { c 436 Zend/zend_constants.c if ((c = zend_hash_find_ptr(EG(zend_constants), Z_STR_P(key))) == NULL || c 437 Zend/zend_constants.c (c->flags & CONST_CS) != 0) { c 440 Zend/zend_constants.c if ((c = zend_hash_find_ptr(EG(zend_constants), Z_STR_P(key))) == NULL) { c 442 Zend/zend_constants.c if ((c = zend_hash_find_ptr(EG(zend_constants), Z_STR_P(key))) == NULL || c 443 Zend/zend_constants.c (c->flags & CONST_CS) != 0) { c 446 Zend/zend_constants.c c = NULL; c 451 Zend/zend_constants.c c = NULL; c 455 Zend/zend_constants.c return c; c 458 Zend/zend_constants.c static void* zend_hash_add_constant(HashTable *ht, zend_string *key, zend_constant *c) c 461 Zend/zend_constants.c zend_constant *copy = pemalloc(sizeof(zend_constant), c->flags & CONST_PERSISTENT); c 463 Zend/zend_constants.c memcpy(copy, c, sizeof(zend_constant)); c 466 Zend/zend_constants.c pefree(copy, c->flags & CONST_PERSISTENT); c 471 Zend/zend_constants.c ZEND_API int zend_register_constant(zend_constant *c) c 478 Zend/zend_constants.c printf("Registering constant for module %d\n", c->module_number); c 481 Zend/zend_constants.c if (!(c->flags & CONST_CS)) { c 482 Zend/zend_constants.c lowercase_name = zend_string_alloc(ZSTR_LEN(c->name), c->flags & CONST_PERSISTENT); c 483 Zend/zend_constants.c zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ZSTR_VAL(c->name), ZSTR_LEN(c->name)); c 487 Zend/zend_constants.c char *slash = strrchr(ZSTR_VAL(c->name), '\\'); c 489 Zend/zend_constants.c lowercase_name = zend_string_init(ZSTR_VAL(c->name), ZSTR_LEN(c->name), c->flags & CONST_PERSISTENT); c 490 Zend/zend_constants.c zend_str_tolower(ZSTR_VAL(lowercase_name), slash - ZSTR_VAL(c->name)); c 494 Zend/zend_constants.c name = c->name; c 499 Zend/zend_constants.c if ((ZSTR_LEN(c->name) == sizeof("__COMPILER_HALT_OFFSET__")-1 c 501 Zend/zend_constants.c || zend_hash_add_constant(EG(zend_constants), name, c) == NULL) { c 504 Zend/zend_constants.c if (ZSTR_VAL(c->name)[0] == '\0' && ZSTR_LEN(c->name) > sizeof("\0__COMPILER_HALT_OFFSET__")-1 c 508 Zend/zend_constants.c zend_string_release(c->name); c 509 Zend/zend_constants.c if (!(c->flags & CONST_PERSISTENT)) { c 510 Zend/zend_constants.c zval_dtor(&c->value); c 77 Zend/zend_constants.h ZEND_API int zend_register_constant(zend_constant *c); c 467 Zend/zend_exceptions.c char c = s[i]; c 468 Zend/zend_exceptions.c if (c == '\n' || c == '\r' || c == '\t' || c 469 Zend/zend_exceptions.c c == '\f' || c == '\v' || c == '\\' || c == VK_ESCAPE) { c 471 Zend/zend_exceptions.c } else if (c < 32 || c > 126) { c 487 Zend/zend_exceptions.c unsigned char c = s[i]; c 488 Zend/zend_exceptions.c if (c < 32 || c == '\\' || c > 126) { c 490 Zend/zend_exceptions.c switch (c) { c 500 Zend/zend_exceptions.c if ((c >> 4) < 10) { c 501 Zend/zend_exceptions.c *res++ = (c >> 4) + '0'; c 503 Zend/zend_exceptions.c *res++ = (c >> 4) + 'A' - 10; c 505 Zend/zend_exceptions.c if ((c & 0xf) < 10) { c 506 Zend/zend_exceptions.c *res++ = (c & 0xf) + '0'; c 508 Zend/zend_exceptions.c *res++ = (c & 0xf) + 'A' - 10; c 512 Zend/zend_exceptions.c *res++ = c; c 1344 Zend/zend_execute.c zend_uchar c = (zend_uchar)Z_STRVAL_P(str)[offset]; c 1346 Zend/zend_execute.c if (CG(one_char_string)[c]) { c 1347 Zend/zend_execute.c ZVAL_INTERNED_STR(result, CG(one_char_string)[c]); c 1871 Zend/zend_execute.c zend_uchar c = (zend_uchar)Z_STRVAL_P(container)[offset]; c 1873 Zend/zend_execute.c if (CG(one_char_string)[c]) { c 1874 Zend/zend_execute.c ZVAL_INTERNED_STR(result, CG(one_char_string)[c]); c 78 Zend/zend_gc.c #define GC_REF_SET_COLOR(ref, c) \ c 79 Zend/zend_gc.c do { GC_TRACE_SET_COLOR(ref, c); GC_INFO_SET_COLOR(GC_INFO(ref), c); } while (0) c 56 Zend/zend_gc.h #define GC_INFO_SET_COLOR(v, c) \ c 57 Zend/zend_gc.h do {(v) = ((v) & ~GC_COLOR) | (c);} while (0) c 29 Zend/zend_hash.c # define HT_ASSERT(c) ZEND_ASSERT(c) c 31 Zend/zend_hash.c # define HT_ASSERT(c) c 30 Zend/zend_highlight.c ZEND_API void zend_html_putc(char c) c 32 Zend/zend_highlight.c switch (c) { c 52 Zend/zend_highlight.c ZEND_PUTC(c); c 46 Zend/zend_highlight.h ZEND_API void zend_html_putc(char c); c 129 Zend/zend_ini_parser.y zval *c, tmp; c 133 Zend/zend_ini_parser.y && (c = zend_get_constant(Z_STR_P(name))) != 0) { c 134 Zend/zend_ini_parser.y if (Z_TYPE_P(c) != IS_STRING) { c 135 Zend/zend_ini_parser.y ZVAL_COPY_VALUE(&tmp, c); c 141 Zend/zend_ini_parser.y c = &tmp; c 143 Zend/zend_ini_parser.y ZVAL_PSTRINGL(result, Z_STRVAL_P(c), Z_STRLEN_P(c)); c 144 Zend/zend_ini_parser.y if (c == &tmp) { c 39 Zend/zend_ini_scanner.c # define YYDEBUG(s, c) printf("state: %d char: %c\n", s, c) c 41 Zend/zend_ini_scanner.c # define YYDEBUG(s, c) c 29 Zend/zend_language_scanner.c # define YYDEBUG(s, c) printf("state: %d char: %c\n", s, c) c 31 Zend/zend_language_scanner.c # define YYDEBUG(s, c) c 110 Zend/zend_language_scanner.c #define HANDLE_NEWLINE(c) \ c 112 Zend/zend_language_scanner.c if (c == '\n' || c == '\r') { \ c 121 Zend/zend_language_scanner.c #define IS_LABEL_START(c) (((c) >= 'a' && (c) <= 'z') || ((c) >= 'A' && (c) <= 'Z') || (c) == '_' || (c) >= 0x7F) c 123 Zend/zend_language_scanner.c #define ZEND_IS_OCT(c) ((c)>='0' && (c)<='7') c 124 Zend/zend_language_scanner.c #define ZEND_IS_HEX(c) (((c)>='0' && (c)<='9') || ((c)>='a' && (c)<='f') || ((c)>='A' && (c)<='F')) c 39 Zend/zend_operators.c #define zend_tolower(c) _tolower_l(c, current_locale) c 41 Zend/zend_operators.c #define zend_tolower(c) tolower(c) c 65 Zend/zend_operators.c #define zend_tolower_ascii(c) (tolower_map[(unsigned char)(c)]) c 127 Zend/zend_operators.h #define ZEND_IS_DIGIT(c) ((c) >= '0' && (c) <= '9') c 128 Zend/zend_operators.h #define ZEND_IS_XDIGIT(c) (((c) >= 'A' && (c) <= 'F') || ((c) >= 'a' && (c) <= 'f')) c 186 Zend/zend_operators.h static zend_always_inline const void *zend_memrchr(const void *s, int c, size_t n) c 194 Zend/zend_operators.h if (*e == (const unsigned char)c) { c 99 Zend/zend_portability.h # define ZEND_ASSUME(c) __assume(c) c 101 Zend/zend_portability.h # define ZEND_ASSUME(c) do { \ c 102 Zend/zend_portability.h if (__builtin_expect(!(c), 0)) __builtin_unreachable(); \ c 105 Zend/zend_portability.h # define ZEND_ASSUME(c) c 109 Zend/zend_portability.h # define ZEND_ASSERT(c) assert(c) c 111 Zend/zend_portability.h # define ZEND_ASSERT(c) ZEND_ASSUME(c) c 58 Zend/zend_ptr_stack.h static zend_always_inline void zend_ptr_stack_3_push(zend_ptr_stack *stack, void *a, void *b, void *c) c 67 Zend/zend_ptr_stack.h *(stack->top_element++) = c; c 85 Zend/zend_ptr_stack.h static zend_always_inline void zend_ptr_stack_3_pop(zend_ptr_stack *stack, void **a, void **b, void **c) c 89 Zend/zend_ptr_stack.h *c = *(--stack->top_element); c 29 Zend/zend_smart_str.h #define smart_str_appendc(dest, c) \ c 30 Zend/zend_smart_str.h smart_str_appendc_ex((dest), (c), 0) c 100 Zend/zend_sort.c static inline void zend_sort_3(void *a, void *b, void *c, compare_func_t cmp, swap_func_t swp) /* {{{ */ { c 102 Zend/zend_sort.c if (!(cmp(b, c) > 0)) { c 105 Zend/zend_sort.c swp(b, c); c 111 Zend/zend_sort.c if (!(cmp(c, b) > 0)) { c 112 Zend/zend_sort.c swp(a, c); c 116 Zend/zend_sort.c if (cmp(b, c) > 0) { c 117 Zend/zend_sort.c swp(b, c); c 122 Zend/zend_sort.c static void zend_sort_4(void *a, void *b, void *c, void *d, compare_func_t cmp, swap_func_t swp) /* {{{ */ { c 123 Zend/zend_sort.c zend_sort_3(a, b, c, cmp, swp); c 124 Zend/zend_sort.c if (cmp(c, d) > 0) { c 125 Zend/zend_sort.c swp(c, d); c 126 Zend/zend_sort.c if (cmp(b, c) > 0) { c 127 Zend/zend_sort.c swp(b, c); c 136 Zend/zend_sort.c static void zend_sort_5(void *a, void *b, void *c, void *d, void *e, compare_func_t cmp, swap_func_t swp) /* {{{ */ { c 137 Zend/zend_sort.c zend_sort_4(a, b, c, d, cmp, swp); c 140 Zend/zend_sort.c if (cmp(c, d) > 0) { c 141 Zend/zend_sort.c swp(c, d); c 142 Zend/zend_sort.c if (cmp(b, c) > 0) { c 143 Zend/zend_sort.c swp(b, c); c 156 Zend/zend_stream.c int c = '*'; c 165 Zend/zend_stream.c for (n = 0; n < len && (c = zend_stream_getc(file_handle)) != EOF && c != 4 && c != '\n'; ++n) { c 167 Zend/zend_stream.c for (n = 0; n < len && (c = zend_stream_getc(file_handle)) != EOF && c != '\n'; ++n) { c 169 Zend/zend_stream.c buf[n] = (char)c; c 171 Zend/zend_stream.c if (c == '\n') { c 172 Zend/zend_stream.c buf[n++] = (char)c; c 285 Zend/zend_string.h #define zend_string_equals_literal_ci(str, c) \ c 286 Zend/zend_string.h (ZSTR_LEN(str) == sizeof(c) - 1 && !zend_binary_strcasecmp(ZSTR_VAL(str), ZSTR_LEN(str), (c), sizeof(c) - 1)) c 337 Zend/zend_strtod.c #define Storeinc(a,b,c) (((unsigned short *)a)[1] = (unsigned short)b, \ c 338 Zend/zend_strtod.c ((unsigned short *)a)[0] = (unsigned short)c, a++) c 340 Zend/zend_strtod.c #define Storeinc(a,b,c) (((unsigned short *)a)[0] = (unsigned short)b, \ c 341 Zend/zend_strtod.c ((unsigned short *)a)[1] = (unsigned short)c, a++) c 855 Zend/zend_strtod.c Bigint *c; c 869 Zend/zend_strtod.c c = a; c 871 Zend/zend_strtod.c b = c; c 879 Zend/zend_strtod.c c = Balloc(k); c 880 Zend/zend_strtod.c for(x = c->x, xa = x + wc; x < xa; x++) c 886 Zend/zend_strtod.c xc0 = c->x; c 952 Zend/zend_strtod.c for(xc0 = c->x, xc = xc0 + wc; wc > 0 && !*--xc; --wc) ; c 953 Zend/zend_strtod.c c->wds = wc; c 954 Zend/zend_strtod.c return c; c 1118 Zend/zend_strtod.c Bigint *c; c 1132 Zend/zend_strtod.c c = Balloc(0); c 1133 Zend/zend_strtod.c c->wds = 1; c 1134 Zend/zend_strtod.c c->x[0] = 0; c 1135 Zend/zend_strtod.c return c; c 1138 Zend/zend_strtod.c c = a; c 1140 Zend/zend_strtod.c b = c; c 1145 Zend/zend_strtod.c c = Balloc(a->k); c 1146 Zend/zend_strtod.c c->sign = i; c 1153 Zend/zend_strtod.c xc = c->x; c 1200 Zend/zend_strtod.c c->wds = wa; c 1201 Zend/zend_strtod.c return c; c 1602 Zend/zend_strtod.c int c, d; c 1606 Zend/zend_strtod.c if ((c = *++s) >= 'A' && c <= 'Z') c 1607 Zend/zend_strtod.c c += 'a' - 'A'; c 1608 Zend/zend_strtod.c if (c != d) c 1624 Zend/zend_strtod.c ULong c, x[2]; c 1634 Zend/zend_strtod.c while((c = *(CONST unsigned char*)(s+1)) && c <= ' ') c 1638 Zend/zend_strtod.c while((c = *(CONST unsigned char*)++s)) { c 1639 Zend/zend_strtod.c if ((c1 = hexdig[c])) c 1640 Zend/zend_strtod.c c = c1 & 0xf; c 1641 Zend/zend_strtod.c else if (c <= ' ') { c 1649 Zend/zend_strtod.c else if (/*(*/ c == ')' && havedig) { c 1658 Zend/zend_strtod.c if (/*(*/ c == ')') { c 1662 Zend/zend_strtod.c } while((c = *++s)); c 1674 Zend/zend_strtod.c x[1] = (x[1] << 4) | c; c 2539 Zend/zend_strtod.c int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, e, e1; c 2616 Zend/zend_strtod.c for(nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++) c 2618 Zend/zend_strtod.c y = 10*y + c - '0'; c 2620 Zend/zend_strtod.c z = 10*z + c - '0'; c 2627 Zend/zend_strtod.c if (c == *s1) { c 2628 Zend/zend_strtod.c c = '.'; c 2633 Zend/zend_strtod.c c = 0; c 2644 Zend/zend_strtod.c if (c == '.') { c 2645 Zend/zend_strtod.c c = *++s; c 2649 Zend/zend_strtod.c for(; c == '0'; c = *++s) c 2651 Zend/zend_strtod.c if (c > '0' && c <= '9') { c 2661 Zend/zend_strtod.c for(; c >= '0' && c <= '9'; c = *++s) { c 2664 Zend/zend_strtod.c if (c -= '0') { c 2672 Zend/zend_strtod.c y = 10*y + c; c 2674 Zend/zend_strtod.c z = 10*z + c; c 2681 Zend/zend_strtod.c if (c == 'e' || c == 'E') { c 2687 Zend/zend_strtod.c switch(c = *++s) { c 2691 Zend/zend_strtod.c c = *++s; c 2693 Zend/zend_strtod.c if (c >= '0' && c <= '9') { c 2694 Zend/zend_strtod.c while(c == '0') c 2695 Zend/zend_strtod.c c = *++s; c 2696 Zend/zend_strtod.c if (c > '0' && c <= '9') { c 2697 Zend/zend_strtod.c L = c - '0'; c 2699 Zend/zend_strtod.c while((c = *++s) >= '0' && c <= '9') c 2700 Zend/zend_strtod.c L = 10*L + c - '0'; c 2722 Zend/zend_strtod.c switch(c) { c 4415 Zend/zend_strtod.c char c; c 4430 Zend/zend_strtod.c while ((c = *s++)) { c 4431 Zend/zend_strtod.c if (c >= '0' && c <= '9') { c 4432 Zend/zend_strtod.c c -= '0'; c 4433 Zend/zend_strtod.c } else if (c >= 'A' && c <= 'F') { c 4434 Zend/zend_strtod.c c -= 'A' - 10; c 4435 Zend/zend_strtod.c } else if (c >= 'a' && c <= 'f') { c 4436 Zend/zend_strtod.c c -= 'a' - 10; c 4442 Zend/zend_strtod.c value = value * 16 + c; c 4455 Zend/zend_strtod.c char c; c 4469 Zend/zend_strtod.c while ((c = *s++)) { c 4470 Zend/zend_strtod.c if (c < '0' || c > '7') { c 4476 Zend/zend_strtod.c value = value * 8 + c - '0'; c 4490 Zend/zend_strtod.c char c; c 4505 Zend/zend_strtod.c while ((c = *s++)) { c 4511 Zend/zend_strtod.c if ('0' == c || '1' == c) c 4512 Zend/zend_strtod.c value = value * 2 + c - '0'; c 33 Zend/zend_types.h # define ZEND_ENDIAN_LOHI_4(a, b, c, d) d; c; b; a; c 36 Zend/zend_types.h # define ZEND_ENDIAN_LOHI_C_4(a, b, c, d) d, c, b, a c 40 Zend/zend_types.h # define ZEND_ENDIAN_LOHI_4(a, b, c, d) a; b; c; d; c 43 Zend/zend_types.h # define ZEND_ENDIAN_LOHI_C_4(a, b, c, d) a, b, c, d c 780 Zend/zend_types.h #define ZVAL_CE(z, c) do { \ c 781 Zend/zend_types.h Z_CE_P(z) = (c); \ c 90 Zend/zend_virtual_cwd.c #define tsrm_strtok_r(a,b,c) _tcstok((a),(b)) c 454 Zend/zend_virtual_cwd.c char *c=cwd; c 455 Zend/zend_virtual_cwd.c while(c = strchr(c, '\\')) c 457 Zend/zend_virtual_cwd.c *c='/'; c 458 Zend/zend_virtual_cwd.c ++c; c 63 Zend/zend_virtual_cwd.h #define IS_SLASH(c) ((c) == '/' || (c) == '\\') c 64 Zend/zend_virtual_cwd.h #define IS_SLASH_P(c) (*(c) == '/' || \ c 65 Zend/zend_virtual_cwd.h (*(c) == '\\' && !IsDBCSLeadByte(*(c-1)))) c 82 Zend/zend_virtual_cwd.h #define IS_SLASH(c) ((c) == '/' || (c) == '\\') c 83 Zend/zend_virtual_cwd.h #define IS_SLASH_P(c) IS_SLASH(*(c)) c 101 Zend/zend_virtual_cwd.h #define IS_SLASH(c) ((c) == '/') c 102 Zend/zend_virtual_cwd.h #define IS_SLASH_P(c) (*(c) == '/') c 5052 Zend/zend_vm_def.h zend_constant *c; c 5055 Zend/zend_vm_def.h c = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); c 5056 Zend/zend_vm_def.h } else if ((c = zend_quick_get_constant(EX_CONSTANT(opline->op2) + 1, opline->extended_value)) == NULL) { c 5075 Zend/zend_vm_def.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), c); c 5078 Zend/zend_vm_def.h if (c->flags & CONST_PERSISTENT) { c 5079 Zend/zend_vm_def.h ZVAL_DUP(EX_VAR(opline->result.var), &c->value); c 5081 Zend/zend_vm_def.h ZVAL_COPY(EX_VAR(opline->result.var), &c->value); c 5084 Zend/zend_vm_def.h ZVAL_COPY(EX_VAR(opline->result.var), &c->value); c 7230 Zend/zend_vm_def.h zend_constant c; c 7236 Zend/zend_vm_def.h ZVAL_COPY_VALUE(&c.value, val); c 7237 Zend/zend_vm_def.h if (Z_OPT_CONSTANT(c.value)) { c 7238 Zend/zend_vm_def.h if (UNEXPECTED(zval_update_constant_ex(&c.value, 0, NULL) != SUCCESS)) { c 7245 Zend/zend_vm_def.h if (UNEXPECTED(Z_OPT_COPYABLE(c.value))) { c 7246 Zend/zend_vm_def.h zval_copy_ctor_func(&c.value); c 7249 Zend/zend_vm_def.h c.flags = CONST_CS; /* non persistent, case sensetive */ c 7250 Zend/zend_vm_def.h c.name = zend_string_dup(Z_STR_P(name), 0); c 7251 Zend/zend_vm_def.h c.module_number = PHP_USER_CONSTANT; c 7253 Zend/zend_vm_def.h if (zend_register_constant(&c) == FAILURE) { c 7781 Zend/zend_vm_def.h zend_constant *c; c 7786 Zend/zend_vm_def.h } else if ((c = zend_quick_get_constant(EX_CONSTANT(opline->op1), 0)) == NULL) { c 7790 Zend/zend_vm_def.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), c); c 4282 Zend/zend_vm_execute.h zend_constant *c; c 4287 Zend/zend_vm_execute.h } else if ((c = zend_quick_get_constant(EX_CONSTANT(opline->op1), 0)) == NULL) { c 4291 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), c); c 5886 Zend/zend_vm_execute.h zend_constant *c; c 5889 Zend/zend_vm_execute.h c = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); c 5890 Zend/zend_vm_execute.h } else if ((c = zend_quick_get_constant(EX_CONSTANT(opline->op2) + 1, opline->extended_value)) == NULL) { c 5909 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), c); c 5912 Zend/zend_vm_execute.h if (c->flags & CONST_PERSISTENT) { c 5913 Zend/zend_vm_execute.h ZVAL_DUP(EX_VAR(opline->result.var), &c->value); c 5915 Zend/zend_vm_execute.h ZVAL_COPY(EX_VAR(opline->result.var), &c->value); c 5918 Zend/zend_vm_execute.h ZVAL_COPY(EX_VAR(opline->result.var), &c->value); c 6486 Zend/zend_vm_execute.h zend_constant c; c 6492 Zend/zend_vm_execute.h ZVAL_COPY_VALUE(&c.value, val); c 6493 Zend/zend_vm_execute.h if (Z_OPT_CONSTANT(c.value)) { c 6494 Zend/zend_vm_execute.h if (UNEXPECTED(zval_update_constant_ex(&c.value, 0, NULL) != SUCCESS)) { c 6501 Zend/zend_vm_execute.h if (UNEXPECTED(Z_OPT_COPYABLE(c.value))) { c 6502 Zend/zend_vm_execute.h zval_copy_ctor_func(&c.value); c 6505 Zend/zend_vm_execute.h c.flags = CONST_CS; /* non persistent, case sensetive */ c 6506 Zend/zend_vm_execute.h c.name = zend_string_dup(Z_STR_P(name), 0); c 6507 Zend/zend_vm_execute.h c.module_number = PHP_USER_CONSTANT; c 6509 Zend/zend_vm_execute.h if (zend_register_constant(&c) == FAILURE) { c 17675 Zend/zend_vm_execute.h zend_constant *c; c 17678 Zend/zend_vm_execute.h c = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); c 17679 Zend/zend_vm_execute.h } else if ((c = zend_quick_get_constant(EX_CONSTANT(opline->op2) + 1, opline->extended_value)) == NULL) { c 17698 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), c); c 17701 Zend/zend_vm_execute.h if (c->flags & CONST_PERSISTENT) { c 17702 Zend/zend_vm_execute.h ZVAL_DUP(EX_VAR(opline->result.var), &c->value); c 17704 Zend/zend_vm_execute.h ZVAL_COPY(EX_VAR(opline->result.var), &c->value); c 17707 Zend/zend_vm_execute.h ZVAL_COPY(EX_VAR(opline->result.var), &c->value); c 23889 Zend/zend_vm_execute.h zend_constant *c; c 23892 Zend/zend_vm_execute.h c = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); c 23893 Zend/zend_vm_execute.h } else if ((c = zend_quick_get_constant(EX_CONSTANT(opline->op2) + 1, opline->extended_value)) == NULL) { c 23912 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), c); c 23915 Zend/zend_vm_execute.h if (c->flags & CONST_PERSISTENT) { c 23916 Zend/zend_vm_execute.h ZVAL_DUP(EX_VAR(opline->result.var), &c->value); c 23918 Zend/zend_vm_execute.h ZVAL_COPY(EX_VAR(opline->result.var), &c->value); c 23921 Zend/zend_vm_execute.h ZVAL_COPY(EX_VAR(opline->result.var), &c->value); c 69 ext/bcmath/libbcmath/src/bcmath.h #define CH_VAL(c) (c - '0') c 44 ext/bcmath/libbcmath/src/debug.c out_char (int c) c 46 ext/bcmath/libbcmath/src/debug.c putchar(c); c 398 ext/com_dotnet/com_handlers.c static zend_internal_function c, d, v; c 417 ext/com_dotnet/com_handlers.c POPULATE_CTOR(c, com_create_instance); c 164 ext/com_dotnet/com_typeinfo.c zend_constant c; c 189 ext/com_dotnet/com_typeinfo.c c.name = zend_string_init(const_name, len, 1); c 192 ext/com_dotnet/com_typeinfo.c if(c.name == NULL) { c 200 ext/com_dotnet/com_typeinfo.c if ((exists = zend_get_constant(c.name)) != NULL) { c 201 ext/com_dotnet/com_typeinfo.c if (COMG(autoreg_verbose) && !compare_function(&results, &c.value, exists)) { c 202 ext/com_dotnet/com_typeinfo.c php_error_docref(NULL, E_WARNING, "Type library constant %s is already defined", c.name); c 204 ext/com_dotnet/com_typeinfo.c zend_string_release(c.name); c 212 ext/com_dotnet/com_typeinfo.c c.flags = mode; c 213 ext/com_dotnet/com_typeinfo.c ZVAL_LONG(&c.value, Z_LVAL(value)); c 214 ext/com_dotnet/com_typeinfo.c c.module_number = 0; c 215 ext/com_dotnet/com_typeinfo.c zend_register_constant(&c); c 146 ext/ctype/ctype.c zval *c, tmp; \ c 147 ext/ctype/ctype.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &c) == FAILURE) \ c 149 ext/ctype/ctype.c if (Z_TYPE_P(c) == IS_LONG) { \ c 150 ext/ctype/ctype.c if (Z_LVAL_P(c) <= 255 && Z_LVAL_P(c) >= 0) { \ c 151 ext/ctype/ctype.c RETURN_BOOL(iswhat((int)Z_LVAL_P(c))); \ c 152 ext/ctype/ctype.c } else if (Z_LVAL_P(c) >= -128 && Z_LVAL_P(c) < 0) { \ c 153 ext/ctype/ctype.c RETURN_BOOL(iswhat((int)Z_LVAL_P(c) + 256)); \ c 155 ext/ctype/ctype.c tmp = *c; \ c 159 ext/ctype/ctype.c tmp = *c; \ c 164 ext/ctype/ctype.c if (Z_TYPE_P(c) == IS_LONG) zval_dtor(&tmp); \ c 169 ext/ctype/ctype.c if (Z_TYPE_P(c) == IS_LONG) zval_dtor(&tmp); \ c 173 ext/ctype/ctype.c if (Z_TYPE_P(c) == IS_LONG) zval_dtor(&tmp); \ c 1243 ext/curl/interface.c int i, c = CRYPTO_num_locks(); c 1245 ext/curl/interface.c php_curl_openssl_tsl = malloc(c * sizeof(MUTEX_T)); c 1250 ext/curl/interface.c for (i = 0; i < c; ++i) { c 1279 ext/curl/interface.c int i, c = CRYPTO_num_locks(); c 1284 ext/curl/interface.c for (i = 0; i < c; ++i) { c 143 ext/date/lib/parse_date.c #define YYDEBUG(s,c) { if (s != -1) { printf("state: %d ", s); printf("[%c]\n", c); } } c 146 ext/date/lib/parse_date.c #define YYDEBUG(s,c) c 152 ext/date/lib/parse_date.c unsigned int c; /* Number of elements */ c 806 ext/date/lib/parse_date.c for (i = 0; i < arg.c; i++) { \ c 87 ext/date/lib/parse_iso_intervals.c #define YYDEBUG(s,c) { if (s != -1) { printf("state: %d ", s); printf("[%c]\n", c); } } c 90 ext/date/lib/parse_iso_intervals.c #define YYDEBUG(s,c) c 236 ext/date/lib/parse_iso_intervals.c for (i = 0; i < arg.c; i++) { \ c 51 ext/dba/dba_cdb.c struct cdb c; c 109 ext/dba/dba_cdb.c cdb_init(&cdb->c, file); c 113 ext/dba/dba_cdb.c cdb_init(&cdb->c, file); c 130 ext/dba/dba_cdb.c cdb_free(&cdb->c); c 133 ext/dba/dba_cdb.c cdb_free(&cdb->c); c 159 ext/dba/dba_cdb.c if (php_cdb_find(&cdb->c, key, keylen) == 1) { c 161 ext/dba/dba_cdb.c if (php_cdb_findnext(&cdb->c, key, keylen) != 1) { c 165 ext/dba/dba_cdb.c len = cdb_datalen(&cdb->c); c 168 ext/dba/dba_cdb.c if (php_cdb_read(&cdb->c, new_entry, len, cdb_datapos(&cdb->c)) == -1) { c 203 ext/dba/dba_cdb.c if (php_cdb_find(&cdb->c, key, keylen) == 1) c 46 ext/dba/libcdb/cdb.c static int cdb_match(struct cdb *c, char *key, unsigned int len, uint32 pos) c 55 ext/dba/libcdb/cdb.c if (cdb_read(c, buf, n, pos) == -1) c 82 ext/dba/libcdb/cdb.c void cdb_free(struct cdb *c) c 88 ext/dba/libcdb/cdb.c void cdb_findstart(struct cdb *c) c 90 ext/dba/libcdb/cdb.c c->loop = 0; c 95 ext/dba/libcdb/cdb.c void cdb_init(struct cdb *c, php_stream *fp) c 97 ext/dba/libcdb/cdb.c cdb_free(c); c 98 ext/dba/libcdb/cdb.c cdb_findstart(c); c 99 ext/dba/libcdb/cdb.c c->fp = fp; c 104 ext/dba/libcdb/cdb.c int cdb_read(struct cdb *c, char *buf, unsigned int len, uint32 pos) c 106 ext/dba/libcdb/cdb.c if (php_stream_seek(c->fp, pos, SEEK_SET) == -1) { c 113 ext/dba/libcdb/cdb.c r = php_stream_read(c->fp, buf, len); c 129 ext/dba/libcdb/cdb.c int cdb_findnext(struct cdb *c, char *key, unsigned int len) c 135 ext/dba/libcdb/cdb.c if (!c->loop) { c 137 ext/dba/libcdb/cdb.c if (cdb_read(c, buf, 8, (u << 3) & 2047) == -1) c 139 ext/dba/libcdb/cdb.c uint32_unpack(buf + 4,&c->hslots); c 140 ext/dba/libcdb/cdb.c if (!c->hslots) c 142 ext/dba/libcdb/cdb.c uint32_unpack(buf, &c->hpos); c 143 ext/dba/libcdb/cdb.c c->khash = u; c 145 ext/dba/libcdb/cdb.c u %= c->hslots; c 147 ext/dba/libcdb/cdb.c c->kpos = c->hpos + u; c 150 ext/dba/libcdb/cdb.c while (c->loop < c->hslots) { c 151 ext/dba/libcdb/cdb.c if (cdb_read(c, buf, 8, c->kpos) == -1) c 156 ext/dba/libcdb/cdb.c c->loop += 1; c 157 ext/dba/libcdb/cdb.c c->kpos += 8; c 158 ext/dba/libcdb/cdb.c if (c->kpos == c->hpos + (c->hslots << 3)) c 159 ext/dba/libcdb/cdb.c c->kpos = c->hpos; c 161 ext/dba/libcdb/cdb.c if (u == c->khash) { c 162 ext/dba/libcdb/cdb.c if (cdb_read(c, buf, 8, pos) == -1) c 166 ext/dba/libcdb/cdb.c switch(cdb_match(c, key, len, pos + 8)) { c 170 ext/dba/libcdb/cdb.c uint32_unpack(buf + 4, &c->dlen); c 171 ext/dba/libcdb/cdb.c c->dpos = pos + 8 + len; c 182 ext/dba/libcdb/cdb.c int cdb_find(struct cdb *c, char *key, unsigned int len) c 184 ext/dba/libcdb/cdb.c cdb_findstart(c); c 185 ext/dba/libcdb/cdb.c return cdb_findnext(c, key, len); c 52 ext/dba/libcdb/cdb.h #define cdb_datapos(c) ((c)->dpos) c 53 ext/dba/libcdb/cdb.h #define cdb_datalen(c) ((c)->dlen) c 41 ext/dba/libcdb/cdb_make.c static int cdb_make_write(struct cdb_make *c, char *buf, uint32 sz) { c 42 ext/dba/libcdb/cdb_make.c return php_stream_write(c->fp, buf, sz) == sz ? 0 : -1; c 46 ext/dba/libcdb/cdb_make.c static int cdb_posplus(struct cdb_make *c, uint32 len) c 48 ext/dba/libcdb/cdb_make.c uint32 newpos = c->pos + len; c 53 ext/dba/libcdb/cdb_make.c c->pos = newpos; c 59 ext/dba/libcdb/cdb_make.c int cdb_make_start(struct cdb_make *c, php_stream * f) c 61 ext/dba/libcdb/cdb_make.c c->head = 0; c 62 ext/dba/libcdb/cdb_make.c c->split = 0; c 63 ext/dba/libcdb/cdb_make.c c->hash = 0; c 64 ext/dba/libcdb/cdb_make.c c->numentries = 0; c 65 ext/dba/libcdb/cdb_make.c c->fp = f; c 66 ext/dba/libcdb/cdb_make.c c->pos = sizeof(c->final); c 67 ext/dba/libcdb/cdb_make.c if (php_stream_seek(f, c->pos, SEEK_SET) == -1) { c 71 ext/dba/libcdb/cdb_make.c return php_stream_tell(c->fp); c 76 ext/dba/libcdb/cdb_make.c int cdb_make_addend(struct cdb_make *c, unsigned int keylen, unsigned int datalen, uint32 h) c 80 ext/dba/libcdb/cdb_make.c head = c->head; c 86 ext/dba/libcdb/cdb_make.c head->next = c->head; c 87 ext/dba/libcdb/cdb_make.c c->head = head; c 90 ext/dba/libcdb/cdb_make.c head->hp[head->num].p = c->pos; c 92 ext/dba/libcdb/cdb_make.c ++c->numentries; c 93 ext/dba/libcdb/cdb_make.c if (cdb_posplus(c,8) == -1) c 95 ext/dba/libcdb/cdb_make.c if (cdb_posplus(c, keylen) == -1) c 97 ext/dba/libcdb/cdb_make.c if (cdb_posplus(c, datalen) == -1) c 104 ext/dba/libcdb/cdb_make.c int cdb_make_addbegin(struct cdb_make *c, unsigned int keylen, unsigned int datalen) c 119 ext/dba/libcdb/cdb_make.c if (cdb_make_write(c, buf, 8) != 0) c 125 ext/dba/libcdb/cdb_make.c int cdb_make_add(struct cdb_make *c,char *key,unsigned int keylen,char *data,unsigned int datalen) c 127 ext/dba/libcdb/cdb_make.c if (cdb_make_addbegin(c, keylen, datalen) == -1) c 129 ext/dba/libcdb/cdb_make.c if (cdb_make_write(c, key, keylen) != 0) c 131 ext/dba/libcdb/cdb_make.c if (cdb_make_write(c, data, datalen) != 0) c 133 ext/dba/libcdb/cdb_make.c return cdb_make_addend(c, keylen, datalen, cdb_hash(key, keylen)); c 138 ext/dba/libcdb/cdb_make.c int cdb_make_finish(struct cdb_make *c) c 151 ext/dba/libcdb/cdb_make.c c->count[i] = 0; c 153 ext/dba/libcdb/cdb_make.c for (x = c->head; x; x = x->next) { c 156 ext/dba/libcdb/cdb_make.c ++c->count[255 & x->hp[i].h]; c 161 ext/dba/libcdb/cdb_make.c u = c->count[i] * 2; c 166 ext/dba/libcdb/cdb_make.c memsize += c->numentries; /* no overflow possible up to now */ c 174 ext/dba/libcdb/cdb_make.c c->split = (struct cdb_hp *) safe_emalloc(memsize, sizeof(struct cdb_hp), 0); c 175 ext/dba/libcdb/cdb_make.c if (!c->split) c 178 ext/dba/libcdb/cdb_make.c c->hash = c->split + c->numentries; c 182 ext/dba/libcdb/cdb_make.c u += c->count[i]; /* bounded by numentries, so no overflow */ c 183 ext/dba/libcdb/cdb_make.c c->start[i] = u; c 186 ext/dba/libcdb/cdb_make.c for (x = c->head; x; x = x->next) { c 189 ext/dba/libcdb/cdb_make.c c->split[--c->start[255 & x->hp[i].h]] = x->hp[i]; c 193 ext/dba/libcdb/cdb_make.c count = c->count[i]; c 196 ext/dba/libcdb/cdb_make.c uint32_pack(c->final + 8 * i,c->pos); c 197 ext/dba/libcdb/cdb_make.c uint32_pack(c->final + 8 * i + 4,len); c 200 ext/dba/libcdb/cdb_make.c c->hash[u].h = c->hash[u].p = 0; c 202 ext/dba/libcdb/cdb_make.c hp = c->split + c->start[i]; c 205 ext/dba/libcdb/cdb_make.c while (c->hash[where].p) c 208 ext/dba/libcdb/cdb_make.c c->hash[where] = *hp++; c 212 ext/dba/libcdb/cdb_make.c uint32_pack(buf, c->hash[u].h); c 213 ext/dba/libcdb/cdb_make.c uint32_pack(buf + 4, c->hash[u].p); c 214 ext/dba/libcdb/cdb_make.c if (cdb_make_write(c, buf, 8) != 0) c 216 ext/dba/libcdb/cdb_make.c if (cdb_posplus(c, 8) == -1) c 221 ext/dba/libcdb/cdb_make.c if (c->split) c 222 ext/dba/libcdb/cdb_make.c efree(c->split); c 224 ext/dba/libcdb/cdb_make.c for (x = c->head; x; c->head = x) { c 226 ext/dba/libcdb/cdb_make.c efree(c->head); c 229 ext/dba/libcdb/cdb_make.c if (php_stream_flush(c->fp) != 0) c 231 ext/dba/libcdb/cdb_make.c php_stream_rewind(c->fp); c 232 ext/dba/libcdb/cdb_make.c if (php_stream_tell(c->fp) != 0) c 234 ext/dba/libcdb/cdb_make.c if (cdb_make_write(c, c->final, sizeof(c->final)) != 0) c 236 ext/dba/libcdb/cdb_make.c return php_stream_flush(c->fp); c 75 ext/exif/exif.c # define safe_emalloc(a,b,c) emalloc((a)*(b)+(c)) c 78 ext/exif/exif.c # define safe_erealloc(p,a,b,c) erealloc(p, (a)*(b)+(c)) c 1033 ext/exif/exif.c int c, i, p=0, n = 5+31; c 1042 ext/exif/exif.c c = *addr++; c 1043 ext/exif/exif.c p += slprintf(buf+p, sizeof(buf)-p, "%02X ", c); c 1044 ext/exif/exif.c tmp[i%16] = c>=32 ? c : '.'; c 3427 ext/exif/exif.c uchar c, *data = (uchar*)ImageInfo->Thumbnail.data; c 3445 ext/exif/exif.c c = data[pos++]; c 3448 ext/exif/exif.c if (c != 0xFF) { c 3452 ext/exif/exif.c while ((c = data[pos++]) == 0xFF && n--) { c 3457 ext/exif/exif.c if (c == 0xFF) c 3459 ext/exif/exif.c marker = c; c 469 ext/fileinfo/libmagic/apprentice.c if (ms->c.li) { c 470 ext/fileinfo/libmagic/apprentice.c efree(ms->c.li); c 491 ext/fileinfo/libmagic/apprentice.c len = (ms->c.len = 10) * sizeof(*ms->c.li); c 493 ext/fileinfo/libmagic/apprentice.c if ((ms->c.li = CAST(struct level_info *, emalloc(len))) == NULL) c 1461 ext/fileinfo/libmagic/apprentice.c get_op(char c) c 1463 ext/fileinfo/libmagic/apprentice.c switch (c) { c 1516 ext/fileinfo/libmagic/apprentice.c last_cond = ms->c.li[cont_level].last_cond; c 1551 ext/fileinfo/libmagic/apprentice.c ms->c.li[cont_level].last_cond = last_cond; c 2524 ext/fileinfo/libmagic/apprentice.c int c; c 2527 ext/fileinfo/libmagic/apprentice.c while ((c = *s++) != '\0') { c 2528 ext/fileinfo/libmagic/apprentice.c if (isspace((unsigned char) c)) c 2534 ext/fileinfo/libmagic/apprentice.c if (c == '\\') { c 2535 ext/fileinfo/libmagic/apprentice.c switch(c = *s++) { c 2551 ext/fileinfo/libmagic/apprentice.c if (isprint((unsigned char)c)) { c 2554 ext/fileinfo/libmagic/apprentice.c if (strchr("<>&^=!", c) == NULL c 2556 ext/fileinfo/libmagic/apprentice.c strchr("[]().*?^$|{}", c) c 2560 ext/fileinfo/libmagic/apprentice.c "`%c'", c); c 2565 ext/fileinfo/libmagic/apprentice.c "\\%03o", c); c 2589 ext/fileinfo/libmagic/apprentice.c *p++ = (char) c; c 2629 ext/fileinfo/libmagic/apprentice.c val = c - '0'; c 2630 ext/fileinfo/libmagic/apprentice.c c = *s++; /* try for 2 */ c 2631 ext/fileinfo/libmagic/apprentice.c if (c >= '0' && c <= '7') { c 2632 ext/fileinfo/libmagic/apprentice.c val = (val << 3) | (c - '0'); c 2633 ext/fileinfo/libmagic/apprentice.c c = *s++; /* try for 3 */ c 2634 ext/fileinfo/libmagic/apprentice.c if (c >= '0' && c <= '7') c 2635 ext/fileinfo/libmagic/apprentice.c val = (val << 3) | (c-'0'); c 2647 ext/fileinfo/libmagic/apprentice.c c = hextoint(*s++); /* Get next char */ c 2648 ext/fileinfo/libmagic/apprentice.c if (c >= 0) { c 2649 ext/fileinfo/libmagic/apprentice.c val = c; c 2650 ext/fileinfo/libmagic/apprentice.c c = hextoint(*s++); c 2651 ext/fileinfo/libmagic/apprentice.c if (c >= 0) c 2652 ext/fileinfo/libmagic/apprentice.c val = (val << 4) + c; c 2661 ext/fileinfo/libmagic/apprentice.c *p++ = (char)c; c 2674 ext/fileinfo/libmagic/apprentice.c hextoint(int c) c 2676 ext/fileinfo/libmagic/apprentice.c if (!isascii((unsigned char) c)) c 2678 ext/fileinfo/libmagic/apprentice.c if (isdigit((unsigned char) c)) c 2679 ext/fileinfo/libmagic/apprentice.c return c - '0'; c 2680 ext/fileinfo/libmagic/apprentice.c if ((c >= 'a') && (c <= 'f')) c 2681 ext/fileinfo/libmagic/apprentice.c return c + 10 - 'a'; c 2682 ext/fileinfo/libmagic/apprentice.c if (( c>= 'A') && (c <= 'F')) c 2683 ext/fileinfo/libmagic/apprentice.c return c + 10 - 'A'; c 2694 ext/fileinfo/libmagic/apprentice.c char c; c 2698 ext/fileinfo/libmagic/apprentice.c c = *s++; c 2699 ext/fileinfo/libmagic/apprentice.c if (c == '\0') c 2705 ext/fileinfo/libmagic/apprentice.c c = *s++; c 2707 ext/fileinfo/libmagic/apprentice.c if (c >= 040 && c <= 0176) /* TODO isprint && !iscntrl */ c 2708 ext/fileinfo/libmagic/apprentice.c (void) fputc(c, fp); c 2711 ext/fileinfo/libmagic/apprentice.c switch (c) { c 2741 ext/fileinfo/libmagic/apprentice.c (void) fprintf(fp, "%.3o", c & 0377); c 32 ext/fileinfo/libmagic/elfclass.h swap = (u.c[sizeof(int32_t) - 1] + 1) != elfhdr.e_ident[EI_DATA]; c 298 ext/fileinfo/libmagic/encoding.c unichar c; c 322 ext/fileinfo/libmagic/encoding.c c = buf[i] & 0x1f; c 325 ext/fileinfo/libmagic/encoding.c c = buf[i] & 0x0f; c 328 ext/fileinfo/libmagic/encoding.c c = buf[i] & 0x07; c 331 ext/fileinfo/libmagic/encoding.c c = buf[i] & 0x03; c 334 ext/fileinfo/libmagic/encoding.c c = buf[i] & 0x01; c 347 ext/fileinfo/libmagic/encoding.c c = (c << 6) + (buf[i] & 0x3f); c 351 ext/fileinfo/libmagic/encoding.c ubuf[(*ulen)++] = c; c 385 ext/fileinfo/libmagic/file.h } c; c 500 ext/fileinfo/libmagic/file.h #define strtoul(a, b, c) strtol(a, b, c) c 405 ext/fileinfo/libmagic/funcs.c if (level >= ms->c.len) { c 406 ext/fileinfo/libmagic/funcs.c len = (ms->c.len += 20 + level) * sizeof(*ms->c.li); c 407 ext/fileinfo/libmagic/funcs.c ms->c.li = CAST(struct level_info *, (ms->c.li == NULL) ? c 409 ext/fileinfo/libmagic/funcs.c erealloc(ms->c.li, len)); c 410 ext/fileinfo/libmagic/funcs.c if (ms->c.li == NULL) { c 415 ext/fileinfo/libmagic/funcs.c ms->c.li[level].got_match = 0; c 417 ext/fileinfo/libmagic/funcs.c ms->c.li[level].last_match = 0; c 418 ext/fileinfo/libmagic/funcs.c ms->c.li[level].last_cond = COND_NONE; c 51 ext/fileinfo/libmagic/is_tar.c #define isodigit(c) ( ((c) >= '0') && ((c) <= '7') ) c 222 ext/fileinfo/libmagic/readcdf.c char *c, *ec; c 227 ext/fileinfo/libmagic/readcdf.c c = cdf_ctime(&sec, tbuf); c 228 ext/fileinfo/libmagic/readcdf.c if (c != NULL && c 229 ext/fileinfo/libmagic/readcdf.c (ec = strchr(c, '\n')) != NULL) c 233 ext/fileinfo/libmagic/readcdf.c ", %s: %s", buf, c) == -1) c 104 ext/fileinfo/libmagic/softmagic.c #define F(a, b, c) file_fmtcheck((a), (b), (c), __FILE__, __LINE__) c 118 ext/fileinfo/libmagic/softmagic.c #define F(a, b, c) fmtcheck((b)->desc, (c)) c 120 ext/fileinfo/libmagic/softmagic.c #define F(a, b, c) ((b)->desc) c 246 ext/fileinfo/libmagic/softmagic.c ms->c.li[cont_level].off = moffset(ms, m); c 269 ext/fileinfo/libmagic/softmagic.c ms->c.li[cont_level - 1].off; c 275 ext/fileinfo/libmagic/softmagic.c if (ms->c.li[cont_level].last_match == 1) c 301 ext/fileinfo/libmagic/softmagic.c ms->c.li[cont_level].last_match = 0; c 306 ext/fileinfo/libmagic/softmagic.c ms->c.li[cont_level].last_match = 1; c 309 ext/fileinfo/libmagic/softmagic.c ms->c.li[cont_level].got_match = 0; c 310 ext/fileinfo/libmagic/softmagic.c else if (ms->c.li[cont_level].got_match) { c 314 ext/fileinfo/libmagic/softmagic.c ms->c.li[cont_level].got_match = 1; c 351 ext/fileinfo/libmagic/softmagic.c ms->c.li[cont_level].off = moffset(ms, m); c 1088 ext/fileinfo/libmagic/softmagic.c const char *c; c 1125 ext/fileinfo/libmagic/softmagic.c memchr(c = b, '\n', CAST(size_t, (end - b))))) c 1127 ext/fileinfo/libmagic/softmagic.c memchr(c, '\r', CAST(size_t, (end - c)))))); c 1587 ext/fileinfo/libmagic/softmagic.c offset += ms->c.li[cont_level-1].off; c 71 ext/fileinfo/libmagic/strcasestr.c char c, sc; c 74 ext/fileinfo/libmagic/strcasestr.c if ((c = *find++) != 0) { c 75 ext/fileinfo/libmagic/strcasestr.c c = tolower((unsigned char)c); c 81 ext/fileinfo/libmagic/strcasestr.c } while ((char)tolower((unsigned char)sc) != c); c 114 ext/filter/sanitizing_filters.c int i, c; c 124 ext/filter/sanitizing_filters.c c = 0; c 130 ext/filter/sanitizing_filters.c ZSTR_VAL(buf)[c] = str[i]; c 131 ext/filter/sanitizing_filters.c ++c; c 135 ext/filter/sanitizing_filters.c ZSTR_VAL(buf)[c] = '\0'; c 136 ext/filter/sanitizing_filters.c ZSTR_LEN(buf) = c; c 161 ext/filter/sanitizing_filters.c int i, c; c 166 ext/filter/sanitizing_filters.c c = 0; c 169 ext/filter/sanitizing_filters.c ZSTR_VAL(buf)[c] = str[i]; c 170 ext/filter/sanitizing_filters.c ++c; c 174 ext/filter/sanitizing_filters.c ZSTR_VAL(buf)[c] = '\0'; c 175 ext/filter/sanitizing_filters.c ZSTR_LEN(buf) = c; c 118 ext/ftp/ftp.c unsigned char c[8]; c 811 ext/ftp/ftp.c ipbox.c[n] = (unsigned char) b[n]; c 1609 ext/ftp/ftp.c snprintf(arg, sizeof(arg), "%u,%u,%u,%u,%u,%u", ipbox.c[0], ipbox.c[1], ipbox.c[2], ipbox.c[3], ipbox.c[4], ipbox.c[5]); c 598 ext/gd/gd.c ZEND_ARG_INFO(0, c) c 607 ext/gd/gd.c ZEND_ARG_INFO(0, c) c 1927 ext/gd/gd.c int c = GetPixel(memDC, x,y); c 1928 ext/gd/gd.c gdImageSetPixel(im, x, y, gdTrueColor(GetRValue(c), GetGValue(c), GetBValue(c))); c 1987 ext/gd/gd.c int c = GetPixel(memDC, x,y); c 1988 ext/gd/gd.c gdImageSetPixel(im, x, y, gdTrueColor(GetRValue(c), GetGValue(c), GetBValue(c))); c 3021 ext/gd/gd.c int x, y, c; c 3025 ext/gd/gd.c c = gdImageGetPixel(im, x, y); c 3028 ext/gd/gd.c (int) ((pow((pow((gdTrueColorGetRed(c) / 255.0), input)), 1.0 / output) * 255) + .5), c 3029 ext/gd/gd.c (int) ((pow((pow((gdTrueColorGetGreen(c) / 255.0), input)), 1.0 / output) * 255) + .5), c 3030 ext/gd/gd.c (int) ((pow((pow((gdTrueColorGetBlue(c) / 255.0), input)), 1.0 / output) * 255) + .5), c 3031 ext/gd/gd.c gdTrueColorGetAlpha(c) c 3477 ext/gd/gd.c static void php_gdimagecharup(gdImagePtr im, gdFontPtr f, int x, int y, int c, int color) c 3483 ext/gd/gd.c if ((c < f->offset) || (c >= (f->offset + f->nchars))) { c 3487 ext/gd/gd.c fline = (c - f->offset) * f->h * f->w; c 23 ext/gd/gd_ctx.c #define CTX_PUTC(c,ctx) ctx->putC(ctx, c) c 25 ext/gd/gd_ctx.c static void _php_image_output_putc(struct gdIOCtx *ctx, int c) /* {{{ */ c 31 ext/gd/gd_ctx.c unsigned char ch = (unsigned char) c; c 47 ext/gd/gd_ctx.c static void _php_image_stream_putc(struct gdIOCtx *ctx, int c) /* {{{ */ { c 48 ext/gd/gd_ctx.c char ch = (char) c; c 308 ext/gd/libgd/gd.c #define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c))) c 312 ext/gd/libgd/gd.c #define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c))) c 529 ext/gd/libgd/gd.c int c; c 539 ext/gd/libgd/gd.c for (c = 0; c < im->colorsTotal; c++) c 541 ext/gd/libgd/gd.c if (im->open[c]) c 543 ext/gd/libgd/gd.c op = c; /* Save open slot */ c 546 ext/gd/libgd/gd.c if (c == im->transparent) c 552 ext/gd/libgd/gd.c rd = (long) (im->red[c] - r); c 553 ext/gd/libgd/gd.c gd = (long) (im->green[c] - g); c 554 ext/gd/libgd/gd.c bd = (long) (im->blue[c] - b); c 555 ext/gd/libgd/gd.c ad = (long) (im->alpha[c] - a); c 561 ext/gd/libgd/gd.c return c; /* Return exact match color */ c 564 ext/gd/libgd/gd.c ct = c; c 1263 ext/gd/libgd/gd.c #define BLEND_COLOR(a, nc, c, cc) \ c 1264 ext/gd/libgd/gd.c nc = (cc) + (((((c) - (cc)) * (a)) + ((((c) - (cc)) * (a)) >> 8) + 0x80) >> 8); c 1540 ext/gd/libgd/gd.c void gdImageChar (gdImagePtr im, gdFontPtr f, int x, int y, int c, int color) c 1548 ext/gd/libgd/gd.c c = ASC (c); c 1550 ext/gd/libgd/gd.c if ((c < f->offset) || (c >= (f->offset + f->nchars))) { c 1553 ext/gd/libgd/gd.c fline = (c - f->offset) * f->h * f->w; c 1566 ext/gd/libgd/gd.c void gdImageCharUp (gdImagePtr im, gdFontPtr f, int x, int y, int c, int color) c 1574 ext/gd/libgd/gd.c c = ASC (c); c 1576 ext/gd/libgd/gd.c if ((c < f->offset) || (c >= (f->offset + f->nchars))) { c 1579 ext/gd/libgd/gd.c fline = (c - f->offset) * f->h * f->w; c 1809 ext/gd/libgd/gd.c int c = gdImageGetPixel(im, i, y - 1); c 1811 ext/gd/libgd/gd.c if ((c != border) && (c != color)) { c 1815 ext/gd/libgd/gd.c } else if ((c == border) || (c == color)) { c 1825 ext/gd/libgd/gd.c int c = gdImageGetPixel(im, i, y + 1); c 1828 ext/gd/libgd/gd.c if ((c != border) && (c != color)) { c 1832 ext/gd/libgd/gd.c } else if ((c == border) || (c == color)) { c 1901 ext/gd/libgd/gd.c int ix = x, iy = y, c; c 1904 ext/gd/libgd/gd.c c = gdImageGetPixel(im, ix, iy); c 1905 ext/gd/libgd/gd.c if (c != oc) { c 2162 ext/gd/libgd/gd.c int c; c 2177 ext/gd/libgd/gd.c int c = gdImageGetTrueColorPixel (src, srcX + x, srcY + y); c 2178 ext/gd/libgd/gd.c gdImageSetPixel (dst, dstX + x, dstY + y, c); c 2185 ext/gd/libgd/gd.c int c = gdImageGetPixel (src, srcX + x, srcY + y); c 2186 ext/gd/libgd/gd.c if (c != src->transparent) { c 2187 ext/gd/libgd/gd.c gdImageSetPixel(dst, dstX + x, dstY + y, gdTrueColorAlpha(src->red[c], src->green[c], src->blue[c], src->alpha[c])); c 2202 ext/gd/libgd/gd.c c = gdImageGetPixel (src, x, y); c 2205 ext/gd/libgd/gd.c nc = gdImageColorResolveAlpha(dst, gdTrueColorGetRed(c), gdTrueColorGetGreen(c), gdTrueColorGetBlue(c), gdTrueColorGetAlpha(c)); c 2225 ext/gd/libgd/gd.c c = gdImageGetPixel (src, x, y); c 2227 ext/gd/libgd/gd.c if (gdImageGetTransparent (src) == c) { c 2236 ext/gd/libgd/gd.c mapTo = gdImageColorResolveAlpha (dst, gdTrueColorGetRed (c), gdTrueColorGetGreen (c), gdTrueColorGetBlue (c), gdTrueColorGetAlpha (c)); c 2237 ext/gd/libgd/gd.c } else if (colorMap[c] == (-1)) { c 2240 ext/gd/libgd/gd.c nc = c; c 2243 ext/gd/libgd/gd.c nc = gdImageColorResolveAlpha (dst, src->red[c], src->green[c], src->blue[c], src->alpha[c]); c 2245 ext/gd/libgd/gd.c colorMap[c] = nc; c 2246 ext/gd/libgd/gd.c mapTo = colorMap[c]; c 2248 ext/gd/libgd/gd.c mapTo = colorMap[c]; c 2261 ext/gd/libgd/gd.c int c, dc; c 2271 ext/gd/libgd/gd.c c = gdImageGetPixel(src, x, y); c 2273 ext/gd/libgd/gd.c if (gdImageGetTransparent(src) == c) { c 2279 ext/gd/libgd/gd.c nc = c; c 2283 ext/gd/libgd/gd.c ncR = (int)(gdImageRed (src, c) * (pct / 100.0) + gdImageRed (dst, dc) * ((100 - pct) / 100.0)); c 2284 ext/gd/libgd/gd.c ncG = (int)(gdImageGreen (src, c) * (pct / 100.0) + gdImageGreen (dst, dc) * ((100 - pct) / 100.0)); c 2285 ext/gd/libgd/gd.c ncB = (int)(gdImageBlue (src, c) * (pct / 100.0) + gdImageBlue (dst, dc) * ((100 - pct) / 100.0)); c 2301 ext/gd/libgd/gd.c int c, dc; c 2312 ext/gd/libgd/gd.c c = gdImageGetPixel (src, x, y); c 2314 ext/gd/libgd/gd.c if (gdImageGetTransparent(src) == c) { c 2325 ext/gd/libgd/gd.c nc = c; c 2330 ext/gd/libgd/gd.c ncR = (int)(gdImageRed (src, c) * (pct / 100.0f) + g * ((100 - pct) / 100.0)); c 2331 ext/gd/libgd/gd.c ncG = (int)(gdImageGreen (src, c) * (pct / 100.0f) + g * ((100 - pct) / 100.0)); c 2332 ext/gd/libgd/gd.c ncB = (int)(gdImageBlue (src, c) * (pct / 100.0f) + g * ((100 - pct) / 100.0)); c 2355 ext/gd/libgd/gd.c int c; c 2415 ext/gd/libgd/gd.c c = gdImageGetPixel (src, x, y); c 2417 ext/gd/libgd/gd.c if (gdImageGetTransparent (src) == c) { c 2423 ext/gd/libgd/gd.c mapTo = gdImageColorResolveAlpha(dst, gdTrueColorGetRed(c), c 2424 ext/gd/libgd/gd.c gdTrueColorGetGreen(c), c 2425 ext/gd/libgd/gd.c gdTrueColorGetBlue(c), c 2426 ext/gd/libgd/gd.c gdTrueColorGetAlpha (c)); c 2429 ext/gd/libgd/gd.c if (colorMap[c] == (-1)) { c 2432 ext/gd/libgd/gd.c nc = c; c 2436 ext/gd/libgd/gd.c nc = gdImageColorResolveAlpha(dst, gdImageRed(src, c), c 2437 ext/gd/libgd/gd.c gdImageGreen(src, c), c 2438 ext/gd/libgd/gd.c gdImageBlue(src, c), c 2439 ext/gd/libgd/gd.c gdImageAlpha(src, c)); c 2441 ext/gd/libgd/gd.c colorMap[c] = nc; c 2443 ext/gd/libgd/gd.c mapTo = colorMap[c]; c 2565 ext/gd/libgd/gd.c void gdImagePolygon (gdImagePtr im, gdPointPtr p, int n, int c) c 2579 ext/gd/libgd/gd.c if (c == gdAntiAliased) { c 2590 ext/gd/libgd/gd.c draw_line(im, lx, ly, p[n - 1].x, p[n - 1].y, c); c 2593 ext/gd/libgd/gd.c draw_line(im, lx, ly, p->x, p->y, c); c 2598 ext/gd/libgd/gd.c if (c == gdAntiAliased) { c 2614 ext/gd/libgd/gd.c void gdImageFilledPolygon (gdImagePtr im, gdPointPtr p, int n, int c) c 2633 ext/gd/libgd/gd.c if (c == gdAntiAliased) { c 2636 ext/gd/libgd/gd.c fill_color = c; c 2716 ext/gd/libgd/gd.c if (c == gdAntiAliased) { c 2717 ext/gd/libgd/gd.c gdImagePolygon(im, p, n, c); c 2768 ext/gd/libgd/gd.c void gdImageSetAntiAliased (gdImagePtr im, int c) c 2771 ext/gd/libgd/gd.c im->AA_color = c; c 2775 ext/gd/libgd/gd.c void gdImageSetAntiAliasedDontBlend (gdImagePtr im, int c, int dont_blend) c 2778 ext/gd/libgd/gd.c im->AA_color = c; c 3052 ext/gd/libgd/gd.c const unsigned char c = *(src_row + x); c 3053 ext/gd/libgd/gd.c if (c == src->transparent) { c 3056 ext/gd/libgd/gd.c *(dst_row + x) = gdTrueColorAlpha(src->red[c], src->green[c], src->blue[c], src->alpha[c]); c 3073 ext/gd/libgd/gd.c const unsigned char c = src->transparent; c 3074 ext/gd/libgd/gd.c src->transparent = gdTrueColorAlpha(src->red[c], src->green[c], src->blue[c], src->alpha[c]); c 87 ext/gd/libgd/gd.h #define gdTrueColorGetAlpha(c) (((c) & 0x7F000000) >> 24) c 88 ext/gd/libgd/gd.h #define gdTrueColorGetRed(c) (((c) & 0xFF0000) >> 16) c 89 ext/gd/libgd/gd.h #define gdTrueColorGetGreen(c) (((c) & 0x00FF00) >> 8) c 90 ext/gd/libgd/gd.h #define gdTrueColorGetBlue(c) ((c) & 0x0000FF) c 436 ext/gd/libgd/gd.h void gdImageChar(gdImagePtr im, gdFontPtr f, int x, int y, int c, int color); c 437 ext/gd/libgd/gd.h void gdImageCharUp(gdImagePtr im, gdFontPtr f, int x, int y, int c, int color); c 504 ext/gd/libgd/gd.h void gdImagePolygon(gdImagePtr im, gdPointPtr p, int n, int c); c 505 ext/gd/libgd/gd.h void gdImageFilledPolygon(gdImagePtr im, gdPointPtr p, int n, int c); c 647 ext/gd/libgd/gd.h void gdImageEllipse(gdImagePtr im, int cx, int cy, int w, int h, int c); c 702 ext/gd/libgd/gd.h void gdImageSetAntiAliased(gdImagePtr im, int c); c 703 ext/gd/libgd/gd.h void gdImageSetAntiAliasedDontBlend(gdImagePtr im, int c, int dont_blend); c 731 ext/gd/libgd/gd.h #define gdImageRed(im, c) ((im)->trueColor ? gdTrueColorGetRed(c) : \ c 732 ext/gd/libgd/gd.h (im)->red[(c)]) c 733 ext/gd/libgd/gd.h #define gdImageGreen(im, c) ((im)->trueColor ? gdTrueColorGetGreen(c) : \ c 734 ext/gd/libgd/gd.h (im)->green[(c)]) c 735 ext/gd/libgd/gd.h #define gdImageBlue(im, c) ((im)->trueColor ? gdTrueColorGetBlue(c) : \ c 736 ext/gd/libgd/gd.h (im)->blue[(c)]) c 737 ext/gd/libgd/gd.h #define gdImageAlpha(im, c) ((im)->trueColor ? gdTrueColorGetAlpha(c) : \ c 738 ext/gd/libgd/gd.h (im)->alpha[(c)]) c 18 ext/gd/libgd/gd2time.c int c; c 28 ext/gd/libgd/gd2time.c c = atoi (argv[2]); c 34 ext/gd/libgd/gd2time.c printf ("Extracting %d times from (%d, %d), size is %dx%d\n", c, x, y, w, h); c 37 ext/gd/libgd/gd2time.c for (i = 0; i < c; i++) c 57 ext/gd/libgd/gd2time.c printf ("%d seconds to extract (& destroy) %d times\n", t0, c); c 17 ext/gd/libgd/gd_arc.c void gdImageEllipse(gdImagePtr im, int mx, int my, int w, int h, int c) c 24 ext/gd/libgd/gd_arc.c gdImageSetPixel(im,mx+a, my, c); c 25 ext/gd/libgd/gd_arc.c gdImageSetPixel(im,mx-a, my, c); c 49 ext/gd/libgd/gd_arc.c gdImageSetPixel(im,mx1, my1, c); c 50 ext/gd/libgd/gd_arc.c gdImageSetPixel(im,mx1, my2, c); c 51 ext/gd/libgd/gd_arc.c gdImageSetPixel(im,mx2, my1, c); c 52 ext/gd/libgd/gd_arc.c gdImageSetPixel(im,mx2, my2, c); c 56 ext/gd/libgd/gd_arc.c void gdImageFilledEllipse (gdImagePtr im, int mx, int my, int w, int h, int c) c 67 ext/gd/libgd/gd_arc.c gdImageSetPixel(im, x, my, c); c 96 ext/gd/libgd/gd_arc.c gdImageSetPixel(im,i,my1,c); c 97 ext/gd/libgd/gd_arc.c gdImageSetPixel(im,i,my2,c); c 137 ext/gd/libgd/gd_gif_in.c unsigned char c; c 190 ext/gd/libgd/gd_gif_in.c if (! ReadOK(fd,&c,1)) { c 193 ext/gd/libgd/gd_gif_in.c if (c == ';') { /* GIF terminator */ c 197 ext/gd/libgd/gd_gif_in.c if (c == '!') { /* Extension */ c 198 ext/gd/libgd/gd_gif_in.c if (! ReadOK(fd,&c,1)) { c 201 ext/gd/libgd/gd_gif_in.c DoExtension(fd, c, &Transparent, &ZeroDataBlock); c 205 ext/gd/libgd/gd_gif_in.c if (c != ',') { /* Not a valid start character */ c 555 ext/gd/libgd/gd_gif_in.c unsigned char c; c 565 ext/gd/libgd/gd_gif_in.c if (! ReadOK(fd,&c,1)) { c 569 ext/gd/libgd/gd_gif_in.c if (c > MAX_LWZ_BITS) { c 582 ext/gd/libgd/gd_gif_in.c if (LWZReadByte(fd, &sd, TRUE, c, ZeroDataBlockP) < 0) { c 596 ext/gd/libgd/gd_gif_in.c while ((v = LWZReadByte(fd, &sd, FALSE, c, ZeroDataBlockP)) >= 0) { c 641 ext/gd/libgd/gd_gif_in.c if (LWZReadByte(fd, &sd, FALSE, c, ZeroDataBlockP) >=0) { c 98 ext/gd/libgd/gd_gif_out.c static void char_out (int c, GifCtx *ctx); c 496 ext/gd/libgd/gd_gif_out.c register int c; c 537 ext/gd/libgd/gd_gif_out.c while ( (c = GIFNextPixel( im )) != (unsigned) EOF ) { c 539 ext/gd/libgd/gd_gif_out.c while ( (c = GIFNextPixel( im, ctx )) != EOF ) { /* } */ c 544 ext/gd/libgd/gd_gif_out.c fcode = (long) (((long) c << maxbits) + ent); c 545 ext/gd/libgd/gd_gif_out.c i = (((code_int)c << hshift) ^ ent); /* xor hashing */ c 568 ext/gd/libgd/gd_gif_out.c ent = c; c 732 ext/gd/libgd/gd_gif_out.c char_out(int c, GifCtx *ctx) c 734 ext/gd/libgd/gd_gif_out.c ctx->accum[ ctx->a_count++ ] = c; c 6 ext/gd/libgd/gd_intern.h #define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c))) c 10 ext/gd/libgd/gd_intern.h #define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c))) c 72 ext/gd/libgd/gd_interpolation.c #define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c))) c 76 ext/gd/libgd/gd_interpolation.c #define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c))) c 531 ext/gd/libgd/gd_interpolation.c double a, b, c, d; c 539 ext/gd/libgd/gd_interpolation.c if (x <= 0) c = 0.0f; else c = x*x*x; c 542 ext/gd/libgd/gd_interpolation.c return (0.16666666666666666667f * (a - (4.0f * b) + (6.0f * c) - (4.0f * d))); c 641 ext/gd/libgd/gd_interpolation.c register int c = src->tpixels[y][x]; c 642 ext/gd/libgd/gd_interpolation.c c = c | (( (int) (gd_fxtof(gd_mulfx(coverage, f_127)) + 50.5f)) << 24); c 643 ext/gd/libgd/gd_interpolation.c return _color_blend(bgColor, c); c 649 ext/gd/libgd/gd_interpolation.c const int c = im->tpixels[y][x]; c 650 ext/gd/libgd/gd_interpolation.c if (c == im->transparent) { c 653 ext/gd/libgd/gd_interpolation.c return c; c 695 ext/gd/libgd/gd_interpolation.c #define colorIndex2RGBA(c) gdTrueColorAlpha(im->red[(c)], im->green[(c)], im->blue[(c)], im->alpha[(c)]) c 696 ext/gd/libgd/gd_interpolation.c #define colorIndex2RGBcustomA(c, a) gdTrueColorAlpha(im->red[(c)], im->green[(c)], im->blue[(c)], im->alpha[(a)]) c 700 ext/gd/libgd/gd_interpolation.c const int c = im->pixels[y][x]; c 701 ext/gd/libgd/gd_interpolation.c if (c == im->transparent) { c 704 ext/gd/libgd/gd_interpolation.c return colorIndex2RGBA(c); c 1163 ext/gd/libgd/gd_interpolation.c const int c = im->tpixels[y][x]; c 1164 ext/gd/libgd/gd_interpolation.c if (c == im->transparent) { c 1167 ext/gd/libgd/gd_interpolation.c return c; c 1591 ext/gd/libgd/gd_interpolation.c register int c; c 1605 ext/gd/libgd/gd_interpolation.c c = src->tpixels[*(src_offset_y + _k)][*(src_offset_x + _k)]; c 1606 ext/gd/libgd/gd_interpolation.c f_rs = gd_itofx(gdTrueColorGetRed(c)); c 1607 ext/gd/libgd/gd_interpolation.c f_gs = gd_itofx(gdTrueColorGetGreen(c)); c 1608 ext/gd/libgd/gd_interpolation.c f_bs = gd_itofx(gdTrueColorGetBlue(c)); c 1609 ext/gd/libgd/gd_interpolation.c f_ba = gd_itofx(gdTrueColorGetAlpha(c)); c 1765 ext/gd/libgd/gd_interpolation.c register int c = getPixelInterpolated(src, n, m, bgColor); c 1766 ext/gd/libgd/gd_interpolation.c c = c | (( gdTrueColorGetAlpha(c) + ((int)(127* gd_fxtof(f_slop)))) << 24); c 1768 ext/gd/libgd/gd_interpolation.c dst->tpixels[dst_offset_y][dst_offset_x++] = _color_blend(bgColor, c); c 2100 ext/gd/libgd/gd_interpolation.c register int c; c 2122 ext/gd/libgd/gd_interpolation.c c = bgColor; c 2125 ext/gd/libgd/gd_interpolation.c c = src->tpixels[src_offset_y[_k]][src_offset_x[_k]]; c 2126 ext/gd/libgd/gd_interpolation.c c = c | (( (int) (gd_fxtof(gd_mulfx(f_R, f_127)) + 50.5f)) << 24); c 2127 ext/gd/libgd/gd_interpolation.c c = _color_blend(bgColor, c); c 2129 ext/gd/libgd/gd_interpolation.c c = src->tpixels[src_offset_y[_k]][src_offset_x[_k]]; c 2132 ext/gd/libgd/gd_interpolation.c f_rs = gd_itofx(gdTrueColorGetRed(c)); c 2133 ext/gd/libgd/gd_interpolation.c f_gs = gd_itofx(gdTrueColorGetGreen(c)); c 2134 ext/gd/libgd/gd_interpolation.c f_bs = gd_itofx(gdTrueColorGetBlue(c)); c 2135 ext/gd/libgd/gd_interpolation.c f_as = gd_itofx(gdTrueColorGetAlpha(c)); c 43 ext/gd/libgd/gd_io.c void Putchar (int c, gdIOCtx * ctx) c 45 ext/gd/libgd/gd_io.c (ctx->putC) (ctx, c & 0xff); c 48 ext/gd/libgd/gd_io.c void gdPutC (const unsigned char c, gdIOCtx * ctx) c 50 ext/gd/libgd/gd_io.c (ctx->putC) (ctx, c); c 28 ext/gd/libgd/gd_io.h void Putchar(int c, gdIOCtx *ctx); c 30 ext/gd/libgd/gd_io.h void gdPutC(const unsigned char c, gdIOCtx *ctx); c 308 ext/gd/libgd/gd_jpeg.c static int CMYKToRGB(int c, int m, int y, int k, int inverted); c 499 ext/gd/libgd/gd_jpeg.c static int CMYKToRGB(int c, int m, int y, int k, int inverted) c 502 ext/gd/libgd/gd_jpeg.c c = 255 - c; c 507 ext/gd/libgd/gd_jpeg.c return gdTrueColor((255 - c) * (255 - k) / 255, (255 - m) * (255 - k) / 255, (255 - y) * (255 - k) / 255); c 17 ext/gd/libgd/gd_pixelate.c int c = gdImageGetPixel(im, x, y); c 18 ext/gd/libgd/gd_pixelate.c gdImageFilledRectangle(im, x, y, x + block_size - 1, y + block_size - 1, c); c 26 ext/gd/libgd/gd_pixelate.c int a, r, g, b, c; c 30 ext/gd/libgd/gd_pixelate.c a = r = g = b = c = total = 0; c 37 ext/gd/libgd/gd_pixelate.c c = gdImageGetPixel(im, x + cx, y + cy); c 38 ext/gd/libgd/gd_pixelate.c a += gdImageAlpha(im, c); c 39 ext/gd/libgd/gd_pixelate.c r += gdImageRed(im, c); c 40 ext/gd/libgd/gd_pixelate.c g += gdImageGreen(im, c); c 41 ext/gd/libgd/gd_pixelate.c b += gdImageBlue(im, c); c 47 ext/gd/libgd/gd_pixelate.c c = gdImageColorResolveAlpha(im, r / total, g / total, b / total, a / total); c 48 ext/gd/libgd/gd_pixelate.c gdImageFilledRectangle(im, x, y, x + block_size - 1, y + block_size - 1, c); c 208 ext/gd/libgd/gd_rotate.c int c,r,g,b,a; c 230 ext/gd/libgd/gd_rotate.c c = f (src, uX, uY); c 232 ext/gd/libgd/gd_rotate.c r = gdImageRed(src,c); c 233 ext/gd/libgd/gd_rotate.c g = gdImageGreen(src,c); c 234 ext/gd/libgd/gd_rotate.c b = gdImageBlue(src,c); c 235 ext/gd/libgd/gd_rotate.c a = gdImageAlpha(src,c); c 236 ext/gd/libgd/gd_rotate.c c = gdTrueColorAlpha(r, g, b, a); c 238 ext/gd/libgd/gd_rotate.c if (ignoretransparent && c == dst->transparent) { c 241 ext/gd/libgd/gd_rotate.c gdImageSetPixel(dst, uY, (dst->sy - uX - 1), c); c 255 ext/gd/libgd/gd_rotate.c int c,r,g,b,a; c 277 ext/gd/libgd/gd_rotate.c c = f (src, uX, uY); c 279 ext/gd/libgd/gd_rotate.c r = gdImageRed(src,c); c 280 ext/gd/libgd/gd_rotate.c g = gdImageGreen(src,c); c 281 ext/gd/libgd/gd_rotate.c b = gdImageBlue(src,c); c 282 ext/gd/libgd/gd_rotate.c a = gdImageAlpha(src,c); c 283 ext/gd/libgd/gd_rotate.c c = gdTrueColorAlpha(r, g, b, a); c 286 ext/gd/libgd/gd_rotate.c if (ignoretransparent && c == dst->transparent) { c 289 ext/gd/libgd/gd_rotate.c gdImageSetPixel(dst, (dst->sx - uX - 1), (dst->sy - uY - 1), c); c 303 ext/gd/libgd/gd_rotate.c int c,r,g,b,a; c 325 ext/gd/libgd/gd_rotate.c c = f (src, uX, uY); c 327 ext/gd/libgd/gd_rotate.c r = gdImageRed(src,c); c 328 ext/gd/libgd/gd_rotate.c g = gdImageGreen(src,c); c 329 ext/gd/libgd/gd_rotate.c b = gdImageBlue(src,c); c 330 ext/gd/libgd/gd_rotate.c a = gdImageAlpha(src,c); c 331 ext/gd/libgd/gd_rotate.c c = gdTrueColorAlpha(r, g, b, a); c 334 ext/gd/libgd/gd_rotate.c if (ignoretransparent && c == dst->transparent) { c 337 ext/gd/libgd/gd_rotate.c gdImageSetPixel(dst, (dst->sx - uY - 1), uX, c); c 130 ext/gd/libgd/gd_webp.c register int c; c 132 ext/gd/libgd/gd_webp.c c = im->tpixels[y][x]; c 133 ext/gd/libgd/gd_webp.c a = gdTrueColorGetAlpha(c); c 139 ext/gd/libgd/gd_webp.c *(p++) = gdTrueColorGetRed(c); c 140 ext/gd/libgd/gd_webp.c *(p++) = gdTrueColorGetGreen(c); c 141 ext/gd/libgd/gd_webp.c *(p++) = gdTrueColorGetBlue(c); c 1019 ext/gd/libgd/gdft.c unsigned char c; c 1021 ext/gd/libgd/gdft.c c = *next; c 1022 ext/gd/libgd/gdft.c if (0xA1 <= c && c <= 0xFE) { c 1024 ext/gd/libgd/gdft.c jiscode = 0x100 * (c & 0x7F) + ((*next) & 0x7F); c 1045 ext/gd/libgd/gdft.c ch = c & 0xFF; /* don't extend sign */ c 92 ext/gd/libgd/gdkanji.c int c, i; c 95 ext/gd/libgd/gdkanji.c c = '\1'; c 104 ext/gd/libgd/gdkanji.c while ((whatcode == EUCORSJIS || whatcode == ASCII) && c != '\0') c 106 ext/gd/libgd/gdkanji.c if ((c = str[i++]) != '\0') c 108 ext/gd/libgd/gdkanji.c if (c == ESC) c 110 ext/gd/libgd/gdkanji.c c = str[i++]; c 111 ext/gd/libgd/gdkanji.c if (c == '$') c 113 ext/gd/libgd/gdkanji.c c = str[i++]; c 114 ext/gd/libgd/gdkanji.c if (c == 'B') c 116 ext/gd/libgd/gdkanji.c else if (c == '@') c 119 ext/gd/libgd/gdkanji.c else if (c == '(') c 121 ext/gd/libgd/gdkanji.c c = str[i++]; c 122 ext/gd/libgd/gdkanji.c if (c == 'I') c 125 ext/gd/libgd/gdkanji.c else if (c == 'K') c 128 ext/gd/libgd/gdkanji.c else if ((c >= 129 && c <= 141) || (c >= 143 && c <= 159)) c 130 ext/gd/libgd/gdkanji.c else if (c == SS2) c 132 ext/gd/libgd/gdkanji.c c = str[i++]; c 133 ext/gd/libgd/gdkanji.c if ((c >= 64 && c <= 126) || (c >= 128 && c <= 160) || (c >= 224 && c <= 252)) c 135 ext/gd/libgd/gdkanji.c else if (c >= 161 && c <= 223) c 138 ext/gd/libgd/gdkanji.c else if (c >= 161 && c <= 223) c 140 ext/gd/libgd/gdkanji.c c = str[i++]; c 141 ext/gd/libgd/gdkanji.c if (c >= 240 && c <= 254) c 143 ext/gd/libgd/gdkanji.c else if (c >= 161 && c <= 223) c 145 ext/gd/libgd/gdkanji.c else if (c >= 224 && c <= 239) c 148 ext/gd/libgd/gdkanji.c while (c >= 64 && c != '\0' && whatcode == EUCORSJIS) c 150 ext/gd/libgd/gdkanji.c if (c >= 129) c 152 ext/gd/libgd/gdkanji.c if (c <= 141 || (c >= 143 && c <= 159)) c 154 ext/gd/libgd/gdkanji.c else if (c >= 253 && c <= 254) c 157 ext/gd/libgd/gdkanji.c c = str[i++]; c 160 ext/gd/libgd/gdkanji.c else if (c <= 159) c 163 ext/gd/libgd/gdkanji.c else if (c >= 240 && c <= 254) c 165 ext/gd/libgd/gdkanji.c else if (c >= 224 && c <= 239) c 167 ext/gd/libgd/gdkanji.c c = str[i++]; c 168 ext/gd/libgd/gdkanji.c if ((c >= 64 && c <= 126) || (c >= 128 && c <= 160)) c 170 ext/gd/libgd/gdkanji.c else if (c >= 253 && c <= 254) c 172 ext/gd/libgd/gdkanji.c else if (c >= 161 && c <= 252) c 244 ext/gd/libgd/gdkanji.c #define IS_DAKU(c) ((c >= 182 && c <= 196) || (c >= 202 && c <= 206) || (c == 179)) c 245 ext/gd/libgd/gdkanji.c #define IS_HANDAKU(c) (c >= 202 && c <= 206) c 250 ext/gd/libgd/gdkanji.c int c = *p1; c 325 ext/gd/libgd/gdkanji.c *p1 = mtable[c - 161][0]; c 326 ext/gd/libgd/gdkanji.c *p2 = mtable[c - 161][1]; c 606 ext/gd/libgd/gdkanji.c int c, i = 0; c 608 ext/gd/libgd/gdkanji.c while ((c = fgetc (stdin)) != '\n' && i < BUFSIZ) c 609 ext/gd/libgd/gdkanji.c input[i++] = c; c 64 ext/gd/libgd/wbmp.c putmbi (int i, void (*putout) (int c, void *out), void *out) c 248 ext/gd/libgd/wbmp.c writewbmp (Wbmp * wbmp, void (*putout) (int c, void *out), void *out) c 333 ext/gd/libgd/wbmp.c putout (int c, void *out) c 335 ext/gd/libgd/wbmp.c return (putc (c, (FILE *) out)); c 43 ext/gd/libgd/wbmp.h void putmbi( int i, void (*putout)(int c, void *out), void *out); c 48 ext/gd/libgd/wbmp.h int writewbmp( Wbmp *wbmp, void (*putout)( int c, void *out), void *out); c 176 ext/gd/libgd/xbm.c int x, y, c, b, sx, sy, p; c 205 ext/gd/libgd/xbm.c c = 0; c 211 ext/gd/libgd/xbm.c c |= b; c 223 ext/gd/libgd/xbm.c gdCtxPrintf(out, "0x%02X", c); c 224 ext/gd/libgd/xbm.c c = 0; c 94 ext/hash/hash_fnv.c unsigned char *c = (unsigned char *) &context->state; c 97 ext/hash/hash_fnv.c digest[i] = c[3 - i]; c 129 ext/hash/hash_fnv.c unsigned char *c = (unsigned char *) &context->state; c 132 ext/hash/hash_fnv.c digest[i] = c[7 - i]; c 54 ext/hash/hash_joaat.c unsigned char *c = (unsigned char *) &context->state; c 57 ext/hash/hash_joaat.c digest[i] = c[3 - i]; c 243 ext/hash/hash_md.c #define FF(a, b, c, d, x, s, ac) { \ c 244 ext/hash/hash_md.c (a) += F ((b), (c), (d)) + (x) + (php_hash_uint32)(ac); \ c 248 ext/hash/hash_md.c #define GG(a, b, c, d, x, s, ac) { \ c 249 ext/hash/hash_md.c (a) += G ((b), (c), (d)) + (x) + (php_hash_uint32)(ac); \ c 253 ext/hash/hash_md.c #define HH(a, b, c, d, x, s, ac) { \ c 254 ext/hash/hash_md.c (a) += H ((b), (c), (d)) + (x) + (php_hash_uint32)(ac); \ c 258 ext/hash/hash_md.c #define II(a, b, c, d, x, s, ac) { \ c 259 ext/hash/hash_md.c (a) += I ((b), (c), (d)) + (x) + (php_hash_uint32)(ac); \ c 358 ext/hash/hash_md.c php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3], x[16]; c 363 ext/hash/hash_md.c FF(a, b, c, d, x[0], S11, 0xd76aa478); /* 1 */ c 364 ext/hash/hash_md.c FF(d, a, b, c, x[1], S12, 0xe8c7b756); /* 2 */ c 365 ext/hash/hash_md.c FF(c, d, a, b, x[2], S13, 0x242070db); /* 3 */ c 366 ext/hash/hash_md.c FF(b, c, d, a, x[3], S14, 0xc1bdceee); /* 4 */ c 367 ext/hash/hash_md.c FF(a, b, c, d, x[4], S11, 0xf57c0faf); /* 5 */ c 368 ext/hash/hash_md.c FF(d, a, b, c, x[5], S12, 0x4787c62a); /* 6 */ c 369 ext/hash/hash_md.c FF(c, d, a, b, x[6], S13, 0xa8304613); /* 7 */ c 370 ext/hash/hash_md.c FF(b, c, d, a, x[7], S14, 0xfd469501); /* 8 */ c 371 ext/hash/hash_md.c FF(a, b, c, d, x[8], S11, 0x698098d8); /* 9 */ c 372 ext/hash/hash_md.c FF(d, a, b, c, x[9], S12, 0x8b44f7af); /* 10 */ c 373 ext/hash/hash_md.c FF(c, d, a, b, x[10], S13, 0xffff5bb1); /* 11 */ c 374 ext/hash/hash_md.c FF(b, c, d, a, x[11], S14, 0x895cd7be); /* 12 */ c 375 ext/hash/hash_md.c FF(a, b, c, d, x[12], S11, 0x6b901122); /* 13 */ c 376 ext/hash/hash_md.c FF(d, a, b, c, x[13], S12, 0xfd987193); /* 14 */ c 377 ext/hash/hash_md.c FF(c, d, a, b, x[14], S13, 0xa679438e); /* 15 */ c 378 ext/hash/hash_md.c FF(b, c, d, a, x[15], S14, 0x49b40821); /* 16 */ c 381 ext/hash/hash_md.c GG(a, b, c, d, x[1], S21, 0xf61e2562); /* 17 */ c 382 ext/hash/hash_md.c GG(d, a, b, c, x[6], S22, 0xc040b340); /* 18 */ c 383 ext/hash/hash_md.c GG(c, d, a, b, x[11], S23, 0x265e5a51); /* 19 */ c 384 ext/hash/hash_md.c GG(b, c, d, a, x[0], S24, 0xe9b6c7aa); /* 20 */ c 385 ext/hash/hash_md.c GG(a, b, c, d, x[5], S21, 0xd62f105d); /* 21 */ c 386 ext/hash/hash_md.c GG(d, a, b, c, x[10], S22, 0x2441453); /* 22 */ c 387 ext/hash/hash_md.c GG(c, d, a, b, x[15], S23, 0xd8a1e681); /* 23 */ c 388 ext/hash/hash_md.c GG(b, c, d, a, x[4], S24, 0xe7d3fbc8); /* 24 */ c 389 ext/hash/hash_md.c GG(a, b, c, d, x[9], S21, 0x21e1cde6); /* 25 */ c 390 ext/hash/hash_md.c GG(d, a, b, c, x[14], S22, 0xc33707d6); /* 26 */ c 391 ext/hash/hash_md.c GG(c, d, a, b, x[3], S23, 0xf4d50d87); /* 27 */ c 392 ext/hash/hash_md.c GG(b, c, d, a, x[8], S24, 0x455a14ed); /* 28 */ c 393 ext/hash/hash_md.c GG(a, b, c, d, x[13], S21, 0xa9e3e905); /* 29 */ c 394 ext/hash/hash_md.c GG(d, a, b, c, x[2], S22, 0xfcefa3f8); /* 30 */ c 395 ext/hash/hash_md.c GG(c, d, a, b, x[7], S23, 0x676f02d9); /* 31 */ c 396 ext/hash/hash_md.c GG(b, c, d, a, x[12], S24, 0x8d2a4c8a); /* 32 */ c 399 ext/hash/hash_md.c HH(a, b, c, d, x[5], S31, 0xfffa3942); /* 33 */ c 400 ext/hash/hash_md.c HH(d, a, b, c, x[8], S32, 0x8771f681); /* 34 */ c 401 ext/hash/hash_md.c HH(c, d, a, b, x[11], S33, 0x6d9d6122); /* 35 */ c 402 ext/hash/hash_md.c HH(b, c, d, a, x[14], S34, 0xfde5380c); /* 36 */ c 403 ext/hash/hash_md.c HH(a, b, c, d, x[1], S31, 0xa4beea44); /* 37 */ c 404 ext/hash/hash_md.c HH(d, a, b, c, x[4], S32, 0x4bdecfa9); /* 38 */ c 405 ext/hash/hash_md.c HH(c, d, a, b, x[7], S33, 0xf6bb4b60); /* 39 */ c 406 ext/hash/hash_md.c HH(b, c, d, a, x[10], S34, 0xbebfbc70); /* 40 */ c 407 ext/hash/hash_md.c HH(a, b, c, d, x[13], S31, 0x289b7ec6); /* 41 */ c 408 ext/hash/hash_md.c HH(d, a, b, c, x[0], S32, 0xeaa127fa); /* 42 */ c 409 ext/hash/hash_md.c HH(c, d, a, b, x[3], S33, 0xd4ef3085); /* 43 */ c 410 ext/hash/hash_md.c HH(b, c, d, a, x[6], S34, 0x4881d05); /* 44 */ c 411 ext/hash/hash_md.c HH(a, b, c, d, x[9], S31, 0xd9d4d039); /* 45 */ c 412 ext/hash/hash_md.c HH(d, a, b, c, x[12], S32, 0xe6db99e5); /* 46 */ c 413 ext/hash/hash_md.c HH(c, d, a, b, x[15], S33, 0x1fa27cf8); /* 47 */ c 414 ext/hash/hash_md.c HH(b, c, d, a, x[2], S34, 0xc4ac5665); /* 48 */ c 417 ext/hash/hash_md.c II(a, b, c, d, x[0], S41, 0xf4292244); /* 49 */ c 418 ext/hash/hash_md.c II(d, a, b, c, x[7], S42, 0x432aff97); /* 50 */ c 419 ext/hash/hash_md.c II(c, d, a, b, x[14], S43, 0xab9423a7); /* 51 */ c 420 ext/hash/hash_md.c II(b, c, d, a, x[5], S44, 0xfc93a039); /* 52 */ c 421 ext/hash/hash_md.c II(a, b, c, d, x[12], S41, 0x655b59c3); /* 53 */ c 422 ext/hash/hash_md.c II(d, a, b, c, x[3], S42, 0x8f0ccc92); /* 54 */ c 423 ext/hash/hash_md.c II(c, d, a, b, x[10], S43, 0xffeff47d); /* 55 */ c 424 ext/hash/hash_md.c II(b, c, d, a, x[1], S44, 0x85845dd1); /* 56 */ c 425 ext/hash/hash_md.c II(a, b, c, d, x[8], S41, 0x6fa87e4f); /* 57 */ c 426 ext/hash/hash_md.c II(d, a, b, c, x[15], S42, 0xfe2ce6e0); /* 58 */ c 427 ext/hash/hash_md.c II(c, d, a, b, x[6], S43, 0xa3014314); /* 59 */ c 428 ext/hash/hash_md.c II(b, c, d, a, x[13], S44, 0x4e0811a1); /* 60 */ c 429 ext/hash/hash_md.c II(a, b, c, d, x[4], S41, 0xf7537e82); /* 61 */ c 430 ext/hash/hash_md.c II(d, a, b, c, x[11], S42, 0xbd3af235); /* 62 */ c 431 ext/hash/hash_md.c II(c, d, a, b, x[2], S43, 0x2ad7d2bb); /* 63 */ c 432 ext/hash/hash_md.c II(b, c, d, a, x[9], S44, 0xeb86d391); /* 64 */ c 436 ext/hash/hash_md.c state[2] += c; c 454 ext/hash/hash_md.c #define MD4_R1(a,b,c,d,k,s) a = ROTL32(s, a + MD4_F(b,c,d) + x[k]) c 455 ext/hash/hash_md.c #define MD4_R2(a,b,c,d,k,s) a = ROTL32(s, a + MD4_G(b,c,d) + x[k] + 0x5A827999) c 456 ext/hash/hash_md.c #define MD4_R3(a,b,c,d,k,s) a = ROTL32(s, a + MD4_H(b,c,d) + x[k] + 0x6ED9EBA1) c 460 ext/hash/hash_md.c php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3], x[16]; c 465 ext/hash/hash_md.c MD4_R1(a,b,c,d, 0, 3); c 466 ext/hash/hash_md.c MD4_R1(d,a,b,c, 1, 7); c 467 ext/hash/hash_md.c MD4_R1(c,d,a,b, 2,11); c 468 ext/hash/hash_md.c MD4_R1(b,c,d,a, 3,19); c 469 ext/hash/hash_md.c MD4_R1(a,b,c,d, 4, 3); c 470 ext/hash/hash_md.c MD4_R1(d,a,b,c, 5, 7); c 471 ext/hash/hash_md.c MD4_R1(c,d,a,b, 6,11); c 472 ext/hash/hash_md.c MD4_R1(b,c,d,a, 7,19); c 473 ext/hash/hash_md.c MD4_R1(a,b,c,d, 8, 3); c 474 ext/hash/hash_md.c MD4_R1(d,a,b,c, 9, 7); c 475 ext/hash/hash_md.c MD4_R1(c,d,a,b,10,11); c 476 ext/hash/hash_md.c MD4_R1(b,c,d,a,11,19); c 477 ext/hash/hash_md.c MD4_R1(a,b,c,d,12, 3); c 478 ext/hash/hash_md.c MD4_R1(d,a,b,c,13, 7); c 479 ext/hash/hash_md.c MD4_R1(c,d,a,b,14,11); c 480 ext/hash/hash_md.c MD4_R1(b,c,d,a,15,19); c 483 ext/hash/hash_md.c MD4_R2(a,b,c,d, 0, 3); c 484 ext/hash/hash_md.c MD4_R2(d,a,b,c, 4, 5); c 485 ext/hash/hash_md.c MD4_R2(c,d,a,b, 8, 9); c 486 ext/hash/hash_md.c MD4_R2(b,c,d,a,12,13); c 487 ext/hash/hash_md.c MD4_R2(a,b,c,d, 1, 3); c 488 ext/hash/hash_md.c MD4_R2(d,a,b,c, 5, 5); c 489 ext/hash/hash_md.c MD4_R2(c,d,a,b, 9, 9); c 490 ext/hash/hash_md.c MD4_R2(b,c,d,a,13,13); c 491 ext/hash/hash_md.c MD4_R2(a,b,c,d, 2, 3); c 492 ext/hash/hash_md.c MD4_R2(d,a,b,c, 6, 5); c 493 ext/hash/hash_md.c MD4_R2(c,d,a,b,10, 9); c 494 ext/hash/hash_md.c MD4_R2(b,c,d,a,14,13); c 495 ext/hash/hash_md.c MD4_R2(a,b,c,d, 3, 3); c 496 ext/hash/hash_md.c MD4_R2(d,a,b,c, 7, 5); c 497 ext/hash/hash_md.c MD4_R2(c,d,a,b,11, 9); c 498 ext/hash/hash_md.c MD4_R2(b,c,d,a,15,13); c 501 ext/hash/hash_md.c MD4_R3(a,b,c,d, 0, 3); c 502 ext/hash/hash_md.c MD4_R3(d,a,b,c, 8, 9); c 503 ext/hash/hash_md.c MD4_R3(c,d,a,b, 4,11); c 504 ext/hash/hash_md.c MD4_R3(b,c,d,a,12,15); c 505 ext/hash/hash_md.c MD4_R3(a,b,c,d, 2, 3); c 506 ext/hash/hash_md.c MD4_R3(d,a,b,c,10, 9); c 507 ext/hash/hash_md.c MD4_R3(c,d,a,b, 6,11); c 508 ext/hash/hash_md.c MD4_R3(b,c,d,a,14,15); c 509 ext/hash/hash_md.c MD4_R3(a,b,c,d, 1, 3); c 510 ext/hash/hash_md.c MD4_R3(d,a,b,c, 9, 9); c 511 ext/hash/hash_md.c MD4_R3(c,d,a,b, 5,11); c 512 ext/hash/hash_md.c MD4_R3(b,c,d,a,13,15); c 513 ext/hash/hash_md.c MD4_R3(a,b,c,d, 3, 3); c 514 ext/hash/hash_md.c MD4_R3(d,a,b,c,11, 9); c 515 ext/hash/hash_md.c MD4_R3(c,d,a,b, 7,11); c 516 ext/hash/hash_md.c MD4_R3(b,c,d,a,15,15); c 520 ext/hash/hash_md.c state[2] += c; c 205 ext/hash/hash_ripemd.c php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3]; c 213 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F0(b, c, d) + x[R[j]] + K(j)); c 214 ext/hash/hash_ripemd.c a = d; d = c; c = b; b = tmp; c 220 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F1(b, c, d) + x[R[j]] + K(j)); c 221 ext/hash/hash_ripemd.c a = d; d = c; c = b; b = tmp; c 227 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F2(b, c, d) + x[R[j]] + K(j)); c 228 ext/hash/hash_ripemd.c a = d; d = c; c = b; b = tmp; c 234 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F3(b, c, d) + x[R[j]] + K(j)); c 235 ext/hash/hash_ripemd.c a = d; d = c; c = b; b = tmp; c 240 ext/hash/hash_ripemd.c tmp = state[1] + c + dd; c 296 ext/hash/hash_ripemd.c php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3]; c 304 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F0(b, c, d) + x[R[j]] + K(j)); c 305 ext/hash/hash_ripemd.c a = d; d = c; c = b; b = tmp; c 312 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F1(b, c, d) + x[R[j]] + K(j)); c 313 ext/hash/hash_ripemd.c a = d; d = c; c = b; b = tmp; c 320 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F2(b, c, d) + x[R[j]] + K(j)); c 321 ext/hash/hash_ripemd.c a = d; d = c; c = b; b = tmp; c 325 ext/hash/hash_ripemd.c tmp = c; c = cc; cc = tmp; c 328 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F3(b, c, d) + x[R[j]] + K(j)); c 329 ext/hash/hash_ripemd.c a = d; d = c; c = b; b = tmp; c 337 ext/hash/hash_ripemd.c state[2] += c; c 394 ext/hash/hash_ripemd.c php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3], e = state[4]; c 402 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F0(b, c, d) + x[R[j]] + K(j)) + e; c 403 ext/hash/hash_ripemd.c a = e; e = d; d = ROL(10, c); c = b; b = tmp; c 409 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F1(b, c, d) + x[R[j]] + K(j)) + e; c 410 ext/hash/hash_ripemd.c a = e; e = d; d = ROL(10, c); c = b; b = tmp; c 416 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F2(b, c, d) + x[R[j]] + K(j)) + e; c 417 ext/hash/hash_ripemd.c a = e; e = d; d = ROL(10, c); c = b; b = tmp; c 423 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F3(b, c, d) + x[R[j]] + K(j)) + e; c 424 ext/hash/hash_ripemd.c a = e; e = d; d = ROL(10, c); c = b; b = tmp; c 430 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F4(b, c, d) + x[R[j]] + K(j)) + e; c 431 ext/hash/hash_ripemd.c a = e; e = d; d = ROL(10, c); c = b; b = tmp; c 436 ext/hash/hash_ripemd.c tmp = state[1] + c + dd; c 493 ext/hash/hash_ripemd.c php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3], e = state[4]; c 501 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F0(b, c, d) + x[R[j]] + K(j)) + e; c 502 ext/hash/hash_ripemd.c a = e; e = d; d = ROL(10, c); c = b; b = tmp; c 509 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F1(b, c, d) + x[R[j]] + K(j)) + e; c 510 ext/hash/hash_ripemd.c a = e; e = d; d = ROL(10, c); c = b; b = tmp; c 517 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F2(b, c, d) + x[R[j]] + K(j)) + e; c 518 ext/hash/hash_ripemd.c a = e; e = d; d = ROL(10, c); c = b; b = tmp; c 525 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F3(b, c, d) + x[R[j]] + K(j)) + e; c 526 ext/hash/hash_ripemd.c a = e; e = d; d = ROL(10, c); c = b; b = tmp; c 530 ext/hash/hash_ripemd.c tmp = c; c = cc; cc = tmp; c 533 ext/hash/hash_ripemd.c tmp = ROLS( j, a + F4(b, c, d) + x[R[j]] + K(j)) + e; c 534 ext/hash/hash_ripemd.c a = e; e = d; d = ROL(10, c); c = b; b = tmp; c 542 ext/hash/hash_ripemd.c state[2] += c; c 181 ext/hash/hash_sha.c #define FF(a, b, c, d, e, w) { \ c 182 ext/hash/hash_sha.c (e) += F ((b), (c), (d)) + (w) + (php_hash_uint32)(0x5A827999); \ c 186 ext/hash/hash_sha.c #define GG(a, b, c, d, e, w) { \ c 187 ext/hash/hash_sha.c (e) += G ((b), (c), (d)) + (w) + (php_hash_uint32)(0x6ED9EBA1); \ c 191 ext/hash/hash_sha.c #define HH(a, b, c, d, e, w) { \ c 192 ext/hash/hash_sha.c (e) += H ((b), (c), (d)) + (w) + (php_hash_uint32)(0x8F1BBCDC); \ c 196 ext/hash/hash_sha.c #define II(a, b, c, d, e, w) { \ c 197 ext/hash/hash_sha.c (e) += I ((b), (c), (d)) + (w) + (php_hash_uint32)(0xCA62C1D6); \ c 224 ext/hash/hash_sha.c php_hash_uint32 a = state[0], b = state[1], c = state[2]; c 230 ext/hash/hash_sha.c FF(a, b, c, d, e, x[0]); /* 1 */ c 231 ext/hash/hash_sha.c FF(e, a, b, c, d, x[1]); /* 2 */ c 232 ext/hash/hash_sha.c FF(d, e, a, b, c, x[2]); /* 3 */ c 233 ext/hash/hash_sha.c FF(c, d, e, a, b, x[3]); /* 4 */ c 234 ext/hash/hash_sha.c FF(b, c, d, e, a, x[4]); /* 5 */ c 235 ext/hash/hash_sha.c FF(a, b, c, d, e, x[5]); /* 6 */ c 236 ext/hash/hash_sha.c FF(e, a, b, c, d, x[6]); /* 7 */ c 237 ext/hash/hash_sha.c FF(d, e, a, b, c, x[7]); /* 8 */ c 238 ext/hash/hash_sha.c FF(c, d, e, a, b, x[8]); /* 9 */ c 239 ext/hash/hash_sha.c FF(b, c, d, e, a, x[9]); /* 10 */ c 240 ext/hash/hash_sha.c FF(a, b, c, d, e, x[10]); /* 11 */ c 241 ext/hash/hash_sha.c FF(e, a, b, c, d, x[11]); /* 12 */ c 242 ext/hash/hash_sha.c FF(d, e, a, b, c, x[12]); /* 13 */ c 243 ext/hash/hash_sha.c FF(c, d, e, a, b, x[13]); /* 14 */ c 244 ext/hash/hash_sha.c FF(b, c, d, e, a, x[14]); /* 15 */ c 245 ext/hash/hash_sha.c FF(a, b, c, d, e, x[15]); /* 16 */ c 246 ext/hash/hash_sha.c FF(e, a, b, c, d, W(16)); /* 17 */ c 247 ext/hash/hash_sha.c FF(d, e, a, b, c, W(17)); /* 18 */ c 248 ext/hash/hash_sha.c FF(c, d, e, a, b, W(18)); /* 19 */ c 249 ext/hash/hash_sha.c FF(b, c, d, e, a, W(19)); /* 20 */ c 252 ext/hash/hash_sha.c GG(a, b, c, d, e, W(20)); /* 21 */ c 253 ext/hash/hash_sha.c GG(e, a, b, c, d, W(21)); /* 22 */ c 254 ext/hash/hash_sha.c GG(d, e, a, b, c, W(22)); /* 23 */ c 255 ext/hash/hash_sha.c GG(c, d, e, a, b, W(23)); /* 24 */ c 256 ext/hash/hash_sha.c GG(b, c, d, e, a, W(24)); /* 25 */ c 257 ext/hash/hash_sha.c GG(a, b, c, d, e, W(25)); /* 26 */ c 258 ext/hash/hash_sha.c GG(e, a, b, c, d, W(26)); /* 27 */ c 259 ext/hash/hash_sha.c GG(d, e, a, b, c, W(27)); /* 28 */ c 260 ext/hash/hash_sha.c GG(c, d, e, a, b, W(28)); /* 29 */ c 261 ext/hash/hash_sha.c GG(b, c, d, e, a, W(29)); /* 30 */ c 262 ext/hash/hash_sha.c GG(a, b, c, d, e, W(30)); /* 31 */ c 263 ext/hash/hash_sha.c GG(e, a, b, c, d, W(31)); /* 32 */ c 264 ext/hash/hash_sha.c GG(d, e, a, b, c, W(32)); /* 33 */ c 265 ext/hash/hash_sha.c GG(c, d, e, a, b, W(33)); /* 34 */ c 266 ext/hash/hash_sha.c GG(b, c, d, e, a, W(34)); /* 35 */ c 267 ext/hash/hash_sha.c GG(a, b, c, d, e, W(35)); /* 36 */ c 268 ext/hash/hash_sha.c GG(e, a, b, c, d, W(36)); /* 37 */ c 269 ext/hash/hash_sha.c GG(d, e, a, b, c, W(37)); /* 38 */ c 270 ext/hash/hash_sha.c GG(c, d, e, a, b, W(38)); /* 39 */ c 271 ext/hash/hash_sha.c GG(b, c, d, e, a, W(39)); /* 40 */ c 274 ext/hash/hash_sha.c HH(a, b, c, d, e, W(40)); /* 41 */ c 275 ext/hash/hash_sha.c HH(e, a, b, c, d, W(41)); /* 42 */ c 276 ext/hash/hash_sha.c HH(d, e, a, b, c, W(42)); /* 43 */ c 277 ext/hash/hash_sha.c HH(c, d, e, a, b, W(43)); /* 44 */ c 278 ext/hash/hash_sha.c HH(b, c, d, e, a, W(44)); /* 45 */ c 279 ext/hash/hash_sha.c HH(a, b, c, d, e, W(45)); /* 46 */ c 280 ext/hash/hash_sha.c HH(e, a, b, c, d, W(46)); /* 47 */ c 281 ext/hash/hash_sha.c HH(d, e, a, b, c, W(47)); /* 48 */ c 282 ext/hash/hash_sha.c HH(c, d, e, a, b, W(48)); /* 49 */ c 283 ext/hash/hash_sha.c HH(b, c, d, e, a, W(49)); /* 50 */ c 284 ext/hash/hash_sha.c HH(a, b, c, d, e, W(50)); /* 51 */ c 285 ext/hash/hash_sha.c HH(e, a, b, c, d, W(51)); /* 52 */ c 286 ext/hash/hash_sha.c HH(d, e, a, b, c, W(52)); /* 53 */ c 287 ext/hash/hash_sha.c HH(c, d, e, a, b, W(53)); /* 54 */ c 288 ext/hash/hash_sha.c HH(b, c, d, e, a, W(54)); /* 55 */ c 289 ext/hash/hash_sha.c HH(a, b, c, d, e, W(55)); /* 56 */ c 290 ext/hash/hash_sha.c HH(e, a, b, c, d, W(56)); /* 57 */ c 291 ext/hash/hash_sha.c HH(d, e, a, b, c, W(57)); /* 58 */ c 292 ext/hash/hash_sha.c HH(c, d, e, a, b, W(58)); /* 59 */ c 293 ext/hash/hash_sha.c HH(b, c, d, e, a, W(59)); /* 60 */ c 296 ext/hash/hash_sha.c II(a, b, c, d, e, W(60)); /* 61 */ c 297 ext/hash/hash_sha.c II(e, a, b, c, d, W(61)); /* 62 */ c 298 ext/hash/hash_sha.c II(d, e, a, b, c, W(62)); /* 63 */ c 299 ext/hash/hash_sha.c II(c, d, e, a, b, W(63)); /* 64 */ c 300 ext/hash/hash_sha.c II(b, c, d, e, a, W(64)); /* 65 */ c 301 ext/hash/hash_sha.c II(a, b, c, d, e, W(65)); /* 66 */ c 302 ext/hash/hash_sha.c II(e, a, b, c, d, W(66)); /* 67 */ c 303 ext/hash/hash_sha.c II(d, e, a, b, c, W(67)); /* 68 */ c 304 ext/hash/hash_sha.c II(c, d, e, a, b, W(68)); /* 69 */ c 305 ext/hash/hash_sha.c II(b, c, d, e, a, W(69)); /* 70 */ c 306 ext/hash/hash_sha.c II(a, b, c, d, e, W(70)); /* 71 */ c 307 ext/hash/hash_sha.c II(e, a, b, c, d, W(71)); /* 72 */ c 308 ext/hash/hash_sha.c II(d, e, a, b, c, W(72)); /* 73 */ c 309 ext/hash/hash_sha.c II(c, d, e, a, b, W(73)); /* 74 */ c 310 ext/hash/hash_sha.c II(b, c, d, e, a, W(74)); /* 75 */ c 311 ext/hash/hash_sha.c II(a, b, c, d, e, W(75)); /* 76 */ c 312 ext/hash/hash_sha.c II(e, a, b, c, d, W(76)); /* 77 */ c 313 ext/hash/hash_sha.c II(d, e, a, b, c, W(77)); /* 78 */ c 314 ext/hash/hash_sha.c II(c, d, e, a, b, W(78)); /* 79 */ c 315 ext/hash/hash_sha.c II(b, c, d, e, a, W(79)); /* 80 */ c 319 ext/hash/hash_sha.c state[2] += c; c 482 ext/hash/hash_sha.c php_hash_uint32 a = state[0], b = state[1], c = state[2], d = state[3]; c 499 ext/hash/hash_sha.c T2 = SHA256_F2(a) + SHA256_F1(a,b,c); c 501 ext/hash/hash_sha.c d = c; c = b; b = a; a = T1 + T2; c 506 ext/hash/hash_sha.c state[2] += c; c 792 ext/hash/hash_sha.c php_hash_uint64 a = state[0], b = state[1], c = state[2], d = state[3]; c 809 ext/hash/hash_sha.c T2 = SHA512_F2(a) + SHA512_F1(a,b,c); c 811 ext/hash/hash_sha.c d = c; c = b; b = a; a = T1 + T2; c 816 ext/hash/hash_sha.c state[2] += c; c 40 ext/hash/hash_tiger.c cc = c; c 42 ext/hash/hash_tiger.c #define round(a,b,c,x,mul) \ c 43 ext/hash/hash_tiger.c c ^= x; \ c 44 ext/hash/hash_tiger.c a -= t1[(unsigned char)(c)] ^ \ c 45 ext/hash/hash_tiger.c t2[(unsigned char)(((php_hash_uint32)(c))>>(2*8))] ^ \ c 46 ext/hash/hash_tiger.c t3[(unsigned char)((c)>>(4*8))] ^ \ c 47 ext/hash/hash_tiger.c t4[(unsigned char)(((php_hash_uint32)((c)>>(4*8)))>>(2*8))] ; \ c 48 ext/hash/hash_tiger.c b += t4[(unsigned char)(((php_hash_uint32)(c))>>(1*8))] ^ \ c 49 ext/hash/hash_tiger.c t3[(unsigned char)(((php_hash_uint32)(c))>>(3*8))] ^ \ c 50 ext/hash/hash_tiger.c t2[(unsigned char)(((php_hash_uint32)((c)>>(4*8)))>>(1*8))] ^ \ c 51 ext/hash/hash_tiger.c t1[(unsigned char)(((php_hash_uint32)((c)>>(4*8)))>>(3*8))]; \ c 54 ext/hash/hash_tiger.c #define pass(a,b,c,mul) \ c 55 ext/hash/hash_tiger.c round(a,b,c,x0,mul) \ c 56 ext/hash/hash_tiger.c round(b,c,a,x1,mul) \ c 57 ext/hash/hash_tiger.c round(c,a,b,x2,mul) \ c 58 ext/hash/hash_tiger.c round(a,b,c,x3,mul) \ c 59 ext/hash/hash_tiger.c round(b,c,a,x4,mul) \ c 60 ext/hash/hash_tiger.c round(c,a,b,x5,mul) \ c 61 ext/hash/hash_tiger.c round(a,b,c,x6,mul) \ c 62 ext/hash/hash_tiger.c round(b,c,a,x7,mul) c 85 ext/hash/hash_tiger.c c += cc; c 89 ext/hash/hash_tiger.c pass(a,b,c,5) \ c 91 ext/hash/hash_tiger.c pass(c,a,b,7) \ c 93 ext/hash/hash_tiger.c pass(b,c,a,9) \ c 96 ext/hash/hash_tiger.c pass(a,b,c,9) \ c 97 ext/hash/hash_tiger.c tmpa=a; a=c; c=b; b=tmpa; \ c 121 ext/hash/hash_tiger.c register php_hash_uint64 a, b, c, tmpa, x0, x1, x2, x3, x4, x5, x6, x7; \ c 127 ext/hash/hash_tiger.c c = state[2]; \ c 135 ext/hash/hash_tiger.c state[2] = c; \ c 62 ext/iconv/iconv.c #define _php_iconv_memequal(a, b, c) \ c 63 ext/iconv/iconv.c ((c) == sizeof(zend_ulong) ? *((zend_ulong *)(a)) == *((zend_ulong *)(b)) : ((c) == sizeof(unsigned int) ? *((unsigned int *)(a)) == *((unsigned int *)(b)) : memcmp(a, b, c) == 0)) c 201 ext/iconv/iconv.c static php_iconv_err_t _php_iconv_appendc(smart_str *d, const char c, iconv_t cd); c 531 ext/iconv/iconv.c static php_iconv_err_t _php_iconv_appendc(smart_str *d, const char c, iconv_t cd) c 533 ext/iconv/iconv.c return _php_iconv_appendl(d, &c, 1, cd); c 2770 ext/imap/php_imap.c #define SPECIAL(c) ((c) <= 0x1f || (c) >= 0x7f) c 2773 ext/imap/php_imap.c #define B64CHAR(c) (isalnum(c) || (c) == '+' || (c) == ',') c 2780 ext/imap/php_imap.c #define UNB64(c) ((c) == '+' ? 62 : (c) == ',' ? 63 : (c) >= 'a' ? \ c 2781 ext/imap/php_imap.c (c) - 71 : (c) >= 'A' ? (c) - 65 : (c) + 4) c 2792 ext/imap/php_imap.c unsigned char c; c 2889 ext/imap/php_imap.c c = outp[1] >> 4; c 2890 ext/imap/php_imap.c *outp++ |= c; c 2896 ext/imap/php_imap.c c = outp[1] >> 2; c 2897 ext/imap/php_imap.c *outp++ |= c; c 2932 ext/imap/php_imap.c unsigned char c; c 2998 ext/imap/php_imap.c c = B64(*outp); c 2999 ext/imap/php_imap.c *outp++ = c; c 3012 ext/imap/php_imap.c c = B64(*outp | *inp >> 4); c 3013 ext/imap/php_imap.c *outp++ = c; c 3018 ext/imap/php_imap.c c = B64(*outp | *inp >> 6); c 3019 ext/imap/php_imap.c *outp++ = c; c 886 ext/interbase/interbase.c char *c, hash[16], *args[] = { NULL, NULL, NULL, NULL, NULL }; c 905 ext/interbase/interbase.c if ((!len[DB] || PG(sql_safe_mode)) && (c = INI_STR("ibase.default_db"))) { c 906 ext/interbase/interbase.c args[DB] = c; c 907 ext/interbase/interbase.c len[DB] = strlen(c); c 909 ext/interbase/interbase.c if (!len[USER] && (c = INI_STR("ibase.default_user"))) { c 910 ext/interbase/interbase.c args[USER] = c; c 911 ext/interbase/interbase.c len[USER] = strlen(c); c 913 ext/interbase/interbase.c if (!len[PASS] && (c = INI_STR("ibase.default_password"))) { c 914 ext/interbase/interbase.c args[PASS] = c; c 915 ext/interbase/interbase.c len[PASS] = strlen(c); c 917 ext/interbase/interbase.c if (!len[CSET] && (c = INI_STR("ibase.default_charset"))) { c 918 ext/interbase/interbase.c args[CSET] = c; c 919 ext/interbase/interbase.c len[CSET] = strlen(c); c 37 ext/intl/collator/collator_is_numeric.c UChar c = *u; c 41 ext/intl/collator/collator_is_numeric.c while (u_isspace(c)) { c 42 ext/intl/collator/collator_is_numeric.c c = *++u; c 46 ext/intl/collator/collator_is_numeric.c if (c == 0x2D /*'-'*/ || c == 0x2B /*'+'*/) { c 47 ext/intl/collator/collator_is_numeric.c c = *++u; c 50 ext/intl/collator/collator_is_numeric.c while (c >= 0x30 /*'0'*/ && c <= 0x39 /*'9'*/) { c 52 ext/intl/collator/collator_is_numeric.c c = *++u; c 55 ext/intl/collator/collator_is_numeric.c if (c == 0x2E /*'.'*/) { c 56 ext/intl/collator/collator_is_numeric.c c = *++u; c 57 ext/intl/collator/collator_is_numeric.c while (c >= 0x30 /*'0'*/ && c <= 0x39 /*'9'*/) { c 59 ext/intl/collator/collator_is_numeric.c c = *++u; c 63 ext/intl/collator/collator_is_numeric.c if ((c == 0x65 /*'e'*/ || c == 0x45 /*'E'*/) && any) { c 67 ext/intl/collator/collator_is_numeric.c c = *++u; c 68 ext/intl/collator/collator_is_numeric.c if (c == 0x2D /*'-'*/ || c == 0x2B /*'+'*/) { c 69 ext/intl/collator/collator_is_numeric.c c = *++u; c 72 ext/intl/collator/collator_is_numeric.c while (c >= 0x30 /*'0'*/ && c <= 0x39 /*'9'*/) { c 74 ext/intl/collator/collator_is_numeric.c c = *++u; c 135 ext/intl/collator/collator_is_numeric.c register UChar c; c 153 ext/intl/collator/collator_is_numeric.c c = *s++; c 154 ext/intl/collator/collator_is_numeric.c } while (u_isspace(c)); c 155 ext/intl/collator/collator_is_numeric.c if (c == 0x2D /*'-'*/) { c 157 ext/intl/collator/collator_is_numeric.c c = *s++; c 158 ext/intl/collator/collator_is_numeric.c } else if (c == 0x2B /*'+'*/) c 159 ext/intl/collator/collator_is_numeric.c c = *s++; c 161 ext/intl/collator/collator_is_numeric.c (c == 0x30 /*'0'*/) c 163 ext/intl/collator/collator_is_numeric.c c = s[1]; c 168 ext/intl/collator/collator_is_numeric.c base = (c == 0x30 /*'0'*/) ? 8 : 10; c 190 ext/intl/collator/collator_is_numeric.c for (acc = 0, any = 0;; c = *s++) { c 191 ext/intl/collator/collator_is_numeric.c if (c >= 0x30 /*'0'*/ && c <= 0x39 /*'9'*/) c 192 ext/intl/collator/collator_is_numeric.c c -= 0x30 /*'0'*/; c 193 ext/intl/collator/collator_is_numeric.c else if (c >= 0x41 /*'A'*/ && c <= 0x5A /*'Z'*/) c 194 ext/intl/collator/collator_is_numeric.c c -= 0x41 /*'A'*/ - 10; c 195 ext/intl/collator/collator_is_numeric.c else if (c >= 0x61 /*'a'*/ && c <= 0x7A /*'z'*/) c 196 ext/intl/collator/collator_is_numeric.c c -= 0x61 /*'a'*/ - 10; c 199 ext/intl/collator/collator_is_numeric.c if (c >= base) c 202 ext/intl/collator/collator_is_numeric.c if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) c 207 ext/intl/collator/collator_is_numeric.c acc += c; c 198 ext/intl/converter/converter.c UChar c; c 199 ext/intl/converter/converter.c U8_NEXT(strval, i, strlen, c); c 200 ext/intl/converter/converter.c *(args->target++) = c; c 311 ext/intl/converter/converter.c UChar32 c; c 312 ext/intl/converter/converter.c U16_NEXT(codeUnits, i, length, c); c 313 ext/intl/converter/converter.c add_next_index_long(&zargs[1], c); c 37 ext/intl/grapheme/grapheme_util.h inline void *grapheme_memrchr_grapheme(const void *s, int c, int32_t n); c 75 ext/json/json_encoder.c static inline void php_json_pretty_print_char(smart_str *buf, int options, char c) /* {{{ */ c 78 ext/json/json_encoder.c smart_str_appendc(buf, c); c 1141 ext/libxml/libxml.c unsigned char c; c 1143 ext/libxml/libxml.c for (i = 0; (c = s[i++]);) { c 1144 ext/libxml/libxml.c if ((c & 0x80) == 0) { c 1145 ext/libxml/libxml.c } else if ((c & 0xe0) == 0xc0) { c 1149 ext/libxml/libxml.c } else if ((c & 0xf0) == 0xe0) { c 1153 ext/libxml/libxml.c } else if ((c & 0xf8) == 0xf0) { c 68 ext/mbstring/libmbfl/filters/mbfilter_7bit.c int mbfl_filt_conv_7bit_any(int c, mbfl_convert_filter *filter) c 70 ext/mbstring/libmbfl/filters/mbfilter_7bit.c return (*filter->output_function)(c, filter->data); c 74 ext/mbstring/libmbfl/filters/mbfilter_7bit.c int mbfl_filt_conv_any_7bit(int c, mbfl_convert_filter *filter) c 76 ext/mbstring/libmbfl/filters/mbfilter_7bit.c if (c >= 0 && c < 0x80) { c 77 ext/mbstring/libmbfl/filters/mbfilter_7bit.c CK((*filter->output_function)(c, filter->data)); c 79 ext/mbstring/libmbfl/filters/mbfilter_7bit.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_7bit.h int mbfl_filt_conv_7bit_any(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_7bit.h int mbfl_filt_conv_any_7bit(int c, mbfl_convert_filter *filter); c 37 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c static int mbfl_filt_ident_armscii8(int c, mbfl_identify_filter *filter); c 80 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c int mbfl_filt_conv_armscii8_wchar(int c, mbfl_convert_filter *filter) c 84 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c if (c >= 0 && c < armscii8_ucs_table_min) { c 85 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c s = c; c 86 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c } else if (c >= armscii8_ucs_table_min && c < 0x100) { c 87 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c s = armscii8_ucs_table[c - armscii8_ucs_table_min]; c 89 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c s = c; c 94 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c s = c; c 101 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c return c; c 107 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c int mbfl_filt_conv_wchar_armscii8(int c, mbfl_convert_filter *filter) c 112 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c if (c >= 0x28 && c < 0x30) { c 113 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c s = ucs_armscii8_table[c-0x28]; c 114 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c } else if (c < armscii8_ucs_table_min) { c 115 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c s = c; c 120 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c if (c == armscii8_ucs_table[n]) { c 126 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_ARMSCII8) { c 127 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c s = c & MBFL_WCSPLANE_MASK; c 135 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 139 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c return c; c 142 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c static int mbfl_filt_ident_armscii8(int c, mbfl_identify_filter *filter) c 144 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c if (c >= armscii8_ucs_table_min && c <= 0xff) c 148 ext/mbstring/libmbfl/filters/mbfilter_armscii8.c return c; c 35 ext/mbstring/libmbfl/filters/mbfilter_armscii8.h int mbfl_filt_conv_armscii8_wchar(int c, mbfl_convert_filter *filter); c 36 ext/mbstring/libmbfl/filters/mbfilter_armscii8.h int mbfl_filt_conv_wchar_armscii8(int c, mbfl_convert_filter *filter); c 38 ext/mbstring/libmbfl/filters/mbfilter_ascii.c static int mbfl_filt_ident_ascii(int c, mbfl_identify_filter *filter); c 81 ext/mbstring/libmbfl/filters/mbfilter_ascii.c int mbfl_filt_conv_ascii_wchar(int c, mbfl_convert_filter *filter) c 83 ext/mbstring/libmbfl/filters/mbfilter_ascii.c return (*filter->output_function)(c, filter->data); c 90 ext/mbstring/libmbfl/filters/mbfilter_ascii.c int mbfl_filt_conv_wchar_ascii(int c, mbfl_convert_filter *filter) c 92 ext/mbstring/libmbfl/filters/mbfilter_ascii.c if (c >= 0 && c < 0x80) { c 93 ext/mbstring/libmbfl/filters/mbfilter_ascii.c CK((*filter->output_function)(c, filter->data)); c 96 ext/mbstring/libmbfl/filters/mbfilter_ascii.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 100 ext/mbstring/libmbfl/filters/mbfilter_ascii.c return c; c 103 ext/mbstring/libmbfl/filters/mbfilter_ascii.c static int mbfl_filt_ident_ascii(int c, mbfl_identify_filter *filter) c 105 ext/mbstring/libmbfl/filters/mbfilter_ascii.c if (c >= 0x20 && c < 0x80) { c 107 ext/mbstring/libmbfl/filters/mbfilter_ascii.c } else if (c == 0x0d || c == 0x0a || c == 0x09 || c == 0) { /* CR or LF or HTAB or null */ c 113 ext/mbstring/libmbfl/filters/mbfilter_ascii.c return c; c 41 ext/mbstring/libmbfl/filters/mbfilter_ascii.h int mbfl_filt_conv_ascii_wchar(int c, mbfl_convert_filter *filter); c 42 ext/mbstring/libmbfl/filters/mbfilter_ascii.h int mbfl_filt_conv_wchar_ascii(int c, mbfl_convert_filter *filter); c 84 ext/mbstring/libmbfl/filters/mbfilter_base64.c int mbfl_filt_conv_base64enc(int c, mbfl_convert_filter *filter) c 91 ext/mbstring/libmbfl/filters/mbfilter_base64.c filter->cache = (c & 0xff) << 16; c 94 ext/mbstring/libmbfl/filters/mbfilter_base64.c filter->cache |= (c & 0xff) << 8; c 106 ext/mbstring/libmbfl/filters/mbfilter_base64.c n = filter->cache | (c & 0xff); c 113 ext/mbstring/libmbfl/filters/mbfilter_base64.c return c; c 149 ext/mbstring/libmbfl/filters/mbfilter_base64.c int mbfl_filt_conv_base64dec(int c, mbfl_convert_filter *filter) c 153 ext/mbstring/libmbfl/filters/mbfilter_base64.c if (c == 0x0d || c == 0x0a || c == 0x20 || c == 0x09 || c == 0x3d) { /* CR or LF or SPACE or HTAB or '=' */ c 154 ext/mbstring/libmbfl/filters/mbfilter_base64.c return c; c 158 ext/mbstring/libmbfl/filters/mbfilter_base64.c if (c >= 0x41 && c <= 0x5a) { /* A - Z */ c 159 ext/mbstring/libmbfl/filters/mbfilter_base64.c n = c - 65; c 160 ext/mbstring/libmbfl/filters/mbfilter_base64.c } else if (c >= 0x61 && c <= 0x7a) { /* a - z */ c 161 ext/mbstring/libmbfl/filters/mbfilter_base64.c n = c - 71; c 162 ext/mbstring/libmbfl/filters/mbfilter_base64.c } else if (c >= 0x30 && c <= 0x39) { /* 0 - 9 */ c 163 ext/mbstring/libmbfl/filters/mbfilter_base64.c n = c + 4; c 164 ext/mbstring/libmbfl/filters/mbfilter_base64.c } else if (c == 0x2b) { /* '+' */ c 166 ext/mbstring/libmbfl/filters/mbfilter_base64.c } else if (c == 0x2f) { /* '/' */ c 193 ext/mbstring/libmbfl/filters/mbfilter_base64.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_base64.h int mbfl_filt_conv_base64enc(int c, mbfl_convert_filter *filter); c 42 ext/mbstring/libmbfl/filters/mbfilter_base64.h int mbfl_filt_conv_base64dec(int c, mbfl_convert_filter *filter); c 39 ext/mbstring/libmbfl/filters/mbfilter_big5.c static int mbfl_filt_ident_big5(int c, mbfl_identify_filter *filter); c 145 ext/mbstring/libmbfl/filters/mbfilter_big5.c mbfl_filt_conv_big5_wchar(int c, mbfl_convert_filter *filter) c 158 ext/mbstring/libmbfl/filters/mbfilter_big5.c if (c >= 0 && c <= 0x80) { /* latin */ c 159 ext/mbstring/libmbfl/filters/mbfilter_big5.c CK((*filter->output_function)(c, filter->data)); c 160 ext/mbstring/libmbfl/filters/mbfilter_big5.c } else if (c == 0xff) { c 162 ext/mbstring/libmbfl/filters/mbfilter_big5.c } else if (c > c1 && c < 0xff) { /* dbcs lead byte */ c 164 ext/mbstring/libmbfl/filters/mbfilter_big5.c filter->cache = c; c 166 ext/mbstring/libmbfl/filters/mbfilter_big5.c w = c & MBFL_WCSGROUP_MASK; c 175 ext/mbstring/libmbfl/filters/mbfilter_big5.c if ((c > 0x39 && c < 0x7f) | (c > 0xa0 && c < 0xff)) { c 176 ext/mbstring/libmbfl/filters/mbfilter_big5.c if (c < 0x7f){ c 177 ext/mbstring/libmbfl/filters/mbfilter_big5.c w = (c1 - 0xa1)*157 + (c - 0x40); c 179 ext/mbstring/libmbfl/filters/mbfilter_big5.c w = (c1 - 0xa1)*157 + (c - 0xa1) + 0x3f; c 192 ext/mbstring/libmbfl/filters/mbfilter_big5.c && ((c > 0x39 && c < 0x7f) || (c > 0xa0 && c < 0xff))) || c 193 ext/mbstring/libmbfl/filters/mbfilter_big5.c ((c1 == 0xc6) && (c > 0xa0 && c < 0xff))) { c 194 ext/mbstring/libmbfl/filters/mbfilter_big5.c c2 = c1 << 8 | c; c 202 ext/mbstring/libmbfl/filters/mbfilter_big5.c w = 157*(c1 - (cp950_pua_tbl[k][2]>>8)) + c - (c >= 0xa1 ? 0x62 : 0x40) c 211 ext/mbstring/libmbfl/filters/mbfilter_big5.c w = (c1 << 8) | c; c 216 ext/mbstring/libmbfl/filters/mbfilter_big5.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 217 ext/mbstring/libmbfl/filters/mbfilter_big5.c CK((*filter->output_function)(c, filter->data)); c 219 ext/mbstring/libmbfl/filters/mbfilter_big5.c w = (c1 << 8) | c; c 231 ext/mbstring/libmbfl/filters/mbfilter_big5.c return c; c 238 ext/mbstring/libmbfl/filters/mbfilter_big5.c mbfl_filt_conv_wchar_big5(int c, mbfl_convert_filter *filter) c 244 ext/mbstring/libmbfl/filters/mbfilter_big5.c if (c >= ucs_a1_big5_table_min && c < ucs_a1_big5_table_max) { c 245 ext/mbstring/libmbfl/filters/mbfilter_big5.c s = ucs_a1_big5_table[c - ucs_a1_big5_table_min]; c 246 ext/mbstring/libmbfl/filters/mbfilter_big5.c } else if (c >= ucs_a2_big5_table_min && c < ucs_a2_big5_table_max) { c 247 ext/mbstring/libmbfl/filters/mbfilter_big5.c s = ucs_a2_big5_table[c - ucs_a2_big5_table_min]; c 248 ext/mbstring/libmbfl/filters/mbfilter_big5.c } else if (c >= ucs_a3_big5_table_min && c < ucs_a3_big5_table_max) { c 249 ext/mbstring/libmbfl/filters/mbfilter_big5.c s = ucs_a3_big5_table[c - ucs_a3_big5_table_min]; c 250 ext/mbstring/libmbfl/filters/mbfilter_big5.c } else if (c >= ucs_i_big5_table_min && c < ucs_i_big5_table_max) { c 251 ext/mbstring/libmbfl/filters/mbfilter_big5.c s = ucs_i_big5_table[c - ucs_i_big5_table_min]; c 252 ext/mbstring/libmbfl/filters/mbfilter_big5.c } else if (c >= ucs_pua_big5_table_min && c < ucs_pua_big5_table_max) { c 253 ext/mbstring/libmbfl/filters/mbfilter_big5.c s = ucs_pua_big5_table[c - ucs_pua_big5_table_min]; c 254 ext/mbstring/libmbfl/filters/mbfilter_big5.c } else if (c >= ucs_r1_big5_table_min && c < ucs_r1_big5_table_max) { c 255 ext/mbstring/libmbfl/filters/mbfilter_big5.c s = ucs_r1_big5_table[c - ucs_r1_big5_table_min]; c 256 ext/mbstring/libmbfl/filters/mbfilter_big5.c } else if (c >= ucs_r2_big5_table_min && c < ucs_r2_big5_table_max) { c 257 ext/mbstring/libmbfl/filters/mbfilter_big5.c s = ucs_r2_big5_table[c - ucs_r2_big5_table_min]; c 261 ext/mbstring/libmbfl/filters/mbfilter_big5.c if (c >= 0xe000 && c <= 0xf848) { /* PUA for CP950 */ c 263 ext/mbstring/libmbfl/filters/mbfilter_big5.c if (c <= cp950_pua_tbl[k][1]) { c 267 ext/mbstring/libmbfl/filters/mbfilter_big5.c c1 = c - cp950_pua_tbl[k][0]; c 277 ext/mbstring/libmbfl/filters/mbfilter_big5.c if (c == 0x80) { c 279 ext/mbstring/libmbfl/filters/mbfilter_big5.c } else if (c == 0xf8f8) { c 281 ext/mbstring/libmbfl/filters/mbfilter_big5.c } else if (c == 0x256d) { c 283 ext/mbstring/libmbfl/filters/mbfilter_big5.c } else if (c == 0x256e) { c 285 ext/mbstring/libmbfl/filters/mbfilter_big5.c } else if (c == 0x256f) { c 287 ext/mbstring/libmbfl/filters/mbfilter_big5.c } else if (c == 0x2570) { c 293 ext/mbstring/libmbfl/filters/mbfilter_big5.c c1 = c & ~MBFL_WCSPLANE_MASK; c 295 ext/mbstring/libmbfl/filters/mbfilter_big5.c s = c & MBFL_WCSPLANE_MASK; c 297 ext/mbstring/libmbfl/filters/mbfilter_big5.c if (c == 0) { c 312 ext/mbstring/libmbfl/filters/mbfilter_big5.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 316 ext/mbstring/libmbfl/filters/mbfilter_big5.c return c; c 319 ext/mbstring/libmbfl/filters/mbfilter_big5.c static int mbfl_filt_ident_big5(int c, mbfl_identify_filter *filter) c 329 ext/mbstring/libmbfl/filters/mbfilter_big5.c if (c < 0x40 || (c > 0x7e && c < 0xa1) ||c > 0xfe) { /* bad */ c 333 ext/mbstring/libmbfl/filters/mbfilter_big5.c } else if (c >= 0 && c < 0x80) { /* latin ok */ c 335 ext/mbstring/libmbfl/filters/mbfilter_big5.c } else if (c > c1 && c < 0xff) { /* DBCS lead byte */ c 341 ext/mbstring/libmbfl/filters/mbfilter_big5.c return c; c 45 ext/mbstring/libmbfl/filters/mbfilter_big5.h int mbfl_filt_conv_big5_wchar(int c, mbfl_convert_filter *filter); c 46 ext/mbstring/libmbfl/filters/mbfilter_big5.h int mbfl_filt_conv_wchar_big5(int c, mbfl_convert_filter *filter); c 91 ext/mbstring/libmbfl/filters/mbfilter_byte2.c int mbfl_filt_conv_byte2be_wchar(int c, mbfl_convert_filter *filter) c 97 ext/mbstring/libmbfl/filters/mbfilter_byte2.c n = (c & 0xff) << 8; c 101 ext/mbstring/libmbfl/filters/mbfilter_byte2.c n = (c & 0xff) | filter->cache; c 104 ext/mbstring/libmbfl/filters/mbfilter_byte2.c return c; c 107 ext/mbstring/libmbfl/filters/mbfilter_byte2.c int mbfl_filt_conv_wchar_byte2be(int c, mbfl_convert_filter *filter) c 109 ext/mbstring/libmbfl/filters/mbfilter_byte2.c CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); c 110 ext/mbstring/libmbfl/filters/mbfilter_byte2.c CK((*filter->output_function)(c & 0xff, filter->data)); c 111 ext/mbstring/libmbfl/filters/mbfilter_byte2.c return c; c 114 ext/mbstring/libmbfl/filters/mbfilter_byte2.c int mbfl_filt_conv_byte2le_wchar(int c, mbfl_convert_filter *filter) c 120 ext/mbstring/libmbfl/filters/mbfilter_byte2.c n = c & 0xff; c 124 ext/mbstring/libmbfl/filters/mbfilter_byte2.c n = ((c & 0xff) << 8) | filter->cache; c 127 ext/mbstring/libmbfl/filters/mbfilter_byte2.c return c; c 130 ext/mbstring/libmbfl/filters/mbfilter_byte2.c int mbfl_filt_conv_wchar_byte2le(int c, mbfl_convert_filter *filter) c 132 ext/mbstring/libmbfl/filters/mbfilter_byte2.c CK((*filter->output_function)(c & 0xff, filter->data)); c 133 ext/mbstring/libmbfl/filters/mbfilter_byte2.c CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); c 134 ext/mbstring/libmbfl/filters/mbfilter_byte2.c return c; c 43 ext/mbstring/libmbfl/filters/mbfilter_byte2.h int mbfl_filt_conv_wchar_byte2be(int c, mbfl_convert_filter *filter); c 44 ext/mbstring/libmbfl/filters/mbfilter_byte2.h int mbfl_filt_conv_byte2be_wchar(int c, mbfl_convert_filter *filter); c 45 ext/mbstring/libmbfl/filters/mbfilter_byte2.h int mbfl_filt_conv_wchar_byte2le(int c, mbfl_convert_filter *filter); c 46 ext/mbstring/libmbfl/filters/mbfilter_byte2.h int mbfl_filt_conv_byte2le_wchar(int c, mbfl_convert_filter *filter); c 93 ext/mbstring/libmbfl/filters/mbfilter_byte4.c int mbfl_filt_conv_byte4be_wchar(int c, mbfl_convert_filter *filter) c 99 ext/mbstring/libmbfl/filters/mbfilter_byte4.c n = (c & 0xff) << 24; c 103 ext/mbstring/libmbfl/filters/mbfilter_byte4.c n = (c & 0xff) << 16; c 107 ext/mbstring/libmbfl/filters/mbfilter_byte4.c n = (c & 0xff) << 8; c 111 ext/mbstring/libmbfl/filters/mbfilter_byte4.c n = (c & 0xff) | filter->cache; c 114 ext/mbstring/libmbfl/filters/mbfilter_byte4.c return c; c 117 ext/mbstring/libmbfl/filters/mbfilter_byte4.c int mbfl_filt_conv_wchar_byte4be(int c, mbfl_convert_filter *filter) c 119 ext/mbstring/libmbfl/filters/mbfilter_byte4.c CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); c 120 ext/mbstring/libmbfl/filters/mbfilter_byte4.c CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); c 121 ext/mbstring/libmbfl/filters/mbfilter_byte4.c CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); c 122 ext/mbstring/libmbfl/filters/mbfilter_byte4.c CK((*filter->output_function)(c & 0xff, filter->data)); c 123 ext/mbstring/libmbfl/filters/mbfilter_byte4.c return c; c 126 ext/mbstring/libmbfl/filters/mbfilter_byte4.c int mbfl_filt_conv_byte4le_wchar(int c, mbfl_convert_filter *filter) c 132 ext/mbstring/libmbfl/filters/mbfilter_byte4.c n = (c & 0xff); c 136 ext/mbstring/libmbfl/filters/mbfilter_byte4.c n = (c & 0xff) << 8; c 140 ext/mbstring/libmbfl/filters/mbfilter_byte4.c n = (c & 0xff) << 16; c 144 ext/mbstring/libmbfl/filters/mbfilter_byte4.c n = ((c & 0xff) << 24) | filter->cache; c 147 ext/mbstring/libmbfl/filters/mbfilter_byte4.c return c; c 150 ext/mbstring/libmbfl/filters/mbfilter_byte4.c int mbfl_filt_conv_wchar_byte4le(int c, mbfl_convert_filter *filter) c 152 ext/mbstring/libmbfl/filters/mbfilter_byte4.c CK((*filter->output_function)(c & 0xff, filter->data)); c 153 ext/mbstring/libmbfl/filters/mbfilter_byte4.c CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); c 154 ext/mbstring/libmbfl/filters/mbfilter_byte4.c CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); c 155 ext/mbstring/libmbfl/filters/mbfilter_byte4.c CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); c 156 ext/mbstring/libmbfl/filters/mbfilter_byte4.c return c; c 41 ext/mbstring/libmbfl/filters/mbfilter_byte4.h int mbfl_filt_conv_wchar_byte4be(int c, mbfl_convert_filter *filter); c 42 ext/mbstring/libmbfl/filters/mbfilter_byte4.h int mbfl_filt_conv_byte4be_wchar(int c, mbfl_convert_filter *filter); c 43 ext/mbstring/libmbfl/filters/mbfilter_byte4.h int mbfl_filt_conv_wchar_byte4le(int c, mbfl_convert_filter *filter); c 44 ext/mbstring/libmbfl/filters/mbfilter_byte4.h int mbfl_filt_conv_byte4le_wchar(int c, mbfl_convert_filter *filter); c 38 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c static int mbfl_filt_ident_cp1251(int c, mbfl_identify_filter *filter); c 82 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c mbfl_filt_conv_cp1251_wchar(int c, mbfl_convert_filter *filter) c 86 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c if (c >= 0 && c < cp1251_ucs_table_min) { c 87 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c s = c; c 88 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c } else if (c >= cp1251_ucs_table_min && c < 0x100) { c 89 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c s = cp1251_ucs_table[c - cp1251_ucs_table_min]; c 91 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c s = c; c 96 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c s = c; c 103 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c return c; c 110 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c mbfl_filt_conv_wchar_cp1251(int c, mbfl_convert_filter *filter) c 114 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c if (c < 0x80) { c 115 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c s = c; c 120 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c if (c == cp1251_ucs_table[n]) { c 126 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_CP1251) { c 127 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c s = c & MBFL_WCSPLANE_MASK; c 135 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 139 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c return c; c 143 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c static int mbfl_filt_ident_cp1251(int c, mbfl_identify_filter *filter) c 145 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c if (c >= 0x80 && c < 0xff) c 149 ext/mbstring/libmbfl/filters/mbfilter_cp1251.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_cp1251.h int mbfl_filt_conv_wchar_cp1251(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_cp1251.h int mbfl_filt_conv_cp1251_wchar(int c, mbfl_convert_filter *filter); c 38 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c static int mbfl_filt_ident_cp1252(int c, mbfl_identify_filter *filter); c 81 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c int mbfl_filt_conv_wchar_cp1252(int c, mbfl_convert_filter *filter) c 85 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c if (c >= 0x100) { c 90 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c if (c == cp1252_ucs_table[n] && c != 0xfffe) { c 96 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_8859_1) c 98 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c s = c & MBFL_WCSPLANE_MASK; c 101 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c else if (c >= 0 && c < 0x100) { c 102 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c s = c; c 108 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 111 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c return c; c 117 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c int mbfl_filt_conv_cp1252_wchar(int c, mbfl_convert_filter *filter) c 121 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c if (c >= 0x80 && c < 0xa0) { c 122 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c s = cp1252_ucs_table[c - 0x80]; c 124 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c s = c; c 129 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c return c; c 138 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c static int mbfl_filt_ident_cp1252(int c, mbfl_identify_filter *filter) c 140 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c if (c >= 0x80 && c < 0xa0) c 144 ext/mbstring/libmbfl/filters/mbfilter_cp1252.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_cp1252.h int mbfl_filt_conv_wchar_cp1252(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_cp1252.h int mbfl_filt_conv_cp1252_wchar(int c, mbfl_convert_filter *filter); c 38 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c static int mbfl_filt_ident_cp1254(int c, mbfl_identify_filter *filter); c 82 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c mbfl_filt_conv_wchar_cp1254(int c, mbfl_convert_filter *filter) c 86 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c if (c < 0x80) { c 87 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c s = c; c 92 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c if (c == cp1254_ucs_table[n] && c != 0xfffe) { c 98 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_CP1254) { c 99 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c s = c & MBFL_WCSPLANE_MASK; c 107 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 111 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c return c; c 118 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c mbfl_filt_conv_cp1254_wchar(int c, mbfl_convert_filter *filter) c 122 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c if (c >= 0 && c < cp1254_ucs_table_min) { c 123 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c s = c; c 124 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c } else if (c >= cp1254_ucs_table_min && c < 0x100) { c 125 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c s = cp1254_ucs_table[c - cp1254_ucs_table_min]; c 127 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c s = c; c 132 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c s = c; c 139 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c return c; c 148 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c static int mbfl_filt_ident_cp1254(int c, mbfl_identify_filter *filter) c 150 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c if (c >= 0x80 && c < 0xff) c 154 ext/mbstring/libmbfl/filters/mbfilter_cp1254.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_cp1254.h int mbfl_filt_conv_wchar_cp1254(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_cp1254.h int mbfl_filt_conv_cp1254_wchar(int c, mbfl_convert_filter *filter); c 43 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c static int mbfl_filt_ident_jis_ms(int c, mbfl_identify_filter *filter); c 44 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c static int mbfl_filt_ident_cp50220(int c, mbfl_identify_filter *filter); c 45 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c static int mbfl_filt_ident_cp50221(int c, mbfl_identify_filter *filter); c 46 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c static int mbfl_filt_ident_cp50222(int c, mbfl_identify_filter *filter); c 229 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c mbfl_filt_conv_jis_ms_wchar(int c, mbfl_convert_filter *filter) c 241 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x1b) { c 243 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x0e) { /* "kana in" */ c 245 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x0f) { /* "kana out" */ c 247 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (filter->status == 0x10 && c == 0x5c) { /* YEN SIGN */ c 249 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (filter->status == 0x10 && c == 0x7e) { /* OVER LINE */ c 251 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (filter->status == 0x20 && c > 0x20 && c < 0x60) { /* kana */ c 252 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c CK((*filter->output_function)(0xff40 + c, filter->data)); c 253 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if ((filter->status == 0x80 || filter->status == 0x90) && c > 0x20 && c < 0x93) { /* kanji first char */ c 254 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c filter->cache = c; c 256 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= 0 && c < 0x80) { /* latin, CTLs */ c 257 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c CK((*filter->output_function)(c, filter->data)); c 258 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c > 0xa0 && c < 0xe0) { /* GR kana */ c 259 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c CK((*filter->output_function)(0xfec0 + c, filter->data)); c 261 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c w = c & MBFL_WCSGROUP_MASK; c 272 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c > 0x20 && c < 0x7f) { c 273 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = (c1 - 0x21)*94 + c - 0x21; c 290 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c w = (c1 << 8) | c; c 301 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c w = (c1 << 8) | c; c 307 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x1b) { c 309 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 310 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c CK((*filter->output_function)(c, filter->data)); c 312 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c w = (c1 << 8) | c; c 326 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x24) { /* '$' */ c 328 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x28) { /* '(' */ c 344 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 346 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x28) { /* '(' */ c 363 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 365 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x44) { /* 'D' */ c 383 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x42 || c == 0x48) { /* 'B' or 'H' */ c 385 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x4a) { /* 'J' */ c 387 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x49) { /* 'I' */ c 402 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c return c; c 409 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c mbfl_filt_conv_wchar_jis_ms(int c, mbfl_convert_filter *filter) c 414 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c >= ucs_a1_jis_table_min && c < ucs_a1_jis_table_max) { c 415 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = ucs_a1_jis_table[c - ucs_a1_jis_table_min]; c 416 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= ucs_a2_jis_table_min && c < ucs_a2_jis_table_max) { c 417 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = ucs_a2_jis_table[c - ucs_a2_jis_table_min]; c 418 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= ucs_i_jis_table_min && c < ucs_i_jis_table_max) { c 419 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = ucs_i_jis_table[c - ucs_i_jis_table_min]; c 420 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= ucs_r_jis_table_min && c < ucs_r_jis_table_max) { c 421 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = ucs_r_jis_table[c - ucs_r_jis_table_min]; c 422 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= 0xe000 && c < (0xe000 + 10 * 94)) { c 425 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = c - 0xe000; c 427 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= (0xe000 + 10 * 94) && c <= (0xe000 + 20 * 94)) { c 430 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = c - (0xe000 + 10 * 94); c 436 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c c1 = c & ~MBFL_WCSPLANE_MASK; c 438 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = c & MBFL_WCSPLANE_MASK; c 440 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = c & MBFL_WCSPLANE_MASK; c 442 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xa5) { /* YEN SIGN */ c 444 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x203e) { /* OVER LINE */ c 446 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xff3c) { /* FULLWIDTH REVERSE SOLIDUS */ c 448 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xff5e) { /* FULLWIDTH TILDE */ c 450 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x2225) { /* PARALLEL TO */ c 452 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xff0d) { /* FULLWIDTH HYPHEN-MINUS */ c 454 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xffe0) { /* FULLWIDTH CENT SIGN */ c 456 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xffe1) { /* FULLWIDTH POUND SIGN */ c 458 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xffe2) { /* FULLWIDTH NOT SIGN */ c 470 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == cp932ext1_ucs_table[i]) { c 481 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == cp932ext2_ucs_table[i]) { c 496 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == cp932ext3_ucs_table[i]) { c 503 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0) { c 557 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 561 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c return c; c 625 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c mbfl_filt_conv_wchar_cp50220raw(int c, mbfl_convert_filter *filter) c 627 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c & MBFL_WCSPLANE_JIS0208) { c 628 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c const int s = c & MBFL_WCSPLANE_MASK; c 638 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c return c; c 640 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c return mbfl_filt_conv_wchar_cp50221(c, filter); c 648 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c mbfl_filt_conv_wchar_cp50221(int c, mbfl_convert_filter *filter) c 652 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c >= ucs_a1_jis_table_min && c < ucs_a1_jis_table_max) { c 653 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = ucs_a1_jis_table[c - ucs_a1_jis_table_min]; c 654 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= ucs_a2_jis_table_min && c < ucs_a2_jis_table_max) { c 655 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = ucs_a2_jis_table[c - ucs_a2_jis_table_min]; c 656 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= ucs_i_jis_table_min && c < ucs_i_jis_table_max) { c 657 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = ucs_i_jis_table[c - ucs_i_jis_table_min]; c 658 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= ucs_r_jis_table_min && c < ucs_r_jis_table_max) { c 659 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = ucs_r_jis_table[c - ucs_r_jis_table_min]; c 660 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= 0xe000 && c < (0xe000 + 10 * 94)) { c 663 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = c - 0xe000; c 665 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= (0xe000 + 10 * 94) && c <= (0xe000 + 20 * 94)) { c 668 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = c - (0xe000 + 10 * 94); c 673 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0xa5) { /* YEN SIGN */ c 675 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x203e) { /* OVER LINE */ c 677 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xff3c) { /* FULLWIDTH REVERSE SOLIDUS */ c 679 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xff5e) { /* FULLWIDTH TILDE */ c 681 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x2225) { /* PARALLEL TO */ c 683 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xff0d) { /* FULLWIDTH HYPHEN-MINUS */ c 685 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xffe0) { /* FULLWIDTH CENT SIGN */ c 687 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xffe1) { /* FULLWIDTH POUND SIGN */ c 689 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xffe2) { /* FULLWIDTH NOT SIGN */ c 702 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == cp932ext1_ucs_table[i]) { c 713 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == cp932ext2_ucs_table[i]) { c 728 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == cp932ext3_ucs_table[i]) { c 735 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0) { c 770 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 783 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 787 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c return c; c 794 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c mbfl_filt_conv_wchar_cp50222(int c, mbfl_convert_filter *filter) c 800 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c >= ucs_a1_jis_table_min && c < ucs_a1_jis_table_max) { c 801 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = ucs_a1_jis_table[c - ucs_a1_jis_table_min]; c 802 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= ucs_a2_jis_table_min && c < ucs_a2_jis_table_max) { c 803 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = ucs_a2_jis_table[c - ucs_a2_jis_table_min]; c 804 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= ucs_i_jis_table_min && c < ucs_i_jis_table_max) { c 805 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = ucs_i_jis_table[c - ucs_i_jis_table_min]; c 806 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= ucs_r_jis_table_min && c < ucs_r_jis_table_max) { c 807 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = ucs_r_jis_table[c - ucs_r_jis_table_min]; c 808 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= 0xe000 && c < (0xe000 + 10 * 94)) { c 811 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = c - 0xe000; c 813 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= (0xe000 + 10 * 94) && c <= (0xe000 + 20 * 94)) { c 816 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c s = c - (0xe000 + 10 * 94); c 821 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0xa5) { /* YEN SIGN */ c 823 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x203e) { /* OVER LINE */ c 825 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xff3c) { /* FULLWIDTH REVERSE SOLIDUS */ c 827 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xff5e) { /* FULLWIDTH TILDE */ c 829 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x2225) { /* PARALLEL TO */ c 831 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xff0d) { /* FULLWIDTH HYPHEN-MINUS */ c 833 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xffe0) { /* FULLWIDTH CENT SIGN */ c 835 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xffe1) { /* FULLWIDTH POUND SIGN */ c 837 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0xffe2) { /* FULLWIDTH NOT SIGN */ c 849 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == cp932ext1_ucs_table[i]) { c 860 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == cp932ext2_ucs_table[i]) { c 875 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == cp932ext3_ucs_table[i]) { c 882 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0) { c 922 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 939 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 943 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c return c; c 967 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c static int mbfl_filt_ident_jis_ms(int c, mbfl_identify_filter *filter) c 977 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x1b) { c 979 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x0e) { /* "kana in" */ c 981 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x0f) { /* "kana out" */ c 983 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if ((filter->status == 0x80 || filter->status == 0x90) && c > 0x20 && c < 0x7f) { /* kanji first char */ c 985 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= 0 && c < 0x80) { /* latin, CTLs */ c 996 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x1b) { c 998 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c < 0x21 || c > 0x7e) { /* bad */ c 1005 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x24) { /* '$' */ c 1007 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x28) { /* '(' */ c 1018 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 1020 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x28) { /* '(' */ c 1031 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 1033 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x44) { /* 'D' */ c 1044 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x42 || c == 0x48) { /* 'B' or 'H' */ c 1046 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x4a) { /* 'J' */ c 1048 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x49) { /* 'I' */ c 1062 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c return c; c 1065 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c static int mbfl_filt_ident_cp50220(int c, mbfl_identify_filter *filter) c 1073 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x1b) { c 1075 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (filter->status == 0x80 && c > 0x20 && c < 0x7f) { /* kanji first char */ c 1077 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= 0 && c < 0x80) { /* latin, CTLs */ c 1086 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x1b) { c 1090 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c < 0x21 || c > 0x7e) { /* bad */ c 1098 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x24) { /* '$' */ c 1100 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x28) { /* '(' */ c 1111 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 1122 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x42) { /* 'B' */ c 1124 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x4a) { /* 'J' */ c 1138 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c return c; c 1141 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c static int mbfl_filt_ident_cp50221(int c, mbfl_identify_filter *filter) c 1149 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x1b) { c 1151 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (filter->status == 0x80 && c > 0x20 && c < 0x7f) { /* kanji first char */ c 1153 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= 0 && c < 0x80) { /* latin, CTLs */ c 1162 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x1b) { c 1166 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c < 0x21 || c > 0x7e) { /* bad */ c 1174 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x24) { /* '$' */ c 1176 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x28) { /* '(' */ c 1187 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 1198 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x42) { /* 'B' */ c 1200 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x4a) { /* 'J' */ c 1202 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x49) { /* 'I' */ c 1216 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c return c; c 1219 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c static int mbfl_filt_ident_cp50222(int c, mbfl_identify_filter *filter) c 1227 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x1b) { c 1229 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (filter->status == 0x80 && c > 0x20 && c < 0x7f) { /* kanji first char */ c 1231 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c >= 0 && c < 0x80) { /* latin, CTLs */ c 1240 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x1b) { c 1244 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c < 0x21 || c > 0x7e) { /* bad */ c 1252 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x24) { /* '$' */ c 1254 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x28) { /* '(' */ c 1265 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 1276 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c if (c == 0x42) { /* 'B' */ c 1278 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c } else if (c == 0x4a) { /* 'J' */ c 1292 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c return c; c 56 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.h int mbfl_filt_conv_jis_ms_wchar(int c, mbfl_convert_filter *filter); c 57 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.h int mbfl_filt_conv_wchar_jis_ms(int c, mbfl_convert_filter *filter); c 58 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.h int mbfl_filt_conv_wchar_cp50220(int c, mbfl_convert_filter *filter); c 59 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.h int mbfl_filt_conv_wchar_cp50220raw(int c, mbfl_convert_filter *filter); c 60 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.h int mbfl_filt_conv_wchar_cp50221(int c, mbfl_convert_filter *filter); c 61 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.h int mbfl_filt_conv_wchar_cp50222(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c static int mbfl_filt_ident_cp51932(int c, mbfl_identify_filter *filter); c 105 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c #define idxtoeuc1(c) (((c) / 94) + 0xa1) c 106 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c #define idxtoeuc2(c) (((c) % 94) + 0xa1) c 112 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c mbfl_filt_conv_cp51932_wchar(int c, mbfl_convert_filter *filter) c 118 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c if (c >= 0 && c < 0x80) { /* latin */ c 119 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c CK((*filter->output_function)(c, filter->data)); c 120 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if (c > 0xa0 && c < 0xff) { /* CP932 first char */ c 122 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c filter->cache = c; c 123 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if (c == 0x8e) { /* kana first char */ c 126 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c w = c & MBFL_WCSGROUP_MASK; c 135 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c if (c > 0xa0 && c < 0xff) { c 137 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c s = (c1 - 0xa1)*94 + c - 0xa1; c 165 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c w = ((c1 & 0x7f) << 8) | (c & 0x7f); c 170 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 171 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c CK((*filter->output_function)(c, filter->data)); c 173 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c w = (c1 << 8) | c; c 182 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c if (c > 0xa0 && c < 0xe0) { c 183 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c w = 0xfec0 + c; c 185 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 186 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c CK((*filter->output_function)(c, filter->data)); c 188 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c w = 0x8e00 | c; c 200 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c return c; c 207 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c mbfl_filt_conv_wchar_cp51932(int c, mbfl_convert_filter *filter) c 212 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c if (c >= ucs_a1_jis_table_min && c < ucs_a1_jis_table_max) { c 213 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c s1 = ucs_a1_jis_table[c - ucs_a1_jis_table_min]; c 214 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if (c >= ucs_a2_jis_table_min && c < ucs_a2_jis_table_max) { c 215 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c s1 = ucs_a2_jis_table[c - ucs_a2_jis_table_min]; c 216 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if (c >= ucs_i_jis_table_min && c < ucs_i_jis_table_max) { c 217 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c s1 = ucs_i_jis_table[c - ucs_i_jis_table_min]; c 218 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if (c >= ucs_r_jis_table_min && c < ucs_r_jis_table_max) { c 219 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c s1 = ucs_r_jis_table[c - ucs_r_jis_table_min]; c 223 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c c1 = c & ~MBFL_WCSPLANE_MASK; c 225 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c s1 = c & MBFL_WCSPLANE_MASK; c 230 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c s1 = c & MBFL_WCSPLANE_MASK; c 237 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if (c == 0xa5) { /* YEN SIGN */ c 239 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if (c == 0x203e) { /* OVER LINE */ c 241 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if (c == 0xff3c) { /* FULLWIDTH REVERSE SOLIDUS */ c 243 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if (c == 0xff5e) { /* FULLWIDTH TILDE */ c 245 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if (c == 0x2225) { /* PARALLEL TO */ c 247 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if (c == 0xff0d) { /* FULLWIDTH HYPHEN-MINUS */ c 249 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if (c == 0xffe0) { /* FULLWIDTH CENT SIGN */ c 251 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if (c == 0xffe1) { /* FULLWIDTH POUND SIGN */ c 253 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if (c == 0xffe2) { /* FULLWIDTH NOT SIGN */ c 260 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c if (c == cp932ext1_ucs_table[c1]) { c 270 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c if (c == cp932ext2_ucs_table[c1]) { c 278 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c if (c == 0) { c 296 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 301 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 305 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c return c; c 308 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c static int mbfl_filt_ident_cp51932(int c, mbfl_identify_filter *filter) c 312 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c if (c >= 0 && c < 0x80) { /* ok */ c 314 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if (c > 0xa0 && c < 0xff) { /* kanji first char */ c 316 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c } else if (c == 0x8e) { /* kana first char */ c 324 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c if (c < 0xa1 || c > 0xfe) { /* bad */ c 331 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c if (c < 0xa1 || c > 0xdf) { /* bad */ c 342 ext/mbstring/libmbfl/filters/mbfilter_cp51932.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_cp51932.h int mbfl_filt_conv_cp51932_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_cp51932.h int mbfl_filt_conv_wchar_cp51932(int c, mbfl_convert_filter *filter); c 34 ext/mbstring/libmbfl/filters/mbfilter_cp850.c static int mbfl_filt_ident_cp850(int c, mbfl_identify_filter *filter); c 78 ext/mbstring/libmbfl/filters/mbfilter_cp850.c mbfl_filt_conv_cp850_wchar(int c, mbfl_convert_filter *filter) c 82 ext/mbstring/libmbfl/filters/mbfilter_cp850.c if (c >= 0 && c < cp850_ucs_table_min) { c 83 ext/mbstring/libmbfl/filters/mbfilter_cp850.c s = c; c 84 ext/mbstring/libmbfl/filters/mbfilter_cp850.c } else if (c >= cp850_ucs_table_min && c < 0x100) { c 85 ext/mbstring/libmbfl/filters/mbfilter_cp850.c s = cp850_ucs_table[c - cp850_ucs_table_min]; c 87 ext/mbstring/libmbfl/filters/mbfilter_cp850.c s = c; c 92 ext/mbstring/libmbfl/filters/mbfilter_cp850.c s = c; c 99 ext/mbstring/libmbfl/filters/mbfilter_cp850.c return c; c 106 ext/mbstring/libmbfl/filters/mbfilter_cp850.c mbfl_filt_conv_wchar_cp850(int c, mbfl_convert_filter *filter) c 110 ext/mbstring/libmbfl/filters/mbfilter_cp850.c if (c < 0x80) { c 111 ext/mbstring/libmbfl/filters/mbfilter_cp850.c s = c; c 116 ext/mbstring/libmbfl/filters/mbfilter_cp850.c if (c == cp850_ucs_table[n]) { c 122 ext/mbstring/libmbfl/filters/mbfilter_cp850.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_CP850) { c 123 ext/mbstring/libmbfl/filters/mbfilter_cp850.c s = c & MBFL_WCSPLANE_MASK; c 131 ext/mbstring/libmbfl/filters/mbfilter_cp850.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 135 ext/mbstring/libmbfl/filters/mbfilter_cp850.c return c; c 138 ext/mbstring/libmbfl/filters/mbfilter_cp850.c static int mbfl_filt_ident_cp850(int c, mbfl_identify_filter *filter) c 140 ext/mbstring/libmbfl/filters/mbfilter_cp850.c if (c >= 0x80 && c < 0xff) c 144 ext/mbstring/libmbfl/filters/mbfilter_cp850.c return c; c 34 ext/mbstring/libmbfl/filters/mbfilter_cp850.h int mbfl_filt_conv_cp850_wchar(int c, mbfl_convert_filter *filter); c 35 ext/mbstring/libmbfl/filters/mbfilter_cp850.h int mbfl_filt_conv_wchar_cp850(int c, mbfl_convert_filter *filter); c 38 ext/mbstring/libmbfl/filters/mbfilter_cp866.c static int mbfl_filt_ident_cp866(int c, mbfl_identify_filter *filter); c 82 ext/mbstring/libmbfl/filters/mbfilter_cp866.c mbfl_filt_conv_cp866_wchar(int c, mbfl_convert_filter *filter) c 86 ext/mbstring/libmbfl/filters/mbfilter_cp866.c if (c >= 0 && c < cp866_ucs_table_min) { c 87 ext/mbstring/libmbfl/filters/mbfilter_cp866.c s = c; c 88 ext/mbstring/libmbfl/filters/mbfilter_cp866.c } else if (c >= cp866_ucs_table_min && c < 0x100) { c 89 ext/mbstring/libmbfl/filters/mbfilter_cp866.c s = cp866_ucs_table[c - cp866_ucs_table_min]; c 91 ext/mbstring/libmbfl/filters/mbfilter_cp866.c s = c; c 96 ext/mbstring/libmbfl/filters/mbfilter_cp866.c s = c; c 103 ext/mbstring/libmbfl/filters/mbfilter_cp866.c return c; c 110 ext/mbstring/libmbfl/filters/mbfilter_cp866.c mbfl_filt_conv_wchar_cp866(int c, mbfl_convert_filter *filter) c 114 ext/mbstring/libmbfl/filters/mbfilter_cp866.c if (c < 0x80) { c 115 ext/mbstring/libmbfl/filters/mbfilter_cp866.c s = c; c 120 ext/mbstring/libmbfl/filters/mbfilter_cp866.c if (c == cp866_ucs_table[n]) { c 126 ext/mbstring/libmbfl/filters/mbfilter_cp866.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_CP866) { c 127 ext/mbstring/libmbfl/filters/mbfilter_cp866.c s = c & MBFL_WCSPLANE_MASK; c 135 ext/mbstring/libmbfl/filters/mbfilter_cp866.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 139 ext/mbstring/libmbfl/filters/mbfilter_cp866.c return c; c 142 ext/mbstring/libmbfl/filters/mbfilter_cp866.c static int mbfl_filt_ident_cp866(int c, mbfl_identify_filter *filter) c 144 ext/mbstring/libmbfl/filters/mbfilter_cp866.c if (c >= 0x80 && c < 0xff) c 148 ext/mbstring/libmbfl/filters/mbfilter_cp866.c return c; c 38 ext/mbstring/libmbfl/filters/mbfilter_cp866.h int mbfl_filt_conv_cp866_wchar(int c, mbfl_convert_filter *filter); c 39 ext/mbstring/libmbfl/filters/mbfilter_cp866.h int mbfl_filt_conv_wchar_cp866(int c, mbfl_convert_filter *filter); c 40 ext/mbstring/libmbfl/filters/mbfilter_cp932.c static int mbfl_filt_ident_cp932(int c, mbfl_identify_filter *filter); c 147 ext/mbstring/libmbfl/filters/mbfilter_cp932.c mbfl_filt_conv_cp932_wchar(int c, mbfl_convert_filter *filter) c 153 ext/mbstring/libmbfl/filters/mbfilter_cp932.c if (c >= 0 && c < 0x80) { /* latin */ c 154 ext/mbstring/libmbfl/filters/mbfilter_cp932.c CK((*filter->output_function)(c, filter->data)); c 155 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c > 0xa0 && c < 0xe0) { /* kana */ c 156 ext/mbstring/libmbfl/filters/mbfilter_cp932.c CK((*filter->output_function)(0xfec0 + c, filter->data)); c 157 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c > 0x80 && c < 0xfd && c != 0xa0) { /* kanji first char */ c 159 ext/mbstring/libmbfl/filters/mbfilter_cp932.c filter->cache = c; c 161 ext/mbstring/libmbfl/filters/mbfilter_cp932.c w = c & MBFL_WCSGROUP_MASK; c 170 ext/mbstring/libmbfl/filters/mbfilter_cp932.c if (c >= 0x40 && c <= 0xfc && c != 0x7f) { c 172 ext/mbstring/libmbfl/filters/mbfilter_cp932.c SJIS_DECODE(c1, c, s1, s2); c 210 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 211 ext/mbstring/libmbfl/filters/mbfilter_cp932.c CK((*filter->output_function)(c, filter->data)); c 213 ext/mbstring/libmbfl/filters/mbfilter_cp932.c w = (c1 << 8) | c; c 225 ext/mbstring/libmbfl/filters/mbfilter_cp932.c return c; c 232 ext/mbstring/libmbfl/filters/mbfilter_cp932.c mbfl_filt_conv_wchar_cp932(int c, mbfl_convert_filter *filter) c 238 ext/mbstring/libmbfl/filters/mbfilter_cp932.c if (c >= ucs_a1_jis_table_min && c < ucs_a1_jis_table_max) { c 239 ext/mbstring/libmbfl/filters/mbfilter_cp932.c s1 = ucs_a1_jis_table[c - ucs_a1_jis_table_min]; c 240 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c >= ucs_a2_jis_table_min && c < ucs_a2_jis_table_max) { c 241 ext/mbstring/libmbfl/filters/mbfilter_cp932.c s1 = ucs_a2_jis_table[c - ucs_a2_jis_table_min]; c 242 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c >= ucs_i_jis_table_min && c < ucs_i_jis_table_max) { c 243 ext/mbstring/libmbfl/filters/mbfilter_cp932.c s1 = ucs_i_jis_table[c - ucs_i_jis_table_min]; c 244 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c >= ucs_r_jis_table_min && c < ucs_r_jis_table_max) { c 245 ext/mbstring/libmbfl/filters/mbfilter_cp932.c s1 = ucs_r_jis_table[c - ucs_r_jis_table_min]; c 246 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c >= 0xe000 && c < (0xe000 + 20*94)) { /* user (95ku - 114ku) */ c 247 ext/mbstring/libmbfl/filters/mbfilter_cp932.c s1 = c - 0xe000; c 254 ext/mbstring/libmbfl/filters/mbfilter_cp932.c c1 = c & ~MBFL_WCSPLANE_MASK; c 256 ext/mbstring/libmbfl/filters/mbfilter_cp932.c s1 = c & MBFL_WCSPLANE_MASK; c 259 ext/mbstring/libmbfl/filters/mbfilter_cp932.c s1 = c & MBFL_WCSPLANE_MASK; c 261 ext/mbstring/libmbfl/filters/mbfilter_cp932.c s1 = c & MBFL_WCSPLANE_MASK; c 263 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c == 0xa5) { /* YEN SIGN */ c 265 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c == 0x203e) { /* OVER LINE */ c 267 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c == 0xff3c) { /* FULLWIDTH REVERSE SOLIDUS */ c 269 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c == 0xff5e) { /* FULLWIDTH TILDE */ c 271 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c == 0x2225) { /* PARALLEL TO */ c 273 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c == 0xff0d) { /* FULLWIDTH HYPHEN-MINUS */ c 275 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c == 0xffe0) { /* FULLWIDTH CENT SIGN */ c 277 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c == 0xffe1) { /* FULLWIDTH POUND SIGN */ c 279 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c == 0xffe2) { /* FULLWIDTH NOT SIGN */ c 288 ext/mbstring/libmbfl/filters/mbfilter_cp932.c if (c == cp932ext1_ucs_table[c1]) { c 298 ext/mbstring/libmbfl/filters/mbfilter_cp932.c if (c == cp932ext3_ucs_table[c1]) { c 305 ext/mbstring/libmbfl/filters/mbfilter_cp932.c if (c == 0) { c 323 ext/mbstring/libmbfl/filters/mbfilter_cp932.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 327 ext/mbstring/libmbfl/filters/mbfilter_cp932.c return c; c 330 ext/mbstring/libmbfl/filters/mbfilter_cp932.c static int mbfl_filt_ident_cp932(int c, mbfl_identify_filter *filter) c 333 ext/mbstring/libmbfl/filters/mbfilter_cp932.c if (c < 0x40 || c > 0xfc || c == 0x7f) { /* bad */ c 337 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c >= 0 && c < 0x80) { /* latin ok */ c 339 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c > 0xa0 && c < 0xe0) { /* kana ok */ c 341 ext/mbstring/libmbfl/filters/mbfilter_cp932.c } else if (c > 0x80 && c < 0xfd && c != 0xa0) { /* kanji first char */ c 347 ext/mbstring/libmbfl/filters/mbfilter_cp932.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_cp932.h int mbfl_filt_conv_cp932_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_cp932.h int mbfl_filt_conv_wchar_cp932(int c, mbfl_convert_filter *filter); c 39 ext/mbstring/libmbfl/filters/mbfilter_cp936.c static int mbfl_filt_ident_cp936(int c, mbfl_identify_filter *filter); c 103 ext/mbstring/libmbfl/filters/mbfilter_cp936.c mbfl_filt_conv_cp936_wchar(int c, mbfl_convert_filter *filter) c 110 ext/mbstring/libmbfl/filters/mbfilter_cp936.c if (c >= 0 && c < 0x80) { /* latin */ c 111 ext/mbstring/libmbfl/filters/mbfilter_cp936.c CK((*filter->output_function)(c, filter->data)); c 112 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c == 0x80) { /* euro sign */ c 114 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c < 0xff) { /* dbcs lead byte */ c 116 ext/mbstring/libmbfl/filters/mbfilter_cp936.c filter->cache = c; c 127 ext/mbstring/libmbfl/filters/mbfilter_cp936.c (c >= 0xa1 && c <= 0xfe)) { c 129 ext/mbstring/libmbfl/filters/mbfilter_cp936.c w = 94*(c1 >= 0xf8 ? c1 - 0xf2 : c1 - 0xaa) + (c - 0xa1) + 0xe000; c 131 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c1 >= 0xa1 && c1 <= 0xa7 && c >= 0x40 && c < 0xa1 && c != 0x7f) { c 133 ext/mbstring/libmbfl/filters/mbfilter_cp936.c w = 96*(c1 - 0xa1) + c - (c >= 0x80 ? 0x41 : 0x40) + 0xe4c6; c 137 ext/mbstring/libmbfl/filters/mbfilter_cp936.c c2 = (c1 << 8) | c; c 155 ext/mbstring/libmbfl/filters/mbfilter_cp936.c if (c1 < 0xff && c1 > 0x80 && c > 0x39 && c < 0xff && c != 0x7f) { c 156 ext/mbstring/libmbfl/filters/mbfilter_cp936.c w = (c1 - 0x81)*192 + (c - 0x40); c 163 ext/mbstring/libmbfl/filters/mbfilter_cp936.c w = (c1 << 8) | c; c 168 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 169 ext/mbstring/libmbfl/filters/mbfilter_cp936.c CK((*filter->output_function)(c, filter->data)); c 171 ext/mbstring/libmbfl/filters/mbfilter_cp936.c w = (c1 << 8) | c; c 184 ext/mbstring/libmbfl/filters/mbfilter_cp936.c return c; c 191 ext/mbstring/libmbfl/filters/mbfilter_cp936.c mbfl_filt_conv_wchar_cp936(int c, mbfl_convert_filter *filter) c 196 ext/mbstring/libmbfl/filters/mbfilter_cp936.c if (c >= ucs_a1_cp936_table_min && c < ucs_a1_cp936_table_max) { c 198 ext/mbstring/libmbfl/filters/mbfilter_cp936.c s = ucs_a1_cp936_table[c - ucs_a1_cp936_table_min]; c 199 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c >= ucs_a2_cp936_table_min && c < ucs_a2_cp936_table_max) { c 201 ext/mbstring/libmbfl/filters/mbfilter_cp936.c if (c == 0x203e) { c 203 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c == 0x2218) { c 205 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c == 0x223c) { c 208 ext/mbstring/libmbfl/filters/mbfilter_cp936.c s = ucs_a2_cp936_table[c - ucs_a2_cp936_table_min]; c 210 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c >= ucs_a3_cp936_table_min && c < ucs_a3_cp936_table_max) { c 212 ext/mbstring/libmbfl/filters/mbfilter_cp936.c s = ucs_a3_cp936_table[c - ucs_a3_cp936_table_min]; c 213 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c >= ucs_i_cp936_table_min && c < ucs_i_cp936_table_max) { c 215 ext/mbstring/libmbfl/filters/mbfilter_cp936.c s = ucs_i_cp936_table[c - ucs_i_cp936_table_min]; c 216 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c >= 0xe000 && c <= 0xe864) { /* PUA */ c 217 ext/mbstring/libmbfl/filters/mbfilter_cp936.c if (c < 0xe766) { c 218 ext/mbstring/libmbfl/filters/mbfilter_cp936.c if (c < 0xe4c6) { c 219 ext/mbstring/libmbfl/filters/mbfilter_cp936.c c1 = c - 0xe000; c 223 ext/mbstring/libmbfl/filters/mbfilter_cp936.c c1 = c - 0xe4c6; c 232 ext/mbstring/libmbfl/filters/mbfilter_cp936.c if (c < mbfl_cp936_pua_tbl[k][0]) { c 234 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c > mbfl_cp936_pua_tbl[k][1]) { c 237 ext/mbstring/libmbfl/filters/mbfilter_cp936.c s = c - mbfl_cp936_pua_tbl[k][0] + mbfl_cp936_pua_tbl[k][2]; c 242 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c == 0xf8f5) { c 244 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c >= ucs_ci_cp936_table_min && c < ucs_ci_cp936_table_max) { c 246 ext/mbstring/libmbfl/filters/mbfilter_cp936.c s = ucs_ci_cp936_table[c - ucs_ci_cp936_table_min]; c 247 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c >= ucs_cf_cp936_table_min && c < ucs_cf_cp936_table_max) { c 248 ext/mbstring/libmbfl/filters/mbfilter_cp936.c s = ucs_cf_cp936_table[c - ucs_cf_cp936_table_min]; c 249 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c >= ucs_sfv_cp936_table_min && c < ucs_sfv_cp936_table_max) { c 250 ext/mbstring/libmbfl/filters/mbfilter_cp936.c s = ucs_sfv_cp936_table[c - ucs_sfv_cp936_table_min]; /* U+FE50-FE6F Small Form Variants */ c 251 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c >= ucs_hff_cp936_table_min && c < ucs_hff_cp936_table_max) { c 253 ext/mbstring/libmbfl/filters/mbfilter_cp936.c if (c == 0xff04) { c 255 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c == 0xff5e) { c 257 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c >= 0xff01 && c <= 0xff5d) { c 258 ext/mbstring/libmbfl/filters/mbfilter_cp936.c s = c - 0xff01 + 0xa3a1; c 259 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c >= 0xffe0 && c <= 0xffe5) { c 260 ext/mbstring/libmbfl/filters/mbfilter_cp936.c s = ucs_hff_s_cp936_table[c-0xffe0]; c 264 ext/mbstring/libmbfl/filters/mbfilter_cp936.c c1 = c & ~MBFL_WCSPLANE_MASK; c 266 ext/mbstring/libmbfl/filters/mbfilter_cp936.c s = c & MBFL_WCSPLANE_MASK; c 268 ext/mbstring/libmbfl/filters/mbfilter_cp936.c if (c == 0) { c 283 ext/mbstring/libmbfl/filters/mbfilter_cp936.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 287 ext/mbstring/libmbfl/filters/mbfilter_cp936.c return c; c 290 ext/mbstring/libmbfl/filters/mbfilter_cp936.c static int mbfl_filt_ident_cp936(int c, mbfl_identify_filter *filter) c 293 ext/mbstring/libmbfl/filters/mbfilter_cp936.c if (c < 0x40 || c > 0xfe || c == 0x7f) { /* bad */ c 297 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c >= 0 && c < 0x80) { /* latin ok */ c 299 ext/mbstring/libmbfl/filters/mbfilter_cp936.c } else if (c > 0x80 && c < 0xff) { /* DBCS lead byte */ c 305 ext/mbstring/libmbfl/filters/mbfilter_cp936.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_cp936.h int mbfl_filt_conv_cp936_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_cp936.h int mbfl_filt_conv_wchar_cp936(int c, mbfl_convert_filter *filter); c 39 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c static int mbfl_filt_ident_euccn(int c, mbfl_identify_filter *filter); c 102 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c mbfl_filt_conv_euccn_wchar(int c, mbfl_convert_filter *filter) c 108 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c if (c >= 0 && c < 0x80) { /* latin */ c 109 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c CK((*filter->output_function)(c, filter->data)); c 110 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c } else if (c > 0xa0 && c < 0xff) { /* dbcs lead byte */ c 112 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c filter->cache = c; c 114 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c w = c & MBFL_WCSGROUP_MASK; c 123 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c if (c1 > 0xa0 && c1 < 0xff && c > 0xa0 && c < 0xff) { c 124 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c w = (c1 - 0x81)*192 + (c - 0x40); c 131 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c w = (c1 << 8) | c; c 136 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 137 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c CK((*filter->output_function)(c, filter->data)); c 139 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c w = (c1 << 8) | c; c 151 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c return c; c 158 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c mbfl_filt_conv_wchar_euccn(int c, mbfl_convert_filter *filter) c 163 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c if (c >= ucs_a1_cp936_table_min && c < ucs_a1_cp936_table_max) { c 164 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c s = ucs_a1_cp936_table[c - ucs_a1_cp936_table_min]; c 165 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c } else if (c >= ucs_a2_cp936_table_min && c < ucs_a2_cp936_table_max) { c 166 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c s = ucs_a2_cp936_table[c - ucs_a2_cp936_table_min]; c 167 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c } else if (c >= ucs_a3_cp936_table_min && c < ucs_a3_cp936_table_max) { c 168 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c s = ucs_a3_cp936_table[c - ucs_a3_cp936_table_min]; c 169 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c } else if (c >= ucs_i_cp936_table_min && c < ucs_i_cp936_table_max) { c 170 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c s = ucs_i_cp936_table[c - ucs_i_cp936_table_min]; c 171 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c } else if (c >= ucs_hff_cp936_table_min && c < ucs_hff_cp936_table_max) { c 172 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c if (c == 0xff04) { c 174 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c } else if (c == 0xff5e) { c 176 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c } else if (c >= 0xff01 && c <= 0xff5d) { c 177 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c s = c - 0xff01 + 0xa3a1; c 178 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c } else if (c >= 0xffe0 && c <= 0xffe5) { c 179 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c s = ucs_hff_s_cp936_table[c-0xffe0]; c 186 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c s = c; c 190 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c c1 = c & ~MBFL_WCSPLANE_MASK; c 192 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c s = c & MBFL_WCSPLANE_MASK; c 194 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c if (c == 0) { c 209 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 213 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c return c; c 216 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c static int mbfl_filt_ident_euccn(int c, mbfl_identify_filter *filter) c 220 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c if (c >= 0 && c < 0x80) { /* ok */ c 222 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c } else if (c > 0xa0 && c < 0xff) { /* DBCS lead byte */ c 230 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c if (c < 0xa1 || c > 0xfe) { /* bad */ c 241 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.h int mbfl_filt_conv_euccn_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_euc_cn.h int mbfl_filt_conv_wchar_euccn(int c, mbfl_convert_filter *filter); c 40 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c int mbfl_filt_ident_eucjp(int c, mbfl_identify_filter *filter); c 103 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c mbfl_filt_conv_eucjp_wchar(int c, mbfl_convert_filter *filter) c 109 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c if (c >= 0 && c < 0x80) { /* latin */ c 110 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c CK((*filter->output_function)(c, filter->data)); c 111 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if (c > 0xa0 && c < 0xff) { /* X 0208 first char */ c 113 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c filter->cache = c; c 114 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if (c == 0x8e) { /* kana first char */ c 116 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if (c == 0x8f) { /* X 0212 first char */ c 119 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c w = c & MBFL_WCSGROUP_MASK; c 128 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c if (c > 0xa0 && c < 0xff) { c 129 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c s = (c1 - 0xa1)*94 + c - 0xa1; c 136 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c w = ((c1 & 0x7f) << 8) | (c & 0x7f); c 141 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 142 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c CK((*filter->output_function)(c, filter->data)); c 144 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c w = (c1 << 8) | c; c 153 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c if (c > 0xa0 && c < 0xe0) { c 154 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c w = 0xfec0 + c; c 156 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 157 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c CK((*filter->output_function)(c, filter->data)); c 159 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c w = 0x8e00 | c; c 167 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 168 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c CK((*filter->output_function)(c, filter->data)); c 172 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c filter->cache = c; c 178 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c if (c1 > 0xa0 && c1 < 0xff && c > 0xa0 && c < 0xff) { c 179 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c s = (c1 - 0xa1)*94 + c - 0xa1; c 186 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c w = ((c1 & 0x7f) << 8) | (c & 0x7f); c 191 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 192 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c CK((*filter->output_function)(c, filter->data)); c 194 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c w = (c1 << 8) | c | 0x8f0000; c 206 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c return c; c 213 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c mbfl_filt_conv_wchar_eucjp(int c, mbfl_convert_filter *filter) c 218 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c if (c >= ucs_a1_jis_table_min && c < ucs_a1_jis_table_max) { c 219 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c s = ucs_a1_jis_table[c - ucs_a1_jis_table_min]; c 220 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if (c >= ucs_a2_jis_table_min && c < ucs_a2_jis_table_max) { c 221 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c s = ucs_a2_jis_table[c - ucs_a2_jis_table_min]; c 222 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if (c >= ucs_i_jis_table_min && c < ucs_i_jis_table_max) { c 223 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c s = ucs_i_jis_table[c - ucs_i_jis_table_min]; c 224 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if (c >= ucs_r_jis_table_min && c < ucs_r_jis_table_max) { c 225 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c s = ucs_r_jis_table[c - ucs_r_jis_table_min]; c 228 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c c1 = c & ~MBFL_WCSPLANE_MASK; c 230 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c s = c & MBFL_WCSPLANE_MASK; c 232 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c s = c & MBFL_WCSPLANE_MASK; c 234 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if (c == 0xff3c) { /* FULLWIDTH REVERSE SOLIDUS */ c 236 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if (c == 0xff5e) { /* FULLWIDTH TILDE */ c 238 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if (c == 0x2225) { /* PARALLEL TO */ c 240 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if (c == 0xff0d) { /* FULLWIDTH HYPHEN-MINUS */ c 242 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if (c == 0xffe0) { /* FULLWIDTH CENT SIGN */ c 244 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if (c == 0xffe1) { /* FULLWIDTH POUND SIGN */ c 246 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if (c == 0xffe2) { /* FULLWIDTH NOT SIGN */ c 249 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c if (c == 0) { c 271 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 275 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c return c; c 278 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c int mbfl_filt_ident_eucjp(int c, mbfl_identify_filter *filter) c 282 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c if (c >= 0 && c < 0x80) { /* ok */ c 284 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if (c > 0xa0 && c < 0xff) { /* kanji first char */ c 286 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if (c == 0x8e) { /* kana first char */ c 288 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c } else if (c == 0x8f) { /* X 0212 first char */ c 296 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c if (c < 0xa1 || c > 0xfe) { /* bad */ c 303 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c if (c < 0xa1 || c > 0xdf) { /* bad */ c 310 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c if (c < 0xa1 || c > 0xfe) { /* bad */ c 316 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c if (c < 0xa1 || c > 0xfe) { /* bad */ c 327 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.h int mbfl_filt_conv_eucjp_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_euc_jp.h int mbfl_filt_conv_wchar_eucjp(int c, mbfl_convert_filter *filter); c 40 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_2004.c extern int mbfl_filt_ident_eucjp(int c, mbfl_identify_filter *filter); c 40 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_2004.h int mbfl_filt_conv_eucjp2004_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_2004.h int mbfl_filt_conv_wchar_eucjp2004(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c static int mbfl_filt_ident_eucjp_win(int c, mbfl_identify_filter *filter); c 106 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c mbfl_filt_conv_eucjpwin_wchar(int c, mbfl_convert_filter *filter) c 112 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c if (c >= 0 && c < 0x80) { /* latin */ c 113 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c CK((*filter->output_function)(c, filter->data)); c 114 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c > 0xa0 && c < 0xff) { /* CP932 first char */ c 116 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c filter->cache = c; c 117 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c == 0x8e) { /* kana first char */ c 119 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c == 0x8f) { /* X 0212 first char */ c 122 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c w = c & MBFL_WCSGROUP_MASK; c 131 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c if (c > 0xa0 && c < 0xff) { c 133 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c s = (c1 - 0xa1)*94 + c - 0xa1; c 161 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c w = ((c1 & 0x7f) << 8) | (c & 0x7f); c 166 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 167 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c CK((*filter->output_function)(c, filter->data)); c 169 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c w = (c1 << 8) | c; c 178 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c if (c > 0xa0 && c < 0xe0) { c 179 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c w = 0xfec0 + c; c 181 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 182 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c CK((*filter->output_function)(c, filter->data)); c 184 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c w = 0x8e00 | c; c 192 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 193 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c CK((*filter->output_function)(c, filter->data)); c 197 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c filter->cache = c; c 203 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c if (c1 > 0xa0 && c1 < 0xff && c > 0xa0 && c < 0xff) { c 204 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c s = (c1 - 0xa1)*94 + c - 0xa1; c 211 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c s = (c1<< 8) | c; c 232 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c w = ((c1 & 0x7f) << 8) | (c & 0x7f); c 237 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 238 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c CK((*filter->output_function)(c, filter->data)); c 240 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c w = (c1 << 8) | c | 0x8f0000; c 252 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c return c; c 259 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c mbfl_filt_conv_wchar_eucjpwin(int c, mbfl_convert_filter *filter) c 264 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c if (c >= ucs_a1_jis_table_min && c < ucs_a1_jis_table_max) { c 265 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c s1 = ucs_a1_jis_table[c - ucs_a1_jis_table_min]; c 266 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c >= ucs_a2_jis_table_min && c < ucs_a2_jis_table_max) { c 267 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c s1 = ucs_a2_jis_table[c - ucs_a2_jis_table_min]; c 268 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c >= ucs_i_jis_table_min && c < ucs_i_jis_table_max) { c 269 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c s1 = ucs_i_jis_table[c - ucs_i_jis_table_min]; c 270 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c >= ucs_r_jis_table_min && c < ucs_r_jis_table_max) { c 271 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c s1 = ucs_r_jis_table[c - ucs_r_jis_table_min]; c 272 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c >= 0xe000 && c < (0xe000 + 10*94)) { /* user (X0208 85ku - 94ku) */ c 273 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c s1 = c - 0xe000; c 277 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c >= (0xe000 + 10*94) && c < (0xe000 + 20*94)) { /* user (X0212 85ku - 94ku) */ c 278 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c s1 = c - (0xe000 + 10*94); c 287 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c c1 = c & ~MBFL_WCSPLANE_MASK; c 289 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c s1 = c & MBFL_WCSPLANE_MASK; c 294 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c s1 = c & MBFL_WCSPLANE_MASK; c 299 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c s1 = c & MBFL_WCSPLANE_MASK; c 305 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c == 0xa5) { /* YEN SIGN */ c 307 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c == 0x203e) { /* OVER LINE */ c 309 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c == 0xff3c) { /* FULLWIDTH REVERSE SOLIDUS */ c 311 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c == 0xff5e) { /* FULLWIDTH TILDE */ c 313 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c == 0x2225) { /* PARALLEL TO */ c 315 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c == 0xff0d) { /* FULLWIDTH HYPHEN-MINUS */ c 317 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c == 0xffe0) { /* FULLWIDTH CENT SIGN */ c 319 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c == 0xffe1) { /* FULLWIDTH POUND SIGN */ c 321 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c == 0xffe2) { /* FULLWIDTH NOT SIGN */ c 323 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c == 0xff5e) { /* FULLWIDTH TILDE */ c 332 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c if (c == cp932ext1_ucs_table[c1]) { c 342 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c if (c == cp932ext3_ucs_table[c1]) { c 352 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c if (c == 0) { c 375 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 379 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c return c; c 382 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c static int mbfl_filt_ident_eucjp_win(int c, mbfl_identify_filter *filter) c 386 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c if (c >= 0 && c < 0x80) { /* ok */ c 388 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c > 0xa0 && c < 0xff) { /* kanji first char */ c 390 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c == 0x8e) { /* kana first char */ c 392 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c } else if (c == 0x8f) { /* X 0212 first char */ c 400 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c if (c < 0xa1 || c > 0xfe) { /* bad */ c 407 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c if (c < 0xa1 || c > 0xdf) { /* bad */ c 414 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c if (c < 0xa1 || c > 0xfe) { /* bad */ c 420 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c if (c < 0xa1 || c > 0xfe) { /* bad */ c 431 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.h int mbfl_filt_conv_eucjpwin_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_euc_jp_win.h int mbfl_filt_conv_wchar_eucjpwin(int c, mbfl_convert_filter *filter); c 38 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c static int mbfl_filt_ident_euckr(int c, mbfl_identify_filter *filter); c 102 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c mbfl_filt_conv_euckr_wchar(int c, mbfl_convert_filter *filter) c 108 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c if (c >= 0 && c < 0x80) { /* latin */ c 109 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c CK((*filter->output_function)(c, filter->data)); c 110 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c } else if (c > 0xa0 && c < 0xff && c != 0xc9) { /* dbcs lead byte */ c 112 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c filter->cache = c; c 114 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c w = c & MBFL_WCSGROUP_MASK; c 129 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c if (flag > 0 && c >= 0xa1 && c <= 0xfe) { c 131 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c w = (c1 - 0xa1)*190 + (c - 0x41); c 138 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c w = (c1 - 0xc7)*94 + (c - 0xa1); c 147 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c w = (c1 << 8) | c; c 152 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 153 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c CK((*filter->output_function)(c, filter->data)); c 155 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c w = (c1 << 8) | c; c 167 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c return c; c 174 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c mbfl_filt_conv_wchar_euckr(int c, mbfl_convert_filter *filter) c 180 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c if (c >= ucs_a1_uhc_table_min && c < ucs_a1_uhc_table_max) { c 181 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c s = ucs_a1_uhc_table[c - ucs_a1_uhc_table_min]; c 182 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c } else if (c >= ucs_a2_uhc_table_min && c < ucs_a2_uhc_table_max) { c 183 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c s = ucs_a2_uhc_table[c - ucs_a2_uhc_table_min]; c 184 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c } else if (c >= ucs_a3_uhc_table_min && c < ucs_a3_uhc_table_max) { c 185 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c s = ucs_a3_uhc_table[c - ucs_a3_uhc_table_min]; c 186 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c } else if (c >= ucs_i_uhc_table_min && c < ucs_i_uhc_table_max) { c 187 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c s = ucs_i_uhc_table[c - ucs_i_uhc_table_min]; c 188 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c } else if (c >= ucs_s_uhc_table_min && c < ucs_s_uhc_table_max) { c 189 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c s = ucs_s_uhc_table[c - ucs_s_uhc_table_min]; c 190 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c } else if (c >= ucs_r1_uhc_table_min && c < ucs_r1_uhc_table_max) { c 191 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c s = ucs_r1_uhc_table[c - ucs_r1_uhc_table_min]; c 192 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c } else if (c >= ucs_r2_uhc_table_min && c < ucs_r2_uhc_table_max) { c 193 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c s = ucs_r2_uhc_table[c - ucs_r2_uhc_table_min]; c 200 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c s = c; c 204 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c c1 = c & ~MBFL_WCSPLANE_MASK; c 206 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c s = c & MBFL_WCSPLANE_MASK; c 208 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c if (c == 0) { c 223 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 227 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c return c; c 230 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c static int mbfl_filt_ident_euckr(int c, mbfl_identify_filter *filter) c 234 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c if (c >= 0 && c < 0x80) { /* ok */ c 236 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c } else if (c > 0xa0 && c < 0xff) { /* DBCS lead byte */ c 244 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c if (c < 0xa1 || c > 0xfe) { /* bad */ c 255 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.h int mbfl_filt_conv_euckr_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_euc_kr.h int mbfl_filt_conv_wchar_euckr(int c, mbfl_convert_filter *filter); c 39 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c static int mbfl_filt_ident_euctw(int c, mbfl_identify_filter *filter); c 103 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c mbfl_filt_conv_euctw_wchar(int c, mbfl_convert_filter *filter) c 109 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c if (c >= 0 && c < 0x80) { /* latin */ c 110 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c CK((*filter->output_function)(c, filter->data)); c 111 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c } else if (c > 0xa0 && c < 0xff) { /* dbcs first byte */ c 113 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c filter->cache = c; c 114 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c } else if (c == 0x8e) { /* mbcs first byte */ c 116 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c filter->cache = c; c 118 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c w = c & MBFL_WCSGROUP_MASK; c 127 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c if (c > 0xa0 && c < 0xff) { c 128 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c w = (c1 - 0xa1)*94 + (c - 0xa1); c 135 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c w = (c1 << 8) | c; c 140 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 141 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c CK((*filter->output_function)(c, filter->data)); c 143 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c w = (c1 << 8) | c; c 152 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 153 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c CK((*filter->output_function)(c, filter->data)); c 155 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c } else if (c > 0xa0 && c < 0xaf) { c 157 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c filter->cache = c - 0xa1; c 159 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c w = (c1 << 8) | c; c 169 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 170 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c CK((*filter->output_function)(c, filter->data)); c 172 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c } else if (c > 0xa0 && c < 0xff) { c 174 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c filter->cache = (c1 << 8) + c - 0xa1; c 176 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c w = (c1 << 8) | c; c 186 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c if (c1 >= 0x100 && c1 <= 0xdff && c > 0xa0 && c < 0xff) { c 188 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c s = (c1 & 0xff)*94 + c - 0xa1; c 199 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c w = ((c1 & 0x7f) << 8) | (c & 0x7f); c 204 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 205 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c CK((*filter->output_function)(c, filter->data)); c 207 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c w = (c1 << 8) | c | 0x8e0000; c 219 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c return c; c 226 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c mbfl_filt_conv_wchar_euctw(int c, mbfl_convert_filter *filter) c 231 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c if (c >= ucs_a1_cns11643_table_min && c < ucs_a1_cns11643_table_max) { c 232 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c s = ucs_a1_cns11643_table[c - ucs_a1_cns11643_table_min]; c 233 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c } else if (c >= ucs_a2_cns11643_table_min && c < ucs_a2_cns11643_table_max) { c 234 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c s = ucs_a2_cns11643_table[c - ucs_a2_cns11643_table_min]; c 235 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c } else if (c >= ucs_a3_cns11643_table_min && c < ucs_a3_cns11643_table_max) { c 236 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c s = ucs_a3_cns11643_table[c - ucs_a3_cns11643_table_min]; c 237 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c } else if (c >= ucs_i_cns11643_table_min && c < ucs_i_cns11643_table_max) { c 238 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c s = ucs_i_cns11643_table[c - ucs_i_cns11643_table_min]; c 239 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c } else if (c >= ucs_r_cns11643_table_min && c < ucs_r_cns11643_table_max) { c 240 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c s = ucs_r_cns11643_table[c - ucs_r_cns11643_table_min]; c 243 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c c1 = c & ~MBFL_WCSPLANE_MASK; c 245 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c s = c & MBFL_WCSPLANE_MASK; c 247 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c if (c == 0) { c 272 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 275 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c return c; c 278 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c static int mbfl_filt_ident_euctw(int c, mbfl_identify_filter *filter) c 282 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c if (c >= 0 && c < 0x80) { /* ok */ c 284 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c } else if (c > 0xa0 && c < 0xff) { /* DBCS lead byte */ c 286 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c } else if (c == 0x8e) { /* DBCS lead byte */ c 294 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c if (c < 0xa1 || c > 0xfe) { /* bad */ c 301 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c if (c >= 0xa1 && c < 0xaf) { /* ok */ c 309 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c if (c < 0xa1 || c > 0xfe) { /* bad */ c 316 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c if (c < 0xa1 || c > 0xfe) { /* bad */ c 327 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.h int mbfl_filt_conv_euctw_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_euc_tw.h int mbfl_filt_conv_wchar_euctw(int c, mbfl_convert_filter *filter); c 40 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c static int mbfl_filt_ident_gb18030(int c, mbfl_identify_filter *filter); c 125 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c mbfl_filt_conv_gb18030_wchar(int c, mbfl_convert_filter *filter) c 132 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if (c >= 0 && c < 0x80) { /* latin */ c 133 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c CK((*filter->output_function)(c, filter->data)); c 134 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c == 0x80) { /* euro sign */ c 136 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c == 0xff) { c 138 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c > 0x80 && c < 0xff) { /* dbcs/qbcs lead byte */ c 140 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c filter->cache = c; c 142 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c w = c & MBFL_WCSGROUP_MASK; c 152 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if (c1 >= 0x81 && c1 <= 0x84 && c >= 0x30 && c <= 0x39) { /* 4 byte range: Unicode BMP */ c 154 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c filter->cache = (c1 << 8) | c; c 155 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c return c; c 156 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c1 >= 0x90 && c1 <= 0xe3 && c >= 0x30 && c <= 0x39) { c 159 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c filter->cache = (c1 << 8) | c; c 160 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c return c; c 162 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c (c >= 0xa1 && c <= 0xfe)) { /* UDA part1,2: U+E000-U+E4C5 */ c 163 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c w = 94*(c1 >= 0xf8 ? c1 - 0xf2 : c1 - 0xaa) + (c - 0xa1) + 0xe000; c 165 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c1 >= 0xa1 && c1 <= 0xa7 && c >= 0x40 && c < 0xa1 && c != 0x7f) { c 167 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c w = 96*(c1 - 0xa1) + c - (c >= 0x80 ? 0x41 : 0x40) + 0xe4c6; c 171 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c c2 = (c1 << 8) | c; c 189 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if ((c1 >= 0xa1 && c1 <= 0xa9 && c >= 0xa1 && c <= 0xfe) || c 190 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c (c1 >= 0xb0 && c1 <= 0xf7 && c >= 0xa1 && c <= 0xfe) || c 191 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c (c1 >= 0x81 && c1 <= 0xa0 && c >= 0x40 && c <= 0xfe && c != 0x7f) || c 192 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c (c1 >= 0xaa && c1 <= 0xfe && c >= 0x40 && c <= 0xa0 && c != 0x7f) || c 193 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c (c1 >= 0xa8 && c1 <= 0xa9 && c >= 0x40 && c <= 0xa0 && c != 0x7f)) { c 194 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c w = (c1 - 0x81)*192 + (c - 0x40); c 201 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c w = (c1 << 8) | c; c 206 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 207 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c CK((*filter->output_function)(c, filter->data)); c 209 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c w = (c1 << 8) | c; c 222 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c c2 >= 0x30 && c2 <= 0x39 && c >= 0x81 && c <= 0xfe) { c 223 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c filter->cache = (c1 << 16) | (c2 << 8) | c; c 226 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c w = (c1 << 16) | (c2 << 8) | c; c 240 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c c2 >= 0x30 && c2 <= 0x39 && c3 >= 0x81 && c3 <= 0xfe && c >= 0x30 && c <= 0x39) { c 242 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c w = ((((c1 - 0x90)*10 + (c2 - 0x30))*126 + (c3 - 0x81)))*10 + (c - 0x30) + 0x10000; c 244 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c w = (((c1 - 0x81)*10 + (c2 - 0x30))*126 + (c3 - 0x81))*10 + (c - 0x30); c 249 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c w = (c1 << 24) | (c2 << 16) | (c3 << 8) | c; c 253 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c return c; c 257 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c w = (c1 << 24) | (c2 << 16) | (c3 << 8) | c; c 261 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c return c; c 266 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c w = (c1 << 24) | (c2 << 16) | (c3 << 8) | c; c 278 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c return c; c 285 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c mbfl_filt_conv_wchar_gb18030(int c, mbfl_convert_filter *filter) c 290 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if (c >= ucs_a1_cp936_table_min && c < ucs_a1_cp936_table_max) { c 291 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c s = ucs_a1_cp936_table[c - ucs_a1_cp936_table_min]; c 292 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c >= ucs_a2_cp936_table_min && c < ucs_a2_cp936_table_max) { c 293 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c s = ucs_a2_cp936_table[c - ucs_a2_cp936_table_min]; c 294 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c >= ucs_a3_cp936_table_min && c < ucs_a3_cp936_table_max) { c 295 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c s = ucs_a3_cp936_table[c - ucs_a3_cp936_table_min]; c 296 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c >= ucs_i_cp936_table_min && c < ucs_i_cp936_table_max) { c 297 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c s = ucs_i_cp936_table[c - ucs_i_cp936_table_min]; c 298 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c >= ucs_ci_cp936_table_min && c < ucs_ci_cp936_table_max) { c 300 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if (c == 0xf92c) { c 302 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c == 0xf979) { c 304 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c == 0xf995) { c 306 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c == 0xf9e7) { c 308 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c == 0xf9f1) { c 310 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c >= 0xfa0c && c <= 0xfa29) { c 311 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c s = ucs_ci_s_cp936_table[c - 0xfa0c]; c 313 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c >= ucs_cf_cp936_table_min && c < ucs_cf_cp936_table_max) { c 315 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c s = ucs_cf_cp936_table[c - ucs_cf_cp936_table_min]; c 316 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c >= ucs_sfv_cp936_table_min && c < ucs_sfv_cp936_table_max) { c 318 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c s = ucs_sfv_cp936_table[c - ucs_sfv_cp936_table_min]; c 319 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c >= ucs_hff_cp936_table_min && c < ucs_hff_cp936_table_max) { c 321 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if (c == 0xff04) { c 323 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c == 0xff5e) { c 325 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c >= 0xff01 && c <= 0xff5d) { c 326 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c s = c - 0xff01 + 0xa3a1; c 327 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c >= 0xffe0 && c <= 0xffe5) { c 328 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c s = ucs_hff_s_cp936_table[c-0xffe0]; c 332 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if (c == 0x20ac) { /* euro-sign */ c 336 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if (s <= 0 && c >= mbfl_gb18030_c_tbl_key[0] && c 337 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c c <= mbfl_gb18030_c_tbl_key[mbfl_gb18030_c_tbl_max-1]) { c 338 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c k1 = mbfl_bisec_srch2(c, mbfl_gb18030_c_tbl_key, mbfl_gb18030_c_tbl_max); c 344 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if (c >= 0xe000 && c <= 0xe864) { /* PUA */ c 345 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if (c < 0xe766) { c 346 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if (c < 0xe4c6) { c 347 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c c1 = c - 0xe000; c 351 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c c1 = c - 0xe4c6; c 360 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if (c < mbfl_gb18030_pua_tbl[k][0]) { c 362 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c > mbfl_gb18030_pua_tbl[k][1]) { c 365 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c s = c - mbfl_gb18030_pua_tbl[k][0] + mbfl_gb18030_pua_tbl[k][2]; c 372 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if (s <= 0 && c >= 0x0080 && c <= 0xffff) { /* BMP */ c 373 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c s = mbfl_bisec_srch(c, mbfl_uni2gb_tbl, mbfl_gb_uni_max); c 375 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c c1 = c - mbfl_gb_uni_ofst[s]; c 381 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c >= 0x10000 && c <= 0x10ffff) { /* Code set 3: Unicode U+10000..U+10FFFF */ c 382 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c c1 = c - 0x10000; c 390 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c c1 = c & ~MBFL_WCSPLANE_MASK; c 392 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c s = c & MBFL_WCSPLANE_MASK; c 394 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if (c == 0) { c 414 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 418 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c return c; c 421 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c static int mbfl_filt_ident_gb18030(int c, mbfl_identify_filter *filter) c 429 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if (c <= 0x80 || c == 0xff) { c 433 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c filter->status |= (c << 8); c 436 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if (((c1 >= 0x81 && c1 <= 0x84) || (c1 >= 0x90 && c1 <= 0xe3)) && c >= 0x30 && c <= 0x39) { /* qbcs */ c 438 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (((c1 >= 0xaa && c1 <= 0xaf) || (c1 >= 0xf8 && c1 <= 0xfe)) && (c >= 0xa1 && c <= 0xfe)) { c 440 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if (c1 >= 0xa1 && c1 <= 0xa7 && c >= 0x40 && c < 0xa1 && c != 0x7f) { c 442 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c } else if ((c1 >= 0xa1 && c1 <= 0xa9 && c >= 0xa1 && c <= 0xfe) || c 443 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c (c1 >= 0xb0 && c1 <= 0xf7 && c >= 0xa1 && c <= 0xfe) || c 444 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c (c1 >= 0x81 && c1 <= 0xa0 && c >= 0x40 && c <= 0xfe && c != 0x7f) || c 445 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c (c1 >= 0xaa && c1 <= 0xfe && c >= 0x40 && c <= 0xa0 && c != 0x7f) || c 446 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c (c1 >= 0xa8 && c1 <= 0xa9 && c >= 0x40 && c <= 0xa0 && c != 0x7f)) { c 453 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if (c > 0x80 && c < 0xff) { c 460 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c if (c >= 0x30 && c < 0x40) { c 470 ext/mbstring/libmbfl/filters/mbfilter_gb18030.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_gb18030.h int mbfl_filt_conv_gb18030_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_gb18030.h int mbfl_filt_conv_wchar_gb18030(int c, mbfl_convert_filter *filter); c 99 ext/mbstring/libmbfl/filters/mbfilter_htmlent.c int mbfl_filt_conv_html_enc(int c, mbfl_convert_filter *filter) c 106 ext/mbstring/libmbfl/filters/mbfilter_htmlent.c if (c < sizeof(htmlentitifieds) / sizeof(htmlentitifieds[0]) && c 107 ext/mbstring/libmbfl/filters/mbfilter_htmlent.c htmlentitifieds[c] != 1) { c 108 ext/mbstring/libmbfl/filters/mbfilter_htmlent.c CK((*filter->output_function)(c, filter->data)); c 112 ext/mbstring/libmbfl/filters/mbfilter_htmlent.c if (c == e->code) { c 127 ext/mbstring/libmbfl/filters/mbfilter_htmlent.c uc = (unsigned int)c; c 142 ext/mbstring/libmbfl/filters/mbfilter_htmlent.c return c; c 179 ext/mbstring/libmbfl/filters/mbfilter_htmlent.c int mbfl_filt_conv_html_dec(int c, mbfl_convert_filter *filter) c 186 ext/mbstring/libmbfl/filters/mbfilter_htmlent.c if (c == '&' ) { c 190 ext/mbstring/libmbfl/filters/mbfilter_htmlent.c CK((*filter->output_function)(c, filter->data)); c 193 ext/mbstring/libmbfl/filters/mbfilter_htmlent.c if (c == ';') { c 238 ext/mbstring/libmbfl/filters/mbfilter_htmlent.c CK((*filter->output_function)(c, filter->data)); c 268 ext/mbstring/libmbfl/filters/mbfilter_htmlent.c buffer[filter->status++] = c; c 270 ext/mbstring/libmbfl/filters/mbfilter_htmlent.c if (!strchr(html_entity_chars, c) || filter->status+1==html_enc_buffer_size || (c=='#' && filter->status>2)) c 273 ext/mbstring/libmbfl/filters/mbfilter_htmlent.c if (c=='&') c 278 ext/mbstring/libmbfl/filters/mbfilter_htmlent.c if (c=='&') c 285 ext/mbstring/libmbfl/filters/mbfilter_htmlent.c return c; c 41 ext/mbstring/libmbfl/filters/mbfilter_htmlent.h int mbfl_filt_conv_html_enc(int c, mbfl_convert_filter *filter); c 43 ext/mbstring/libmbfl/filters/mbfilter_htmlent.h int mbfl_filt_conv_html_dec(int c, mbfl_convert_filter *filter); c 39 ext/mbstring/libmbfl/filters/mbfilter_hz.c static int mbfl_filt_ident_hz(int c, mbfl_identify_filter *filter); c 81 ext/mbstring/libmbfl/filters/mbfilter_hz.c mbfl_filt_conv_hz_wchar(int c, mbfl_convert_filter *filter) c 89 ext/mbstring/libmbfl/filters/mbfilter_hz.c if (c == 0x7e) { c 91 ext/mbstring/libmbfl/filters/mbfilter_hz.c } else if (filter->status == 0x10 && c > 0x20 && c < 0x7f) { /* DBCS first char */ c 92 ext/mbstring/libmbfl/filters/mbfilter_hz.c filter->cache = c; c 94 ext/mbstring/libmbfl/filters/mbfilter_hz.c } else if (c >= 0 && c < 0x80) { /* latin, CTLs */ c 95 ext/mbstring/libmbfl/filters/mbfilter_hz.c CK((*filter->output_function)(c, filter->data)); c 97 ext/mbstring/libmbfl/filters/mbfilter_hz.c w = c & MBFL_WCSGROUP_MASK; c 107 ext/mbstring/libmbfl/filters/mbfilter_hz.c if (c1 > 0x20 && c1 < 0x7f && c > 0x20 && c < 0x7f) { c 108 ext/mbstring/libmbfl/filters/mbfilter_hz.c s = (c1 - 1)*192 + c + 0x40; /* GB2312 */ c 115 ext/mbstring/libmbfl/filters/mbfilter_hz.c w = (c1 << 8) | c; c 120 ext/mbstring/libmbfl/filters/mbfilter_hz.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 121 ext/mbstring/libmbfl/filters/mbfilter_hz.c CK((*filter->output_function)(c, filter->data)); c 123 ext/mbstring/libmbfl/filters/mbfilter_hz.c w = (c1 << 8) | c; c 132 ext/mbstring/libmbfl/filters/mbfilter_hz.c if (c == 0x7d) { /* '}' */ c 134 ext/mbstring/libmbfl/filters/mbfilter_hz.c } else if (c == 0x7b) { /* '{' */ c 136 ext/mbstring/libmbfl/filters/mbfilter_hz.c } else if (c == 0x7e) { /* '~' */ c 147 ext/mbstring/libmbfl/filters/mbfilter_hz.c return c; c 154 ext/mbstring/libmbfl/filters/mbfilter_hz.c mbfl_filt_conv_wchar_hz(int c, mbfl_convert_filter *filter) c 159 ext/mbstring/libmbfl/filters/mbfilter_hz.c if (c >= ucs_a1_cp936_table_min && c < ucs_a1_cp936_table_max) { c 160 ext/mbstring/libmbfl/filters/mbfilter_hz.c s = ucs_a1_cp936_table[c - ucs_a1_cp936_table_min]; c 161 ext/mbstring/libmbfl/filters/mbfilter_hz.c } else if (c >= ucs_a2_cp936_table_min && c < ucs_a2_cp936_table_max) { c 162 ext/mbstring/libmbfl/filters/mbfilter_hz.c s = ucs_a2_cp936_table[c - ucs_a2_cp936_table_min]; c 163 ext/mbstring/libmbfl/filters/mbfilter_hz.c } else if (c >= ucs_a3_cp936_table_min && c < ucs_a3_cp936_table_max) { c 164 ext/mbstring/libmbfl/filters/mbfilter_hz.c s = ucs_a3_cp936_table[c - ucs_a3_cp936_table_min]; c 165 ext/mbstring/libmbfl/filters/mbfilter_hz.c } else if (c >= ucs_i_cp936_table_min && c < ucs_i_cp936_table_max) { c 166 ext/mbstring/libmbfl/filters/mbfilter_hz.c s = ucs_i_cp936_table[c - ucs_i_cp936_table_min]; c 167 ext/mbstring/libmbfl/filters/mbfilter_hz.c } else if (c >= ucs_hff_cp936_table_min && c < ucs_hff_cp936_table_max) { c 168 ext/mbstring/libmbfl/filters/mbfilter_hz.c if (c == 0xff04) { c 170 ext/mbstring/libmbfl/filters/mbfilter_hz.c } else if (c == 0xff5e) { c 172 ext/mbstring/libmbfl/filters/mbfilter_hz.c } else if (c >= 0xff01 && c <= 0xff5d) { c 173 ext/mbstring/libmbfl/filters/mbfilter_hz.c s = c - 0xff01 + 0xa3a1; c 174 ext/mbstring/libmbfl/filters/mbfilter_hz.c } else if (c >= 0xffe0 && c <= 0xffe5) { c 175 ext/mbstring/libmbfl/filters/mbfilter_hz.c s = ucs_hff_s_cp936_table[c-0xffe0]; c 183 ext/mbstring/libmbfl/filters/mbfilter_hz.c if (c == 0) { c 213 ext/mbstring/libmbfl/filters/mbfilter_hz.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 217 ext/mbstring/libmbfl/filters/mbfilter_hz.c return c; c 232 ext/mbstring/libmbfl/filters/mbfilter_hz.c static int mbfl_filt_ident_hz(int c, mbfl_identify_filter *filter) c 238 ext/mbstring/libmbfl/filters/mbfilter_hz.c if (c == 0x7e) { c 240 ext/mbstring/libmbfl/filters/mbfilter_hz.c } else if (filter->status == 0x10 && c > 0x20 && c < 0x7f) { /* DBCS first char */ c 242 ext/mbstring/libmbfl/filters/mbfilter_hz.c } else if (c >= 0 && c < 0x80) { /* latin, CTLs */ c 252 ext/mbstring/libmbfl/filters/mbfilter_hz.c if (c < 0x21 || c > 0x7e) { /* bad */ c 258 ext/mbstring/libmbfl/filters/mbfilter_hz.c if (c == 0x7d) { /* '}' */ c 260 ext/mbstring/libmbfl/filters/mbfilter_hz.c } else if (c == 0x7b) { /* '{' */ c 262 ext/mbstring/libmbfl/filters/mbfilter_hz.c } else if (c == 0x7e) { /* '~' */ c 275 ext/mbstring/libmbfl/filters/mbfilter_hz.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_hz.h int mbfl_filt_conv_hz_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_hz.h int mbfl_filt_conv_wchar_hz(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c int mbfl_filt_ident_2022jpms(int c, mbfl_identify_filter *filter); c 85 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c #define idxtojis1(c) (((c) / 94) + 0x21) c 86 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c #define idxtojis2(c) (((c) % 94) + 0x21) c 92 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c mbfl_filt_conv_2022jpms_wchar(int c, mbfl_convert_filter *filter) c 104 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c if (c == 0x1b) { c 106 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (filter->status == 0x20 && c > 0x20 && c < 0x60) { /* kana */ c 107 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c CK((*filter->output_function)(0xff40 + c, filter->data)); c 108 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if ((filter->status == 0x80 || filter->status == 0xa0) && c > 0x20 && c < 0x80) { /* kanji first char */ c 109 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c filter->cache = c; c 111 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c >= 0 && c < 0x80) { /* latin, CTLs */ c 112 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c CK((*filter->output_function)(c, filter->data)); c 113 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c > 0xa0 && c < 0xe0) { /* GR kana */ c 114 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c CK((*filter->output_function)(0xfec0 + c, filter->data)); c 116 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c w = c & MBFL_WCSGROUP_MASK; c 128 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c if (c > 0x20 && c < 0x7f) { c 129 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c s = (c1 - 0x21)*94 + c - 0x21; c 160 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c w = (c1 << 8) | c; c 167 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c w = 0xe000 + (c1 - 0x21)*94 + c - 0x21; c 170 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c w = (((c1 - 0x21) + 0x7f) << 8) | c; c 176 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0x1b) { c 178 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 179 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c CK((*filter->output_function)(c, filter->data)); c 181 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c w = (c1 << 8) | c; c 195 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c if (c == 0x24) { /* '$' */ c 197 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0x28) { /* '(' */ c 213 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 215 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0x28) { /* '(' */ c 232 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 234 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0x3f) { /* '?' */ c 252 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c if (c == 0x42) { /* 'B' */ c 254 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0x4a) { /* 'J' */ c 256 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0x49) { /* 'I' */ c 271 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c return c; c 275 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c cp932ext3_cp932ext2_jis(int c) c 279 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c idx = sjistoidx(0xfa, 0x40) + c; c 293 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c mbfl_filt_conv_wchar_2022jpms(int c, mbfl_convert_filter *filter) c 299 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c if (c >= ucs_a1_jis_table_min && c < ucs_a1_jis_table_max) { c 300 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c s1 = ucs_a1_jis_table[c - ucs_a1_jis_table_min]; c 301 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c >= ucs_a2_jis_table_min && c < ucs_a2_jis_table_max) { c 302 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c s1 = ucs_a2_jis_table[c - ucs_a2_jis_table_min]; c 303 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c >= ucs_i_jis_table_min && c < ucs_i_jis_table_max) { c 304 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c s1 = ucs_i_jis_table[c - ucs_i_jis_table_min]; c 305 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c >= ucs_r_jis_table_min && c < ucs_r_jis_table_max) { c 306 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c s1 = ucs_r_jis_table[c - ucs_r_jis_table_min]; c 307 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c >= 0xe000 && c < (0xe000 + 20*94)) { /* user (95ku - 114ku) */ c 308 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c s1 = c - 0xe000; c 314 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c c1 = c & ~MBFL_WCSPLANE_MASK; c 316 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c s1 = c & MBFL_WCSPLANE_MASK; c 319 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c s1 = c & MBFL_WCSPLANE_MASK; c 321 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c s1 = c & MBFL_WCSPLANE_MASK; c 323 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0xa5) { /* YEN SIGN */ c 325 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0x203e) { /* OVER LINE */ c 327 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0xff3c) { /* FULLWIDTH REVERSE SOLIDUS */ c 329 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0xff5e) { /* FULLWIDTH TILDE */ c 331 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0x2225) { /* PARALLEL TO */ c 333 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0xff0d) { /* FULLWIDTH HYPHEN-MINUS */ c 335 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0xffe0) { /* FULLWIDTH CENT SIGN */ c 337 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0xffe1) { /* FULLWIDTH POUND SIGN */ c 339 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0xffe2) { /* FULLWIDTH NOT SIGN */ c 348 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c if (c == cp932ext1_ucs_table[c1]) { c 358 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c if (c == cp932ext3_ucs_table[c1]) { c 365 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c if (c == 0) { c 410 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 414 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c return c; c 436 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c int mbfl_filt_ident_2022jpms(int c, mbfl_identify_filter *filter) c 446 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c if (c == 0x1b) { c 448 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if ((filter->status == 0x80 || filter->status == 0xa0) && c > 0x20 && c < 0x80) { /* kanji first char */ c 450 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c >= 0 && c < 0x80) { /* latin, CTLs */ c 461 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c if (c == 0x1b) { c 463 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c < 0x21 || c > 0x7e) { /* bad */ c 470 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c if (c == 0x24) { /* '$' */ c 472 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0x28) { /* '(' */ c 483 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 485 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0x28) { /* '(' */ c 496 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 498 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0x3f) { /* '?' */ c 509 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c if (c == 0x42) { /* 'B' */ c 511 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0x4a) { /* 'J' */ c 513 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c } else if (c == 0x49) { /* 'I' */ c 527 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.h int mbfl_filt_conv_2022jpms_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_iso2022_jp_ms.h int mbfl_filt_conv_wchar_2022jpms(int c, mbfl_convert_filter *filter); c 38 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c static int mbfl_filt_ident_2022kr(int c, mbfl_identify_filter *filter); c 80 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c mbfl_filt_conv_2022kr_wchar(int c, mbfl_convert_filter *filter) c 89 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c if (c == 0x1b) { /* ESC */ c 91 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c } else if (c == 0x0f) { /* SI (ASCII) */ c 93 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c } else if (c == 0x0e) { /* SO (KSC5601) */ c 95 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c } else if ((filter->status & 0x10) != 0 && c > 0x20 && c < 0x7f) { c 97 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c filter->cache = c; c 99 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c } else if ((filter->status & 0x10) == 0 && c >= 0 && c < 0x80) { c 101 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c CK((*filter->output_function)(c, filter->data)); c 103 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c w = c & MBFL_WCSGROUP_MASK; c 118 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c if (flag > 0 && c > 0x20 && c < 0x7f) { c 120 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c w = (c1 - 0x21)*190 + (c - 0x41) + 0x80; c 127 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c w = (c1 - 0x47)*94 + (c - 0x21); c 136 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c w = (c1 << 8) | c; c 141 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c } else if (c == 0x1b) { /* ESC */ c 143 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 144 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c CK((*filter->output_function)(c, filter->data)); c 146 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c w = (c1 << 8) | c; c 154 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c if (c == 0x24) { /* '$' */ c 163 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c if (c == 0x29) { /* ')' */ c 173 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c if (c == 0x43) { /* 'C' */ c 189 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c return c; c 196 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c mbfl_filt_conv_wchar_2022kr(int c, mbfl_convert_filter *filter) c 202 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c if (c >= ucs_a1_uhc_table_min && c < ucs_a1_uhc_table_max) { c 203 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c s = ucs_a1_uhc_table[c - ucs_a1_uhc_table_min]; c 204 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c } else if (c >= ucs_a2_uhc_table_min && c < ucs_a2_uhc_table_max) { c 205 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c s = ucs_a2_uhc_table[c - ucs_a2_uhc_table_min]; c 206 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c } else if (c >= ucs_a3_uhc_table_min && c < ucs_a3_uhc_table_max) { c 207 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c s = ucs_a3_uhc_table[c - ucs_a3_uhc_table_min]; c 208 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c } else if (c >= ucs_i_uhc_table_min && c < ucs_i_uhc_table_max) { c 209 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c s = ucs_i_uhc_table[c - ucs_i_uhc_table_min]; c 210 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c } else if (c >= ucs_s_uhc_table_min && c < ucs_s_uhc_table_max) { c 211 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c s = ucs_s_uhc_table[c - ucs_s_uhc_table_min]; c 212 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c } else if (c >= ucs_r1_uhc_table_min && c < ucs_r1_uhc_table_max) { c 213 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c s = ucs_r1_uhc_table[c - ucs_r1_uhc_table_min]; c 214 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c } else if (c >= ucs_r2_uhc_table_min && c < ucs_r2_uhc_table_max) { c 215 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c s = ucs_r2_uhc_table[c - ucs_r2_uhc_table_min]; c 222 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c s = c; c 229 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c c1 = c & ~MBFL_WCSPLANE_MASK; c 231 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c s = c & MBFL_WCSPLANE_MASK; c 233 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c if (c == 0) { c 265 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 269 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c return c; c 289 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c static int mbfl_filt_ident_2022kr(int c, mbfl_identify_filter *filter) c 299 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c if (c == 0x1b) c 301 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c } else if (filter->status == 0x20 && c > 0x20 && c < 0x7f) { /* kanji first char */ c 303 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c } else if (c >= 0 && c < 0x80) { /* latin, CTLs */ c 313 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c if (c < 0x21 || c > 0x7e) { /* bad */ c 320 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c if (c == 0x24) { /* '$' */ c 331 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c if (c == 0x29) { /* ')' */ c 342 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c if (c == 0x43) { /* 'C' */ c 356 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.h int mbfl_filt_conv_2022kr_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_iso2022_kr.h int mbfl_filt_conv_wchar_2022kr(int c, mbfl_convert_filter *filter); c 42 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.c static int mbfl_filt_ident_2022jp_2004(int c, mbfl_identify_filter *filter); c 78 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.c static int mbfl_filt_ident_2022jp_2004(int c, mbfl_identify_filter *filter) c 87 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.c if (c == 0x1b) { c 89 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.c } else if (filter->status == 0x80 && c > 0x20 && c < 0x7f) { /* kanji first char */ c 91 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.c } else if (c >= 0 && c < 0x80) { /* latin, CTLs */ c 100 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.c if (c == 0x1b) { c 104 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.c if (c < 0x21 || c > 0x7e) { /* bad */ c 112 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.c if (c == 0x24) { /* '$' */ c 114 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.c } else if (c == 0x28) { /* '(' */ c 125 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.c if (c == 0x42) { /* 'B' */ c 127 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.c } else if (c == 0x28) { /* '(' */ c 138 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.c if (c == 0x51) { /* JIS X 0213 plane 1 */ c 140 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.c } else if (c == 0x50) { /* JIS X 0213 plane 2 */ c 151 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.c if (c == 0x42) { /* 'B' */ c 165 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.h int mbfl_filt_conv_2022jp_2004_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_2004.h int mbfl_filt_conv_wchar_2022jp_2004(int c, mbfl_convert_filter *filter); c 43 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c extern int mbfl_filt_ident_2022jpms(int c, mbfl_identify_filter *filter); c 87 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c #define idxtojis1(c) (((c) / 94) + 0x21) c 88 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c #define idxtojis2(c) (((c) % 94) + 0x21) c 143 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c mbfl_filt_conv_2022jp_mobile_wchar(int c, mbfl_convert_filter *filter) c 154 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c if (c == 0x1b) { c 156 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (filter->status == 0x20 && c > 0x20 && c < 0x60) { /* kana */ c 157 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c CK((*filter->output_function)(0xff40 + c, filter->data)); c 158 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (filter->status == 0x80 && c > 0x20 && c < 0x80) { /* kanji first char */ c 159 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c filter->cache = c; c 161 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c >= 0 && c < 0x80) { /* latin, CTLs */ c 162 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c CK((*filter->output_function)(c, filter->data)); c 163 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c > 0xa0 && c < 0xe0) { /* GR kana */ c 164 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c CK((*filter->output_function)(0xfec0 + c, filter->data)); c 166 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c w = c & MBFL_WCSGROUP_MASK; c 177 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c if (c > 0x20 && c < 0x7f) { c 178 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c s = (c1 - 0x21)*94 + c - 0x21; c 219 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c w = (c1 << 8) | c; c 224 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c == 0x1b) { c 226 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 227 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c CK((*filter->output_function)(c, filter->data)); c 229 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c w = (c1 << 8) | c; c 242 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c if (c == 0x24) { /* '$' */ c 244 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c == 0x28) { /* '(' */ c 259 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 261 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c == 0x28) { /* '(' */ c 277 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 294 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c if (c == 0x42) { /* 'B' */ c 296 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c == 0x4a) { /* 'J' */ c 298 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c == 0x49) { /* 'I' */ c 313 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c return c; c 320 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c mbfl_filt_conv_wchar_2022jp_mobile(int c, mbfl_convert_filter *filter) c 326 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c if (c >= ucs_a1_jis_table_min && c < ucs_a1_jis_table_max) { c 327 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c s1 = ucs_a1_jis_table[c - ucs_a1_jis_table_min]; c 328 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c >= ucs_a2_jis_table_min && c < ucs_a2_jis_table_max) { c 329 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c s1 = ucs_a2_jis_table[c - ucs_a2_jis_table_min]; c 330 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c >= ucs_i_jis_table_min && c < ucs_i_jis_table_max) { c 331 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c s1 = ucs_i_jis_table[c - ucs_i_jis_table_min]; c 332 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c >= ucs_r_jis_table_min && c < ucs_r_jis_table_max) { c 333 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c s1 = ucs_r_jis_table[c - ucs_r_jis_table_min]; c 334 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c >= 0xe000 && c < (0xe000 + 20*94)) { /* user (95ku - 114ku) */ c 335 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c s1 = c - 0xe000; c 341 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c c1 = c & ~MBFL_WCSPLANE_MASK; c 343 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c s1 = c & MBFL_WCSPLANE_MASK; c 346 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c s1 = c & MBFL_WCSPLANE_MASK; c 348 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c s1 = c & MBFL_WCSPLANE_MASK; c 350 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c == 0xa5) { /* YEN SIGN */ c 352 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c == 0x203e) { /* OVER LINE */ c 354 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c == 0xff3c) { /* FULLWIDTH REVERSE SOLIDUS */ c 356 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c == 0xff5e) { /* FULLWIDTH TILDE */ c 358 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c == 0x2225) { /* PARALLEL TO */ c 360 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c == 0xff0d) { /* FULLWIDTH HYPHEN-MINUS */ c 362 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c == 0xffe0) { /* FULLWIDTH CENT SIGN */ c 364 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c == 0xffe1) { /* FULLWIDTH POUND SIGN */ c 366 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c } else if (c == 0xffe2) { /* FULLWIDTH NOT SIGN */ c 376 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c if (c == cp932ext1_ucs_table[c1]) { c 382 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c if (c == 0) { c 390 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c mbfilter_unicode2sjis_emoji_kddi(c, &s1, filter) > 0) { c 396 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c return c; c 428 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 432 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.h int mbfl_filt_conv_2022jp_mobile_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_iso2022jp_mobile.h int mbfl_filt_conv_wchar_2022jp_mobile(int c, mbfl_convert_filter *filter); c 79 ext/mbstring/libmbfl/filters/mbfilter_iso8859_1.c int mbfl_filt_conv_8859_1_wchar(int c, mbfl_convert_filter *filter) c 81 ext/mbstring/libmbfl/filters/mbfilter_iso8859_1.c return (*filter->output_function)(c, filter->data); c 87 ext/mbstring/libmbfl/filters/mbfilter_iso8859_1.c int mbfl_filt_conv_wchar_8859_1(int c, mbfl_convert_filter *filter) c 89 ext/mbstring/libmbfl/filters/mbfilter_iso8859_1.c if (c >= 0 && c < 0x100) { c 90 ext/mbstring/libmbfl/filters/mbfilter_iso8859_1.c CK((*filter->output_function)(c, filter->data)); c 93 ext/mbstring/libmbfl/filters/mbfilter_iso8859_1.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 97 ext/mbstring/libmbfl/filters/mbfilter_iso8859_1.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_iso8859_1.h int mbfl_filt_conv_8859_1_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_iso8859_1.h int mbfl_filt_conv_wchar_8859_1(int c, mbfl_convert_filter *filter); c 79 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.c int mbfl_filt_conv_8859_10_wchar(int c, mbfl_convert_filter *filter) c 83 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.c if (c >= 0 && c < 0xa0) { c 84 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.c s = c; c 85 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.c } else if (c >= 0xa0 && c < 0x100) { c 86 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.c s = iso8859_10_ucs_table[c - 0xa0]; c 88 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.c s = c; c 93 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.c s = c; c 100 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.c return c; c 106 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.c int mbfl_filt_conv_wchar_8859_10(int c, mbfl_convert_filter *filter) c 110 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.c if (c >= 0 && c < 0xa0) { c 111 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.c s = c; c 116 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.c if (c == iso8859_10_ucs_table[n]) { c 122 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_8859_10) { c 123 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.c s = c & MBFL_WCSPLANE_MASK; c 131 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 135 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.h int mbfl_filt_conv_8859_10_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_iso8859_10.h int mbfl_filt_conv_wchar_8859_10(int c, mbfl_convert_filter *filter); c 79 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.c int mbfl_filt_conv_8859_13_wchar(int c, mbfl_convert_filter *filter) c 83 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.c if (c >= 0 && c < 0xa0) { c 84 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.c s = c; c 85 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.c } else if (c >= 0xa0 && c < 0x100) { c 86 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.c s = iso8859_13_ucs_table[c - 0xa0]; c 88 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.c s = c; c 93 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.c s = c; c 100 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.c return c; c 106 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.c int mbfl_filt_conv_wchar_8859_13(int c, mbfl_convert_filter *filter) c 110 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.c if (c >= 0 && c < 0xa0) { c 111 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.c s = c; c 116 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.c if (c == iso8859_13_ucs_table[n]) { c 122 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_8859_13) { c 123 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.c s = c & MBFL_WCSPLANE_MASK; c 131 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 135 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.h int mbfl_filt_conv_8859_13_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_iso8859_13.h int mbfl_filt_conv_wchar_8859_13(int c, mbfl_convert_filter *filter); c 79 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.c int mbfl_filt_conv_8859_14_wchar(int c, mbfl_convert_filter *filter) c 83 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.c if (c >= 0 && c < 0xa0) { c 84 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.c s = c; c 85 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.c } else if (c >= 0xa0 && c < 0x100) { c 86 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.c s = iso8859_14_ucs_table[c - 0xa0]; c 88 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.c s = c; c 93 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.c s = c; c 100 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.c return c; c 106 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.c int mbfl_filt_conv_wchar_8859_14(int c, mbfl_convert_filter *filter) c 110 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.c if (c >= 0 && c < 0xa0) { c 111 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.c s = c; c 116 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.c if (c == iso8859_14_ucs_table[n]) { c 122 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_8859_14) { c 123 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.c s = c & MBFL_WCSPLANE_MASK; c 131 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 135 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.c return c; c 23 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.h int mbfl_filt_conv_8859_14_wchar(int c, mbfl_convert_filter *filter); c 24 ext/mbstring/libmbfl/filters/mbfilter_iso8859_14.h int mbfl_filt_conv_wchar_8859_14(int c, mbfl_convert_filter *filter); c 79 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.c int mbfl_filt_conv_8859_15_wchar(int c, mbfl_convert_filter *filter) c 83 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.c if (c >= 0 && c < 0xa0) { c 84 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.c s = c; c 85 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.c } else if (c >= 0xa0 && c < 0x100) { c 86 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.c s = iso8859_15_ucs_table[c - 0xa0]; c 88 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.c s = c; c 93 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.c s = c; c 100 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.c return c; c 106 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.c int mbfl_filt_conv_wchar_8859_15(int c, mbfl_convert_filter *filter) c 110 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.c if (c >= 0 && c < 0xa0) { c 111 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.c s = c; c 116 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.c if (c == iso8859_15_ucs_table[n]) { c 122 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_8859_15) { c 123 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.c s = c & MBFL_WCSPLANE_MASK; c 131 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 135 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.c return c; c 23 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.h int mbfl_filt_conv_8859_15_wchar(int c, mbfl_convert_filter *filter); c 24 ext/mbstring/libmbfl/filters/mbfilter_iso8859_15.h int mbfl_filt_conv_wchar_8859_15(int c, mbfl_convert_filter *filter); c 79 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.c int mbfl_filt_conv_8859_16_wchar(int c, mbfl_convert_filter *filter) c 83 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.c if (c >= 0 && c < 0xa0) { c 84 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.c s = c; c 85 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.c } else if (c >= 0xa0 && c < 0x100) { c 86 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.c s = iso8859_16_ucs_table[c - 0xa0]; c 88 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.c s = c; c 93 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.c s = c; c 100 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.c return c; c 106 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.c int mbfl_filt_conv_wchar_8859_16(int c, mbfl_convert_filter *filter) c 110 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.c if (c >= 0 && c < 0xa0) { c 111 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.c s = c; c 116 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.c if (c == iso8859_16_ucs_table[n]) { c 122 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_8859_16) { c 123 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.c s = c & MBFL_WCSPLANE_MASK; c 131 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 135 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.c return c; c 20 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.h int mbfl_filt_conv_8859_16_wchar(int c, mbfl_convert_filter *filter); c 21 ext/mbstring/libmbfl/filters/mbfilter_iso8859_16.h int mbfl_filt_conv_wchar_8859_16(int c, mbfl_convert_filter *filter); c 80 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.c int mbfl_filt_conv_8859_2_wchar(int c, mbfl_convert_filter *filter) c 84 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.c if (c >= 0 && c < 0xa0) { c 85 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.c s = c; c 86 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.c } else if (c >= 0xa0 && c < 0x100) { c 87 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.c s = iso8859_2_ucs_table[c - 0xa0]; c 89 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.c s = c; c 94 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.c s = c; c 101 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.c return c; c 107 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.c int mbfl_filt_conv_wchar_8859_2(int c, mbfl_convert_filter *filter) c 111 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.c if (c >= 0 && c < 0xa0) { c 112 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.c s = c; c 117 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.c if (c == iso8859_2_ucs_table[n]) { c 123 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_8859_2) { c 124 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.c s = c & MBFL_WCSPLANE_MASK; c 132 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 136 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.h int mbfl_filt_conv_8859_2_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_iso8859_2.h int mbfl_filt_conv_wchar_8859_2(int c, mbfl_convert_filter *filter); c 80 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.c int mbfl_filt_conv_8859_3_wchar(int c, mbfl_convert_filter *filter) c 84 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.c if (c >= 0 && c < 0xa0) { c 85 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.c s = c; c 86 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.c } else if (c >= 0xa0 && c < 0x100) { c 87 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.c s = iso8859_3_ucs_table[c - 0xa0]; c 89 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.c s = c; c 94 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.c s = c; c 101 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.c return c; c 107 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.c int mbfl_filt_conv_wchar_8859_3(int c, mbfl_convert_filter *filter) c 111 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.c if (c >= 0 && c < 0xa0) { c 112 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.c s = c; c 117 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.c if (c == iso8859_3_ucs_table[n]) { c 123 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_8859_3) { c 124 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.c s = c & MBFL_WCSPLANE_MASK; c 132 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 136 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.h int mbfl_filt_conv_8859_3_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_iso8859_3.h int mbfl_filt_conv_wchar_8859_3(int c, mbfl_convert_filter *filter); c 78 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.c int mbfl_filt_conv_8859_4_wchar(int c, mbfl_convert_filter *filter) c 82 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.c if (c >= 0 && c < 0xa0) { c 83 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.c s = c; c 84 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.c } else if (c >= 0xa0 && c < 0x100) { c 85 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.c s = iso8859_4_ucs_table[c - 0xa0]; c 87 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.c s = c; c 92 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.c s = c; c 99 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.c return c; c 105 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.c int mbfl_filt_conv_wchar_8859_4(int c, mbfl_convert_filter *filter) c 109 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.c if (c >= 0 && c < 0xa0) { c 110 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.c s = c; c 115 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.c if (c == iso8859_4_ucs_table[n]) { c 121 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_8859_4) { c 122 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.c s = c & MBFL_WCSPLANE_MASK; c 130 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 134 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.c return c; c 38 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.h int mbfl_filt_conv_8859_4_wchar(int c, mbfl_convert_filter *filter); c 39 ext/mbstring/libmbfl/filters/mbfilter_iso8859_4.h int mbfl_filt_conv_wchar_8859_4(int c, mbfl_convert_filter *filter); c 80 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.c int mbfl_filt_conv_8859_5_wchar(int c, mbfl_convert_filter *filter) c 84 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.c if (c >= 0 && c < 0xa0) { c 85 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.c s = c; c 86 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.c } else if (c >= 0xa0 && c < 0x100) { c 87 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.c s = iso8859_5_ucs_table[c - 0xa0]; c 89 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.c s = c; c 94 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.c s = c; c 101 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.c return c; c 107 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.c int mbfl_filt_conv_wchar_8859_5(int c, mbfl_convert_filter *filter) c 111 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.c if (c >= 0 && c < 0xa0) { c 112 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.c s = c; c 117 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.c if (c == iso8859_5_ucs_table[n]) { c 123 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_8859_5) { c 124 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.c s = c & MBFL_WCSPLANE_MASK; c 132 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 136 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.h int mbfl_filt_conv_8859_5_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_iso8859_5.h int mbfl_filt_conv_wchar_8859_5(int c, mbfl_convert_filter *filter); c 80 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.c int mbfl_filt_conv_8859_6_wchar(int c, mbfl_convert_filter *filter) c 84 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.c if (c >= 0 && c < 0xa0) { c 85 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.c s = c; c 86 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.c } else if (c >= 0xa0 && c < 0x100) { c 87 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.c s = iso8859_6_ucs_table[c - 0xa0]; c 89 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.c s = c; c 94 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.c s = c; c 101 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.c return c; c 107 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.c int mbfl_filt_conv_wchar_8859_6(int c, mbfl_convert_filter *filter) c 111 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.c if (c >= 0 && c < 0xa0) { c 112 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.c s = c; c 117 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.c if (c == iso8859_6_ucs_table[n]) { c 123 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_8859_6) { c 124 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.c s = c & MBFL_WCSPLANE_MASK; c 132 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 136 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.h int mbfl_filt_conv_8859_6_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_iso8859_6.h int mbfl_filt_conv_wchar_8859_6(int c, mbfl_convert_filter *filter); c 80 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.c int mbfl_filt_conv_8859_7_wchar(int c, mbfl_convert_filter *filter) c 84 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.c if (c >= 0 && c < 0xa0) { c 85 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.c s = c; c 86 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.c } else if (c >= 0xa0 && c < 0x100) { c 87 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.c s = iso8859_7_ucs_table[c - 0xa0]; c 89 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.c s = c; c 94 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.c s = c; c 101 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.c return c; c 107 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.c int mbfl_filt_conv_wchar_8859_7(int c, mbfl_convert_filter *filter) c 111 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.c if (c >= 0 && c < 0xa0) { c 112 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.c s = c; c 117 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.c if (c == iso8859_7_ucs_table[n]) { c 123 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_8859_7) { c 124 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.c s = c & MBFL_WCSPLANE_MASK; c 132 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 136 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.h int mbfl_filt_conv_8859_7_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_iso8859_7.h int mbfl_filt_conv_wchar_8859_7(int c, mbfl_convert_filter *filter); c 79 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.c int mbfl_filt_conv_8859_8_wchar(int c, mbfl_convert_filter *filter) c 83 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.c if (c >= 0 && c < 0xa0) { c 84 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.c s = c; c 85 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.c } else if (c >= 0xa0 && c < 0x100) { c 86 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.c s = iso8859_8_ucs_table[c - 0xa0]; c 88 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.c s = c; c 93 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.c s = c; c 100 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.c return c; c 106 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.c int mbfl_filt_conv_wchar_8859_8(int c, mbfl_convert_filter *filter) c 110 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.c if (c >= 0 && c < 0xa0) { c 111 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.c s = c; c 116 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.c if (c == iso8859_8_ucs_table[n]) { c 122 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_8859_8) { c 123 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.c s = c & MBFL_WCSPLANE_MASK; c 131 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 135 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.h int mbfl_filt_conv_8859_8_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_iso8859_8.h int mbfl_filt_conv_wchar_8859_8(int c, mbfl_convert_filter *filter); c 79 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.c int mbfl_filt_conv_8859_9_wchar(int c, mbfl_convert_filter *filter) c 83 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.c if (c >= 0 && c < 0xa0) { c 84 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.c s = c; c 85 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.c } else if (c >= 0xa0 && c < 0x100) { c 86 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.c s = iso8859_9_ucs_table[c - 0xa0]; c 88 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.c s = c; c 93 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.c s = c; c 100 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.c return c; c 106 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.c int mbfl_filt_conv_wchar_8859_9(int c, mbfl_convert_filter *filter) c 110 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.c if (c >= 0 && c < 0xa0) { c 111 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.c s = c; c 116 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.c if (c == iso8859_9_ucs_table[n]) { c 122 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_8859_9) { c 123 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.c s = c & MBFL_WCSPLANE_MASK; c 131 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 135 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.h int mbfl_filt_conv_8859_9_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_iso8859_9.h int mbfl_filt_conv_wchar_8859_9(int c, mbfl_convert_filter *filter); c 40 ext/mbstring/libmbfl/filters/mbfilter_jis.c static int mbfl_filt_ident_jis(int c, mbfl_identify_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_jis.c static int mbfl_filt_ident_2022jp(int c, mbfl_identify_filter *filter); c 117 ext/mbstring/libmbfl/filters/mbfilter_jis.c mbfl_filt_conv_jis_wchar(int c, mbfl_convert_filter *filter) c 129 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0x1b) { c 131 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x0e) { /* "kana in" */ c 133 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x0f) { /* "kana out" */ c 135 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (filter->status == 0x10 && c == 0x5c) { /* YEN SIGN */ c 137 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (filter->status == 0x10 && c == 0x7e) { /* OVER LINE */ c 139 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (filter->status == 0x20 && c > 0x20 && c < 0x60) { /* kana */ c 140 ext/mbstring/libmbfl/filters/mbfilter_jis.c CK((*filter->output_function)(0xff40 + c, filter->data)); c 141 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if ((filter->status == 0x80 || filter->status == 0x90) && c > 0x20 && c < 0x7f) { /* kanji first char */ c 142 ext/mbstring/libmbfl/filters/mbfilter_jis.c filter->cache = c; c 144 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c >= 0 && c < 0x80) { /* latin, CTLs */ c 145 ext/mbstring/libmbfl/filters/mbfilter_jis.c CK((*filter->output_function)(c, filter->data)); c 146 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c > 0xa0 && c < 0xe0) { /* GR kana */ c 147 ext/mbstring/libmbfl/filters/mbfilter_jis.c CK((*filter->output_function)(0xfec0 + c, filter->data)); c 149 ext/mbstring/libmbfl/filters/mbfilter_jis.c w = c & MBFL_WCSGROUP_MASK; c 160 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c > 0x20 && c < 0x7f) { c 161 ext/mbstring/libmbfl/filters/mbfilter_jis.c s = (c1 - 0x21)*94 + c - 0x21; c 169 ext/mbstring/libmbfl/filters/mbfilter_jis.c w = (c1 << 8) | c; c 180 ext/mbstring/libmbfl/filters/mbfilter_jis.c w = (c1 << 8) | c; c 186 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x1b) { c 188 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 189 ext/mbstring/libmbfl/filters/mbfilter_jis.c CK((*filter->output_function)(c, filter->data)); c 191 ext/mbstring/libmbfl/filters/mbfilter_jis.c w = (c1 << 8) | c; c 205 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0x24) { /* '$' */ c 207 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x28) { /* '(' */ c 223 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 225 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x28) { /* '(' */ c 242 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 244 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x44) { /* 'D' */ c 262 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0x42 || c == 0x48) { /* 'B' or 'H' */ c 264 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x4a) { /* 'J' */ c 266 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x49) { /* 'I' */ c 281 ext/mbstring/libmbfl/filters/mbfilter_jis.c return c; c 288 ext/mbstring/libmbfl/filters/mbfilter_jis.c mbfl_filt_conv_wchar_jis(int c, mbfl_convert_filter *filter) c 293 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c >= ucs_a1_jis_table_min && c < ucs_a1_jis_table_max) { c 294 ext/mbstring/libmbfl/filters/mbfilter_jis.c s = ucs_a1_jis_table[c - ucs_a1_jis_table_min]; c 295 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c >= ucs_a2_jis_table_min && c < ucs_a2_jis_table_max) { c 296 ext/mbstring/libmbfl/filters/mbfilter_jis.c s = ucs_a2_jis_table[c - ucs_a2_jis_table_min]; c 297 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c >= ucs_i_jis_table_min && c < ucs_i_jis_table_max) { c 298 ext/mbstring/libmbfl/filters/mbfilter_jis.c s = ucs_i_jis_table[c - ucs_i_jis_table_min]; c 299 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c >= ucs_r_jis_table_min && c < ucs_r_jis_table_max) { c 300 ext/mbstring/libmbfl/filters/mbfilter_jis.c s = ucs_r_jis_table[c - ucs_r_jis_table_min]; c 303 ext/mbstring/libmbfl/filters/mbfilter_jis.c c1 = c & ~MBFL_WCSPLANE_MASK; c 305 ext/mbstring/libmbfl/filters/mbfilter_jis.c s = c & MBFL_WCSPLANE_MASK; c 307 ext/mbstring/libmbfl/filters/mbfilter_jis.c s = c & MBFL_WCSPLANE_MASK; c 309 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0xa5) { /* YEN SIGN */ c 311 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x203e) { /* OVER LINE */ c 313 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0xff3c) { /* FULLWIDTH REVERSE SOLIDUS */ c 315 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0xff5e) { /* FULLWIDTH TILDE */ c 317 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x2225) { /* PARALLEL TO */ c 319 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0xff0d) { /* FULLWIDTH HYPHEN-MINUS */ c 321 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0xffe0) { /* FULLWIDTH CENT SIGN */ c 323 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0xffe1) { /* FULLWIDTH POUND SIGN */ c 325 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0xffe2) { /* FULLWIDTH NOT SIGN */ c 328 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0) { c 381 ext/mbstring/libmbfl/filters/mbfilter_jis.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 385 ext/mbstring/libmbfl/filters/mbfilter_jis.c return c; c 393 ext/mbstring/libmbfl/filters/mbfilter_jis.c mbfl_filt_conv_wchar_2022jp(int c, mbfl_convert_filter *filter) c 398 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c >= ucs_a1_jis_table_min && c < ucs_a1_jis_table_max) { c 399 ext/mbstring/libmbfl/filters/mbfilter_jis.c s = ucs_a1_jis_table[c - ucs_a1_jis_table_min]; c 400 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c >= ucs_a2_jis_table_min && c < ucs_a2_jis_table_max) { c 401 ext/mbstring/libmbfl/filters/mbfilter_jis.c s = ucs_a2_jis_table[c - ucs_a2_jis_table_min]; c 402 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c >= ucs_i_jis_table_min && c < ucs_i_jis_table_max) { c 403 ext/mbstring/libmbfl/filters/mbfilter_jis.c s = ucs_i_jis_table[c - ucs_i_jis_table_min]; c 404 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c >= ucs_r_jis_table_min && c < ucs_r_jis_table_max) { c 405 ext/mbstring/libmbfl/filters/mbfilter_jis.c s = ucs_r_jis_table[c - ucs_r_jis_table_min]; c 408 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0xa5) { /* YEN SIGN */ c 410 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x203e) { /* OVER LINE */ c 412 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0xff3c) { /* FULLWIDTH REVERSE SOLIDUS */ c 414 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0xff5e) { /* FULLWIDTH TILDE */ c 416 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x2225) { /* PARALLEL TO */ c 418 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0xff0d) { /* FULLWIDTH HYPHEN-MINUS */ c 420 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0xffe0) { /* FULLWIDTH CENT SIGN */ c 422 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0xffe1) { /* FULLWIDTH POUND SIGN */ c 424 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0xffe2) { /* FULLWIDTH NOT SIGN */ c 427 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0) { c 464 ext/mbstring/libmbfl/filters/mbfilter_jis.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 468 ext/mbstring/libmbfl/filters/mbfilter_jis.c return c; c 489 ext/mbstring/libmbfl/filters/mbfilter_jis.c static int mbfl_filt_ident_jis(int c, mbfl_identify_filter *filter) c 499 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0x1b) { c 501 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x0e) { /* "kana in" */ c 503 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x0f) { /* "kana out" */ c 505 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if ((filter->status == 0x80 || filter->status == 0x90) && c > 0x20 && c < 0x7f) { /* kanji first char */ c 507 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c >= 0 && c < 0x80) { /* latin, CTLs */ c 518 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0x1b) { c 520 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c < 0x21 || c > 0x7e) { /* bad */ c 527 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0x24) { /* '$' */ c 529 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x28) { /* '(' */ c 540 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 542 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x28) { /* '(' */ c 553 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 555 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x44) { /* 'D' */ c 566 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0x42 || c == 0x48) { /* 'B' or 'H' */ c 568 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x4a) { /* 'J' */ c 570 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x49) { /* 'I' */ c 584 ext/mbstring/libmbfl/filters/mbfilter_jis.c return c; c 587 ext/mbstring/libmbfl/filters/mbfilter_jis.c static int mbfl_filt_ident_2022jp(int c, mbfl_identify_filter *filter) c 595 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0x1b) { c 597 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (filter->status == 0x80 && c > 0x20 && c < 0x7f) { /* kanji first char */ c 599 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c >= 0 && c < 0x80) { /* latin, CTLs */ c 608 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0x1b) { c 612 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c < 0x21 || c > 0x7e) { /* bad */ c 620 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0x24) { /* '$' */ c 622 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x28) { /* '(' */ c 633 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0x40 || c == 0x42) { /* '@' or 'B' */ c 644 ext/mbstring/libmbfl/filters/mbfilter_jis.c if (c == 0x42) { /* 'B' */ c 646 ext/mbstring/libmbfl/filters/mbfilter_jis.c } else if (c == 0x4a) { /* 'J' */ c 660 ext/mbstring/libmbfl/filters/mbfilter_jis.c return c; c 44 ext/mbstring/libmbfl/filters/mbfilter_jis.h int mbfl_filt_conv_jis_wchar(int c, mbfl_convert_filter *filter); c 45 ext/mbstring/libmbfl/filters/mbfilter_jis.h int mbfl_filt_conv_wchar_jis(int c, mbfl_convert_filter *filter); c 46 ext/mbstring/libmbfl/filters/mbfilter_jis.h int mbfl_filt_conv_wchar_2022jp(int c, mbfl_convert_filter *filter); c 38 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c static int mbfl_filt_ident_koi8r(int c, mbfl_identify_filter *filter); c 82 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c mbfl_filt_conv_koi8r_wchar(int c, mbfl_convert_filter *filter) c 86 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c if (c >= 0 && c < koi8r_ucs_table_min) { c 87 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c s = c; c 88 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c } else if (c >= koi8r_ucs_table_min && c < 0x100) { c 89 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c s = koi8r_ucs_table[c - koi8r_ucs_table_min]; c 91 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c s = c; c 96 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c s = c; c 103 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c return c; c 110 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c mbfl_filt_conv_wchar_koi8r(int c, mbfl_convert_filter *filter) c 114 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c if (c < 0x80) { c 115 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c s = c; c 120 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c if (c == koi8r_ucs_table[n]) { c 126 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_KOI8R) { c 127 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c s = c & MBFL_WCSPLANE_MASK; c 135 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 139 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c return c; c 142 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c static int mbfl_filt_ident_koi8r(int c, mbfl_identify_filter *filter) c 144 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c if (c >= 0x80 && c < 0xff) c 148 ext/mbstring/libmbfl/filters/mbfilter_koi8r.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_koi8r.h int mbfl_filt_conv_koi8r_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_koi8r.h int mbfl_filt_conv_wchar_koi8r(int c, mbfl_convert_filter *filter); c 35 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c static int mbfl_filt_ident_koi8u(int c, mbfl_identify_filter *filter); c 79 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c mbfl_filt_conv_koi8u_wchar(int c, mbfl_convert_filter *filter) c 83 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c if (c >= 0 && c < koi8u_ucs_table_min) { c 84 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c s = c; c 85 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c } else if (c >= koi8u_ucs_table_min && c < 0x100) { c 86 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c s = koi8u_ucs_table[c - koi8u_ucs_table_min]; c 88 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c s = c; c 93 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c s = c; c 100 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c return c; c 107 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c mbfl_filt_conv_wchar_koi8u(int c, mbfl_convert_filter *filter) c 111 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c if (c < 0x80) { c 112 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c s = c; c 117 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c if (c == koi8u_ucs_table[n]) { c 123 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c if (s <= 0 && (c & ~MBFL_WCSPLANE_MASK) == MBFL_WCSPLANE_KOI8U) { c 124 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c s = c & MBFL_WCSPLANE_MASK; c 132 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 136 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c return c; c 139 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c static int mbfl_filt_ident_koi8u(int c, mbfl_identify_filter *filter) c 141 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c if (c >= 0x80 && c < 0xff) c 145 ext/mbstring/libmbfl/filters/mbfilter_koi8u.c return c; c 37 ext/mbstring/libmbfl/filters/mbfilter_koi8u.h int mbfl_filt_conv_koi8u_wchar(int c, mbfl_convert_filter *filter); c 38 ext/mbstring/libmbfl/filters/mbfilter_koi8u.h int mbfl_filt_conv_wchar_koi8u(int c, mbfl_convert_filter *filter); c 72 ext/mbstring/libmbfl/filters/mbfilter_qprint.c int mbfl_filt_conv_qprintenc(int c, mbfl_convert_filter *filter) c 78 ext/mbstring/libmbfl/filters/mbfilter_qprint.c filter->cache = c; c 83 ext/mbstring/libmbfl/filters/mbfilter_qprint.c filter->cache = c; c 93 ext/mbstring/libmbfl/filters/mbfilter_qprint.c if (s == 0x0a || (s == 0x0d && c != 0x0a)) { /* line feed */ c 141 ext/mbstring/libmbfl/filters/mbfilter_qprint.c return c; c 156 ext/mbstring/libmbfl/filters/mbfilter_qprint.c int mbfl_filt_conv_qprintdec(int c, mbfl_convert_filter *filter) c 181 ext/mbstring/libmbfl/filters/mbfilter_qprint.c if (hex2code_map[c & 0xff] >= 0) { c 182 ext/mbstring/libmbfl/filters/mbfilter_qprint.c filter->cache = c; c 184 ext/mbstring/libmbfl/filters/mbfilter_qprint.c } else if (c == 0x0d) { /* soft line feed */ c 186 ext/mbstring/libmbfl/filters/mbfilter_qprint.c } else if (c == 0x0a) { /* soft line feed */ c 190 ext/mbstring/libmbfl/filters/mbfilter_qprint.c CK((*filter->output_function)(c, filter->data)); c 195 ext/mbstring/libmbfl/filters/mbfilter_qprint.c m = hex2code_map[c & 0xff]; c 199 ext/mbstring/libmbfl/filters/mbfilter_qprint.c n = c; c 207 ext/mbstring/libmbfl/filters/mbfilter_qprint.c if (c != 0x0a) { /* LF */ c 208 ext/mbstring/libmbfl/filters/mbfilter_qprint.c CK((*filter->output_function)(c, filter->data)); c 213 ext/mbstring/libmbfl/filters/mbfilter_qprint.c if (c == 0x3d) { /* '=' */ c 216 ext/mbstring/libmbfl/filters/mbfilter_qprint.c CK((*filter->output_function)(c, filter->data)); c 221 ext/mbstring/libmbfl/filters/mbfilter_qprint.c return c; c 39 ext/mbstring/libmbfl/filters/mbfilter_qprint.h int mbfl_filt_conv_qprintenc(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_qprint.h int mbfl_filt_conv_qprintdec(int c, mbfl_convert_filter *filter); c 43 ext/mbstring/libmbfl/filters/mbfilter_sjis.c int mbfl_filt_ident_sjis(int c, mbfl_identify_filter *filter); c 150 ext/mbstring/libmbfl/filters/mbfilter_sjis.c mbfl_filt_conv_sjis_wchar(int c, mbfl_convert_filter *filter) c 156 ext/mbstring/libmbfl/filters/mbfilter_sjis.c if (c >= 0 && c < 0x80) { /* latin */ c 157 ext/mbstring/libmbfl/filters/mbfilter_sjis.c CK((*filter->output_function)(c, filter->data)); c 158 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if (c > 0xa0 && c < 0xe0) { /* kana */ c 159 ext/mbstring/libmbfl/filters/mbfilter_sjis.c CK((*filter->output_function)(0xfec0 + c, filter->data)); c 160 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if (c > 0x80 && c < 0xfd && c != 0xa0) { /* kanji first char */ c 162 ext/mbstring/libmbfl/filters/mbfilter_sjis.c filter->cache = c; c 164 ext/mbstring/libmbfl/filters/mbfilter_sjis.c w = c & MBFL_WCSGROUP_MASK; c 173 ext/mbstring/libmbfl/filters/mbfilter_sjis.c if (c >= 0x40 && c <= 0xfc && c != 0x7f) { c 174 ext/mbstring/libmbfl/filters/mbfilter_sjis.c SJIS_DECODE(c1, c, s1, s2); c 187 ext/mbstring/libmbfl/filters/mbfilter_sjis.c w = (c1 << 8) | c; c 193 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 194 ext/mbstring/libmbfl/filters/mbfilter_sjis.c CK((*filter->output_function)(c, filter->data)); c 196 ext/mbstring/libmbfl/filters/mbfilter_sjis.c w = (c1 << 8) | c; c 208 ext/mbstring/libmbfl/filters/mbfilter_sjis.c return c; c 215 ext/mbstring/libmbfl/filters/mbfilter_sjis.c mbfl_filt_conv_wchar_sjis(int c, mbfl_convert_filter *filter) c 220 ext/mbstring/libmbfl/filters/mbfilter_sjis.c if (c >= ucs_a1_jis_table_min && c < ucs_a1_jis_table_max) { c 221 ext/mbstring/libmbfl/filters/mbfilter_sjis.c s1 = ucs_a1_jis_table[c - ucs_a1_jis_table_min]; c 222 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if (c >= ucs_a2_jis_table_min && c < ucs_a2_jis_table_max) { c 223 ext/mbstring/libmbfl/filters/mbfilter_sjis.c s1 = ucs_a2_jis_table[c - ucs_a2_jis_table_min]; c 224 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if (c >= ucs_i_jis_table_min && c < ucs_i_jis_table_max) { c 225 ext/mbstring/libmbfl/filters/mbfilter_sjis.c s1 = ucs_i_jis_table[c - ucs_i_jis_table_min]; c 226 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if (c >= ucs_r_jis_table_min && c < ucs_r_jis_table_max) { c 227 ext/mbstring/libmbfl/filters/mbfilter_sjis.c s1 = ucs_r_jis_table[c - ucs_r_jis_table_min]; c 230 ext/mbstring/libmbfl/filters/mbfilter_sjis.c c1 = c & ~MBFL_WCSPLANE_MASK; c 232 ext/mbstring/libmbfl/filters/mbfilter_sjis.c s1 = c & MBFL_WCSPLANE_MASK; c 233 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if (c == 0xa5) { /* YEN SIGN */ c 235 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if (c == 0x203e) { /* OVER LINE */ c 237 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if (c == 0xff3c) { /* FULLWIDTH REVERSE SOLIDUS */ c 239 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if (c == 0xff5e) { /* FULLWIDTH TILDE */ c 241 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if (c == 0x2225) { /* PARALLEL TO */ c 243 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if (c == 0xff0d) { /* FULLWIDTH HYPHEN-MINUS */ c 245 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if (c == 0xffe0) { /* FULLWIDTH CENT SIGN */ c 247 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if (c == 0xffe1) { /* FULLWIDTH POUND SIGN */ c 249 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if (c == 0xffe2) { /* FULLWIDTH NOT SIGN */ c 252 ext/mbstring/libmbfl/filters/mbfilter_sjis.c if (c == 0) { c 272 ext/mbstring/libmbfl/filters/mbfilter_sjis.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 276 ext/mbstring/libmbfl/filters/mbfilter_sjis.c return c; c 279 ext/mbstring/libmbfl/filters/mbfilter_sjis.c int mbfl_filt_ident_sjis(int c, mbfl_identify_filter *filter) c 282 ext/mbstring/libmbfl/filters/mbfilter_sjis.c if (c < 0x40 || c > 0xfc || c == 0x7f) { /* bad */ c 286 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if (c >= 0 && c < 0x80) { /* latin ok */ c 288 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if (c > 0xa0 && c < 0xe0) { /* kana ok */ c 290 ext/mbstring/libmbfl/filters/mbfilter_sjis.c } else if (c > 0x80 && c < 0xf0 && c != 0xa0) { /* kanji first char */ c 296 ext/mbstring/libmbfl/filters/mbfilter_sjis.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_sjis.h int mbfl_filt_conv_sjis_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_sjis.h int mbfl_filt_conv_wchar_sjis(int c, mbfl_convert_filter *filter); c 42 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c static int mbfl_filt_ident_sjis2004(int c, mbfl_identify_filter *filter); c 44 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c extern int mbfl_filt_ident_sjis(int c, mbfl_identify_filter *filter); c 134 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c mbfl_filt_conv_jis2004_wchar(int c, mbfl_convert_filter *filter) c 142 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c >= 0 && c < 0x80) { /* latin */ c 144 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c CK((*filter->output_function)(c, filter->data)); c 146 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c == 0x5c) { c 148 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c } else if (c == 0x7e) { c 151 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c CK((*filter->output_function)(c, filter->data)); c 154 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c == 0x1b) { c 157 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c && c > 0x20 && c < 0x7f) { /* kanji first char */ c 158 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c filter->cache = c; c 167 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c CK((*filter->output_function)(c, filter->data)); c 172 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c > 0xa0 && c < 0xff) { /* X 0213 plane 1 first char */ c 174 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c filter->cache = c; c 175 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c } else if (c == 0x8e) { /* kana first char */ c 177 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c } else if (c == 0x8f) { /* X 0213 plane 2 first char */ c 180 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c w = c & MBFL_WCSGROUP_MASK; c 185 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c > 0xa0 && c < 0xe0) { /* kana */ c 186 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c CK((*filter->output_function)(0xfec0 + c, filter->data)); c 187 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c } else if (c > 0x80 && c < 0xfd && c != 0xa0) { /* kanji first char */ c 189 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c filter->cache = c; c 191 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c w = c & MBFL_WCSGROUP_MASK; c 196 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c w = c & MBFL_WCSGROUP_MASK; c 208 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c > 0xa0 && c < 0xff) { c 210 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c s2 = c - 0x80; c 213 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c >= 0x40 && c <= 0xfc && c != 0x7f) { c 214 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c SJIS_DECODE(c1, c, s1, s2); c 218 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c s2 = c; c 258 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c w = (c1 << 8) | c; c 264 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 265 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c CK((*filter->output_function)(c, filter->data)); c 267 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c w = (c1 << 8) | c; c 276 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c > 0xa0 && c < 0xe0) { c 277 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c w = 0xfec0 + c; c 279 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 280 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c CK((*filter->output_function)(c, filter->data)); c 282 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c w = 0x8e00 | c; c 290 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 291 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c CK((*filter->output_function)(c, filter->data)); c 295 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c s1 = c - 0x80; c 297 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c s1 = c; c 304 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c w = c | 0x8f00; c 308 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c w = c & 0x7f; c 322 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c c2 = c - 0x80; c 324 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c c2 = c; c 363 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 364 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c CK((*filter->output_function)(c, filter->data)); c 367 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c w = (c1 << 8) | c | 0x8f0000; c 383 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c > 0x20 && c < 0x7f) { c 384 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c s = (c1 - 0x21)*94 + c - 0x21; c 390 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c w = (c1 << 8) | c; c 405 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c == 0x24) { /* '$' */ c 407 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c } else if (c == 0x28) { /* '(' */ c 424 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c == 0x42) { /* 'B' -> JIS X 0208-1983 */ c 426 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c } else if (c == 0x28) { /* '(' */ c 446 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c == 0x51) { /* JIS X 0213 plane 1 */ c 448 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c } else if (c == 0x50) { /* JIS X 0213 plane 2 */ c 466 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c == 0x42) { /* 'B' : ASCII */ c 481 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c return c; c 485 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c mbfl_filt_conv_wchar_jis2004(int c, mbfl_convert_filter *filter) { c 493 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c c == 0x00E6 || c 494 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c (c >= 0x0254 && c <= 0x02E9) || c 495 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c (c >= 0x304B && c <= 0x3053) || c 496 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c (c >= 0x30AB && c <= 0x30C8) || c 497 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c c == 0x31F7)) { c 499 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c == jisx0213_u2_tbl[2*k]) { c 502 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c return c; c 516 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c && c == 0x0301) { c 519 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c == jisx0213_u2_tbl[2*k+1]) { c 553 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c >= uni2jis_tbl_range[k][0] && c <= uni2jis_tbl_range[k][1]) { c 554 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c s1 = uni2jis_tbl[k][c-uni2jis_tbl_range[k][0]]; c 561 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (s1 <= 0 && c >= ucs_c1_jisx0213_min && c <= ucs_c1_jisx0213_max) { c 562 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c k = mbfl_bisec_srch(c, ucs_c1_jisx0213_tbl, ucs_c1_jisx0213_tbl_len); c 564 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c s1 = ucs_c1_jisx0213_ofst[k] + c - ucs_c1_jisx0213_tbl[2*k]; c 569 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (s1 <= 0 && c >= jisx0213_u5_tbl_min && c <= jisx0213_u5_tbl_max) { c 570 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c k = mbfl_bisec_srch2(c - 0x20000, jisx0213_u5_jis_key, jisx0213_u5_tbl_len); c 578 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c == 0xfe45) { c 580 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c } else if (c == 0xfe46) { c 582 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c } else if (c >= 0xf91d && c <= 0xf9dc) { c 584 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c k = mbfl_bisec_srch2(c, ucs_r2b_jisx0213_cmap_key, ucs_r2b_jisx0213_cmap_len); c 592 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c c1 = c & ~MBFL_WCSPLANE_MASK; c 594 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c s1 = c & MBFL_WCSPLANE_MASK; c 596 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c if (c == 0) { c 672 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 40 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.h int mbfl_filt_conv_jis2004_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_sjis_2004.h int mbfl_filt_conv_wchar_jis2004(int c, mbfl_convert_filter *filter); c 42 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c extern int mbfl_filt_ident_sjis(int c, mbfl_identify_filter *filter); c 132 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c mbfl_filt_conv_sjis_mac_wchar(int c, mbfl_convert_filter *filter) c 139 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c >= 0 && c < 0x80 && c != 0x5c) { /* latin */ c 140 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c CK((*filter->output_function)(c, filter->data)); c 141 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c > 0xa0 && c < 0xe0) { /* kana */ c 142 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c CK((*filter->output_function)(0xfec0 + c, filter->data)); c 143 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c > 0x80 && c < 0xfd && c != 0xa0) { /* kanji first char */ c 145 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c filter->cache = c; c 146 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c == 0x5c) { c 148 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c == 0x80) { c 150 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c == 0xa0) { c 152 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c == 0xfd) { c 154 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c == 0xfe) { c 156 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c == 0xff) { c 160 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c w = c & MBFL_WCSGROUP_MASK; c 169 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c >= 0x40 && c <= 0xfc && c != 0x7f) { c 171 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c SJIS_DECODE(c1, c, s1, s2); c 258 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 259 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c CK((*filter->output_function)(c, filter->data)); c 261 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c w = (c1 << 8) | c; c 273 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c return c; c 280 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c mbfl_filt_conv_wchar_sjis_mac(int c, mbfl_convert_filter *filter) c 303 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c == 0xf87a) { c 313 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c == 0x20dd) { c 323 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c == 0xf87f) { c 333 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c == 0xf87e) { c 345 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c s1 = c; c 366 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 376 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c >= ucs_a1_jis_table_min && c < ucs_a1_jis_table_max) { c 377 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c s1 = ucs_a1_jis_table[c - ucs_a1_jis_table_min]; c 378 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c == 0x5c) { c 380 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c == 0xa9) { c 383 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c >= ucs_a2_jis_table_min && c < ucs_a2_jis_table_max) { c 384 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c s1 = ucs_a2_jis_table[c - ucs_a2_jis_table_min]; c 385 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c == 0x2122) { c 387 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c == 0x2014) { c 389 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c == 0x2116) { c 392 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c >= ucs_i_jis_table_min && c < ucs_i_jis_table_max) { c 393 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c s1 = ucs_i_jis_table[c - ucs_i_jis_table_min]; c 394 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c >= ucs_r_jis_table_min && c < ucs_r_jis_table_max) { c 395 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c s1 = ucs_r_jis_table[c - ucs_r_jis_table_min]; c 398 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c >= 0x2000) { c 400 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c == s_form_tbl[i]) { c 402 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c filter->cache = c; c 403 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c return c; c 407 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c == 0xf860 || c == 0xf861 || c == 0xf862) { c 409 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c filter->cache = c; c 410 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c return c; c 415 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c c1 = c & ~MBFL_WCSPLANE_MASK; c 417 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c s1 = c & MBFL_WCSPLANE_MASK; c 420 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c s1 = c & MBFL_WCSPLANE_MASK; c 422 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c s1 = c & MBFL_WCSPLANE_MASK; c 424 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c == 0xa0) { c 426 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c == 0xa5) { /* YEN SIGN */ c 428 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c } else if (c == 0xff3c) { /* FULLWIDTH REVERSE SOLIDUS */ c 435 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c >= wchar2sjis_mac_r_tbl[i][0] && c <= wchar2sjis_mac_r_tbl[i][1]) { c 436 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c s1 = c - wchar2sjis_mac_r_tbl[i][0] + wchar2sjis_mac_r_tbl[i][2]; c 443 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c >= wchar2sjis_mac_r_map[i][0] && c <= wchar2sjis_mac_r_map[i][1]) { c 444 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c s1 = wchar2sjis_mac_code_map[i][c-wchar2sjis_mac_r_map[i][0]]; c 452 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if ( c == wchar2sjis_mac_wchar_tbl[i][0]) { c 471 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c == 0) { c 490 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 502 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c == code_tbl_m[i][2]) { c 503 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c filter->cache = c | 0x10000; c 510 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c == code_tbl_m[i+5][2]) { c 511 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c filter->cache = c | 0x20000; c 518 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c == code_tbl_m[i+5+3][2]) { c 519 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c filter->cache = c | 0x40000; c 528 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 543 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c1 == code_tbl_m[i][2] && c == code_tbl_m[i][3]) { c 560 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 565 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c1 == code_tbl_m[i+5][2] && c == code_tbl_m[i+5][3]) { c 566 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c filter->cache = c | 0x20000; c 573 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c1 == code_tbl_m[i+8][2] && c == code_tbl_m[i+8][3]) { c 574 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c filter->cache = c | 0x40000; c 592 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c1 == code_tbl_m[i+5][3] && c == code_tbl_m[i+5][4]) { c 615 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 619 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c1 == code_tbl_m[i+8][3] && c == code_tbl_m[i+8][4]) { c 620 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c filter->cache = c | 0x40000; c 638 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c if (c1 == code_tbl_m[i+8][4] && c == code_tbl_m[i+8][5]) { c 662 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 671 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.c return c; c 41 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.h int mbfl_filt_conv_sjis_mac_wchar(int c, mbfl_convert_filter *filter); c 42 ext/mbstring/libmbfl/filters/mbfilter_sjis_mac.h int mbfl_filt_conv_wchar_sjis_mac(int c, mbfl_convert_filter *filter); c 44 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c extern int mbfl_filt_ident_sjis(int c, mbfl_identify_filter *filter); c 194 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c #define NFLAGS(c) (0x1F1A5+(int)(c)) c 248 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c mbfilter_conv_map_tbl(int c, int *w, const unsigned short map[][3], int n) c 253 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (map[i][0] <= c && c <= map[i][1]) { c 254 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c *w = c - map[i][0] + map[i][2]; c 263 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c mbfilter_conv_r_map_tbl(int c, int *w, const unsigned short map[][3], int n) c 268 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (map[i][2] <= c && c <= map[i][2] - map[i][0] + map[i][1]) { c 269 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c *w = c + map[i][0] - map[i][2]; c 310 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c int w = s, si, c; c 321 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c c = nflags_order_kddi[si-0x008d]; c 322 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c *snd = NFLAGS(nflags_s[c][0]); w = NFLAGS(nflags_s[c][1]); c 358 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c int w = s, si, c; c 389 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c c = nflags_order_sb[si-0x0069]; c 390 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c *snd = NFLAGS(nflags_s[c][0]); w = NFLAGS(nflags_s[c][1]); c 404 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c mbfilter_unicode2sjis_emoji_docomo(int c, int *s1, mbfl_convert_filter *filter) c 412 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c == 0x20E3) { c 427 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c == 0x0023 || (c >= 0x0030 && c<=0x0039)) { c 429 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c filter->cache = c; c 434 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c == 0x00A9) { c 436 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c == 0x00AE) { c 438 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c >= mb_tbl_uni_docomo2code2_min && c <= mb_tbl_uni_docomo2code2_max) { c 439 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c i = mbfl_bisec_srch2(c, mb_tbl_uni_docomo2code2_key, mb_tbl_uni_docomo2code2_len); c 444 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c >= mb_tbl_uni_docomo2code3_min && c <= mb_tbl_uni_docomo2code3_max) { c 445 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c i = mbfl_bisec_srch2(c - 0x10000, mb_tbl_uni_docomo2code3_key, mb_tbl_uni_docomo2code3_len); c 450 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c >= mb_tbl_uni_docomo2code5_min && c <= mb_tbl_uni_docomo2code5_max) { c 451 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c i = mbfl_bisec_srch2(c - 0xf0000, mb_tbl_uni_docomo2code5_key, mb_tbl_uni_docomo2code5_len); c 463 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c mbfilter_unicode2sjis_emoji_kddi(int c, int *s1, mbfl_convert_filter *filter) c 471 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c == 0x20E3) { c 482 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if ((c >= NFLAGS(0x41) && c <= NFLAGS(0x5A)) && (c1s >= NFLAGS(0x41) && c1s <= NFLAGS(0x5A))) { c 484 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c1s == NFLAGS(nflags_s[i][0]) && c == NFLAGS(nflags_s[i][1])) { c 497 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c == 0x0023 || ( c >= 0x0030 && c<=0x0039) || c 498 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c (c >= NFLAGS(0x41) && c<= NFLAGS(0x5A))) { c 500 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c filter->cache = c; c 505 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c == 0x00A9) { c 507 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c == 0x00AE) { c 509 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c >= mb_tbl_uni_kddi2code2_min && c <= mb_tbl_uni_kddi2code2_max) { c 510 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c i = mbfl_bisec_srch2(c, mb_tbl_uni_kddi2code2_key, mb_tbl_uni_kddi2code2_len); c 515 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c >= mb_tbl_uni_kddi2code3_min && c <= mb_tbl_uni_kddi2code3_max) { c 516 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c i = mbfl_bisec_srch2(c - 0x10000, mb_tbl_uni_kddi2code3_key, mb_tbl_uni_kddi2code3_len); c 521 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c >= mb_tbl_uni_kddi2code5_min && c <= mb_tbl_uni_kddi2code5_max) { c 522 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c i = mbfl_bisec_srch2(c - 0xf0000, mb_tbl_uni_kddi2code5_key, mb_tbl_uni_kddi2code5_len); c 534 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c mbfilter_unicode2sjis_emoji_sb(int c, int *s1, mbfl_convert_filter *filter) c 542 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c == 0x20E3) { c 553 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if ((c >= NFLAGS(0x41) && c <= NFLAGS(0x5A)) && (c1s >= NFLAGS(0x41) && c1s <= NFLAGS(0x5A))) { c 555 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c1s == NFLAGS(nflags_s[i][0]) && c == NFLAGS(nflags_s[i][1])) { c 568 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c == 0x0023 || ( c >= 0x0030 && c<=0x0039) || (c >= NFLAGS(0x41) && c<= NFLAGS(0x5A))) { c 570 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c filter->cache = c; c 575 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c == 0x00A9) { c 577 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c == 0x00AE) { c 579 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c >= mb_tbl_uni_sb2code2_min && c <= mb_tbl_uni_sb2code2_max) { c 580 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c i = mbfl_bisec_srch2(c, mb_tbl_uni_sb2code2_key, mb_tbl_uni_sb2code2_len); c 585 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c >= mb_tbl_uni_sb2code3_min && c <= mb_tbl_uni_sb2code3_max) { c 586 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c i = mbfl_bisec_srch2(c - 0x10000, mb_tbl_uni_sb2code3_key, mb_tbl_uni_sb2code3_len); c 591 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c >= mb_tbl_uni_sb2code5_min && c <= mb_tbl_uni_sb2code5_max) { c 592 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c i = mbfl_bisec_srch2(c - 0xf0000, mb_tbl_uni_sb2code5_key, mb_tbl_uni_sb2code5_len); c 606 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c mbfl_filt_conv_sjis_mobile_wchar(int c, mbfl_convert_filter *filter) c 614 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c >= 0 && c < 0x80) { /* latin */ c 615 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (filter->from->no_encoding == mbfl_no_encoding_sjis_sb && c == 0x1b) { c 616 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c filter->cache = c; c 619 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c CK((*filter->output_function)(c, filter->data)); c 621 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c > 0xa0 && c < 0xe0) { /* kana */ c 622 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c CK((*filter->output_function)(0xfec0 + c, filter->data)); c 623 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c > 0x80 && c < 0xfd && c != 0xa0) { /* kanji first char */ c 625 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c filter->cache = c; c 627 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c w = c & MBFL_WCSGROUP_MASK; c 636 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c >= 0x40 && c <= 0xfc && c != 0x7f) { c 638 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c SJIS_DECODE(c1, c, s1, s2); c 690 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 691 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c CK((*filter->output_function)(c, filter->data)); c 693 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c w = (c1 << 8) | c; c 702 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c c == 0x24) { c 703 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c filter->cache = c; c 716 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c ((c >= 0x45 && c <= 0x47) || (c >= 0x4f && c <= 0x51))) { c 717 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c filter->cache = c; c 734 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c == 0x0f) { c 735 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c w = c; c 739 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c1 == 0x47 && c >= 0x21 && c <= 0x7a) { c 740 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c s1 = 0x91; s2 = c; c 741 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c1 == 0x45 && c >= 0x21 && c <= 0x7a) { c 742 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c s1 = 0x8d; s2 = c; c 743 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c1 == 0x46 && c >= 0x21 && c <= 0x7a) { c 744 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c s1 = 0x8e; s2 = c; c 745 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c1 == 0x4f && c >= 0x21 && c <= 0x6d) { c 746 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c s1 = 0x92; s2 = c; c 747 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c1 == 0x50 && c >= 0x21 && c <= 0x6c) { c 748 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c s1 = 0x95; s2 = c; c 749 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c1 == 0x51 && c >= 0x21 && c <= 0x5e) { c 750 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c s1 = 0x96; s2 = c; c 779 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c return c; c 786 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c mbfl_filt_conv_wchar_sjis_mobile(int c, mbfl_convert_filter *filter) c 792 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c >= ucs_a1_jis_table_min && c < ucs_a1_jis_table_max) { c 793 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c s1 = ucs_a1_jis_table[c - ucs_a1_jis_table_min]; c 794 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c >= ucs_a2_jis_table_min && c < ucs_a2_jis_table_max) { c 795 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c s1 = ucs_a2_jis_table[c - ucs_a2_jis_table_min]; c 796 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c >= ucs_i_jis_table_min && c < ucs_i_jis_table_max) { c 797 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c s1 = ucs_i_jis_table[c - ucs_i_jis_table_min]; c 798 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c >= ucs_r_jis_table_min && c < ucs_r_jis_table_max) { c 799 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c s1 = ucs_r_jis_table[c - ucs_r_jis_table_min]; c 800 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c >= 0xe000 && c < (0xe000 + 20*94)) { /* user (95ku - 114ku) */ c 801 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c s1 = c - 0xe000; c 808 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c c1 = c & ~MBFL_WCSPLANE_MASK; c 810 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c s1 = c & MBFL_WCSPLANE_MASK; c 813 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c s1 = c & MBFL_WCSPLANE_MASK; c 815 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c s1 = c & MBFL_WCSPLANE_MASK; c 817 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c == 0xa5) { /* YEN SIGN */ c 819 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c == 0x203e) { /* OVER LINE */ c 821 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c == 0xff3c) { /* FULLWIDTH REVERSE SOLIDUS */ c 823 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c == 0xff5e) { /* FULLWIDTH TILDE */ c 825 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c == 0x2225) { /* PARALLEL TO */ c 827 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c == 0xff0d) { /* FULLWIDTH HYPHEN-MINUS */ c 829 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c == 0xffe0) { /* FULLWIDTH CENT SIGN */ c 831 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c == 0xffe1) { /* FULLWIDTH POUND SIGN */ c 833 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c } else if (c == 0xffe2) { /* FULLWIDTH NOT SIGN */ c 843 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c == cp932ext1_ucs_table[c1]) { c 853 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c == cp932ext2_ucs_table[c1]) { c 865 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c == cp932ext3_ucs_table[c1]) { c 872 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c if (c == 0) { c 880 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c mbfilter_unicode2sjis_emoji_docomo(c, &s1, filter) > 0) || c 882 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c mbfilter_unicode2sjis_emoji_kddi(c, &s1, filter) > 0) || c 884 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c mbfilter_unicode2sjis_emoji_sb(c, &s1, filter) > 0 )) { c 889 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c return c; c 904 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 908 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c return c; c 55 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.h int mbfl_filt_conv_sjis_mobile_wchar(int c, mbfl_convert_filter *filter); c 56 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.h int mbfl_filt_conv_wchar_sjis_mobile(int c, mbfl_convert_filter *filter); c 63 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.h int mbfilter_unicode2sjis_emoji_docomo(int c, int *s1, mbfl_convert_filter *filter); c 64 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.h int mbfilter_unicode2sjis_emoji_kddi(int c, int *s1, mbfl_convert_filter *filter); c 65 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.h int mbfilter_unicode2sjis_emoji_sb(int c, int *s1, mbfl_convert_filter *filter); c 67 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.h int mbfilter_conv_map_tbl(int c, int *w, const unsigned short map[][3], int n); c 68 ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.h int mbfilter_conv_r_map_tbl(int c, int *w, const unsigned short map[][3], int n); c 40 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c static int mbfl_filt_ident_sjis_open(int c, mbfl_identify_filter *filter); c 146 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c mbfl_filt_conv_sjis_open_wchar(int c, mbfl_convert_filter *filter) c 152 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c if (c >= 0 && c < 0x80) { /* latin */ c 153 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c CK((*filter->output_function)(c, filter->data)); c 154 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c > 0xa0 && c < 0xe0) { /* kana */ c 155 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c CK((*filter->output_function)(0xfec0 + c, filter->data)); c 156 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c > 0x80 && c < 0xfd && c != 0xa0) { /* kanji first char */ c 158 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c filter->cache = c; c 160 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c w = c & MBFL_WCSGROUP_MASK; c 169 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c if (c >= 0x40 && c <= 0xfc && c != 0x7f) { c 171 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c SJIS_DECODE(c1, c, s1, s2); c 209 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 210 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c CK((*filter->output_function)(c, filter->data)); c 212 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c w = (c1 << 8) | c; c 224 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c return c; c 231 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c mbfl_filt_conv_wchar_sjis_open(int c, mbfl_convert_filter *filter) c 237 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c if (c >= ucs_a1_jis_table_min && c < ucs_a1_jis_table_max) { c 238 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c s1 = ucs_a1_jis_table[c - ucs_a1_jis_table_min]; c 239 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c >= ucs_a2_jis_table_min && c < ucs_a2_jis_table_max) { c 240 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c s1 = ucs_a2_jis_table[c - ucs_a2_jis_table_min]; c 241 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c >= ucs_i_jis_table_min && c < ucs_i_jis_table_max) { c 242 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c s1 = ucs_i_jis_table[c - ucs_i_jis_table_min]; c 243 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c >= ucs_r_jis_table_min && c < ucs_r_jis_table_max) { c 244 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c s1 = ucs_r_jis_table[c - ucs_r_jis_table_min]; c 245 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c >= 0xe000 && c < (0xe000 + 20*94)) { /* user (95ku - 114ku) */ c 246 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c s1 = c - 0xe000; c 253 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c c1 = c & ~MBFL_WCSPLANE_MASK; c 255 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c s1 = c & MBFL_WCSPLANE_MASK; c 258 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c s1 = c & MBFL_WCSPLANE_MASK; c 260 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c s1 = c & MBFL_WCSPLANE_MASK; c 262 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c == 0xa5) { /* YEN SIGN */ c 264 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c == 0x203e) { /* OVER LINE */ c 266 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c == 0xff3c) { /* FULLWIDTH REVERSE SOLIDUS */ c 268 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c == 0xff5e) { /* FULLWIDTH TILDE */ c 270 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c == 0x2225) { /* PARALLEL TO */ c 272 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c == 0xff0d) { /* FULLWIDTH HYPHEN-MINUS */ c 274 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c == 0xffe0) { /* FULLWIDTH CENT SIGN */ c 276 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c == 0xffe1) { /* FULLWIDTH POUND SIGN */ c 278 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c == 0xffe2) { /* FULLWIDTH NOT SIGN */ c 287 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c if (c == cp932ext1_ucs_table[c1]) { c 297 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c if (c == cp932ext3_ucs_table[c1]) { c 304 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c if (c == 0) { c 323 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 327 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c return c; c 330 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c static int mbfl_filt_ident_sjis_open(int c, mbfl_identify_filter *filter) c 333 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c if (c < 0x40 || c > 0xfc || c == 0x7f) { /* bad */ c 337 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c >= 0 && c < 0x80) { /* latin ok */ c 339 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c > 0xa0 && c < 0xe0) { /* kana ok */ c 341 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c } else if (c > 0x80 && c < 0xfd && c != 0xa0) { /* kanji first char */ c 347 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.c return c; c 41 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.h int mbfl_filt_conv_sjis_open_wchar(int c, mbfl_convert_filter *filter); c 42 ext/mbstring/libmbfl/filters/mbfilter_sjis_open.h int mbfl_filt_conv_wchar_sjis_open(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c mbfl_filt_tl_jisx0201_jisx0208(int c, mbfl_convert_filter *filt) c 46 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c s = c; c 49 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c && c >= 0x21 && c <= 0x7d && c != 0x22 && c != 0x27 && c != 0x5c) { c 51 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c s = c + 0xfee0; c 53 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c ((c >= 0x41 && c <= 0x5a) || (c >= 0x61 && c <= 0x7a))) { c 55 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c s = c + 0xfee0; c 57 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c c >= 0x30 && c <= 0x39) { c 59 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c s = c + 0xfee0; c 60 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if ((mode & MBFL_FILT_TL_HAN2ZEN_SPACE) && c == 0x20) { c 71 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if (c >= 0xff61 && c <= 0xff9f) { c 74 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if (c == 0xff9e && ((n >= 22 && n <= 36) || (n >= 42 && n <= 46))) { c 77 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0xff9e && n == 19) { c 80 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0xff9f && (n >= 42 && n <= 46)) { c 85 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c filt->cache = c; c 90 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c filt->cache = c; c 91 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c return c; c 103 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if (c >= 0xff61 && c <= 0xff9f) { c 106 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if (c == 0xff9e && ((n >= 22 && n <= 36) || (n >= 42 && n <= 46))) { c 109 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0xff9f && (n >= 42 && n <= 46)) { c 114 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c filt->cache = c; c 119 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c filt->cache = c; c 120 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c return c; c 130 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c c >= 0xff61 && c <= 0xff9f) { c 132 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c s = 0x3000 + hankana2zenkana_table[c - 0xff60]; c 134 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c && c >= 0xff61 && c <= 0xff9f) { c 136 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c s = 0x3000 + hankana2zenhira_table[c - 0xff60]; c 142 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if (c == 0x5c) { c 144 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0xa5) { /* YEN SIGN */ c 146 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x7e) { c 148 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x203e) { /* OVERLINE */ c 150 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x27) { c 152 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x22) { c 157 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if (c == 0x5c) { c 159 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x7e) { c 161 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x27) { c 163 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x22) { c 169 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if ((mode & 0x10) && c >= 0xff01 && c <= 0xff5d && c != 0xff02 && c != 0xff07 && c!= 0xff3c) { /* all except <"> <'> <\> <~> */ c 170 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c s = c - 0xfee0; c 171 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if ((mode & 0x20) && ((c >= 0xff21 && c <= 0xff3a) || (c >= 0xff41 && c <= 0xff5a))) { /* alpha */ c 172 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c s = c - 0xfee0; c 173 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if ((mode & 0x40) && (c >= 0xff10 && c <= 0xff19)) { /* num */ c 174 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c s = c - 0xfee0; c 175 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if ((mode & 0x80) && (c == 0x3000)) { /* spase */ c 177 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if ((mode & 0x10) && (c == 0x2212)) { /* MINUS SIGN */ c 186 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c c >= 0x30a1 && c <= 0x30f4) { c 188 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c n = c - 0x30a1; c 196 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c c >= 0x3041 && c <= 0x3093) { c 198 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c n = c - 0x3041; c 205 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x3001) { c 207 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x3002) { c 209 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x300c) { c 211 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x300d) { c 213 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x309b) { c 215 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x309c) { c 217 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x30fc) { c 219 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x30fb) { c 225 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c c >= 0x3041 && c <= 0x3093) { c 227 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c s = c + 0x60; c 229 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c c >= 0x30a1 && c <= 0x30f3) { c 231 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c s = c - 0x60; c 236 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if (c == 0xffe5) { /* FULLWIDTH YEN SIGN */ c 238 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0xff3c) { /* FULLWIDTH REVERSE SOLIDUS */ c 240 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0xffe3) { /* FULLWIDTH MACRON */ c 242 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x203e) { /* OVERLINE */ c 244 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x2018) { /* LEFT SINGLE QUOTATION MARK*/ c 246 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x2019) { /* RIGHT SINGLE QUOTATION MARK */ c 248 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x201c) { /* LEFT DOUBLE QUOTATION MARK */ c 250 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0x201d) { /* RIGHT DOUBLE QUOTATION MARK */ c 256 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c if (c == 0xff3c) { /* FULLWIDTH REVERSE SOLIDUS */ c 258 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0xff5e) { /* FULLWIDTH TILDE */ c 260 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0xff07) { /* FULLWIDTH APOSTROPHE */ c 262 ext/mbstring/libmbfl/filters/mbfilter_tl_jisx0201_jisx0208.c } else if (c == 0xff02) { /* FULLWIDTH QUOTATION MARK */ c 125 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c int mbfl_filt_conv_ucs2_wchar(int c, mbfl_convert_filter *filter) c 133 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c n = c & 0xff; c 135 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c n = (c & 0xff) << 8; c 142 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c n = (c & 0xff) << 8; c 144 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c n = c & 0xff; c 161 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c return c; c 167 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c int mbfl_filt_conv_ucs2be_wchar(int c, mbfl_convert_filter *filter) c 173 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c n = (c & 0xff) << 8; c 177 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c n = (c & 0xff) | filter->cache; c 180 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c return c; c 186 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c int mbfl_filt_conv_wchar_ucs2be(int c, mbfl_convert_filter *filter) c 188 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c if (c >= 0 && c < MBFL_WCSPLANE_UCS2MAX) { c 189 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); c 190 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c CK((*filter->output_function)(c & 0xff, filter->data)); c 193 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 197 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c return c; c 203 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c int mbfl_filt_conv_ucs2le_wchar(int c, mbfl_convert_filter *filter) c 209 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c n = c & 0xff; c 213 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c n = ((c & 0xff) << 8) | filter->cache; c 216 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c return c; c 223 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c int mbfl_filt_conv_wchar_ucs2le(int c, mbfl_convert_filter *filter) c 225 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c if (c >= 0 && c < MBFL_WCSPLANE_UCS2MAX) { c 226 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c CK((*filter->output_function)(c & 0xff, filter->data)); c 227 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); c 230 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 234 ext/mbstring/libmbfl/filters/mbfilter_ucs2.c return c; c 45 ext/mbstring/libmbfl/filters/mbfilter_ucs2.h int mbfl_filt_conv_ucs2_wchar(int c, mbfl_convert_filter *filter); c 46 ext/mbstring/libmbfl/filters/mbfilter_ucs2.h int mbfl_filt_conv_ucs2be_wchar(int c, mbfl_convert_filter *filter); c 47 ext/mbstring/libmbfl/filters/mbfilter_ucs2.h int mbfl_filt_conv_wchar_ucs2be(int c, mbfl_convert_filter *filter); c 48 ext/mbstring/libmbfl/filters/mbfilter_ucs2.h int mbfl_filt_conv_ucs2le_wchar(int c, mbfl_convert_filter *filter); c 49 ext/mbstring/libmbfl/filters/mbfilter_ucs2.h int mbfl_filt_conv_wchar_ucs2le(int c, mbfl_convert_filter *filter); c 126 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c int mbfl_filt_conv_ucs4_wchar(int c, mbfl_convert_filter *filter) c 134 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c n = c & 0xff; c 136 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c n = (c & 0xff) << 24; c 143 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c n = (c & 0xff) << 8; c 145 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c n = (c & 0xff) << 16; c 152 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c n = (c & 0xff) << 16; c 154 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c n = (c & 0xff) << 8; c 161 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c n = (c & 0xff) << 24; c 163 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c n = c & 0xff; c 180 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c return c; c 186 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c int mbfl_filt_conv_ucs4be_wchar(int c, mbfl_convert_filter *filter) c 192 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c n = (c & 0xff) << 24; c 196 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c n = (c & 0xff) << 16; c 200 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c n = (c & 0xff) << 8; c 204 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c n = (c & 0xff) | filter->cache; c 207 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c return c; c 213 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c int mbfl_filt_conv_wchar_ucs4be(int c, mbfl_convert_filter *filter) c 215 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c if (c >= 0 && c < MBFL_WCSGROUP_UCS4MAX) { c 216 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); c 217 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); c 218 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); c 219 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c CK((*filter->output_function)(c & 0xff, filter->data)); c 222 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 226 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c return c; c 232 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c int mbfl_filt_conv_ucs4le_wchar(int c, mbfl_convert_filter *filter) c 238 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c n = (c & 0xff); c 242 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c n = (c & 0xff) << 8; c 246 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c n = (c & 0xff) << 16; c 250 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c n = ((c & 0xff) << 24) | filter->cache; c 253 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c return c; c 259 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c int mbfl_filt_conv_wchar_ucs4le(int c, mbfl_convert_filter *filter) c 261 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c if (c >= 0 && c < MBFL_WCSGROUP_UCS4MAX) { c 262 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c CK((*filter->output_function)(c & 0xff, filter->data)); c 263 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); c 264 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); c 265 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); c 268 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 272 ext/mbstring/libmbfl/filters/mbfilter_ucs4.c return c; c 43 ext/mbstring/libmbfl/filters/mbfilter_ucs4.h int mbfl_filt_conv_ucs4_wchar(int c, mbfl_convert_filter *filter); c 44 ext/mbstring/libmbfl/filters/mbfilter_ucs4.h int mbfl_filt_conv_ucs4be_wchar(int c, mbfl_convert_filter *filter); c 45 ext/mbstring/libmbfl/filters/mbfilter_ucs4.h int mbfl_filt_conv_wchar_ucs4be(int c, mbfl_convert_filter *filter); c 46 ext/mbstring/libmbfl/filters/mbfilter_ucs4.h int mbfl_filt_conv_ucs4le_wchar(int c, mbfl_convert_filter *filter); c 47 ext/mbstring/libmbfl/filters/mbfilter_ucs4.h int mbfl_filt_conv_wchar_ucs4le(int c, mbfl_convert_filter *filter); c 39 ext/mbstring/libmbfl/filters/mbfilter_uhc.c static int mbfl_filt_ident_uhc(int c, mbfl_identify_filter *filter); c 102 ext/mbstring/libmbfl/filters/mbfilter_uhc.c mbfl_filt_conv_uhc_wchar(int c, mbfl_convert_filter *filter) c 108 ext/mbstring/libmbfl/filters/mbfilter_uhc.c if (c >= 0 && c < 0x80) { /* latin */ c 109 ext/mbstring/libmbfl/filters/mbfilter_uhc.c CK((*filter->output_function)(c, filter->data)); c 110 ext/mbstring/libmbfl/filters/mbfilter_uhc.c } else if (c > 0x80 && c < 0xff && c != 0xc9) { /* dbcs lead byte */ c 112 ext/mbstring/libmbfl/filters/mbfilter_uhc.c filter->cache = c; c 114 ext/mbstring/libmbfl/filters/mbfilter_uhc.c w = c & MBFL_WCSGROUP_MASK; c 125 ext/mbstring/libmbfl/filters/mbfilter_uhc.c w = (c1 - 0x81)*190 + (c - 0x41); c 133 ext/mbstring/libmbfl/filters/mbfilter_uhc.c w = (c1 - 0xa1)*190 + (c - 0x41); c 141 ext/mbstring/libmbfl/filters/mbfilter_uhc.c w = (c1 - 0xc7)*94 + (c - 0xa1); c 151 ext/mbstring/libmbfl/filters/mbfilter_uhc.c w = (c1 << 8) | c; c 157 ext/mbstring/libmbfl/filters/mbfilter_uhc.c if ((c >= 0 && c < 0x21) || c == 0x7f) { /* CTLs */ c 158 ext/mbstring/libmbfl/filters/mbfilter_uhc.c CK((*filter->output_function)(c, filter->data)); c 160 ext/mbstring/libmbfl/filters/mbfilter_uhc.c w = (c1 << 8) | c; c 173 ext/mbstring/libmbfl/filters/mbfilter_uhc.c return c; c 180 ext/mbstring/libmbfl/filters/mbfilter_uhc.c mbfl_filt_conv_wchar_uhc(int c, mbfl_convert_filter *filter) c 185 ext/mbstring/libmbfl/filters/mbfilter_uhc.c if (c >= ucs_a1_uhc_table_min && c < ucs_a1_uhc_table_max) { c 186 ext/mbstring/libmbfl/filters/mbfilter_uhc.c s = ucs_a1_uhc_table[c - ucs_a1_uhc_table_min]; c 187 ext/mbstring/libmbfl/filters/mbfilter_uhc.c } else if (c >= ucs_a2_uhc_table_min && c < ucs_a2_uhc_table_max) { c 188 ext/mbstring/libmbfl/filters/mbfilter_uhc.c s = ucs_a2_uhc_table[c - ucs_a2_uhc_table_min]; c 189 ext/mbstring/libmbfl/filters/mbfilter_uhc.c } else if (c >= ucs_a3_uhc_table_min && c < ucs_a3_uhc_table_max) { c 190 ext/mbstring/libmbfl/filters/mbfilter_uhc.c s = ucs_a3_uhc_table[c - ucs_a3_uhc_table_min]; c 191 ext/mbstring/libmbfl/filters/mbfilter_uhc.c } else if (c >= ucs_i_uhc_table_min && c < ucs_i_uhc_table_max) { c 192 ext/mbstring/libmbfl/filters/mbfilter_uhc.c s = ucs_i_uhc_table[c - ucs_i_uhc_table_min]; c 193 ext/mbstring/libmbfl/filters/mbfilter_uhc.c } else if (c >= ucs_s_uhc_table_min && c < ucs_s_uhc_table_max) { c 194 ext/mbstring/libmbfl/filters/mbfilter_uhc.c s = ucs_s_uhc_table[c - ucs_s_uhc_table_min]; c 195 ext/mbstring/libmbfl/filters/mbfilter_uhc.c } else if (c >= ucs_r1_uhc_table_min && c < ucs_r1_uhc_table_max) { c 196 ext/mbstring/libmbfl/filters/mbfilter_uhc.c s = ucs_r1_uhc_table[c - ucs_r1_uhc_table_min]; c 197 ext/mbstring/libmbfl/filters/mbfilter_uhc.c } else if (c >= ucs_r2_uhc_table_min && c < ucs_r2_uhc_table_max) { c 198 ext/mbstring/libmbfl/filters/mbfilter_uhc.c s = ucs_r2_uhc_table[c - ucs_r2_uhc_table_min]; c 201 ext/mbstring/libmbfl/filters/mbfilter_uhc.c c1 = c & ~MBFL_WCSPLANE_MASK; c 203 ext/mbstring/libmbfl/filters/mbfilter_uhc.c s = c & MBFL_WCSPLANE_MASK; c 205 ext/mbstring/libmbfl/filters/mbfilter_uhc.c if (c == 0) { c 220 ext/mbstring/libmbfl/filters/mbfilter_uhc.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 224 ext/mbstring/libmbfl/filters/mbfilter_uhc.c return c; c 227 ext/mbstring/libmbfl/filters/mbfilter_uhc.c static int mbfl_filt_ident_uhc(int c, mbfl_identify_filter *filter) c 231 ext/mbstring/libmbfl/filters/mbfilter_uhc.c if (c >= 0 && c < 0x80) { /* ok */ c 233 ext/mbstring/libmbfl/filters/mbfilter_uhc.c } else if (c >= 0x81 && c <= 0xa0) { /* dbcs first char */ c 235 ext/mbstring/libmbfl/filters/mbfilter_uhc.c } else if (c >= 0xa1 && c <= 0xc6) { /* dbcs first char */ c 237 ext/mbstring/libmbfl/filters/mbfilter_uhc.c } else if (c >= 0xc7 && c <= 0xfe) { /* dbcs first char */ c 245 ext/mbstring/libmbfl/filters/mbfilter_uhc.c if (c < 0x41 || (c > 0x5a && c < 0x61) c 246 ext/mbstring/libmbfl/filters/mbfilter_uhc.c || (c > 0x7a && c < 0x81) || c > 0xfe) { /* bad */ c 253 ext/mbstring/libmbfl/filters/mbfilter_uhc.c if (c < 0xa1 || c > 0xfe) { /* bad */ c 264 ext/mbstring/libmbfl/filters/mbfilter_uhc.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_uhc.h int mbfl_filt_conv_uhc_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_uhc.h int mbfl_filt_conv_wchar_uhc(int c, mbfl_convert_filter *filter); c 125 ext/mbstring/libmbfl/filters/mbfilter_utf16.c int mbfl_filt_conv_utf16_wchar(int c, mbfl_convert_filter *filter) c 133 ext/mbstring/libmbfl/filters/mbfilter_utf16.c n = c & 0xff; c 135 ext/mbstring/libmbfl/filters/mbfilter_utf16.c n = (c & 0xff) << 8; c 142 ext/mbstring/libmbfl/filters/mbfilter_utf16.c n = (c & 0xff) << 8; c 144 ext/mbstring/libmbfl/filters/mbfilter_utf16.c n = c & 0xff; c 182 ext/mbstring/libmbfl/filters/mbfilter_utf16.c return c; c 188 ext/mbstring/libmbfl/filters/mbfilter_utf16.c int mbfl_filt_conv_utf16be_wchar(int c, mbfl_convert_filter *filter) c 195 ext/mbstring/libmbfl/filters/mbfilter_utf16.c n = (c & 0xff) << 8; c 200 ext/mbstring/libmbfl/filters/mbfilter_utf16.c n = (filter->cache & 0xff00) | (c & 0xff); c 221 ext/mbstring/libmbfl/filters/mbfilter_utf16.c return c; c 227 ext/mbstring/libmbfl/filters/mbfilter_utf16.c int mbfl_filt_conv_wchar_utf16be(int c, mbfl_convert_filter *filter) c 231 ext/mbstring/libmbfl/filters/mbfilter_utf16.c if (c >= 0 && c < MBFL_WCSPLANE_UCS2MAX) { c 232 ext/mbstring/libmbfl/filters/mbfilter_utf16.c CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); c 233 ext/mbstring/libmbfl/filters/mbfilter_utf16.c CK((*filter->output_function)(c & 0xff, filter->data)); c 234 ext/mbstring/libmbfl/filters/mbfilter_utf16.c } else if (c >= MBFL_WCSPLANE_SUPMIN && c < MBFL_WCSPLANE_SUPMAX) { c 235 ext/mbstring/libmbfl/filters/mbfilter_utf16.c n = ((c >> 10) - 0x40) | 0xd800; c 238 ext/mbstring/libmbfl/filters/mbfilter_utf16.c n = (c & 0x3ff) | 0xdc00; c 243 ext/mbstring/libmbfl/filters/mbfilter_utf16.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 247 ext/mbstring/libmbfl/filters/mbfilter_utf16.c return c; c 253 ext/mbstring/libmbfl/filters/mbfilter_utf16.c int mbfl_filt_conv_utf16le_wchar(int c, mbfl_convert_filter *filter) c 260 ext/mbstring/libmbfl/filters/mbfilter_utf16.c n = c & 0xff; c 265 ext/mbstring/libmbfl/filters/mbfilter_utf16.c n = (filter->cache & 0xff) | ((c & 0xff) << 8); c 286 ext/mbstring/libmbfl/filters/mbfilter_utf16.c return c; c 292 ext/mbstring/libmbfl/filters/mbfilter_utf16.c int mbfl_filt_conv_wchar_utf16le(int c, mbfl_convert_filter *filter) c 296 ext/mbstring/libmbfl/filters/mbfilter_utf16.c if (c >= 0 && c < MBFL_WCSPLANE_UCS2MAX) { c 297 ext/mbstring/libmbfl/filters/mbfilter_utf16.c CK((*filter->output_function)(c & 0xff, filter->data)); c 298 ext/mbstring/libmbfl/filters/mbfilter_utf16.c CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); c 299 ext/mbstring/libmbfl/filters/mbfilter_utf16.c } else if (c >= MBFL_WCSPLANE_SUPMIN && c < MBFL_WCSPLANE_SUPMAX) { c 300 ext/mbstring/libmbfl/filters/mbfilter_utf16.c n = ((c >> 10) - 0x40) | 0xd800; c 303 ext/mbstring/libmbfl/filters/mbfilter_utf16.c n = (c & 0x3ff) | 0xdc00; c 308 ext/mbstring/libmbfl/filters/mbfilter_utf16.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 312 ext/mbstring/libmbfl/filters/mbfilter_utf16.c return c; c 43 ext/mbstring/libmbfl/filters/mbfilter_utf16.h int mbfl_filt_conv_utf16_wchar(int c, mbfl_convert_filter *filter); c 44 ext/mbstring/libmbfl/filters/mbfilter_utf16.h int mbfl_filt_conv_utf16be_wchar(int c, mbfl_convert_filter *filter); c 45 ext/mbstring/libmbfl/filters/mbfilter_utf16.h int mbfl_filt_conv_wchar_utf16be(int c, mbfl_convert_filter *filter); c 46 ext/mbstring/libmbfl/filters/mbfilter_utf16.h int mbfl_filt_conv_utf16le_wchar(int c, mbfl_convert_filter *filter); c 47 ext/mbstring/libmbfl/filters/mbfilter_utf16.h int mbfl_filt_conv_wchar_utf16le(int c, mbfl_convert_filter *filter); c 125 ext/mbstring/libmbfl/filters/mbfilter_utf32.c int mbfl_filt_conv_utf32_wchar(int c, mbfl_convert_filter *filter) c 133 ext/mbstring/libmbfl/filters/mbfilter_utf32.c n = c & 0xff; c 135 ext/mbstring/libmbfl/filters/mbfilter_utf32.c n = (c & 0xff) << 24; c 142 ext/mbstring/libmbfl/filters/mbfilter_utf32.c n = (c & 0xff) << 8; c 144 ext/mbstring/libmbfl/filters/mbfilter_utf32.c n = (c & 0xff) << 16; c 151 ext/mbstring/libmbfl/filters/mbfilter_utf32.c n = (c & 0xff) << 16; c 153 ext/mbstring/libmbfl/filters/mbfilter_utf32.c n = (c & 0xff) << 8; c 160 ext/mbstring/libmbfl/filters/mbfilter_utf32.c n = (c & 0xff) << 24; c 162 ext/mbstring/libmbfl/filters/mbfilter_utf32.c n = c & 0xff; c 184 ext/mbstring/libmbfl/filters/mbfilter_utf32.c return c; c 190 ext/mbstring/libmbfl/filters/mbfilter_utf32.c int mbfl_filt_conv_utf32be_wchar(int c, mbfl_convert_filter *filter) c 196 ext/mbstring/libmbfl/filters/mbfilter_utf32.c n = (c & 0xff) << 24; c 200 ext/mbstring/libmbfl/filters/mbfilter_utf32.c n = (c & 0xff) << 16; c 204 ext/mbstring/libmbfl/filters/mbfilter_utf32.c n = (c & 0xff) << 8; c 208 ext/mbstring/libmbfl/filters/mbfilter_utf32.c n = (c & 0xff) | filter->cache; c 216 ext/mbstring/libmbfl/filters/mbfilter_utf32.c return c; c 222 ext/mbstring/libmbfl/filters/mbfilter_utf32.c int mbfl_filt_conv_wchar_utf32be(int c, mbfl_convert_filter *filter) c 224 ext/mbstring/libmbfl/filters/mbfilter_utf32.c if (c >= 0 && c < MBFL_WCSPLANE_UTF32MAX) { c 225 ext/mbstring/libmbfl/filters/mbfilter_utf32.c CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); c 226 ext/mbstring/libmbfl/filters/mbfilter_utf32.c CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); c 227 ext/mbstring/libmbfl/filters/mbfilter_utf32.c CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); c 228 ext/mbstring/libmbfl/filters/mbfilter_utf32.c CK((*filter->output_function)(c & 0xff, filter->data)); c 231 ext/mbstring/libmbfl/filters/mbfilter_utf32.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 235 ext/mbstring/libmbfl/filters/mbfilter_utf32.c return c; c 241 ext/mbstring/libmbfl/filters/mbfilter_utf32.c int mbfl_filt_conv_utf32le_wchar(int c, mbfl_convert_filter *filter) c 247 ext/mbstring/libmbfl/filters/mbfilter_utf32.c n = (c & 0xff); c 251 ext/mbstring/libmbfl/filters/mbfilter_utf32.c n = (c & 0xff) << 8; c 255 ext/mbstring/libmbfl/filters/mbfilter_utf32.c n = (c & 0xff) << 16; c 259 ext/mbstring/libmbfl/filters/mbfilter_utf32.c n = ((c & 0xff) << 24) | filter->cache; c 267 ext/mbstring/libmbfl/filters/mbfilter_utf32.c return c; c 273 ext/mbstring/libmbfl/filters/mbfilter_utf32.c int mbfl_filt_conv_wchar_utf32le(int c, mbfl_convert_filter *filter) c 275 ext/mbstring/libmbfl/filters/mbfilter_utf32.c if (c >= 0 && c < MBFL_WCSPLANE_UTF32MAX) { c 276 ext/mbstring/libmbfl/filters/mbfilter_utf32.c CK((*filter->output_function)(c & 0xff, filter->data)); c 277 ext/mbstring/libmbfl/filters/mbfilter_utf32.c CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); c 278 ext/mbstring/libmbfl/filters/mbfilter_utf32.c CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); c 279 ext/mbstring/libmbfl/filters/mbfilter_utf32.c CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); c 282 ext/mbstring/libmbfl/filters/mbfilter_utf32.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 286 ext/mbstring/libmbfl/filters/mbfilter_utf32.c return c; c 43 ext/mbstring/libmbfl/filters/mbfilter_utf32.h int mbfl_filt_conv_utf32_wchar(int c, mbfl_convert_filter *filter); c 44 ext/mbstring/libmbfl/filters/mbfilter_utf32.h int mbfl_filt_conv_utf32be_wchar(int c, mbfl_convert_filter *filter); c 45 ext/mbstring/libmbfl/filters/mbfilter_utf32.h int mbfl_filt_conv_wchar_utf32be(int c, mbfl_convert_filter *filter); c 46 ext/mbstring/libmbfl/filters/mbfilter_utf32.h int mbfl_filt_conv_utf32le_wchar(int c, mbfl_convert_filter *filter); c 47 ext/mbstring/libmbfl/filters/mbfilter_utf32.h int mbfl_filt_conv_wchar_utf32le(int c, mbfl_convert_filter *filter); c 37 ext/mbstring/libmbfl/filters/mbfilter_utf7.c static int mbfl_filt_ident_utf7(int c, mbfl_identify_filter *filter); c 94 ext/mbstring/libmbfl/filters/mbfilter_utf7.c int mbfl_filt_conv_utf7_wchar(int c, mbfl_convert_filter *filter) c 100 ext/mbstring/libmbfl/filters/mbfilter_utf7.c if (c >= 0x41 && c <= 0x5a) { /* A - Z */ c 101 ext/mbstring/libmbfl/filters/mbfilter_utf7.c n = c - 65; c 102 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c >= 0x61 && c <= 0x7a) { /* a - z */ c 103 ext/mbstring/libmbfl/filters/mbfilter_utf7.c n = c - 71; c 104 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c >= 0x30 && c <= 0x39) { /* 0 - 9 */ c 105 ext/mbstring/libmbfl/filters/mbfilter_utf7.c n = c + 4; c 106 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x2b) { /* '+' */ c 108 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x2f) { /* '/' */ c 112 ext/mbstring/libmbfl/filters/mbfilter_utf7.c if (c == 0x2d) { c 116 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c >= 0 && c < 0x80) { /* ASCII exclude '-' */ c 117 ext/mbstring/libmbfl/filters/mbfilter_utf7.c CK((*filter->output_function)(c, filter->data)); c 119 ext/mbstring/libmbfl/filters/mbfilter_utf7.c s = c & MBFL_WCSGROUP_MASK; c 125 ext/mbstring/libmbfl/filters/mbfilter_utf7.c return c; c 132 ext/mbstring/libmbfl/filters/mbfilter_utf7.c if (c == 0x2b) { /* '+' shift character */ c 134 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c >= 0 && c < 0x80) { /* ASCII */ c 135 ext/mbstring/libmbfl/filters/mbfilter_utf7.c CK((*filter->output_function)(c, filter->data)); c 137 ext/mbstring/libmbfl/filters/mbfilter_utf7.c s = c & MBFL_WCSGROUP_MASK; c 241 ext/mbstring/libmbfl/filters/mbfilter_utf7.c return c; c 247 ext/mbstring/libmbfl/filters/mbfilter_utf7.c int mbfl_filt_conv_wchar_utf7(int c, mbfl_convert_filter *filter) c 252 ext/mbstring/libmbfl/filters/mbfilter_utf7.c if (c >= 0 && c < 0x80) { /* ASCII */ c 253 ext/mbstring/libmbfl/filters/mbfilter_utf7.c if (c >= 0x41 && c <= 0x5a) { /* A - Z */ c 255 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c >= 0x61 && c <= 0x7a) { /* a - z */ c 257 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c >= 0x30 && c <= 0x39) { /* 0 - 9 */ c 259 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == '\0') { /* '\0' */ c 261 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x2f) { /* '/' */ c 263 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x2d) { /* '-' */ c 265 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x20) { /* SPACE */ c 267 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x09) { /* HTAB */ c 269 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x0d) { /* CR */ c 271 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x0a) { /* LF */ c 273 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x27) { /* "'" */ c 275 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x28) { /* '(' */ c 277 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x29) { /* ')' */ c 279 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x2c) { /* ',' */ c 281 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x2e) { /* '.' */ c 283 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x3a) { /* ':' */ c 285 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x3f) { /* '?' */ c 288 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c >= 0 && c < MBFL_WCSPLANE_UCS2MAX) { c 290 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c >= MBFL_WCSPLANE_SUPMIN && c < MBFL_WCSPLANE_SUPMAX) { c 291 ext/mbstring/libmbfl/filters/mbfilter_utf7.c s = ((c >> 10) - 0x40) | 0xd800; c 293 ext/mbstring/libmbfl/filters/mbfilter_utf7.c s = (c & 0x3ff) | 0xdc00; c 295 ext/mbstring/libmbfl/filters/mbfilter_utf7.c return c; c 298 ext/mbstring/libmbfl/filters/mbfilter_utf7.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 300 ext/mbstring/libmbfl/filters/mbfilter_utf7.c return c; c 306 ext/mbstring/libmbfl/filters/mbfilter_utf7.c CK((*filter->output_function)(c, filter->data)); c 310 ext/mbstring/libmbfl/filters/mbfilter_utf7.c filter->cache = c; c 324 ext/mbstring/libmbfl/filters/mbfilter_utf7.c CK((*filter->output_function)(c, filter->data)); c 328 ext/mbstring/libmbfl/filters/mbfilter_utf7.c filter->cache = ((s & 0xf) << 16) | c; c 342 ext/mbstring/libmbfl/filters/mbfilter_utf7.c CK((*filter->output_function)(c, filter->data)); c 346 ext/mbstring/libmbfl/filters/mbfilter_utf7.c filter->cache = ((s & 0x3) << 16) | c; c 359 ext/mbstring/libmbfl/filters/mbfilter_utf7.c CK((*filter->output_function)(c, filter->data)); c 363 ext/mbstring/libmbfl/filters/mbfilter_utf7.c filter->cache = c; c 372 ext/mbstring/libmbfl/filters/mbfilter_utf7.c return c; c 416 ext/mbstring/libmbfl/filters/mbfilter_utf7.c static int mbfl_filt_ident_utf7(int c, mbfl_identify_filter *filter) c 423 ext/mbstring/libmbfl/filters/mbfilter_utf7.c if (c == 0x2b) { /* '+' shift character */ c 425 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x5c || c == 0x7e || c < 0 || c > 0x7f) { /* illegal character */ c 434 ext/mbstring/libmbfl/filters/mbfilter_utf7.c if (c >= 0x41 && c <= 0x5a) { /* A - Z */ c 436 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c >= 0x61 && c <= 0x7a) { /* a - z */ c 438 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c >= 0x30 && c <= 0x39) { /* 0 - 9 */ c 440 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x2b) { /* '+' */ c 442 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c == 0x2f) { /* '/' */ c 446 ext/mbstring/libmbfl/filters/mbfilter_utf7.c if (filter->status == 1 && c != 0x2d) { c 448 ext/mbstring/libmbfl/filters/mbfilter_utf7.c } else if (c < 0 || c > 0x7f) { c 462 ext/mbstring/libmbfl/filters/mbfilter_utf7.c return c; c 40 ext/mbstring/libmbfl/filters/mbfilter_utf7.h int mbfl_filt_conv_utf7_wchar(int c, mbfl_convert_filter *filter); c 41 ext/mbstring/libmbfl/filters/mbfilter_utf7.h int mbfl_filt_conv_wchar_utf7(int c, mbfl_convert_filter *filter); c 67 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c int mbfl_filt_conv_utf7imap_wchar(int c, mbfl_convert_filter *filter) c 73 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c if (c >= 0x41 && c <= 0x5a) { /* A - Z */ c 74 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c n = c - 65; c 75 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c } else if (c >= 0x61 && c <= 0x7a) { /* a - z */ c 76 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c n = c - 71; c 77 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c } else if (c >= 0x30 && c <= 0x39) { /* 0 - 9 */ c 78 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c n = c + 4; c 79 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c } else if (c == 0x2b) { /* '+' */ c 81 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c } else if (c == 0x2c) { /* ',' */ c 85 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c if (c == 0x2d) { c 89 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c } else if (c >= 0 && c < 0x80) { /* ASCII exclude '-' */ c 90 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c CK((*filter->output_function)(c, filter->data)); c 92 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c s = c & MBFL_WCSGROUP_MASK; c 98 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c return c; c 105 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c if (c == 0x26) { /* '&' shift character */ c 107 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c } else if (c >= 0 && c < 0x80) { /* ASCII */ c 108 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c CK((*filter->output_function)(c, filter->data)); c 110 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c s = c & MBFL_WCSGROUP_MASK; c 214 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c return c; c 234 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c int mbfl_filt_conv_wchar_utf7imap(int c, mbfl_convert_filter *filter) c 239 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c if (c == 0x26) { c 241 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c } else if ((c >= 0x20 && c <= 0x7e) || c == 0) { c 243 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c } else if (c >= 0 && c < MBFL_WCSPLANE_UCS2MAX) { c 245 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c } else if (c >= MBFL_WCSPLANE_SUPMIN && c < MBFL_WCSPLANE_SUPMAX) { c 246 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c s = ((c >> 10) - 0x40) | 0xd800; c 248 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c s = (c & 0x3ff) | 0xdc00; c 250 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c return c; c 253 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 255 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c return c; c 261 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c CK((*filter->output_function)(c, filter->data)); c 268 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c filter->cache = c; c 280 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c CK((*filter->output_function)(c, filter->data)); c 287 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c filter->cache = ((s & 0xf) << 16) | c; c 299 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c CK((*filter->output_function)(c, filter->data)); c 306 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c filter->cache = ((s & 0x3) << 16) | c; c 317 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c CK((*filter->output_function)(c, filter->data)); c 324 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c filter->cache = c; c 333 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.c return c; c 39 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.h int mbfl_filt_conv_utf7imap_wchar(int c, mbfl_convert_filter *filter); c 40 ext/mbstring/libmbfl/filters/mbfilter_utf7imap.h int mbfl_filt_conv_wchar_utf7imap(int c, mbfl_convert_filter *filter); c 37 ext/mbstring/libmbfl/filters/mbfilter_utf8.c int mbfl_filt_ident_utf8(int c, mbfl_identify_filter *filter); c 96 ext/mbstring/libmbfl/filters/mbfilter_utf8.c int mbfl_filt_put_invalid_char(int c, mbfl_convert_filter *filter) c 99 ext/mbstring/libmbfl/filters/mbfilter_utf8.c w = c & MBFL_WCSGROUP_MASK; c 111 ext/mbstring/libmbfl/filters/mbfilter_utf8.c int mbfl_filt_conv_utf8_wchar(int c, mbfl_convert_filter *filter) c 118 ext/mbstring/libmbfl/filters/mbfilter_utf8.c if (c < 0x80) { c 119 ext/mbstring/libmbfl/filters/mbfilter_utf8.c CK((*filter->output_function)(c, filter->data)); c 120 ext/mbstring/libmbfl/filters/mbfilter_utf8.c } else if (c >= 0xc2 && c <= 0xdf) { /* 2byte code first char: 0xc2-0xdf */ c 122 ext/mbstring/libmbfl/filters/mbfilter_utf8.c filter->cache = c & 0x1f; c 123 ext/mbstring/libmbfl/filters/mbfilter_utf8.c } else if (c >= 0xe0 && c <= 0xef) { /* 3byte code first char: 0xe0-0xef */ c 125 ext/mbstring/libmbfl/filters/mbfilter_utf8.c filter->cache = c & 0xf; c 126 ext/mbstring/libmbfl/filters/mbfilter_utf8.c } else if (c >= 0xf0 && c <= 0xf4) { /* 3byte code first char: 0xf0-0xf4 */ c 128 ext/mbstring/libmbfl/filters/mbfilter_utf8.c filter->cache = c & 0x7; c 130 ext/mbstring/libmbfl/filters/mbfilter_utf8.c CK(mbfl_filt_put_invalid_char(c, filter)); c 137 ext/mbstring/libmbfl/filters/mbfilter_utf8.c if (c >= 0x80 && c <= 0xbf) { c 138 ext/mbstring/libmbfl/filters/mbfilter_utf8.c s = (filter->cache<<6) | (c & 0x3f); c 147 ext/mbstring/libmbfl/filters/mbfilter_utf8.c s = (filter->cache<<6) | (c & 0x3f); c 150 ext/mbstring/libmbfl/filters/mbfilter_utf8.c if ((c >= 0x80 && c <= 0xbf) && c 151 ext/mbstring/libmbfl/filters/mbfilter_utf8.c ((c1 == 0x0 && c >= 0xa0) || c 152 ext/mbstring/libmbfl/filters/mbfilter_utf8.c (c1 == 0xd && c < 0xa0) || c 162 ext/mbstring/libmbfl/filters/mbfilter_utf8.c s = (filter->cache<<6) | (c & 0x3f); c 165 ext/mbstring/libmbfl/filters/mbfilter_utf8.c if ((c >= 0x80 && c <= 0xbf) && c 166 ext/mbstring/libmbfl/filters/mbfilter_utf8.c ((c1 == 0x0 && c >= 0x90) || c 167 ext/mbstring/libmbfl/filters/mbfilter_utf8.c (c1 == 0x4 && c < 0x90) || c 177 ext/mbstring/libmbfl/filters/mbfilter_utf8.c if (c >= 0x80 && c <= 0xbf) { c 178 ext/mbstring/libmbfl/filters/mbfilter_utf8.c filter->cache = (filter->cache<<6) | (c & 0x3f); c 190 ext/mbstring/libmbfl/filters/mbfilter_utf8.c return c; c 216 ext/mbstring/libmbfl/filters/mbfilter_utf8.c int mbfl_filt_conv_wchar_utf8(int c, mbfl_convert_filter *filter) c 218 ext/mbstring/libmbfl/filters/mbfilter_utf8.c if (c >= 0 && c < 0x110000) { c 219 ext/mbstring/libmbfl/filters/mbfilter_utf8.c if (c < 0x80) { c 220 ext/mbstring/libmbfl/filters/mbfilter_utf8.c CK((*filter->output_function)(c, filter->data)); c 221 ext/mbstring/libmbfl/filters/mbfilter_utf8.c } else if (c < 0x800) { c 222 ext/mbstring/libmbfl/filters/mbfilter_utf8.c CK((*filter->output_function)(((c >> 6) & 0x1f) | 0xc0, filter->data)); c 223 ext/mbstring/libmbfl/filters/mbfilter_utf8.c CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); c 224 ext/mbstring/libmbfl/filters/mbfilter_utf8.c } else if (c < 0x10000) { c 225 ext/mbstring/libmbfl/filters/mbfilter_utf8.c CK((*filter->output_function)(((c >> 12) & 0x0f) | 0xe0, filter->data)); c 226 ext/mbstring/libmbfl/filters/mbfilter_utf8.c CK((*filter->output_function)(((c >> 6) & 0x3f) | 0x80, filter->data)); c 227 ext/mbstring/libmbfl/filters/mbfilter_utf8.c CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); c 229 ext/mbstring/libmbfl/filters/mbfilter_utf8.c CK((*filter->output_function)(((c >> 18) & 0x07) | 0xf0, filter->data)); c 230 ext/mbstring/libmbfl/filters/mbfilter_utf8.c CK((*filter->output_function)(((c >> 12) & 0x3f) | 0x80, filter->data)); c 231 ext/mbstring/libmbfl/filters/mbfilter_utf8.c CK((*filter->output_function)(((c >> 6) & 0x3f) | 0x80, filter->data)); c 232 ext/mbstring/libmbfl/filters/mbfilter_utf8.c CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); c 236 ext/mbstring/libmbfl/filters/mbfilter_utf8.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 240 ext/mbstring/libmbfl/filters/mbfilter_utf8.c return c; c 243 ext/mbstring/libmbfl/filters/mbfilter_utf8.c int mbfl_filt_ident_utf8(int c, mbfl_identify_filter *filter) c 250 ext/mbstring/libmbfl/filters/mbfilter_utf8.c if (c < 0x80) { c 251 ext/mbstring/libmbfl/filters/mbfilter_utf8.c if (c < 0) { c 257 ext/mbstring/libmbfl/filters/mbfilter_utf8.c } else if (c < 0xc0) { c 260 ext/mbstring/libmbfl/filters/mbfilter_utf8.c if ((c1 == 0x0 && c >= 0xa0) || c 261 ext/mbstring/libmbfl/filters/mbfilter_utf8.c (c1 == 0xd && c < 0xa0) || c 270 ext/mbstring/libmbfl/filters/mbfilter_utf8.c if ((c1 == 0x0 && c >= 0x90) || c 272 ext/mbstring/libmbfl/filters/mbfilter_utf8.c (c1 == 0x4 && c < 0x90)) { c 292 ext/mbstring/libmbfl/filters/mbfilter_utf8.c } else if (c < 0xc2) { /* 0xc0,0xc1 */ c 300 ext/mbstring/libmbfl/filters/mbfilter_utf8.c if (c < 0xe0) { /* 2 byte code first char */ c 302 ext/mbstring/libmbfl/filters/mbfilter_utf8.c } else if (c < 0xf0) { /* 3 byte code 1st char */ c 304 ext/mbstring/libmbfl/filters/mbfilter_utf8.c filter->status |= (c & 0xf) << 8; c 305 ext/mbstring/libmbfl/filters/mbfilter_utf8.c } else if (c < 0xf5) { /* 4 byte code 1st char */ c 307 ext/mbstring/libmbfl/filters/mbfilter_utf8.c filter->status |= (c & 0x7) << 8; c 313 ext/mbstring/libmbfl/filters/mbfilter_utf8.c return c; c 38 ext/mbstring/libmbfl/filters/mbfilter_utf8.h int mbfl_filt_conv_utf8_wchar(int c, mbfl_convert_filter *filter); c 39 ext/mbstring/libmbfl/filters/mbfilter_utf8.h int mbfl_filt_conv_wchar_utf8(int c, mbfl_convert_filter *filter); c 39 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c extern int mbfl_filt_ident_utf8(int c, mbfl_identify_filter *filter); c 186 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c int mbfl_filt_put_invalid_char(int c, mbfl_convert_filter *filter); c 191 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c int mbfl_filt_conv_utf8_mobile_wchar(int c, mbfl_convert_filter *filter) c 198 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c if (c < 0x80) { c 199 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c CK((*filter->output_function)(c, filter->data)); c 200 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c } else if (c >= 0xc2 && c <= 0xdf) { /* 2byte code first char: 0xc2-0xdf */ c 202 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c filter->cache = c & 0x1f; c 203 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c } else if (c >= 0xe0 && c <= 0xef) { /* 3byte code first char: 0xe0-0xef */ c 205 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c filter->cache = c & 0xf; c 206 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c } else if (c >= 0xf0 && c <= 0xf4) { /* 3byte code first char: 0xf0-0xf4 */ c 208 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c filter->cache = c & 0x7; c 210 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c CK(mbfl_filt_put_invalid_char(c, filter)); c 217 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c if (c >= 0x80 && c <= 0xbf) { c 218 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c s = (filter->cache<<6) | (c & 0x3f); c 245 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c s = (filter->cache<<6) | (c & 0x3f); c 248 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c if ((c >= 0x80 && c <= 0xbf) && c 249 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c ((c1 == 0x0 && c >= 0xa0) || c 250 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c (c1 == 0xd && c < 0xa0) || c 260 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c s = (filter->cache<<6) | (c & 0x3f); c 263 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c if ((c >= 0x80 && c <= 0xbf) && c 264 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c ((c1 == 0x0 && c >= 0x90) || c 265 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c (c1 == 0x4 && c < 0x90) || c 275 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c if (c >= 0x80 && c <= 0xbf) { c 276 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c filter->cache = (filter->cache<<6) | (c & 0x3f); c 288 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c return c; c 294 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c int mbfl_filt_conv_wchar_utf8_mobile(int c, mbfl_convert_filter *filter) c 296 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c if (c >= 0 && c < 0x110000) { c 300 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c mbfilter_unicode2sjis_emoji_docomo(c, &s1, filter) > 0 && c 303 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c mbfilter_unicode2sjis_emoji_kddi(c, &s1, filter) > 0 && c 306 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c mbfilter_unicode2sjis_emoji_kddi(c, &s1, filter) > 0 && c 309 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c mbfilter_unicode2sjis_emoji_sb(c, &s1, filter) > 0 && c 311 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c c = c1; c 315 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c return c; c 318 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c if (c < 0x80) { c 319 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c CK((*filter->output_function)(c, filter->data)); c 320 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c } else if (c < 0x800) { c 321 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c CK((*filter->output_function)(((c >> 6) & 0x1f) | 0xc0, filter->data)); c 322 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); c 323 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c } else if (c < 0x10000) { c 324 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c CK((*filter->output_function)(((c >> 12) & 0x0f) | 0xe0, filter->data)); c 325 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c CK((*filter->output_function)(((c >> 6) & 0x3f) | 0x80, filter->data)); c 326 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); c 328 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c CK((*filter->output_function)(((c >> 18) & 0x07) | 0xf0, filter->data)); c 329 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c CK((*filter->output_function)(((c >> 12) & 0x3f) | 0x80, filter->data)); c 330 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c CK((*filter->output_function)(((c >> 6) & 0x3f) | 0x80, filter->data)); c 331 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); c 335 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c CK(mbfl_filt_conv_illegal_output(c, filter)); c 339 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.c return c; c 54 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.h int mbfl_filt_conv_utf8_mobile_wchar(int c, mbfl_convert_filter *filter); c 55 ext/mbstring/libmbfl/filters/mbfilter_utf8_mobile.h int mbfl_filt_conv_wchar_utf8_mobile(int c, mbfl_convert_filter *filter); c 58 ext/mbstring/libmbfl/filters/mbfilter_uuencode.c #define UUDEC(c) (char)(((c)-' ')&077) c 65 ext/mbstring/libmbfl/filters/mbfilter_uuencode.c int mbfl_filt_conv_uudec(int c, mbfl_convert_filter * filter) c 72 ext/mbstring/libmbfl/filters/mbfilter_uuencode.c if (filter->cache == 0 && c == 'b') c 77 ext/mbstring/libmbfl/filters/mbfilter_uuencode.c else if (c == '\n') c 83 ext/mbstring/libmbfl/filters/mbfilter_uuencode.c if (uuenc_begin_text[filter->cache++] != c) { c 96 ext/mbstring/libmbfl/filters/mbfilter_uuencode.c if (c == '\n') c 101 ext/mbstring/libmbfl/filters/mbfilter_uuencode.c n = UUDEC(c); c 107 ext/mbstring/libmbfl/filters/mbfilter_uuencode.c n = UUDEC(c); c 113 ext/mbstring/libmbfl/filters/mbfilter_uuencode.c n = UUDEC(c); c 119 ext/mbstring/libmbfl/filters/mbfilter_uuencode.c n = UUDEC(c); c 126 ext/mbstring/libmbfl/filters/mbfilter_uuencode.c int A, B, C, D = UUDEC(c); c 149 ext/mbstring/libmbfl/filters/mbfilter_uuencode.c return c; c 36 ext/mbstring/libmbfl/filters/mbfilter_uuencode.h int mbfl_filt_conv_uudec(int c, mbfl_convert_filter *filter); c 240 ext/mbstring/libmbfl/mbfl/mbfilter.c int (*filter_function)(int c, mbfl_convert_filter *filter); c 270 ext/mbstring/libmbfl/mbfl/mbfilter.c int (*filter_function)(int c, mbfl_convert_filter *filter); c 804 ext/mbstring/libmbfl/mbfl/mbfilter.c filter_count_output(int c, void *data) c 807 ext/mbstring/libmbfl/mbfl/mbfilter.c return c; c 884 ext/mbstring/libmbfl/mbfl/mbfilter.c collector_strpos(int c, void* data) c 890 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c == (int)pc->needle.buffer[pc->needle_pos]) { c 915 ext/mbstring/libmbfl/mbfl/mbfilter.c if (*m != c) { c 928 ext/mbstring/libmbfl/mbfl/mbfilter.c return c; c 1069 ext/mbstring/libmbfl/mbfl/mbfilter.c unsigned char c = *--p; c 1070 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c < 0x80) { c 1072 ext/mbstring/libmbfl/mbfl/mbfilter.c } else if ((c & 0xc0) != 0x80) { c 1098 ext/mbstring/libmbfl/mbfl/mbfilter.c unsigned char c = needle_u8_val[i]; c 1099 ext/mbstring/libmbfl/mbfl/mbfilter.c jtbl[c] = i; c 1100 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c < 0x80) { c 1102 ext/mbstring/libmbfl/mbfl/mbfilter.c } else if ((c & 0xc0) != 0x80) { c 1107 ext/mbstring/libmbfl/mbfl/mbfilter.c unsigned char c = needle_u8_val[0]; c 1108 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c < 0x80) { c 1110 ext/mbstring/libmbfl/mbfl/mbfilter.c } else if ((c & 0xc0) != 0x80) { c 1121 ext/mbstring/libmbfl/mbfl/mbfilter.c unsigned char c; c 1126 ext/mbstring/libmbfl/mbfl/mbfilter.c c = *(--p); c 1127 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c < 0x80) { c 1129 ext/mbstring/libmbfl/mbfl/mbfilter.c } else if ((c & 0xc0) != 0x80) { c 1156 ext/mbstring/libmbfl/mbfl/mbfilter.c unsigned char c = *--p; c 1157 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c < 0x80) { c 1159 ext/mbstring/libmbfl/mbfl/mbfilter.c } else if ((c & 0xc0) != 0x80) { c 1283 ext/mbstring/libmbfl/mbfl/mbfilter.c collector_substr(int c, void* data) c 1292 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pc->next_filter->filter_function)(c, pc->next_filter); c 1297 ext/mbstring/libmbfl/mbfl/mbfilter.c return c; c 1753 ext/mbstring/libmbfl/mbfl/mbfilter.c static int is_fullwidth(int c) c 1757 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c < mbfl_eaw_table[0].begin) { c 1762 ext/mbstring/libmbfl/mbfl/mbfilter.c if (mbfl_eaw_table[i].begin <= c && c <= mbfl_eaw_table[i].end) { c 1771 ext/mbstring/libmbfl/mbfl/mbfilter.c filter_count_width(int c, void* data) c 1773 ext/mbstring/libmbfl/mbfl/mbfilter.c (*(int *)data) += (is_fullwidth(c) ? 2: 1); c 1774 ext/mbstring/libmbfl/mbfl/mbfilter.c return c; c 1828 ext/mbstring/libmbfl/mbfl/mbfilter.c collector_strimwidth(int c, void* data) c 1834 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pc->decoder->filter_function)(c, pc->decoder); c 1838 ext/mbstring/libmbfl/mbfl/mbfilter.c pc->outwidth += (is_fullwidth(c) ? 2: 1); c 1846 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pc->decoder->filter_function)(c, pc->decoder); c 1847 ext/mbstring/libmbfl/mbfl/mbfilter.c c = -1; c 1849 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pc->decoder->filter_function)(c, pc->decoder); c 1856 ext/mbstring/libmbfl/mbfl/mbfilter.c return c; c 2090 ext/mbstring/libmbfl/mbfl/mbfilter.c mime_header_encoder_block_collector(int c, void *data) c 2100 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pe->conv2_filter->filter_function)(c, pe->conv2_filter); c 2115 ext/mbstring/libmbfl/mbfl/mbfilter.c c = (*pe->conv2_filter->filter_function)(c, pe->conv2_filter); c 2117 ext/mbstring/libmbfl/mbfl/mbfilter.c c = (*pe->conv2_filter->filter_function)(c, pe->conv2_filter); c 2123 ext/mbstring/libmbfl/mbfl/mbfilter.c c = (*pe->conv2_filter->filter_function)(c, pe->conv2_filter); c 2128 ext/mbstring/libmbfl/mbfl/mbfilter.c return c; c 2132 ext/mbstring/libmbfl/mbfl/mbfilter.c mime_header_encoder_collector(int c, void *data) c 2158 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pe->block_filter->filter_function)(c, pe->block_filter); c 2162 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c <= 0x00ff && !qp_table[(c & 0xff)]) { /* ordinary characters */ c 2163 ext/mbstring/libmbfl/mbfl/mbfilter.c mbfl_memory_device_output(c, &pe->tmpdev); c 2165 ext/mbstring/libmbfl/mbfl/mbfilter.c } else if (pe->status1 == 0 && c == 0x20) { /* repeat SPACE */ c 2166 ext/mbstring/libmbfl/mbfl/mbfilter.c mbfl_memory_device_output(c, &pe->tmpdev); c 2168 ext/mbstring/libmbfl/mbfl/mbfilter.c if (pe->tmpdev.pos < 74 && c == 0x20) { c 2191 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pe->block_filter->filter_function)(c, pe->block_filter); c 2198 ext/mbstring/libmbfl/mbfl/mbfilter.c return c; c 2334 ext/mbstring/libmbfl/mbfl/mbfilter.c mime_header_encoder_feed(int c, struct mime_header_encoder_data *pe) c 2336 ext/mbstring/libmbfl/mbfl/mbfilter.c return (*pe->conv1_filter->filter_function)(c, pe->conv1_filter); c 2405 ext/mbstring/libmbfl/mbfl/mbfilter.c mime_header_decoder_collector(int c, void* data) c 2412 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c == 0x3f) { /* ? */ c 2413 ext/mbstring/libmbfl/mbfl/mbfilter.c mbfl_memory_device_output(c, &pd->tmpdev); c 2419 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c == 0x3d) { /* = */ c 2420 ext/mbstring/libmbfl/mbfl/mbfilter.c mbfl_memory_device_output(c, &pd->tmpdev); c 2421 ext/mbstring/libmbfl/mbfl/mbfilter.c } else if (c == 0x0d || c == 0x0a) { /* CR or LF */ c 2424 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pd->conv1_filter->filter_function)(c, pd->conv1_filter); c 2430 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c == 0x3f) { /* ? */ c 2439 ext/mbstring/libmbfl/mbfl/mbfilter.c mbfl_memory_device_output(c, &pd->tmpdev); c 2441 ext/mbstring/libmbfl/mbfl/mbfilter.c mbfl_memory_device_output(c, &pd->tmpdev); c 2444 ext/mbstring/libmbfl/mbfl/mbfilter.c } else if (c == 0x0d || c == 0x0a) { /* CR or LF */ c 2455 ext/mbstring/libmbfl/mbfl/mbfilter.c mbfl_memory_device_output(c, &pd->tmpdev); c 2456 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c == 0x42 || c == 0x62) { /* 'B' or 'b' */ c 2459 ext/mbstring/libmbfl/mbfl/mbfilter.c } else if (c == 0x51 || c == 0x71) { /* 'Q' or 'q' */ c 2463 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c == 0x0d || c == 0x0a) { /* CR or LF */ c 2474 ext/mbstring/libmbfl/mbfl/mbfilter.c mbfl_memory_device_output(c, &pd->tmpdev); c 2475 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c == 0x3f) { /* ? */ c 2482 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c == 0x0d || c == 0x0a) { /* CR or LF */ c 2493 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c == 0x3f) { /* ? */ c 2496 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pd->deco_filter->filter_function)(c, pd->deco_filter); c 2500 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c == 0x3d) { /* = */ c 2508 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c != 0x3f) { /* ? */ c 2509 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pd->deco_filter->filter_function)(c, pd->deco_filter); c 2515 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c == 0x0d || c == 0x0a) { /* CR LF */ c 2518 ext/mbstring/libmbfl/mbfl/mbfilter.c mbfl_memory_device_output(c, &pd->tmpdev); c 2519 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c == 0x3d) { /* = */ c 2521 ext/mbstring/libmbfl/mbfl/mbfilter.c } else if (c != 0x20 && c != 0x09) { /* not space */ c 2530 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c != 0x0d && c != 0x0a && c != 0x20 && c != 0x09) { c 2531 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c == 0x3d) { /* = */ c 2537 ext/mbstring/libmbfl/mbfl/mbfilter.c mbfl_memory_device_output(c, &pd->tmpdev); c 2541 ext/mbstring/libmbfl/mbfl/mbfilter.c mbfl_memory_device_output(c, &pd->tmpdev); c 2549 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c == 0x0d || c == 0x0a) { /* CR LF */ c 2551 ext/mbstring/libmbfl/mbfl/mbfilter.c } else if (c == 0x3d) { /* = */ c 2552 ext/mbstring/libmbfl/mbfl/mbfilter.c mbfl_memory_device_output(c, &pd->tmpdev); c 2555 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pd->conv1_filter->filter_function)(c, pd->conv1_filter); c 2560 ext/mbstring/libmbfl/mbfl/mbfilter.c return c; c 2634 ext/mbstring/libmbfl/mbfl/mbfilter.c mime_header_decoder_feed(int c, struct mime_header_decoder_data *pd) c 2636 ext/mbstring/libmbfl/mbfl/mbfilter.c return mime_header_decoder_collector(c, pd); c 2687 ext/mbstring/libmbfl/mbfl/mbfilter.c collector_encode_htmlnumericentity(int c, void *data) c 2697 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c >= mapelm[0] && c <= mapelm[1]) { c 2698 ext/mbstring/libmbfl/mbfl/mbfilter.c s = (c + mapelm[2]) & mapelm[3]; c 2726 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pc->decoder->filter_function)(c, pc->decoder); c 2729 ext/mbstring/libmbfl/mbfl/mbfilter.c return c; c 2733 ext/mbstring/libmbfl/mbfl/mbfilter.c collector_decode_htmlnumericentity(int c, void *data) c 2740 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c == 0x23) { /* '#' */ c 2745 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pc->decoder->filter_function)(c, pc->decoder); c 2749 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c == 0x78) { /* 'x' */ c 2751 ext/mbstring/libmbfl/mbfl/mbfilter.c } else if (c >= 0x30 && c <= 0x39) { /* '0' - '9' */ c 2752 ext/mbstring/libmbfl/mbfl/mbfilter.c pc->cache = c - 0x30; c 2759 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pc->decoder->filter_function)(c, pc->decoder); c 2765 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c >= 0x30 && c <= 0x39) { /* '0' - '9' */ c 2771 ext/mbstring/libmbfl/mbfl/mbfilter.c s = pc->cache*10 + c - 0x30; c 2787 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c != 0x3b) { /* ';' */ c 2788 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pc->decoder->filter_function)(c, pc->decoder); c 2812 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pc->decoder->filter_function)(c, pc->decoder); c 2816 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c >= 0x30 && c <= 0x39) { /* '0' - '9' */ c 2817 ext/mbstring/libmbfl/mbfl/mbfilter.c pc->cache = c - 0x30; c 2820 ext/mbstring/libmbfl/mbfl/mbfilter.c } else if (c >= 0x41 && c <= 0x46) { /* 'A' - 'F' */ c 2821 ext/mbstring/libmbfl/mbfl/mbfilter.c pc->cache = c - 0x41 + 10; c 2824 ext/mbstring/libmbfl/mbfl/mbfilter.c } else if (c >= 0x61 && c <= 0x66) { /* 'a' - 'f' */ c 2825 ext/mbstring/libmbfl/mbfl/mbfilter.c pc->cache = c - 0x61 + 10; c 2833 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pc->decoder->filter_function)(c, pc->decoder); c 2839 ext/mbstring/libmbfl/mbfl/mbfilter.c if ((c >= 0x30 && c <= 0x39) || c 2840 ext/mbstring/libmbfl/mbfl/mbfilter.c (c >= 0x41 && c <= 0x46) || c 2841 ext/mbstring/libmbfl/mbfl/mbfilter.c (c >= 0x61 && c <= 0x66)) { /* '0' - '9' or 'a' - 'f' */ c 2847 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c >= 0x30 && c <= 0x39) { c 2848 ext/mbstring/libmbfl/mbfl/mbfilter.c s = pc->cache*16 + (c - 0x30); c 2849 ext/mbstring/libmbfl/mbfl/mbfilter.c } else if (c >= 0x41 && c <= 0x46) { c 2850 ext/mbstring/libmbfl/mbfl/mbfilter.c s = pc->cache*16 + (c - 0x41 + 10); c 2852 ext/mbstring/libmbfl/mbfl/mbfilter.c s = pc->cache*16 + (c - 0x61 + 10); c 2869 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c != 0x3b) { /* ';' */ c 2870 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pc->decoder->filter_function)(c, pc->decoder); c 2895 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pc->decoder->filter_function)(c, pc->decoder); c 2899 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c == 0x26) { /* '&' */ c 2902 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pc->decoder->filter_function)(c, pc->decoder); c 2907 ext/mbstring/libmbfl/mbfl/mbfilter.c return c; c 2911 ext/mbstring/libmbfl/mbfl/mbfilter.c collector_encode_hex_htmlnumericentity(int c, void *data) c 2921 ext/mbstring/libmbfl/mbfl/mbfilter.c if (c >= mapelm[0] && c <= mapelm[1]) { c 2922 ext/mbstring/libmbfl/mbfl/mbfilter.c s = (c + mapelm[2]) & mapelm[3]; c 2951 ext/mbstring/libmbfl/mbfl/mbfilter.c (*pc->decoder->filter_function)(c, pc->decoder); c 2954 ext/mbstring/libmbfl/mbfl/mbfilter.c return c; c 242 ext/mbstring/libmbfl/mbfl/mbfilter.h mime_header_encoder_feed(int c, struct mime_header_encoder_data *pe); c 267 ext/mbstring/libmbfl/mbfl/mbfilter.h mime_header_decoder_feed(int c, struct mime_header_decoder_data *pd); c 61 ext/mbstring/libmbfl/mbfl/mbfilter_pass.c int mbfl_filt_conv_pass(int c, mbfl_convert_filter *filter) c 63 ext/mbstring/libmbfl/mbfl/mbfilter_pass.c return (*filter->output_function)(c, filter->data); c 39 ext/mbstring/libmbfl/mbfl/mbfilter_pass.h MBFLAPI extern int mbfl_filt_conv_pass(int c, mbfl_convert_filter *filter); c 393 ext/mbstring/libmbfl/mbfl/mbfl_convert.c mbfl_convert_filter_feed(int c, mbfl_convert_filter *filter) c 395 ext/mbstring/libmbfl/mbfl/mbfl_convert.c return (*filter->filter_function)(c, filter); c 455 ext/mbstring/libmbfl/mbfl/mbfl_convert.c int c; c 457 ext/mbstring/libmbfl/mbfl/mbfl_convert.c while ((c = *p++) != '\0') { c 458 ext/mbstring/libmbfl/mbfl/mbfl_convert.c if ((*filter->filter_function)(c, filter) < 0) { c 468 ext/mbstring/libmbfl/mbfl/mbfl_convert.c mbfl_filt_conv_illegal_output(int c, mbfl_convert_filter *filter) c 480 ext/mbstring/libmbfl/mbfl/mbfl_convert.c if (c >= 0) { c 481 ext/mbstring/libmbfl/mbfl/mbfl_convert.c if (c < MBFL_WCSGROUP_UCS4MAX) { /* unicode */ c 484 ext/mbstring/libmbfl/mbfl/mbfl_convert.c if (c < MBFL_WCSGROUP_WCHARMAX) { c 485 ext/mbstring/libmbfl/mbfl/mbfl_convert.c m = c & ~MBFL_WCSPLANE_MASK; c 509 ext/mbstring/libmbfl/mbfl/mbfl_convert.c c &= MBFL_WCSPLANE_MASK; c 512 ext/mbstring/libmbfl/mbfl/mbfl_convert.c c &= MBFL_WCSGROUP_MASK; c 519 ext/mbstring/libmbfl/mbfl/mbfl_convert.c n = (c >> r) & 0xf; c 536 ext/mbstring/libmbfl/mbfl/mbfl_convert.c if (c >= 0) { c 537 ext/mbstring/libmbfl/mbfl/mbfl_convert.c if (c < MBFL_WCSGROUP_UCS4MAX) { /* unicode */ c 545 ext/mbstring/libmbfl/mbfl/mbfl_convert.c n = (c >> r) & 0xf; c 44 ext/mbstring/libmbfl/mbfl/mbfl_convert.h int (*filter_function)(int c, mbfl_convert_filter *filter); c 46 ext/mbstring/libmbfl/mbfl/mbfl_convert.h int (*output_function)(int c, void *data); c 64 ext/mbstring/libmbfl/mbfl/mbfl_convert.h int (*filter_function)(int c, mbfl_convert_filter *filter); c 83 ext/mbstring/libmbfl/mbfl/mbfl_convert.h MBFLAPI extern int mbfl_convert_filter_feed(int c, mbfl_convert_filter *filter); c 87 ext/mbstring/libmbfl/mbfl/mbfl_convert.h MBFLAPI extern int mbfl_filt_conv_illegal_output(int c, mbfl_convert_filter *filter); c 38 ext/mbstring/libmbfl/mbfl/mbfl_filter_output.c int mbfl_filter_output_pipe(int c, void* data) c 41 ext/mbstring/libmbfl/mbfl/mbfl_filter_output.c return (*filter->filter_function)(c, filter); c 54 ext/mbstring/libmbfl/mbfl/mbfl_filter_output.c int mbfl_filter_output_null(int c, void* data) c 56 ext/mbstring/libmbfl/mbfl/mbfl_filter_output.c return c; c 34 ext/mbstring/libmbfl/mbfl/mbfl_filter_output.h MBFLAPI extern int mbfl_filter_output_pipe(int c, void* data); c 36 ext/mbstring/libmbfl/mbfl/mbfl_filter_output.h MBFLAPI extern int mbfl_filter_output_null(int c, void* data); c 289 ext/mbstring/libmbfl/mbfl/mbfl_ident.c int mbfl_filt_ident_false(int c, mbfl_identify_filter *filter) c 292 ext/mbstring/libmbfl/mbfl/mbfl_ident.c return c; c 301 ext/mbstring/libmbfl/mbfl/mbfl_ident.c int mbfl_filt_ident_true(int c, mbfl_identify_filter *filter) c 303 ext/mbstring/libmbfl/mbfl/mbfl_ident.c return c; c 45 ext/mbstring/libmbfl/mbfl/mbfl_ident.h int (*filter_function)(int c, mbfl_identify_filter *filter); c 56 ext/mbstring/libmbfl/mbfl/mbfl_ident.h int (*filter_function)(int c, mbfl_identify_filter *filter); c 71 ext/mbstring/libmbfl/mbfl/mbfl_ident.h MBFLAPI extern int mbfl_filt_ident_false(int c, mbfl_identify_filter *filter); c 72 ext/mbstring/libmbfl/mbfl/mbfl_ident.h MBFLAPI extern int mbfl_filt_ident_true(int c, mbfl_identify_filter *filter); c 139 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c mbfl_memory_device_output(int c, void *data) c 157 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->buffer[device->pos++] = (unsigned char)c; c 158 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c return c; c 162 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c mbfl_memory_device_output2(int c, void *data) c 180 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->buffer[device->pos++] = (unsigned char)((c >> 8) & 0xff); c 181 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->buffer[device->pos++] = (unsigned char)(c & 0xff); c 183 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c return c; c 187 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c mbfl_memory_device_output4(int c, void* data) c 205 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->buffer[device->pos++] = (unsigned char)((c >> 24) & 0xff); c 206 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->buffer[device->pos++] = (unsigned char)((c >> 16) & 0xff); c 207 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->buffer[device->pos++] = (unsigned char)((c >> 8) & 0xff); c 208 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->buffer[device->pos++] = (unsigned char)(c & 0xff); c 210 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c return c; c 329 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c mbfl_wchar_device_output(int c, void *data) c 347 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c device->buffer[device->pos++] = c; c 349 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.c return c; c 59 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.h MBFLAPI extern int mbfl_memory_device_output(int c, void *data); c 60 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.h MBFLAPI extern int mbfl_memory_device_output2(int c, void *data); c 61 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.h MBFLAPI extern int mbfl_memory_device_output4(int c, void *data); c 67 ext/mbstring/libmbfl/mbfl/mbfl_memory_device.h MBFLAPI extern int mbfl_wchar_device_output(int c, void *data); c 64 ext/mbstring/libmbfl/tests/conv_encoding.c const int c = fgetc(stdin); c 66 ext/mbstring/libmbfl/tests/conv_encoding.c if (c == EOF) { c 69 ext/mbstring/libmbfl/tests/conv_encoding.c } else if (c == 10) { c 75 ext/mbstring/libmbfl/tests/conv_encoding.c } else if (c == 13) { c 90 ext/mbstring/libmbfl/tests/conv_encoding.c dev.buffer[dev.pos++] = (unsigned char)c; c 208 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c unsigned char c = ((unsigned char *)buf_uni)[i]; c 211 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c buf_uni[i * 4 + 2] = "0123456789abcdef"[c >> 4]; c 212 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c buf_uni[i * 4 + 3] = "0123456789abcdef"[c & 15]; c 222 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c const int c = entry->cp_932[i]; c 223 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c if (c >= 0x100) { c 225 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c sprintf(buf_cp932, "%%%02x%%%02x", (c >> 8) & 0xff, c & 0xff); c 228 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c sprintf(buf_cp932, "%%%02x", c); c 248 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c unsigned char c = ((unsigned char *)buf_uni)[i]; c 250 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c buf_uni[i * 3 + 1] = "0123456789abcdef"[c >> 4]; c 251 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c buf_uni[i * 3 + 2] = "0123456789abcdef"[c & 15]; c 255 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c const int c = entry->cp_932[i]; c 256 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c if (c >= 0x100) c 257 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c sprintf(buf_cp932, "\\x%02x\\x%02x", (c >> 8) & 0xff, c & 0xff); c 259 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c sprintf(buf_cp932, "\\x%02x", c); c 281 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c unsigned char c = ((unsigned char *)buf_uni)[i]; c 284 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c buf_uni[i * 4 + 2] = "0123456789abcdef"[c >> 4]; c 285 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c buf_uni[i * 4 + 3] = "0123456789abcdef"[c & 15]; c 295 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c const int c = entry->cp_932[i]; c 296 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c if (c >= 0xa1 && c < 0xe0) { c 307 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c const int j = jisx0208_tl_map[c - 0xa0]; c 310 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c } else if (c >= 0x100) { c 311 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c const int j = ((((c & 0xff00) - (c >= 0xe000 ? 0xb000: 0x7000)) << 1) | ((c & 0xff) - (c & 0x80 ? 32: 31))) - ((c & 0xff) >= 159 ? 94: 0x100); c 316 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c sprintf(buf_cp50220, "%%%02x", c); c 335 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c unsigned char c = ((unsigned char *)buf_uni)[i]; c 338 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c buf_uni[i * 4 + 2] = "0123456789abcdef"[c >> 4]; c 339 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c buf_uni[i * 4 + 3] = "0123456789abcdef"[c & 15]; c 349 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c const int c = entry->cp_932[i]; c 350 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c if (c >= 0xa1 && c < 0xe0) { c 352 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c sprintf(buf_cp50220, "%%0e%%%02x%%0f", c - 0x80); c 353 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c } else if (c >= 0x100) { c 354 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c const int j = ((((c & 0xff00) - (c >= 0xe000 ? 0xb000: 0x7000)) << 1) | ((c & 0xff) - (c & 0x80 ? 32: 31))) - ((c & 0xff) >= 159 ? 94: 0x100); c 359 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c sprintf(buf_cp50220, "%%%02x", c); c 110 ext/mbstring/libmbfl/tests/conv_kana.c const int c = fgetc(stdin); c 112 ext/mbstring/libmbfl/tests/conv_kana.c if (c == EOF) { c 115 ext/mbstring/libmbfl/tests/conv_kana.c } else if (c == 10) { c 121 ext/mbstring/libmbfl/tests/conv_kana.c } else if (c == 13) { c 136 ext/mbstring/libmbfl/tests/conv_kana.c dev.buffer[dev.pos++] = (unsigned char)c; c 86 ext/mbstring/libmbfl/tests/emoji.c int c = (h<<(2+8)) | l; c 87 ext/mbstring/libmbfl/tests/emoji.c printf("U+%x\n",c+0x10000); c 73 ext/mbstring/libmbfl/tests/strcut.c const int c = fgetc(stdin); c 75 ext/mbstring/libmbfl/tests/strcut.c if (c == EOF) { c 78 ext/mbstring/libmbfl/tests/strcut.c } else if (c == 10) { c 84 ext/mbstring/libmbfl/tests/strcut.c } else if (c == 13) { c 99 ext/mbstring/libmbfl/tests/strcut.c dev.buffer[dev.pos++] = (unsigned char)c; c 44 ext/mbstring/libmbfl/tests/strwidth.c const int c = fgetc(stdin); c 46 ext/mbstring/libmbfl/tests/strwidth.c if (c == EOF) { c 49 ext/mbstring/libmbfl/tests/strwidth.c } else if (c == 10) { c 55 ext/mbstring/libmbfl/tests/strwidth.c } else if (c == 13) { c 70 ext/mbstring/libmbfl/tests/strwidth.c dev.buffer[dev.pos++] = (unsigned char)c; c 1374 ext/mbstring/mbstring.c int c; c 1391 ext/mbstring/mbstring.c c = strtol(ZSTR_VAL(new_value), &endptr, 0); c 1393 ext/mbstring/mbstring.c MBSTRG(filter_illegal_substchar) = c; c 1394 ext/mbstring/mbstring.c MBSTRG(current_filter_illegal_substchar) = c; c 2061 ext/mbstring/mbstring.c #define IS_SJIS1(c) ((((c)>=0x81 && (c)<=0x9f) || ((c)>=0xe0 && (c)<=0xf5)) ? 1 : 0) c 2062 ext/mbstring/mbstring.c #define IS_SJIS2(c) ((((c)>=0x40 && (c)<=0x7e) || ((c)>=0x80 && (c)<=0xfc)) ? 1 : 0) c 4766 ext/mbstring/mbstring.c MBSTRING_API char *php_mb_safe_strrchr_ex(const char *s, unsigned int c, size_t nbytes, const mbfl_encoding *enc) c 4776 ext/mbstring/mbstring.c if ((unsigned char)*p == (unsigned char)c) { c 4791 ext/mbstring/mbstring.c if ((unsigned char)*p == (unsigned char)c) { c 4807 ext/mbstring/mbstring.c MBSTRING_API char *php_mb_safe_strrchr(const char *s, unsigned int c, size_t nbytes) c 4809 ext/mbstring/mbstring.c return php_mb_safe_strrchr_ex(s, c, nbytes, MBSTRG(internal_encoding)); c 134 ext/mbstring/mbstring.h MBSTRING_API char *php_mb_safe_strrchr_ex(const char *s, unsigned int c, c 136 ext/mbstring/mbstring.h MBSTRING_API char *php_mb_safe_strrchr(const char *s, unsigned int c, c 140 ext/mbstring/oniguruma/enc/big5.c const UChar c = *s; c 142 ext/mbstring/oniguruma/enc/big5.c return (BIG5_ISMB_TRAIL(c) ? FALSE : TRUE); c 33 ext/mbstring/oniguruma/enc/cp1251.c #define ENC_CP1251_TO_LOWER_CASE(c) EncCP1251_ToLowerCaseTable[c] c 32 ext/mbstring/oniguruma/enc/euc_jp.c #define eucjp_islead(c) ((UChar )((c) - 0xa1) > 0xfe - 0xa1) c 62 ext/mbstring/oniguruma/enc/euc_jp.c int c, i, len; c 71 ext/mbstring/oniguruma/enc/euc_jp.c c = *p++; c 72 ext/mbstring/oniguruma/enc/euc_jp.c n <<= 8; n += c; c 168 ext/mbstring/oniguruma/enc/euc_jp.c const UChar c = *s; c 169 ext/mbstring/oniguruma/enc/euc_jp.c if (c <= 0x7e || c == 0x8e || c == 0x8f) c 92 ext/mbstring/oniguruma/enc/euc_kr.c #define euckr_islead(c) ((c) < 0xa1 || (c) == 0xff) c 116 ext/mbstring/oniguruma/enc/euc_kr.c const UChar c = *s; c 117 ext/mbstring/oniguruma/enc/euc_kr.c if (c <= 0x7e) return TRUE; c 83 ext/mbstring/oniguruma/enc/euc_tw.c #define euctw_islead(c) ((UChar )((c) - 0xa1) > 0xfe - 0xa1) c 107 ext/mbstring/oniguruma/enc/euc_tw.c const UChar c = *s; c 108 ext/mbstring/oniguruma/enc/euc_tw.c if (c <= 0x7e) return TRUE; c 32 ext/mbstring/oniguruma/enc/iso8859_10.c #define ENC_ISO_8859_10_TO_LOWER_CASE(c) EncISO_8859_10_ToLowerCaseTable[c] c 32 ext/mbstring/oniguruma/enc/iso8859_13.c #define ENC_ISO_8859_13_TO_LOWER_CASE(c) EncISO_8859_13_ToLowerCaseTable[c] c 32 ext/mbstring/oniguruma/enc/iso8859_14.c #define ENC_ISO_8859_14_TO_LOWER_CASE(c) EncISO_8859_14_ToLowerCaseTable[c] c 32 ext/mbstring/oniguruma/enc/iso8859_15.c #define ENC_ISO_8859_15_TO_LOWER_CASE(c) EncISO_8859_15_ToLowerCaseTable[c] c 32 ext/mbstring/oniguruma/enc/iso8859_16.c #define ENC_ISO_8859_16_TO_LOWER_CASE(c) EncISO_8859_16_ToLowerCaseTable[c] c 32 ext/mbstring/oniguruma/enc/iso8859_2.c #define ENC_ISO_8859_2_TO_LOWER_CASE(c) EncISO_8859_2_ToLowerCaseTable[c] c 32 ext/mbstring/oniguruma/enc/iso8859_3.c #define ENC_ISO_8859_3_TO_LOWER_CASE(c) EncISO_8859_3_ToLowerCaseTable[c] c 32 ext/mbstring/oniguruma/enc/iso8859_4.c #define ENC_ISO_8859_4_TO_LOWER_CASE(c) EncISO_8859_4_ToLowerCaseTable[c] c 32 ext/mbstring/oniguruma/enc/iso8859_5.c #define ENC_ISO_8859_5_TO_LOWER_CASE(c) EncISO_8859_5_ToLowerCaseTable[c] c 32 ext/mbstring/oniguruma/enc/iso8859_7.c #define ENC_ISO_8859_7_TO_LOWER_CASE(c) EncISO_8859_7_ToLowerCaseTable[c] c 32 ext/mbstring/oniguruma/enc/iso8859_9.c #define ENC_ISO_8859_9_TO_LOWER_CASE(c) EncISO_8859_9_ToLowerCaseTable[c] c 32 ext/mbstring/oniguruma/enc/koi8.c #define ENC_KOI8_TO_LOWER_CASE(c) EncKOI8_ToLowerCaseTable[c] c 32 ext/mbstring/oniguruma/enc/koi8_r.c #define ENC_KOI8_R_TO_LOWER_CASE(c) EncKOI8_R_ToLowerCaseTable[c] c 87 ext/mbstring/oniguruma/enc/mktable.c static int IsAlpha(int enc, int c) c 90 ext/mbstring/oniguruma/enc/mktable.c return isalpha(c); c 92 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x41 && c <= 0x5a) return 1; c 93 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x61 && c <= 0x7a) return 1; c 99 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaa) return 1; c 100 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5) return 1; c 101 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xba) return 1; c 102 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xd6) return 1; c 103 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xf6) return 1; c 104 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xff) return 1; c 108 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa1 || c == 0xa3) return 1; c 109 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa5 || c == 0xa6) return 1; c 110 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa9 && c <= 0xac) return 1; c 111 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xae && c <= 0xaf) return 1; c 112 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb1 || c == 0xb3) return 1; c 113 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5 || c == 0xb6) return 1; c 114 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb9 && c <= 0xbc) return 1; c 115 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xbe && c <= 0xbf) return 1; c 116 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xd6) return 1; c 117 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xf6) return 1; c 118 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xfe) return 1; c 122 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa1) return 1; c 123 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa6) return 1; c 124 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa9 && c <= 0xac) return 1; c 125 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaf) return 1; c 126 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb1) return 1; c 127 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5 || c == 0xb6) return 1; c 128 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb9 && c <= 0xbc) return 1; c 129 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbf) return 1; c 130 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xc2) return 1; c 131 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc4 && c <= 0xcf) return 1; c 132 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd1 && c <= 0xd6) return 1; c 133 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xe2) return 1; c 134 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xe4 && c <= 0xef) return 1; c 135 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf1 && c <= 0xf6) return 1; c 136 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xfe) return 1; c 140 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa1 && c <= 0xa3) return 1; c 141 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa5 || c == 0xa6) return 1; c 142 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa9 && c <= 0xac) return 1; c 143 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xae) return 1; c 144 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb1 || c == 0xb3) return 1; c 145 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5 || c == 0xb6) return 1; c 146 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb9 && c <= 0xbf) return 1; c 147 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xd6) return 1; c 148 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xf6) return 1; c 149 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xfe) return 1; c 153 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa1 && c <= 0xcf && c != 0xad) return 1; c 154 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd0 && c <= 0xff && c != 0xf0 && c != 0xfd) return 1; c 158 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc1 && c <= 0xda) return 1; c 159 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xe0 && c <= 0xf2) return 1; c 163 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb6) return 1; c 164 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb8 && c <= 0xba) return 1; c 165 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbc) return 1; c 166 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xbe && c <= 0xbf) return 1; c 167 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xc0) return 1; c 168 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc1 && c <= 0xdb && c != 0xd2) return 1; c 169 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xdc && c <= 0xfe) return 1; c 173 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5) return 1; c 174 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xe0 && c <= 0xfa) return 1; c 178 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa1 && c <= 0xa6) return 1; c 179 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa8 && c <= 0xac) return 1; c 180 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xae || c == 0xaf) return 1; c 181 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb1 && c <= 0xb6) return 1; c 182 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb8 && c <= 0xbc) return 1; c 183 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xbe && c <= 0xff) return 1; c 187 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa1 && c <= 0xda) return 1; c 188 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xdf && c <= 0xfb) return 1; c 192 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa8) return 1; c 193 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaa) return 1; c 194 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaf) return 1; c 195 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5) return 1; c 196 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb8) return 1; c 197 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xba) return 1; c 198 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xbf && c <= 0xd6) return 1; c 199 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xf6) return 1; c 200 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xfe) return 1; c 204 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa1 || c == 0xa2) return 1; c 205 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa4 || c == 0xa5) return 1; c 206 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa6 || c == 0xa8) return 1; c 207 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xaa && c <= 0xac) return 1; c 208 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xaf && c <= 0xb5) return 1; c 209 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb7 && c <= 0xff) return 1; c 213 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaa) return 1; c 214 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5) return 1; c 215 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xba) return 1; c 216 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xd6) return 1; c 217 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xf6) return 1; c 218 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xff) return 1; c 219 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa6) return 1; c 220 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa8) return 1; c 221 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb4) return 1; c 222 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb8) return 1; c 223 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbc) return 1; c 224 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbd) return 1; c 225 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbe) return 1; c 229 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa1) return 1; c 230 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa2) return 1; c 231 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa3) return 1; c 232 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa6) return 1; c 233 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa8) return 1; c 234 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaa) return 1; c 235 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xac) return 1; c 236 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xae) return 1; c 237 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaf) return 1; c 238 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb2) return 1; c 239 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb3) return 1; c 240 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb4) return 1; c 241 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb8 && c <= 0xba) return 1; c 242 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbc) return 1; c 243 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbd) return 1; c 244 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbe) return 1; c 245 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbf) return 1; c 246 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xde) return 1; c 247 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xdf && c <= 0xff) return 1; c 251 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa3 || c == 0xb3) return 1; c 254 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xff) return 1; c 264 ext/mbstring/oniguruma/enc/mktable.c static int IsBlank(int enc, int c) c 267 ext/mbstring/oniguruma/enc/mktable.c return isblank(c); c 269 ext/mbstring/oniguruma/enc/mktable.c if (c == 0x09 || c == 0x20) return 1; c 289 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa0) return 1; c 293 ext/mbstring/oniguruma/enc/mktable.c if (c == 0x9a) return 1; c 303 ext/mbstring/oniguruma/enc/mktable.c static int IsCntrl(int enc, int c) c 306 ext/mbstring/oniguruma/enc/mktable.c return iscntrl(c); c 308 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x00 && c <= 0x1F) return 1; c 312 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xad) return 1; c 330 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x7f && c <= 0x9F) return 1; c 335 ext/mbstring/oniguruma/enc/mktable.c if (c == 0x7f) return 1; c 345 ext/mbstring/oniguruma/enc/mktable.c static int IsDigit(int enc ARG_UNUSED, int c) c 347 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x30 && c <= 0x39) return 1; c 351 ext/mbstring/oniguruma/enc/mktable.c static int IsGraph(int enc, int c) c 354 ext/mbstring/oniguruma/enc/mktable.c return isgraph(c); c 356 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x21 && c <= 0x7e) return 1; c 370 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa1 && c <= 0xff) return 1; c 374 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa1) { c 375 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa5 || c == 0xae || c == 0xbe || c == 0xc3 || c == 0xd0 || c 376 ext/mbstring/oniguruma/enc/mktable.c c == 0xe3 || c == 0xf0) c 384 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa4 || c == 0xac || c == 0xad || c == 0xbb || c == 0xbf) c 386 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc1 && c <= 0xda) return 1; c 387 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xe0 && c <= 0xf2) return 1; c 391 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa1 && c <= 0xfe && c 392 ext/mbstring/oniguruma/enc/mktable.c c != 0xa4 && c != 0xa5 && c != 0xaa && c 393 ext/mbstring/oniguruma/enc/mktable.c c != 0xae && c != 0xd2) return 1; c 397 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa2 && c <= 0xfa) { c 398 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xbf && c <= 0xde) return 0; c 404 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa1 && c <= 0xda) return 1; c 405 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xdf && c <= 0xfb) return 1; c 409 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xff) return 1; c 413 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x80 && c <= 0xff && c != 0x9a) return 1; c 423 ext/mbstring/oniguruma/enc/mktable.c static int IsLower(int enc, int c) c 426 ext/mbstring/oniguruma/enc/mktable.c return islower(c); c 428 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x61 && c <= 0x7a) return 1; c 434 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaa) return 1; c 435 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5) return 1; c 436 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xba) return 1; c 437 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xdf && c <= 0xf6) return 1; c 438 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xff) return 1; c 442 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb1 || c == 0xb3) return 1; c 443 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5 || c == 0xb6) return 1; c 444 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb9 && c <= 0xbc) return 1; c 445 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xbe && c <= 0xbf) return 1; c 446 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xdf && c <= 0xf6) return 1; c 447 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xfe) return 1; c 451 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb1) return 1; c 452 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5 || c == 0xb6) return 1; c 453 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb9 && c <= 0xbc) return 1; c 454 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbf) return 1; c 455 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xdf) return 1; c 456 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xe0 && c <= 0xe2) return 1; c 457 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xe4 && c <= 0xef) return 1; c 458 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf1 && c <= 0xf6) return 1; c 459 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xfe) return 1; c 463 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa2) return 1; c 464 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb1 || c == 0xb3) return 1; c 465 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5 || c == 0xb6) return 1; c 466 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb9 && c <= 0xbc) return 1; c 467 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xbe && c <= 0xbf) return 1; c 468 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xdf) return 1; c 469 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xe0 && c <= 0xf6) return 1; c 470 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xfe) return 1; c 474 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd0 && c <= 0xff && c != 0xf0 && c != 0xfd) return 1; c 481 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xc0) return 1; c 482 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xdc && c <= 0xfe) return 1; c 486 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5) return 1; c 490 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb1 && c <= 0xb6) return 1; c 491 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb8 && c <= 0xbc) return 1; c 492 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbe || c == 0xbf) return 1; c 493 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xdf && c <= 0xff) return 1; c 500 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5) return 1; c 501 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb8) return 1; c 502 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xba) return 1; c 503 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbf) return 1; c 504 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xdf && c <= 0xf6) return 1; c 505 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xfe) return 1; c 509 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa2) return 1; c 510 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa5) return 1; c 511 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xab) return 1; c 512 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb1 || c == 0xb3 || c == 0xb5) return 1; c 513 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb8 && c <= 0xba) return 1; c 514 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbc) return 1; c 515 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbe || c == 0xbf) return 1; c 516 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xdf && c <= 0xff) return 1; c 520 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaa) return 1; c 521 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5) return 1; c 522 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xba) return 1; c 523 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xdf && c <= 0xf6) return 1; c 524 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xff) return 1; c 525 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa8) return 1; c 526 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb8) return 1; c 527 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbd) return 1; c 531 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa2) return 1; c 532 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa8) return 1; c 533 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xae) return 1; c 534 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb3) return 1; c 535 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb8 && c <= 0xba) return 1; c 536 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbd) return 1; c 537 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbf) return 1; c 538 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xdf && c <= 0xff) return 1; c 542 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa3) return 1; c 545 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xdf) return 1; c 555 ext/mbstring/oniguruma/enc/mktable.c static int IsPrint(int enc, int c) c 558 ext/mbstring/oniguruma/enc/mktable.c return isprint(c); c 560 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x20 && c <= 0x7e) return 1; c 564 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x09 && c <= 0x0d) return 1; c 565 ext/mbstring/oniguruma/enc/mktable.c if (c == 0x85) return 1; c 577 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa0 && c <= 0xff) return 1; c 581 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa0) { c 582 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa5 || c == 0xae || c == 0xbe || c == 0xc3 || c == 0xd0 || c 583 ext/mbstring/oniguruma/enc/mktable.c c == 0xe3 || c == 0xf0) c 591 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa0) return 1; c 592 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa4 || c == 0xac || c == 0xad || c == 0xbb || c == 0xbf) c 594 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc1 && c <= 0xda) return 1; c 595 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xe0 && c <= 0xf2) return 1; c 599 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa0 && c <= 0xfe && c 600 ext/mbstring/oniguruma/enc/mktable.c c != 0xa4 && c != 0xa5 && c != 0xaa && c 601 ext/mbstring/oniguruma/enc/mktable.c c != 0xae && c != 0xd2) return 1; c 605 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa0 && c <= 0xfa) { c 606 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xbf && c <= 0xde) return 0; c 607 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa1) return 0; c 613 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa0 && c <= 0xda) return 1; c 614 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xdf && c <= 0xfb) return 1; c 618 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa0) return 1; c 619 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xff) return 1; c 623 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x80 && c <= 0xff) return 1; c 633 ext/mbstring/oniguruma/enc/mktable.c static int IsPunct(int enc, int c) c 636 ext/mbstring/oniguruma/enc/mktable.c return ispunct(c); c 639 ext/mbstring/oniguruma/enc/mktable.c if (c == 0x24 || c == 0x2b || c == 0x5e || c == 0x60 || c 640 ext/mbstring/oniguruma/enc/mktable.c c == 0x7c || c == 0x7e) return 1; c 641 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x3c && c <= 0x3e) return 1; c 644 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x21 && c <= 0x2f) return 1; c 645 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x3a && c <= 0x40) return 1; c 646 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x5b && c <= 0x60) return 1; c 647 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x7b && c <= 0x7e) return 1; c 653 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xad) return 1; c 656 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa1) return 1; c 657 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xab) return 1; c 658 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb7) return 1; c 659 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbb) return 1; c 660 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbf) return 1; c 667 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xad) return 1; c 672 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xad) return 1; c 673 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb7) return 1; c 674 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbd) return 1; c 678 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xac) return 1; c 679 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xad) return 1; c 680 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbb) return 1; c 681 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbf) return 1; c 685 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa1 || c == 0xa2) return 1; c 686 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xab) return 1; c 687 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaf) return 1; c 688 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xad) return 1; c 689 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb7 || c == 0xbb) return 1; c 693 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xab) return 1; c 694 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xad) return 1; c 695 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb7) return 1; c 696 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbb) return 1; c 697 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xdf) return 1; c 701 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa1 || c == 0xa5) return 1; c 702 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xab || c == 0xad) return 1; c 703 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb4 || c == 0xb7) return 1; c 704 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbb) return 1; c 705 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xff) return 1; c 709 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa5) return 1; c 710 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xab) return 1; c 711 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xad) return 1; c 712 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5) return 1; c 713 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb7) return 1; c 714 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbb) return 1; c 718 ext/mbstring/oniguruma/enc/mktable.c if (c == 0x9e) return 1; c 732 ext/mbstring/oniguruma/enc/mktable.c static int IsSpace(int enc, int c) c 735 ext/mbstring/oniguruma/enc/mktable.c return isspace(c); c 737 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x09 && c <= 0x0d) return 1; c 738 ext/mbstring/oniguruma/enc/mktable.c if (c == 0x20) return 1; c 742 ext/mbstring/oniguruma/enc/mktable.c if (c == 0x85) return 1; c 760 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa0) return 1; c 764 ext/mbstring/oniguruma/enc/mktable.c if (c == 0x9a) return 1; c 774 ext/mbstring/oniguruma/enc/mktable.c static int IsUpper(int enc, int c) c 777 ext/mbstring/oniguruma/enc/mktable.c return isupper(c); c 779 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x41 && c <= 0x5a) return 1; c 785 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xd6) return 1; c 786 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xde) return 1; c 790 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa1 || c == 0xa3) return 1; c 791 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa5 || c == 0xa6) return 1; c 792 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa9 && c <= 0xac) return 1; c 793 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xae && c <= 0xaf) return 1; c 794 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xd6) return 1; c 795 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xde) return 1; c 799 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa1) return 1; c 800 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa6) return 1; c 801 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa9 && c <= 0xac) return 1; c 802 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaf) return 1; c 803 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xc2) return 1; c 804 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc4 && c <= 0xcf) return 1; c 805 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd1 && c <= 0xd6) return 1; c 806 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xde) return 1; c 810 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa1 || c == 0xa3) return 1; c 811 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa5 || c == 0xa6) return 1; c 812 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa9 && c <= 0xac) return 1; c 813 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xae) return 1; c 814 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbd) return 1; c 815 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xd6) return 1; c 816 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xde) return 1; c 820 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa1 && c <= 0xcf && c != 0xad) return 1; c 827 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb6) return 1; c 828 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb8 && c <= 0xba) return 1; c 829 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbc) return 1; c 830 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xbe && c <= 0xbf) return 1; c 831 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc1 && c <= 0xdb && c != 0xd2) return 1; c 839 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa1 && c <= 0xa6) return 1; c 840 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa8 && c <= 0xac) return 1; c 841 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xae || c == 0xaf) return 1; c 842 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xde) return 1; c 846 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa8) return 1; c 847 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaa) return 1; c 848 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaf) return 1; c 849 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xd6) return 1; c 850 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xde) return 1; c 854 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa1) return 1; c 855 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa4 || c == 0xa6) return 1; c 856 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa8) return 1; c 857 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaa || c == 0xac) return 1; c 858 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaf || c == 0xb0) return 1; c 859 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb2 || c == 0xb4 || c == 0xb7) return 1; c 860 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbb || c == 0xbd) return 1; c 861 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xde) return 1; c 865 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xd6) return 1; c 866 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xde) return 1; c 867 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa6) return 1; c 868 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb4) return 1; c 869 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbc) return 1; c 870 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbe) return 1; c 874 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa1) return 1; c 875 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa3) return 1; c 876 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa6) return 1; c 877 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaa) return 1; c 878 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xac) return 1; c 879 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaf) return 1; c 880 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb2) return 1; c 881 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb4) return 1; c 882 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbc) return 1; c 883 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbe) return 1; c 884 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xde) return 1; c 888 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb3) return 1; c 891 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xe0 && c <= 0xff) return 1; c 901 ext/mbstring/oniguruma/enc/mktable.c static int IsXDigit(int enc, int c) c 904 ext/mbstring/oniguruma/enc/mktable.c return isxdigit(c); c 906 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x30 && c <= 0x39) return 1; c 907 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x41 && c <= 0x46) return 1; c 908 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x61 && c <= 0x66) return 1; c 912 ext/mbstring/oniguruma/enc/mktable.c static int IsWord(int enc, int c) c 915 ext/mbstring/oniguruma/enc/mktable.c return (isalpha(c) || isdigit(c) || c == 0x5f); c 918 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x30 && c <= 0x39) return 1; c 919 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x41 && c <= 0x5a) return 1; c 920 ext/mbstring/oniguruma/enc/mktable.c if (c == 0x5f) return 1; c 921 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x61 && c <= 0x7a) return 1; c 927 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaa) return 1; c 928 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb2 && c <= 0xb3) return 1; c 929 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5) return 1; c 930 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb9 && c <= 0xba) return 1; c 931 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xbc && c <= 0xbe) return 1; c 932 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xd6) return 1; c 933 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xf6) return 1; c 934 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xff) return 1; c 938 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa1 || c == 0xa3) return 1; c 939 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa5 || c == 0xa6) return 1; c 940 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa9 && c <= 0xac) return 1; c 941 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xae && c <= 0xaf) return 1; c 942 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb1 || c == 0xb3) return 1; c 943 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5 || c == 0xb6) return 1; c 944 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb9 && c <= 0xbc) return 1; c 945 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xbe && c <= 0xbf) return 1; c 946 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xd6) return 1; c 947 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xf6) return 1; c 948 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xfe) return 1; c 952 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa1) return 1; c 953 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa6) return 1; c 954 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa9 && c <= 0xac) return 1; c 955 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaf) return 1; c 956 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb1 && c <= 0xb3) return 1; c 957 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5 || c == 0xb6) return 1; c 958 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb9 && c <= 0xbd) return 1; c 959 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbf) return 1; c 960 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xc2) return 1; c 961 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc4 && c <= 0xcf) return 1; c 962 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd1 && c <= 0xd6) return 1; c 963 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xe2) return 1; c 964 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xe4 && c <= 0xef) return 1; c 965 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf1 && c <= 0xf6) return 1; c 966 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xfe) return 1; c 970 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa1 && c <= 0xa3) return 1; c 971 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa5 || c == 0xa6) return 1; c 972 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa9 && c <= 0xac) return 1; c 973 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xae) return 1; c 974 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb1 || c == 0xb3) return 1; c 975 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5 || c == 0xb6) return 1; c 976 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb9 && c <= 0xbf) return 1; c 977 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xd6) return 1; c 978 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xf6) return 1; c 979 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xfe) return 1; c 983 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa1 && c <= 0xcf && c != 0xad) return 1; c 984 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd0 && c <= 0xff && c != 0xf0 && c != 0xfd) return 1; c 988 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc1 && c <= 0xda) return 1; c 989 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xe0 && c <= 0xea) return 1; c 990 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xeb && c <= 0xf2) return 1; c 994 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb2 || c == 0xb3) return 1; c 995 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb6) return 1; c 996 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb8 && c <= 0xba) return 1; c 997 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xbc && c <= 0xbf) return 1; c 998 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xc0) return 1; c 999 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc1 && c <= 0xdb && c != 0xd2) return 1; c 1000 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xdc && c <= 0xfe) return 1; c 1004 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb2 || c == 0xb3 || c == 0xb5 || c == 0xb9) return 1; c 1005 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xbc && c <= 0xbe) return 1; c 1006 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xe0 && c <= 0xfa) return 1; c 1010 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa1 && c <= 0xff) { c 1011 ext/mbstring/oniguruma/enc/mktable.c if (c != 0xa7 && c != 0xad && c != 0xb0 && c != 0xb7 && c != 0xbd) c 1017 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa1 && c <= 0xda) return 1; c 1018 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xdf && c <= 0xfb) return 1; c 1022 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa8) return 1; c 1023 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaa) return 1; c 1024 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaf) return 1; c 1025 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb2 || c == 0xb3 || c == 0xb5 || c == 0xb9) return 1; c 1026 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xbc && c <= 0xbe) return 1; c 1027 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb8) return 1; c 1028 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xba) return 1; c 1029 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xbf && c <= 0xd6) return 1; c 1030 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xf6) return 1; c 1031 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xfe) return 1; c 1035 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xa1 && c <= 0xff) { c 1036 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa3 || c == 0xa7 || c == 0xa9 || c == 0xad || c == 0xae || c 1037 ext/mbstring/oniguruma/enc/mktable.c c == 0xb6) return 0; c 1043 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaa) return 1; c 1044 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb2 && c <= 0xb3) return 1; c 1045 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb5) return 1; c 1046 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb9 && c <= 0xba) return 1; c 1047 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xbc && c <= 0xbe) return 1; c 1048 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xd6) return 1; c 1049 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xd8 && c <= 0xf6) return 1; c 1050 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xf8 && c <= 0xff) return 1; c 1051 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa6) return 1; c 1052 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa8) return 1; c 1053 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb4) return 1; c 1054 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb8) return 1; c 1058 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa1) return 1; c 1059 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa2) return 1; c 1060 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa3) return 1; c 1061 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa6) return 1; c 1062 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa8) return 1; c 1063 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaa) return 1; c 1064 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xac) return 1; c 1065 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xae) return 1; c 1066 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xaf) return 1; c 1067 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb2) return 1; c 1068 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb3) return 1; c 1069 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xb4) return 1; c 1070 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xb8 && c <= 0xba) return 1; c 1071 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbc) return 1; c 1072 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbd) return 1; c 1073 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbe) return 1; c 1074 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xbf) return 1; c 1075 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xde) return 1; c 1076 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xdf && c <= 0xff) return 1; c 1080 ext/mbstring/oniguruma/enc/mktable.c if (c == 0x9d) return 1; c 1081 ext/mbstring/oniguruma/enc/mktable.c if (c == 0xa3 || c == 0xb3) return 1; c 1084 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0xc0 && c <= 0xff) return 1; c 1094 ext/mbstring/oniguruma/enc/mktable.c static int IsAscii(int enc ARG_UNUSED, int c) c 1096 ext/mbstring/oniguruma/enc/mktable.c if (c >= 0x00 && c <= 0x7f) return 1; c 1100 ext/mbstring/oniguruma/enc/mktable.c static int IsNewline(int enc ARG_UNUSED, int c) c 1102 ext/mbstring/oniguruma/enc/mktable.c if (c == 0x0a) return 1; c 1110 ext/mbstring/oniguruma/enc/mktable.c int c, val, enc; c 1117 ext/mbstring/oniguruma/enc/mktable.c for (c = 0; c < 256; c++) { c 1119 ext/mbstring/oniguruma/enc/mktable.c if (IsNewline(enc, c)) val |= BIT_CTYPE_NEWLINE; c 1120 ext/mbstring/oniguruma/enc/mktable.c if (IsAlpha (enc, c)) val |= (BIT_CTYPE_ALPHA | BIT_CTYPE_ALNUM); c 1121 ext/mbstring/oniguruma/enc/mktable.c if (IsBlank (enc, c)) val |= BIT_CTYPE_BLANK; c 1122 ext/mbstring/oniguruma/enc/mktable.c if (IsCntrl (enc, c)) val |= BIT_CTYPE_CNTRL; c 1123 ext/mbstring/oniguruma/enc/mktable.c if (IsDigit (enc, c)) val |= (BIT_CTYPE_DIGIT | BIT_CTYPE_ALNUM); c 1124 ext/mbstring/oniguruma/enc/mktable.c if (IsGraph (enc, c)) val |= BIT_CTYPE_GRAPH; c 1125 ext/mbstring/oniguruma/enc/mktable.c if (IsLower (enc, c)) val |= BIT_CTYPE_LOWER; c 1126 ext/mbstring/oniguruma/enc/mktable.c if (IsPrint (enc, c)) val |= BIT_CTYPE_PRINT; c 1127 ext/mbstring/oniguruma/enc/mktable.c if (IsPunct (enc, c)) val |= BIT_CTYPE_PUNCT; c 1128 ext/mbstring/oniguruma/enc/mktable.c if (IsSpace (enc, c)) val |= BIT_CTYPE_SPACE; c 1129 ext/mbstring/oniguruma/enc/mktable.c if (IsUpper (enc, c)) val |= BIT_CTYPE_UPPER; c 1130 ext/mbstring/oniguruma/enc/mktable.c if (IsXDigit(enc, c)) val |= BIT_CTYPE_XDIGIT; c 1131 ext/mbstring/oniguruma/enc/mktable.c if (IsWord (enc, c)) val |= BIT_CTYPE_WORD; c 1132 ext/mbstring/oniguruma/enc/mktable.c if (IsAscii (enc, c)) val |= BIT_CTYPE_ASCII; c 1134 ext/mbstring/oniguruma/enc/mktable.c if (c % NCOL == 0) fputs(" ", fp); c 1136 ext/mbstring/oniguruma/enc/mktable.c if (c != 255) fputs(",", fp); c 1137 ext/mbstring/oniguruma/enc/mktable.c if (c != 0 && c % NCOL == (NCOL-1)) c 98 ext/mbstring/oniguruma/enc/sjis.c int c, i, len; c 102 ext/mbstring/oniguruma/enc/sjis.c c = *p++; c 103 ext/mbstring/oniguruma/enc/sjis.c n = c; c 108 ext/mbstring/oniguruma/enc/sjis.c c = *p++; c 109 ext/mbstring/oniguruma/enc/sjis.c n <<= 8; n += c; c 204 ext/mbstring/oniguruma/enc/sjis.c const UChar c = *s; c 205 ext/mbstring/oniguruma/enc/sjis.c return (SJIS_ISMB_TRAIL(c) ? FALSE : TRUE); c 160 ext/mbstring/oniguruma/enc/utf16_be.c int c, v; c 167 ext/mbstring/oniguruma/enc/utf16_be.c c = *p; c 168 ext/mbstring/oniguruma/enc/utf16_be.c v = ONIGENC_IS_UNICODE_ISO_8859_1_BIT_CTYPE(c, c 173 ext/mbstring/oniguruma/enc/utf16_be.c if (c >= 0xaa && c <= 0xba) c 163 ext/mbstring/oniguruma/enc/utf16_le.c int c, v; c 169 ext/mbstring/oniguruma/enc/utf16_le.c c = *p; c 170 ext/mbstring/oniguruma/enc/utf16_le.c v = ONIGENC_IS_UNICODE_ISO_8859_1_BIT_CTYPE(c, c 174 ext/mbstring/oniguruma/enc/utf16_le.c if (c >= 0xaa && c <= 0xba) c 124 ext/mbstring/oniguruma/enc/utf32_be.c int c, v; c 131 ext/mbstring/oniguruma/enc/utf32_be.c c = *p; c 132 ext/mbstring/oniguruma/enc/utf32_be.c v = ONIGENC_IS_UNICODE_ISO_8859_1_BIT_CTYPE(c, c 136 ext/mbstring/oniguruma/enc/utf32_be.c if (c >= 0xaa && c <= 0xba) c 125 ext/mbstring/oniguruma/enc/utf32_le.c int c, v; c 131 ext/mbstring/oniguruma/enc/utf32_le.c c = *p; c 132 ext/mbstring/oniguruma/enc/utf32_le.c v = ONIGENC_IS_UNICODE_ISO_8859_1_BIT_CTYPE(c, c 136 ext/mbstring/oniguruma/enc/utf32_le.c if (c >= 0xaa && c <= 0xba) c 41 ext/mbstring/oniguruma/enc/utf8.c #define utf8_islead(c) ((UChar )((c) & 0xc0) != 0x80) c 96 ext/mbstring/oniguruma/enc/utf8.c int c, len; c 100 ext/mbstring/oniguruma/enc/utf8.c c = *p++; c 103 ext/mbstring/oniguruma/enc/utf8.c n = c & ((1 << (6 - len)) - 1); c 105 ext/mbstring/oniguruma/enc/utf8.c c = *p++; c 106 ext/mbstring/oniguruma/enc/utf8.c n = (n << 6) | (c & ((1 << 6) - 1)); c 112 ext/mbstring/oniguruma/enc/utf8.c if (c > 0xfd) { c 113 ext/mbstring/oniguruma/enc/utf8.c return ((c == 0xfe) ? INVALID_CODE_FE : INVALID_CODE_FF); c 116 ext/mbstring/oniguruma/enc/utf8.c return (OnigCodePoint )c; c 236 ext/mbstring/oniguruma/enc/utf8.c int c = *(p + 1); c 237 ext/mbstring/oniguruma/enc/utf8.c if (c >= 0x80) { c 238 ext/mbstring/oniguruma/enc/utf8.c if (c <= (UChar )0x9e) { /* upper */ c 239 ext/mbstring/oniguruma/enc/utf8.c if (c == (UChar )0x97) return FALSE; c 242 ext/mbstring/oniguruma/enc/utf8.c else if (c >= (UChar )0xa0 && c <= (UChar )0xbe) { /* lower */ c 243 ext/mbstring/oniguruma/enc/utf8.c if (c == (UChar )'\267') return FALSE; c 246 ext/mbstring/oniguruma/enc/utf8.c else if (c == (UChar )0x9f && c 70 ext/mbstring/oniguruma/regcomp.c Node c; c 71 ext/mbstring/oniguruma/regcomp.c c = *a; *a = *b; *b = c; c 4349 ext/mbstring/oniguruma/regcomp.c add_char_opt_map_info(OptMapInfo* map, UChar c, OnigEncoding enc) c 4351 ext/mbstring/oniguruma/regcomp.c if (map->map[c] == 0) { c 4352 ext/mbstring/oniguruma/regcomp.c map->map[c] = 1; c 4353 ext/mbstring/oniguruma/regcomp.c map->value += map_position_value(enc, c); c 5153 ext/mbstring/oniguruma/regcomp.c int c, i, n = 0; c 5160 ext/mbstring/oniguruma/regcomp.c c = 0; c 5164 ext/mbstring/oniguruma/regcomp.c if (c > 0) fputs(", ", f); c 5165 ext/mbstring/oniguruma/regcomp.c c++; c 644 ext/mbstring/oniguruma/regenc.c int c, i, len; c 653 ext/mbstring/oniguruma/regenc.c c = *p++; c 654 ext/mbstring/oniguruma/regenc.c n <<= 8; n += c; c 825 ext/mbstring/oniguruma/regenc.c int x, c; c 830 ext/mbstring/oniguruma/regenc.c c = (int )ONIGENC_MBC_TO_CODE(enc, p, end); c 831 ext/mbstring/oniguruma/regenc.c x = *sascii - c; c 155 ext/mbstring/oniguruma/regenc.h #define UTF16_IS_SURROGATE_FIRST(c) (((c) & 0xfc) == 0xd8) c 156 ext/mbstring/oniguruma/regenc.h #define UTF16_IS_SURROGATE_SECOND(c) (((c) & 0xfc) == 0xdc) c 158 ext/mbstring/oniguruma/regenc.h #define ONIGENC_ISO_8859_1_TO_LOWER_CASE(c) \ c 159 ext/mbstring/oniguruma/regenc.h OnigEncISO_8859_1_ToLowerCaseTable[c] c 160 ext/mbstring/oniguruma/regenc.h #define ONIGENC_ISO_8859_1_TO_UPPER_CASE(c) \ c 161 ext/mbstring/oniguruma/regenc.h OnigEncISO_8859_1_ToUpperCaseTable[c] c 180 ext/mbstring/oniguruma/regenc.h #define ONIGENC_ASCII_CODE_TO_LOWER_CASE(c) OnigEncAsciiToLowerCaseTable[c] c 181 ext/mbstring/oniguruma/regenc.h #define ONIGENC_ASCII_CODE_TO_UPPER_CASE(c) OnigEncAsciiToUpperCaseTable[c] c 259 ext/mbstring/oniguruma/regparse.c #define PFETCH(c) do { \ c 260 ext/mbstring/oniguruma/regparse.c c = ONIGENC_MBC_TO_CODE(enc, p, end); \ c 268 ext/mbstring/oniguruma/regparse.c #define PFETCH_S(c) do { \ c 269 ext/mbstring/oniguruma/regparse.c c = ONIGENC_MBC_TO_CODE(enc, p, end); \ c 274 ext/mbstring/oniguruma/regparse.c #define PPEEK_IS(c) (PPEEK == (OnigCodePoint )c) c 318 ext/mbstring/oniguruma/regparse.c int c; c 326 ext/mbstring/oniguruma/regparse.c c = (int )*p - (int )*q; c 327 ext/mbstring/oniguruma/regparse.c if (c != 0) return c; c 1463 ext/mbstring/oniguruma/regparse.c node_str_cat_char(Node* node, UChar c) c 1467 ext/mbstring/oniguruma/regparse.c s[0] = c; c 1534 ext/mbstring/oniguruma/regparse.c node_new_str_raw_char(UChar c) c 1538 ext/mbstring/oniguruma/regparse.c p[0] = c; c 1591 ext/mbstring/oniguruma/regparse.c OnigCodePoint c; c 1597 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 1598 ext/mbstring/oniguruma/regparse.c if (ONIGENC_IS_CODE_DIGIT(enc, c)) { c 1599 ext/mbstring/oniguruma/regparse.c val = (unsigned int )DIGITVAL(c); c 1618 ext/mbstring/oniguruma/regparse.c OnigCodePoint c; c 1625 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 1626 ext/mbstring/oniguruma/regparse.c if (ONIGENC_IS_CODE_XDIGIT(enc, c)) { c 1627 ext/mbstring/oniguruma/regparse.c val = (unsigned int )XDIGITVAL(enc,c); c 1631 ext/mbstring/oniguruma/regparse.c num = (num << 4) + XDIGITVAL(enc,c); c 1646 ext/mbstring/oniguruma/regparse.c OnigCodePoint c; c 1653 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 1654 ext/mbstring/oniguruma/regparse.c if (ONIGENC_IS_CODE_DIGIT(enc, c) && c < '8') { c 1655 ext/mbstring/oniguruma/regparse.c val = ODIGITVAL(c); c 2098 ext/mbstring/oniguruma/regparse.c conv_backslash_value(int c, ScanEnv* env) c 2101 ext/mbstring/oniguruma/regparse.c switch (c) { c 2118 ext/mbstring/oniguruma/regparse.c return c; c 2202 ext/mbstring/oniguruma/regparse.c QtfrNode *p, *c; c 2205 ext/mbstring/oniguruma/regparse.c c = NQTFR(cnode); c 2207 ext/mbstring/oniguruma/regparse.c cnum = popular_quantifier_num(c); c 2215 ext/mbstring/oniguruma/regparse.c p->target = c->target; c 2219 ext/mbstring/oniguruma/regparse.c p->target = c->target; c 2223 ext/mbstring/oniguruma/regparse.c p->target = c->target; c 2229 ext/mbstring/oniguruma/regparse.c c->lower = 1; c->upper = REPEAT_INFINITE; c->greedy = 1; c 2235 ext/mbstring/oniguruma/regparse.c c->lower = 1; c->upper = REPEAT_INFINITE; c->greedy = 0; c 2244 ext/mbstring/oniguruma/regparse.c c->target = NULL_NODE; c 2284 ext/mbstring/oniguruma/regparse.c int c; c 2322 ext/mbstring/oniguruma/regparse.c OnigCodePoint c; c 2337 ext/mbstring/oniguruma/regparse.c c = PPEEK; c 2338 ext/mbstring/oniguruma/regparse.c if (c == ')' || c == '(' || c == '|') { c 2359 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 2360 ext/mbstring/oniguruma/regparse.c if (c == ',') { c 2383 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 2385 ext/mbstring/oniguruma/regparse.c if (c != MC_ESC(env->syntax)) goto invalid; c 2386 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 2388 ext/mbstring/oniguruma/regparse.c if (c != '}') goto invalid; c 2412 ext/mbstring/oniguruma/regparse.c OnigCodePoint c; c 2418 ext/mbstring/oniguruma/regparse.c PFETCH_S(c); c 2419 ext/mbstring/oniguruma/regparse.c switch (c) { c 2423 ext/mbstring/oniguruma/regparse.c PFETCH_S(c); c 2424 ext/mbstring/oniguruma/regparse.c if (c != '-') return ONIGERR_META_CODE_SYNTAX; c 2426 ext/mbstring/oniguruma/regparse.c PFETCH_S(c); c 2427 ext/mbstring/oniguruma/regparse.c if (c == MC_ESC(env->syntax)) { c 2430 ext/mbstring/oniguruma/regparse.c c = (OnigCodePoint )v; c 2432 ext/mbstring/oniguruma/regparse.c c = ((c & 0xff) | 0x80); c 2441 ext/mbstring/oniguruma/regparse.c PFETCH_S(c); c 2442 ext/mbstring/oniguruma/regparse.c if (c != '-') return ONIGERR_CONTROL_CODE_SYNTAX; c 2452 ext/mbstring/oniguruma/regparse.c PFETCH_S(c); c 2453 ext/mbstring/oniguruma/regparse.c if (c == '?') { c 2454 ext/mbstring/oniguruma/regparse.c c = 0177; c 2457 ext/mbstring/oniguruma/regparse.c if (c == MC_ESC(env->syntax)) { c 2460 ext/mbstring/oniguruma/regparse.c c = (OnigCodePoint )v; c 2462 ext/mbstring/oniguruma/regparse.c c &= 0x9f; c 2471 ext/mbstring/oniguruma/regparse.c c = conv_backslash_value(c, env); c 2477 ext/mbstring/oniguruma/regparse.c return c; c 2509 ext/mbstring/oniguruma/regparse.c OnigCodePoint c = 0; c 2529 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 2530 ext/mbstring/oniguruma/regparse.c if (c == end_code) c 2533 ext/mbstring/oniguruma/regparse.c if (ONIGENC_IS_CODE_DIGIT(enc, c)) { c 2536 ext/mbstring/oniguruma/regparse.c else if (c == '-') { c 2541 ext/mbstring/oniguruma/regparse.c else if (!ONIGENC_IS_CODE_WORD(enc, c)) { c 2548 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 2549 ext/mbstring/oniguruma/regparse.c if (c == end_code || c == ')' || c == '+' || c == '-') { c 2555 ext/mbstring/oniguruma/regparse.c if (ONIGENC_IS_CODE_DIGIT(enc, c)) { c 2563 ext/mbstring/oniguruma/regparse.c else if (!ONIGENC_IS_CODE_WORD(enc, c)) { c 2568 ext/mbstring/oniguruma/regparse.c if (r == 0 && c != end_code) { c 2569 ext/mbstring/oniguruma/regparse.c if (c == '+' || c == '-') { c 2571 ext/mbstring/oniguruma/regparse.c int flag = (c == '-' ? -1 : 1); c 2573 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 2574 ext/mbstring/oniguruma/regparse.c if (! ONIGENC_IS_CODE_DIGIT(enc, c)) goto err; c 2581 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 2582 ext/mbstring/oniguruma/regparse.c if (c == end_code) c 2622 ext/mbstring/oniguruma/regparse.c OnigCodePoint c = 0; c 2641 ext/mbstring/oniguruma/regparse.c PFETCH_S(c); c 2642 ext/mbstring/oniguruma/regparse.c if (c == end_code) c 2645 ext/mbstring/oniguruma/regparse.c if (ONIGENC_IS_CODE_DIGIT(enc, c)) { c 2653 ext/mbstring/oniguruma/regparse.c else if (c == '-') { c 2664 ext/mbstring/oniguruma/regparse.c else if (!ONIGENC_IS_CODE_WORD(enc, c)) { c 2672 ext/mbstring/oniguruma/regparse.c PFETCH_S(c); c 2673 ext/mbstring/oniguruma/regparse.c if (c == end_code || c == ')') { c 2679 ext/mbstring/oniguruma/regparse.c if (ONIGENC_IS_CODE_DIGIT(enc, c)) { c 2683 ext/mbstring/oniguruma/regparse.c if (!ONIGENC_IS_CODE_WORD(enc, c)) c 2691 ext/mbstring/oniguruma/regparse.c if (!ONIGENC_IS_CODE_WORD(enc, c)) { c 2697 ext/mbstring/oniguruma/regparse.c if (c != end_code) { c 2720 ext/mbstring/oniguruma/regparse.c PFETCH_S(c); c 2721 ext/mbstring/oniguruma/regparse.c if (c == end_code || c == ')') c 2739 ext/mbstring/oniguruma/regparse.c OnigCodePoint c = 0; c 2760 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 2761 ext/mbstring/oniguruma/regparse.c if (c == end_code) c 2764 ext/mbstring/oniguruma/regparse.c if (ONIGENC_IS_CODE_DIGIT(enc, c)) { c 2767 ext/mbstring/oniguruma/regparse.c else if (c == '-') { c 2780 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 2781 ext/mbstring/oniguruma/regparse.c if (c == end_code || c == ')') break; c 2782 ext/mbstring/oniguruma/regparse.c if (! ONIGENC_IS_CODE_DIGIT(enc, c)) c 2785 ext/mbstring/oniguruma/regparse.c if (r == 0 && c != end_code) { c 2812 ext/mbstring/oniguruma/regparse.c CC_ESC_WARN(ScanEnv* env, UChar *c) c 2821 ext/mbstring/oniguruma/regparse.c (UChar* )"character class has '%s' without escape", c); c 2827 ext/mbstring/oniguruma/regparse.c CLOSE_BRACKET_WITHOUT_ESC_WARN(ScanEnv* env, UChar* c) c 2835 ext/mbstring/oniguruma/regparse.c (UChar* )"regular expression has '%s' without escape", c); c 2911 ext/mbstring/oniguruma/regparse.c OnigCodePoint c, c2; c 2923 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 2926 ext/mbstring/oniguruma/regparse.c tok->u.c = c; c 2929 ext/mbstring/oniguruma/regparse.c if (c == ']') { c 2932 ext/mbstring/oniguruma/regparse.c else if (c == '-') { c 2935 ext/mbstring/oniguruma/regparse.c else if (c == MC_ESC(syn)) { c 2941 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 2943 ext/mbstring/oniguruma/regparse.c tok->u.c = c; c 2944 ext/mbstring/oniguruma/regparse.c switch (c) { c 2995 ext/mbstring/oniguruma/regparse.c tok->u.prop.not = (c == 'P' ? 1 : 0); c 3041 ext/mbstring/oniguruma/regparse.c tok->u.c = num; c 3073 ext/mbstring/oniguruma/regparse.c tok->u.c = num; c 3081 ext/mbstring/oniguruma/regparse.c if (tok->u.c != num) { c 3088 ext/mbstring/oniguruma/regparse.c else if (c == '[') { c 3112 ext/mbstring/oniguruma/regparse.c else if (c == '&') { c 3129 ext/mbstring/oniguruma/regparse.c OnigCodePoint c; c 3146 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 3147 ext/mbstring/oniguruma/regparse.c if (IS_MC_ESC_CODE(c, syn)) { c 3151 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 3153 ext/mbstring/oniguruma/regparse.c tok->u.c = c; c 3155 ext/mbstring/oniguruma/regparse.c switch (c) { c 3180 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 3191 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 3380 ext/mbstring/oniguruma/regparse.c tok->u.c = num; c 3427 ext/mbstring/oniguruma/regparse.c if (c == '8' || c == '9') { c 3438 ext/mbstring/oniguruma/regparse.c num = scan_unsigned_octal_number(&p, end, (c == '0' ? 2:3), enc); c 3445 ext/mbstring/oniguruma/regparse.c tok->u.c = num; c 3447 ext/mbstring/oniguruma/regparse.c else if (c != '0') { c 3455 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 3456 ext/mbstring/oniguruma/regparse.c if (c == '<' || c == '\'') { c 3465 ext/mbstring/oniguruma/regparse.c r = fetch_name_with_level((OnigCodePoint )c, &p, end, &name_end, c 3528 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 3529 ext/mbstring/oniguruma/regparse.c if (c == '<' || c == '\'') { c 3534 ext/mbstring/oniguruma/regparse.c r = fetch_name((OnigCodePoint )c, &p, end, &name_end, env, &gnum, 1); c 3560 ext/mbstring/oniguruma/regparse.c tok->u.prop.not = (c == 'P' ? 1 : 0); c 3563 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 3564 ext/mbstring/oniguruma/regparse.c if (c == '^') { c 3578 ext/mbstring/oniguruma/regparse.c if (tok->u.c != num) { c 3589 ext/mbstring/oniguruma/regparse.c tok->u.c = c; c 3593 ext/mbstring/oniguruma/regparse.c if ((c != ONIG_INEFFECTIVE_META_CHAR) && c 3595 ext/mbstring/oniguruma/regparse.c if (c == MC_ANYCHAR(syn)) c 3597 ext/mbstring/oniguruma/regparse.c else if (c == MC_ANYTIME(syn)) c 3599 ext/mbstring/oniguruma/regparse.c else if (c == MC_ZERO_OR_ONE_TIME(syn)) c 3601 ext/mbstring/oniguruma/regparse.c else if (c == MC_ONE_OR_MORE_TIME(syn)) c 3603 ext/mbstring/oniguruma/regparse.c else if (c == MC_ANYCHAR_ANYTIME(syn)) { c 3610 ext/mbstring/oniguruma/regparse.c switch (c) { c 3676 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 3679 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 3680 ext/mbstring/oniguruma/regparse.c if (c == MC_ESC(syn)) { c 3681 ext/mbstring/oniguruma/regparse.c if (!PEND) PFETCH(c); c 3684 ext/mbstring/oniguruma/regparse.c if (c == ')') break; c 3728 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 3729 ext/mbstring/oniguruma/regparse.c if (ONIGENC_IS_CODE_NEWLINE(enc, c)) c 3832 ext/mbstring/oniguruma/regparse.c int c, r; c 3859 ext/mbstring/oniguruma/regparse.c for (c = 0; c < SINGLE_BYTE_SIZE; c++) { c 3860 ext/mbstring/oniguruma/regparse.c if (! ONIGENC_IS_CODE_CTYPE(enc, (OnigCodePoint )c, ctype)) c 3861 ext/mbstring/oniguruma/regparse.c BITSET_SET_BIT(cc->bs, c); c 3866 ext/mbstring/oniguruma/regparse.c for (c = 0; c < SINGLE_BYTE_SIZE; c++) { c 3867 ext/mbstring/oniguruma/regparse.c if (ONIGENC_IS_CODE_CTYPE(enc, (OnigCodePoint )c, ctype)) c 3868 ext/mbstring/oniguruma/regparse.c BITSET_SET_BIT(cc->bs, c); c 3876 ext/mbstring/oniguruma/regparse.c for (c = 0; c < SINGLE_BYTE_SIZE; c++) { c 3877 ext/mbstring/oniguruma/regparse.c if (! ONIGENC_IS_CODE_CTYPE(enc, (OnigCodePoint )c, ctype)) c 3878 ext/mbstring/oniguruma/regparse.c BITSET_SET_BIT(cc->bs, c); c 3882 ext/mbstring/oniguruma/regparse.c for (c = 0; c < SINGLE_BYTE_SIZE; c++) { c 3883 ext/mbstring/oniguruma/regparse.c if (ONIGENC_IS_CODE_CTYPE(enc, (OnigCodePoint )c, ctype)) c 3884 ext/mbstring/oniguruma/regparse.c BITSET_SET_BIT(cc->bs, c); c 3892 ext/mbstring/oniguruma/regparse.c for (c = 0; c < SINGLE_BYTE_SIZE; c++) { c 3893 ext/mbstring/oniguruma/regparse.c if (IS_CODE_SB_WORD(enc, c)) BITSET_SET_BIT(cc->bs, c); c 3898 ext/mbstring/oniguruma/regparse.c for (c = 0; c < SINGLE_BYTE_SIZE; c++) { c 3899 ext/mbstring/oniguruma/regparse.c if ((ONIGENC_CODE_TO_MBCLEN(enc, c) > 0) /* check invalid code point */ c 3900 ext/mbstring/oniguruma/regparse.c && ! ONIGENC_IS_CODE_WORD(enc, c)) c 3901 ext/mbstring/oniguruma/regparse.c BITSET_SET_BIT(cc->bs, c); c 3940 ext/mbstring/oniguruma/regparse.c OnigCodePoint c; c 3970 ext/mbstring/oniguruma/regparse.c c = 0; c 3972 ext/mbstring/oniguruma/regparse.c while (!PEND && ((c = PPEEK) != ':') && c != ']') { c 3976 ext/mbstring/oniguruma/regparse.c if (c == ':' && ! PEND) { c 3979 ext/mbstring/oniguruma/regparse.c PFETCH_S(c); c 3980 ext/mbstring/oniguruma/regparse.c if (c == ']') c 3992 ext/mbstring/oniguruma/regparse.c OnigCodePoint c; c 4001 ext/mbstring/oniguruma/regparse.c PFETCH_S(c); c 4002 ext/mbstring/oniguruma/regparse.c if (c == '}') { c 4009 ext/mbstring/oniguruma/regparse.c else if (c == '(' || c == ')' || c == '{' || c == '|') { c 4152 ext/mbstring/oniguruma/regparse.c code_exist_check(OnigCodePoint c, UChar* from, UChar* end, int ignore_escaped, c 4167 ext/mbstring/oniguruma/regparse.c if (code == c) return 1; c 4192 ext/mbstring/oniguruma/regparse.c if (r == TK_CHAR && tok->u.c == '^' && tok->escaped == 0) { c 4221 ext/mbstring/oniguruma/regparse.c len = ONIGENC_CODE_TO_MBCLEN(env->enc, tok->u.c); c 4233 ext/mbstring/oniguruma/regparse.c v = (OnigCodePoint )tok->u.c; c 4246 ext/mbstring/oniguruma/regparse.c buf[0] = tok->u.c; c 4254 ext/mbstring/oniguruma/regparse.c buf[i] = tok->u.c; c 4285 ext/mbstring/oniguruma/regparse.c v = (OnigCodePoint )tok->u.c; c 4315 ext/mbstring/oniguruma/regparse.c v = (OnigCodePoint )tok->u.c; c 4362 ext/mbstring/oniguruma/regparse.c v = (OnigCodePoint )tok->u.c; c 4511 ext/mbstring/oniguruma/regparse.c OnigCodePoint c; c 4530 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 4531 ext/mbstring/oniguruma/regparse.c switch (c) { c 4563 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 4564 ext/mbstring/oniguruma/regparse.c if (c == '=') c 4566 ext/mbstring/oniguruma/regparse.c else if (c == '!') c 4575 ext/mbstring/oniguruma/regparse.c c = '<'; c 4582 ext/mbstring/oniguruma/regparse.c r = fetch_name((OnigCodePoint )c, &p, end, &name_end, env, &num, 0); c 4614 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 4615 ext/mbstring/oniguruma/regparse.c if (c == '<' || c == '\'') { c 4649 ext/mbstring/oniguruma/regparse.c switch (c) { c 4684 ext/mbstring/oniguruma/regparse.c if (c == ')') { c 4690 ext/mbstring/oniguruma/regparse.c else if (c == ':') { c 4707 ext/mbstring/oniguruma/regparse.c PFETCH(c); c 5107 ext/mbstring/oniguruma/regparse.c *np = node_new_str_raw_char((UChar )tok->u.c); c 5137 ext/mbstring/oniguruma/regparse.c r = node_str_cat_char(*np, (UChar )tok->u.c); c 531 ext/mbstring/oniguruma/st.c register int c; c 536 ext/mbstring/oniguruma/st.c while ((c = *string++) != '\0') { c 537 ext/mbstring/oniguruma/st.c h = ( h << 4 ) + c; c 546 ext/mbstring/oniguruma/st.c while ((c = *string++) != '\0') { c 547 ext/mbstring/oniguruma/st.c val += c; c 558 ext/mbstring/oniguruma/st.c while ((c = *string++) != '\0') { c 559 ext/mbstring/oniguruma/st.c val = val*997 + c; c 28 ext/mbstring/oniguruma/testu.c unsigned char c; c 34 ext/mbstring/oniguruma/testu.c c = (unsigned char )from[i]; c 35 ext/mbstring/oniguruma/testu.c if (c == 0) { c 36 ext/mbstring/oniguruma/testu.c c = (unsigned char )from[i+1]; c 37 ext/mbstring/oniguruma/testu.c if (c < 0x20 || c >= 0x7f || c == 0x5c || c == 0x22) { c 38 ext/mbstring/oniguruma/testu.c sprintf(q, "\\%03o", c); c 42 ext/mbstring/oniguruma/testu.c sprintf(q, "%c", c); c 47 ext/mbstring/oniguruma/testu.c sprintf(q, "\\%03o", c); c 49 ext/mbstring/oniguruma/testu.c c = (unsigned char )from[i+1]; c 50 ext/mbstring/oniguruma/testu.c sprintf(q, "\\%03o", c); c 477 ext/mbstring/php_mbregex.c char c; c 534 ext/mbstring/php_mbregex.c c = 0; c 537 ext/mbstring/php_mbregex.c c = 'j'; c 539 ext/mbstring/php_mbregex.c c = 'u'; c 541 ext/mbstring/php_mbregex.c c = 'g'; c 543 ext/mbstring/php_mbregex.c c = 'c'; c 545 ext/mbstring/php_mbregex.c c = 'r'; c 547 ext/mbstring/php_mbregex.c c = 'z'; c 549 ext/mbstring/php_mbregex.c c = 'b'; c 551 ext/mbstring/php_mbregex.c c = 'd'; c 554 ext/mbstring/php_mbregex.c if (c != 0) { c 557 ext/mbstring/php_mbregex.c *(p++) = c; c 581 ext/mbstring/php_mbregex.c char c; c 589 ext/mbstring/php_mbregex.c c = parg[n++]; c 590 ext/mbstring/php_mbregex.c switch (c) { c 143 ext/mbstring/ucgendat/ucgendat.c #define COMPEX_SET(c) (compexs[(c) >> 5] |= (1 << ((c) & 31))) c 144 ext/mbstring/ucgendat/ucgendat.c #define COMPEX_TEST(c) (compexs[(c) >> 5] & (1 << ((c) & 31))) c 323 ext/mbstring/ucgendat/ucgendat.c ordered_range_insert(ac_uint4 c, char *name, int len) c 380 ext/mbstring/ucgendat/ucgendat.c rlp->ranges[0] = rlp->ranges[1] = c; c 393 ext/mbstring/ucgendat/ucgendat.c if (c == e + 1) { c 397 ext/mbstring/ucgendat/ucgendat.c rlp->ranges[j] = c; c 401 ext/mbstring/ucgendat/ucgendat.c if (c > e + 1) { c 406 ext/mbstring/ucgendat/ucgendat.c rlp->ranges[j] = rlp->ranges[j + 1] = c; c 411 ext/mbstring/ucgendat/ucgendat.c if (c >= s) c 422 ext/mbstring/ucgendat/ucgendat.c i < rlp->used && c > rlp->ranges[i + 1] + 1; i += 2) ; c 427 ext/mbstring/ucgendat/ucgendat.c if (c == e + 1) c 431 ext/mbstring/ucgendat/ucgendat.c rlp->ranges[i + 1] = c; c 432 ext/mbstring/ucgendat/ucgendat.c else if (c < s) { c 441 ext/mbstring/ucgendat/ucgendat.c rlp->ranges[i] = rlp->ranges[i + 1] = c; c 667 ext/mbstring/ucgendat/ucgendat.c ordered_ccl_insert(ac_uint4 c, ac_uint4 ccl_code) c 684 ext/mbstring/ucgendat/ucgendat.c ccl[0] = ccl[1] = c; c 694 ext/mbstring/ucgendat/ucgendat.c if (ccl_code == ccl[ccl_used - 1] && c == ccl[ccl_used - 2] + 1) { c 695 ext/mbstring/ucgendat/ucgendat.c ccl[ccl_used - 2] = c; c 702 ext/mbstring/ucgendat/ucgendat.c if (c > ccl[ccl_used - 2] + 1 || c 703 ext/mbstring/ucgendat/ucgendat.c (c == ccl[ccl_used - 2] + 1 && ccl_code != ccl[ccl_used - 1])) { c 704 ext/mbstring/ucgendat/ucgendat.c ccl[ccl_used++] = c; c 705 ext/mbstring/ucgendat/ucgendat.c ccl[ccl_used++] = c; c 713 ext/mbstring/ucgendat/ucgendat.c for (i = 0; i < ccl_used && c > ccl[i + 1] + 1; i += 3) ; c 715 ext/mbstring/ucgendat/ucgendat.c if (ccl_code == ccl[i + 2] && c == ccl[i + 1] + 1) { c 719 ext/mbstring/ucgendat/ucgendat.c ccl[i + 1] = c; c 721 ext/mbstring/ucgendat/ucgendat.c } else if (c < ccl[i]) { c 730 ext/mbstring/ucgendat/ucgendat.c ccl[i] = ccl[i + 1] = c; c 34 ext/mysqli/mysqli_libmysql.h #define mysqli_server_status(c) (c)->server_status c 39 ext/mysqli/mysqli_libmysql.h #define mysqli_close(c, is_forced) mysql_close((c)) c 40 ext/mysqli/mysqli_libmysql.h #define mysqli_stmt_close(c, implicit) mysql_stmt_close((c)) c 42 ext/mysqli/mysqli_libmysql.h #define mysqli_change_user_silent(c, u, p, d, p_len) mysql_change_user((c), (u), (p), (d)) c 35 ext/mysqli/mysqli_mysqlnd.h #define mysqli_server_status(c) mysqlnd_get_server_status((c)) c 40 ext/mysqli/mysqli_mysqlnd.h #define mysqli_close(c, how) mysqlnd_close((c), (how)) c 41 ext/mysqli/mysqli_mysqlnd.h #define mysqli_stmt_close(c, implicit) mysqlnd_stmt_close((c), (implicit)) c 43 ext/mysqli/mysqli_mysqlnd.h #define mysqli_async_query(c, q, l) mysqlnd_async_query((c), (q), (l)) c 44 ext/mysqli/mysqli_mysqlnd.h #define mysqli_change_user_silent(c, u, p, d, p_len) mysqlnd_change_user_ex((c), (u), (p), (d), TRUE, (size_t)(p_len)) c 96 ext/mysqli/mysqli_prop.c char *c;\ c 101 ext/mysqli/mysqli_prop.c c = (char *)__int_func(p);\ c 102 ext/mysqli/mysqli_prop.c if (!c) {\ c 105 ext/mysqli/mysqli_prop.c ZVAL_STRING(retval, c);\ c 30 ext/mysqlnd/mysqlnd_charset.c zend_uchar c; c 36 ext/mysqlnd/mysqlnd_charset.c c = (zend_uchar) start[0]; c 38 ext/mysqlnd/mysqlnd_charset.c if (c < 0x80) { c 41 ext/mysqlnd/mysqlnd_charset.c if (c < 0xC2) { c 44 ext/mysqlnd/mysqlnd_charset.c if (c < 0xE0) { c 53 ext/mysqlnd/mysqlnd_charset.c if (c < 0xF0) { c 58 ext/mysqlnd/mysqlnd_charset.c (c >= 0xE1 || (zend_uchar)start[1] >= 0xA0))) { c 69 ext/mysqlnd/mysqlnd_charset.c zend_uchar c; c 75 ext/mysqlnd/mysqlnd_charset.c c = (zend_uchar) start[0]; c 77 ext/mysqlnd/mysqlnd_charset.c if (c < 0x80) { c 80 ext/mysqlnd/mysqlnd_charset.c if (c < 0xC2) { c 83 ext/mysqlnd/mysqlnd_charset.c if (c < 0xE0) { c 92 ext/mysqlnd/mysqlnd_charset.c if (c < 0xF0) { c 97 ext/mysqlnd/mysqlnd_charset.c (c >= 0xE1 || (zend_uchar)start[1] >= 0xA0))) { c 102 ext/mysqlnd/mysqlnd_charset.c if (c < 0xF5) { c 129 ext/mysqlnd/mysqlnd_charset.c (c >= 0xf1 || (zend_uchar)start[1] >= 0x90) && c 130 ext/mysqlnd/mysqlnd_charset.c (c <= 0xf3 || (zend_uchar)start[1] <= 0x8F))) c 193 ext/mysqlnd/mysqlnd_charset.c #define valid_big5head(c) (0xA1 <= (unsigned int)(c) && (unsigned int)(c) <= 0xF9) c 194 ext/mysqlnd/mysqlnd_charset.c #define valid_big5tail(c) ((0x40 <= (unsigned int)(c) && (unsigned int)(c) <= 0x7E) || \ c 195 ext/mysqlnd/mysqlnd_charset.c (0xA1 <= (unsigned int)(c) && (unsigned int)(c) <= 0xFE)) c 197 ext/mysqlnd/mysqlnd_charset.c #define isbig5code(c,d) (isbig5head(c) && isbig5tail(d)) c 213 ext/mysqlnd/mysqlnd_charset.c #define valid_cp932head(c) ((0x81 <= (c) && (c) <= 0x9F) || (0xE0 <= (c) && c <= 0xFC)) c 214 ext/mysqlnd/mysqlnd_charset.c #define valid_cp932tail(c) ((0x40 <= (c) && (c) <= 0x7E) || (0x80 <= (c) && c <= 0xFC)) c 232 ext/mysqlnd/mysqlnd_charset.c #define valid_euckr(c) ((0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xFE)) c 257 ext/mysqlnd/mysqlnd_charset.c #define valid_eucjpms(c) (((c) & 0xFF) >= 0xA1 && ((c) & 0xFF) <= 0xFE) c 258 ext/mysqlnd/mysqlnd_charset.c #define valid_eucjpms_kata(c) (((c) & 0xFF) >= 0xA1 && ((c) & 0xFF) <= 0xDF) c 259 ext/mysqlnd/mysqlnd_charset.c #define valid_eucjpms_ss2(c) (((c) & 0xFF) == 0x8E) c 260 ext/mysqlnd/mysqlnd_charset.c #define valid_eucjpms_ss3(c) (((c) & 0xFF) == 0x8F) c 295 ext/mysqlnd/mysqlnd_charset.c #define valid_gb2312_head(c) (0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xF7) c 296 ext/mysqlnd/mysqlnd_charset.c #define valid_gb2312_tail(c) (0xA1 <= (zend_uchar)(c) && (zend_uchar)(c) <= 0xFE) c 314 ext/mysqlnd/mysqlnd_charset.c #define valid_gbk_head(c) (0x81<=(zend_uchar)(c) && (zend_uchar)(c)<=0xFE) c 315 ext/mysqlnd/mysqlnd_charset.c #define valid_gbk_tail(c) ((0x40<=(zend_uchar)(c) && (zend_uchar)(c)<=0x7E) || (0x80<=(zend_uchar)(c) && (zend_uchar)(c)<=0xFE)) c 330 ext/mysqlnd/mysqlnd_charset.c #define valid_sjis_head(c) ((0x81 <= (c) && (c) <= 0x9F) || (0xE0 <= (c) && (c) <= 0xFC)) c 331 ext/mysqlnd/mysqlnd_charset.c #define valid_sjis_tail(c) ((0x40 <= (c) && (c) <= 0x7E) || (0x80 <= (c) && (c) <= 0xFC)) c 361 ext/mysqlnd/mysqlnd_charset.c #define valid_ujis(c) ((0xA1 <= ((c)&0xFF) && ((c)&0xFF) <= 0xFE)) c 362 ext/mysqlnd/mysqlnd_charset.c #define valid_ujis_kata(c) ((0xA1 <= ((c)&0xFF) && ((c)&0xFF) <= 0xDF)) c 363 ext/mysqlnd/mysqlnd_charset.c #define valid_ujis_ss2(c) (((c)&0xFF) == 0x8E) c 364 ext/mysqlnd/mysqlnd_charset.c #define valid_ujis_ss3(c) (((c)&0xFF) == 0x8F) c 435 ext/mysqlnd/mysqlnd_charset.c #define is_gb18030_odd(c) (0x81 <= (zend_uchar) (c) && (zend_uchar) (c) <= 0xFE) c 436 ext/mysqlnd/mysqlnd_charset.c #define is_gb18030_even_2(c) ((0x40 <= (zend_uchar) (c) && (zend_uchar) (c) <= 0x7E) || (0x80 <= (zend_uchar) (c) && (zend_uchar) (c) <= 0xFE)) c 437 ext/mysqlnd/mysqlnd_charset.c #define is_gb18030_even_4(c) (0x30 <= (zend_uchar) (c) && (zend_uchar) (c) <= 0x39) c 440 ext/mysqlnd/mysqlnd_charset.c static unsigned int mysqlnd_mbcharlen_gb18030(unsigned int c) c 442 ext/mysqlnd/mysqlnd_charset.c if (c <= 0xFF) { c 443 ext/mysqlnd/mysqlnd_charset.c return !is_gb18030_odd(c); c 445 ext/mysqlnd/mysqlnd_charset.c if (c > 0xFFFF || !is_gb18030_odd((c >> 8) & 0xFF)) { c 448 ext/mysqlnd/mysqlnd_charset.c if (is_gb18030_even_2((c & 0xFF))) { c 451 ext/mysqlnd/mysqlnd_charset.c if (is_gb18030_even_4((c & 0xFF))) { c 698 ext/mysqlnd/mysqlnd_charset.c const MYSQLND_CHARSET * c = mysqlnd_charsets; c 701 ext/mysqlnd/mysqlnd_charset.c if (c->nr == charsetnr) { c 702 ext/mysqlnd/mysqlnd_charset.c return c; c 704 ext/mysqlnd/mysqlnd_charset.c ++c; c 705 ext/mysqlnd/mysqlnd_charset.c } while (c[0].nr != 0); c 715 ext/mysqlnd/mysqlnd_charset.c const MYSQLND_CHARSET * c = mysqlnd_charsets; c 717 ext/mysqlnd/mysqlnd_charset.c if (!strcasecmp(c->name, name)) { c 718 ext/mysqlnd/mysqlnd_charset.c return c; c 720 ext/mysqlnd/mysqlnd_charset.c ++c; c 721 ext/mysqlnd/mysqlnd_charset.c } while (c[0].nr != 0); c 26 ext/mysqlnd/mysqlnd_ext_plugin.h #define mysqlnd_plugin_get_plugin_connection_data(c, p_id) _mysqlnd_plugin_get_plugin_connection_data((c), (p_id)) c 29 ext/mysqlnd/mysqlnd_ext_plugin.h #define mysqlnd_plugin_get_plugin_connection_data_data(c, p_id) _mysqlnd_plugin_get_plugin_connection_data_data((c), (p_id)) c 44 ext/mysqlnd/mysqlnd_libmysql_compat.h #define mysql_change_user(r,a,b,c) mysqlnd_change_user((r), (a), (b), (c), FALSE) c 45 ext/mysqlnd/mysqlnd_libmysql_compat.h #define mysql_character_set_name(c) mysqlnd_character_set_name((c)) c 53 ext/mysqlnd/mysqlnd_libmysql_compat.h #define mysql_escape_string(a,b,c) mysqlnd_escape_string((a), (b), (c)) c 65 ext/mysqlnd/mysqlnd_libmysql_compat.h #define mysql_list_dbs(c, wild) mysqlnd_list_dbs((c), (wild)) c 66 ext/mysqlnd/mysqlnd_libmysql_compat.h #define mysql_list_fields(c, tab, wild) mysqlnd_list_fields((c), (tab), (wild)) c 67 ext/mysqlnd/mysqlnd_libmysql_compat.h #define mysql_list_processes(c) mysqlnd_list_processes((c)) c 68 ext/mysqlnd/mysqlnd_libmysql_compat.h #define mysql_list_tables(c, wild) mysqlnd_list_tables((c), (wild)) c 74 ext/mysqlnd/mysqlnd_libmysql_compat.h #define mysql_real_escape_string(r,a,b,c) mysqlnd_real_escape_string((r), (a), (b), (c)) c 82 ext/mysqlnd/mysqlnd_libmysql_compat.h #define mysql_ssl_set(c,key,cert,ca,capath,cipher) mysqlnd_ssl_set((c), (key), (cert), (ca), (capath), (cipher)) c 109 ext/mysqlnd/mysqlnd_libmysql_compat.h #define mysql_options(c,a,v) mysqlnd_options((c), (a), (v)) c 110 ext/mysqlnd/mysqlnd_libmysql_compat.h #define mysql_options4(c,a,k,v) mysqlnd_options4((c), (a), (k), (v)) c 103 ext/mysqlnd/mysqlnd_priv.h #define SET_CLIENT_ERROR(error_info, a, b, c) \ c 110 ext/mysqlnd/mysqlnd_priv.h strlcpy((error_info).error, (c), sizeof((error_info).error)); \ c 116 ext/mysqlnd/mysqlnd_priv.h error_for_the_list.error = mnd_pestrdup((c), TRUE); \ c 135 ext/mysqlnd/mysqlnd_priv.h #define SET_STMT_ERROR(stmt, a, b, c) SET_CLIENT_ERROR(*(stmt)->error_info, a, b, c) c 137 ext/mysqlnd/mysqlnd_priv.h #define CONN_GET_STATE(c) (c)->m->get_state((c)) c 138 ext/mysqlnd/mysqlnd_priv.h #define CONN_SET_STATE(c, s) (c)->m->set_state((c), (s)) c 145 ext/mysqlnd/mysqlnd_structs.h unsigned int (*mb_charlen)(unsigned int c); c 36 ext/opcache/Optimizer/block_pass.c zend_constant *c; c 41 ext/opcache/Optimizer/block_pass.c if ((c = zend_hash_find_ptr(EG(zend_constants), name)) == NULL) { c 46 ext/opcache/Optimizer/block_pass.c if ((c = zend_hash_str_find_ptr(EG(zend_constants), lookup_name, ZSTR_LEN(name))) != NULL) { c 47 ext/opcache/Optimizer/block_pass.c if (!(c->flags & CONST_CT_SUBST) || (c->flags & CONST_CS)) { c 57 ext/opcache/Optimizer/block_pass.c if (c->flags & CONST_PERSISTENT) { c 58 ext/opcache/Optimizer/block_pass.c ZVAL_COPY_VALUE(result, &c->value); c 105 ext/opcache/Optimizer/block_pass.c #define print_block(a,b,c) c 648 ext/opcache/Optimizer/block_pass.c zval c = ZEND_OP1_LITERAL(src); c 649 ext/opcache/Optimizer/block_pass.c zval_copy_ctor(&c); c 650 ext/opcache/Optimizer/block_pass.c if (zend_optimizer_update_op1_const(op_array, opline, &c)) { c 664 ext/opcache/Optimizer/block_pass.c zval c = ZEND_OP1_LITERAL(src); c 665 ext/opcache/Optimizer/block_pass.c zval_copy_ctor(&c); c 666 ext/opcache/Optimizer/block_pass.c if (zend_optimizer_update_op2_const(op_array, opline, &c)) { c 719 ext/opcache/Optimizer/block_pass.c zval c; c 720 ext/opcache/Optimizer/block_pass.c if(zend_optimizer_get_persistent_constant(Z_STR_P(arg), &c, 0 ELS_CC) != 0) { c 739 ext/opcache/Optimizer/block_pass.c zval c; c 740 ext/opcache/Optimizer/block_pass.c if(zend_optimizer_get_persistent_constant(Z_STR_P(arg), &c, 1 ELS_CC) != 0) { c 744 ext/opcache/Optimizer/block_pass.c ZEND_OP1_LITERAL(opline) = zend_optimizer_add_literal(op_array, &c); c 273 ext/opcache/Optimizer/pass1_5.c zval c; c 275 ext/opcache/Optimizer/pass1_5.c if (!zend_optimizer_get_persistent_constant(Z_STR(ZEND_OP2_LITERAL(opline)), &c, 1)) { c 276 ext/opcache/Optimizer/pass1_5.c if (!ctx->constants || !zend_optimizer_get_collected_constant(ctx->constants, &ZEND_OP2_LITERAL(opline), &c)) { c 280 ext/opcache/Optimizer/pass1_5.c if (Z_TYPE(c) == IS_CONSTANT_AST) { c 283 ext/opcache/Optimizer/pass1_5.c if (zend_optimizer_replace_by_const(op_array, opline, IS_TMP_VAR, tv, &c)) { c 325 ext/opcache/Optimizer/pass1_5.c zval *c, t; c 327 ext/opcache/Optimizer/pass1_5.c if ((c = zend_hash_find(&ce->constants_table, c 329 ext/opcache/Optimizer/pass1_5.c ZVAL_DEREF(c); c 330 ext/opcache/Optimizer/pass1_5.c if (Z_TYPE_P(c) == IS_CONSTANT_AST) { c 333 ext/opcache/Optimizer/pass1_5.c if (ZEND_IS_CONSTANT_TYPE(Z_TYPE_P(c))) { c 334 ext/opcache/Optimizer/pass1_5.c if (!zend_optimizer_get_persistent_constant(Z_STR_P(c), &t, 1) || c 339 ext/opcache/Optimizer/pass1_5.c ZVAL_COPY_VALUE(&t, c); c 603 ext/opcache/Optimizer/pass1_5.c zval c; c 605 ext/opcache/Optimizer/pass1_5.c if (!zend_optimizer_get_persistent_constant(Z_STR(ZEND_OP1_LITERAL(opline)), &c, 0)) { c 608 ext/opcache/Optimizer/pass1_5.c ZVAL_TRUE(&c); c 609 ext/opcache/Optimizer/pass1_5.c if (zend_optimizer_replace_by_const(op_array, opline, IS_TMP_VAR, tv, &c)) { c 2280 ext/opcache/ZendAccelerator.c zend_constant *c = Z_PTR(_p->val); c 2282 ext/opcache/ZendAccelerator.c if (c->flags & CONST_PERSISTENT) { c 2492 ext/opcache/ZendAccelerator.c unsigned char digest[16], c; c 2507 ext/opcache/ZendAccelerator.c c = digest[i] >> 4; c 2508 ext/opcache/ZendAccelerator.c c = (c <= 9) ? c + '0' : c - 10 + 'a'; c 2509 ext/opcache/ZendAccelerator.c md5str[i * 2] = c; c 2510 ext/opcache/ZendAccelerator.c c = digest[i] & 0x0f; c 2511 ext/opcache/ZendAccelerator.c c = (c <= 9) ? c + '0' : c - 10 + 'a'; c 2512 ext/opcache/ZendAccelerator.c md5str[(i * 2) + 1] = c; c 79 ext/opcache/zend_accelerator_blacklist.c char regexp[12*1024], *p, *end, *c, *backtrack = NULL; c 94 ext/opcache/zend_accelerator_blacklist.c c = blacklist->entries[i].path; c 96 ext/opcache/zend_accelerator_blacklist.c while (*c && p < end) { c 97 ext/opcache/zend_accelerator_blacklist.c switch (*c) { c 99 ext/opcache/zend_accelerator_blacklist.c c++; c 116 ext/opcache/zend_accelerator_blacklist.c c++; c 117 ext/opcache/zend_accelerator_blacklist.c if (*c == '*') { c 118 ext/opcache/zend_accelerator_blacklist.c c++; c 156 ext/opcache/zend_accelerator_blacklist.c *p++ = *c++; c 161 ext/opcache/zend_accelerator_blacklist.c if (*c || i == blacklist->pos - 1) { c 162 ext/opcache/zend_accelerator_blacklist.c if (*c) { c 1009 ext/pcre/pcrelib/pcre_compile.c pcre_uint32 c; c 1013 ext/pcre/pcrelib/pcre_compile.c GETCHARINCTEST(c, ptr); /* Get character value, increment pointer */ c 1018 ext/pcre/pcrelib/pcre_compile.c if (c == CHAR_NULL) *errorcodeptr = ERR1; c 1026 ext/pcre/pcrelib/pcre_compile.c else if (c < CHAR_0 || c > CHAR_z) {} c 1027 ext/pcre/pcrelib/pcre_compile.c else if ((i = escapes[c - CHAR_0]) != 0) c 1028 ext/pcre/pcrelib/pcre_compile.c { if (i > 0) c = (pcre_uint32)i; else escape = -i; } c 1032 ext/pcre/pcrelib/pcre_compile.c else if (c < CHAR_a || (!MAX_255(c) || (ebcdic_chartab[c] & 0x0E) == 0)) {} c 1033 ext/pcre/pcrelib/pcre_compile.c else if ((i = escapes[c - 0x48]) != 0) { if (i > 0) c = (pcre_uint32)i; else escape = -i; } c 1044 ext/pcre/pcrelib/pcre_compile.c switch (c) c 1064 ext/pcre/pcrelib/pcre_compile.c c = 0; c 1070 ext/pcre/pcrelib/pcre_compile.c c = (c << 4) + cc - ((cc < CHAR_A)? CHAR_0 : (CHAR_A - 10)); c 1073 ext/pcre/pcrelib/pcre_compile.c c = (c << 4) + cc - ((cc >= CHAR_0)? CHAR_0 : (CHAR_A - 10)); c 1078 ext/pcre/pcrelib/pcre_compile.c if (c > (utf ? 0x10ffffU : 0xffU)) c 1080 ext/pcre/pcrelib/pcre_compile.c if (c > (utf ? 0x10ffffU : 0xffffU)) c 1082 ext/pcre/pcrelib/pcre_compile.c if (utf && c > 0x10ffffU) c 1087 ext/pcre/pcrelib/pcre_compile.c else if (utf && c >= 0xd800 && c <= 0xdfff) *errorcodeptr = ERR73; c 1216 ext/pcre/pcrelib/pcre_compile.c s = (int)(c -CHAR_0); c 1247 ext/pcre/pcrelib/pcre_compile.c if ((c = *ptr) >= CHAR_8) break; c 1258 ext/pcre/pcrelib/pcre_compile.c c -= CHAR_0; c 1260 ext/pcre/pcrelib/pcre_compile.c c = c * 8 + *(++ptr) - CHAR_0; c 1262 ext/pcre/pcrelib/pcre_compile.c if (!utf && c > 0xff) *errorcodeptr = ERR51; c 1274 ext/pcre/pcrelib/pcre_compile.c c = 0; c 1279 ext/pcre/pcrelib/pcre_compile.c if (c == 0 && cc == CHAR_0) continue; /* Leading zeroes */ c 1281 ext/pcre/pcrelib/pcre_compile.c if (c >= 0x20000000l) { overflow = TRUE; break; } c 1283 ext/pcre/pcrelib/pcre_compile.c c = (c << 3) + cc - CHAR_0 ; c 1285 ext/pcre/pcrelib/pcre_compile.c if (c > (utf ? 0x10ffffU : 0xffU)) { overflow = TRUE; break; } c 1287 ext/pcre/pcrelib/pcre_compile.c if (c > (utf ? 0x10ffffU : 0xffffU)) { overflow = TRUE; break; } c 1289 ext/pcre/pcrelib/pcre_compile.c if (utf && c > 0x10ffffU) { overflow = TRUE; break; } c 1299 ext/pcre/pcrelib/pcre_compile.c if (utf && c >= 0xd800 && c <= 0xdfff) *errorcodeptr = ERR73; c 1314 ext/pcre/pcrelib/pcre_compile.c c = 0; c 1320 ext/pcre/pcrelib/pcre_compile.c c = (c << 4) + cc - ((cc < CHAR_A)? CHAR_0 : (CHAR_A - 10)); c 1323 ext/pcre/pcrelib/pcre_compile.c c = (c << 4) + cc - ((cc >= CHAR_0)? CHAR_0 : (CHAR_A - 10)); c 1346 ext/pcre/pcrelib/pcre_compile.c c = 0; c 1351 ext/pcre/pcrelib/pcre_compile.c if (c == 0 && cc == CHAR_0) continue; /* Leading zeroes */ c 1354 ext/pcre/pcrelib/pcre_compile.c if (c >= 0x10000000l) { overflow = TRUE; break; } c 1359 ext/pcre/pcrelib/pcre_compile.c c = (c << 4) + cc - ((cc < CHAR_A)? CHAR_0 : (CHAR_A - 10)); c 1362 ext/pcre/pcrelib/pcre_compile.c c = (c << 4) + cc - ((cc >= CHAR_0)? CHAR_0 : (CHAR_A - 10)); c 1366 ext/pcre/pcrelib/pcre_compile.c if (c > (utf ? 0x10ffffU : 0xffU)) { overflow = TRUE; break; } c 1368 ext/pcre/pcrelib/pcre_compile.c if (c > (utf ? 0x10ffffU : 0xffffU)) { overflow = TRUE; break; } c 1370 ext/pcre/pcrelib/pcre_compile.c if (utf && c > 0x10ffffU) { overflow = TRUE; break; } c 1382 ext/pcre/pcrelib/pcre_compile.c if (utf && c >= 0xd800 && c <= 0xdfff) *errorcodeptr = ERR73; c 1397 ext/pcre/pcrelib/pcre_compile.c c = 0; c 1404 ext/pcre/pcrelib/pcre_compile.c c = c * 16 + cc - ((cc < CHAR_A)? CHAR_0 : (CHAR_A - 10)); c 1407 ext/pcre/pcrelib/pcre_compile.c c = c * 16 + cc - ((cc >= CHAR_0)? CHAR_0 : (CHAR_A - 10)); c 1420 ext/pcre/pcrelib/pcre_compile.c c = *(++ptr); c 1421 ext/pcre/pcrelib/pcre_compile.c if (c == CHAR_NULL) c 1427 ext/pcre/pcrelib/pcre_compile.c if (c > 127) /* Excludes all non-ASCII in either mode */ c 1432 ext/pcre/pcrelib/pcre_compile.c if (c >= CHAR_a && c <= CHAR_z) c -= 32; c 1433 ext/pcre/pcrelib/pcre_compile.c c ^= 0x40; c 1435 ext/pcre/pcrelib/pcre_compile.c if (c >= CHAR_a && c <= CHAR_z) c += 64; c 1436 ext/pcre/pcrelib/pcre_compile.c if (c == CHAR_QUESTION_MARK) c 1437 ext/pcre/pcrelib/pcre_compile.c c = ('\\' == 188 && '`' == 74)? 0x5f : 0xff; c 1442 ext/pcre/pcrelib/pcre_compile.c if (c == ebcdic_escape_c[i]) break; c 1444 ext/pcre/pcrelib/pcre_compile.c if (i < 32) c = i; else *errorcodeptr = ERR68; c 1456 ext/pcre/pcrelib/pcre_compile.c if ((options & PCRE_EXTRA) != 0) switch(c) c 1482 ext/pcre/pcrelib/pcre_compile.c *chptr = c; c 1512 ext/pcre/pcrelib/pcre_compile.c pcre_uchar c; c 1517 ext/pcre/pcrelib/pcre_compile.c c = *(++ptr); c 1518 ext/pcre/pcrelib/pcre_compile.c if (c == CHAR_NULL) goto ERROR_RETURN; c 1525 ext/pcre/pcrelib/pcre_compile.c if (c == CHAR_LEFT_CURLY_BRACKET) c 1534 ext/pcre/pcrelib/pcre_compile.c c = *(++ptr); c 1535 ext/pcre/pcrelib/pcre_compile.c if (c == CHAR_NULL) goto ERROR_RETURN; c 1536 ext/pcre/pcrelib/pcre_compile.c if (c == CHAR_RIGHT_CURLY_BRACKET) break; c 1537 ext/pcre/pcrelib/pcre_compile.c name[i] = c; c 1539 ext/pcre/pcrelib/pcre_compile.c if (c != CHAR_RIGHT_CURLY_BRACKET) goto ERROR_RETURN; c 1547 ext/pcre/pcrelib/pcre_compile.c name[0] = c; c 2082 ext/pcre/pcrelib/pcre_compile.c register pcre_uchar c = *code; c 2084 ext/pcre/pcrelib/pcre_compile.c if (c == OP_END) return NULL; c 2090 ext/pcre/pcrelib/pcre_compile.c if (c == OP_XCLASS) code += GET(code, 1); c 2094 ext/pcre/pcrelib/pcre_compile.c else if (c == OP_REVERSE) c 2097 ext/pcre/pcrelib/pcre_compile.c code += PRIV(OP_lengths)[c]; c 2102 ext/pcre/pcrelib/pcre_compile.c else if (c == OP_CBRA || c == OP_SCBRA || c 2103 ext/pcre/pcrelib/pcre_compile.c c == OP_CBRAPOS || c == OP_SCBRAPOS) c 2107 ext/pcre/pcrelib/pcre_compile.c code += PRIV(OP_lengths)[c]; c 2117 ext/pcre/pcrelib/pcre_compile.c switch(c) c 2149 ext/pcre/pcrelib/pcre_compile.c code += PRIV(OP_lengths)[c]; c 2156 ext/pcre/pcrelib/pcre_compile.c if (utf) switch(c) c 2245 ext/pcre/pcrelib/pcre_compile.c register pcre_uchar c = *code; c 2246 ext/pcre/pcrelib/pcre_compile.c if (c == OP_END) return NULL; c 2247 ext/pcre/pcrelib/pcre_compile.c if (c == OP_RECURSE) return code; c 2253 ext/pcre/pcrelib/pcre_compile.c if (c == OP_XCLASS) code += GET(code, 1); c 2262 ext/pcre/pcrelib/pcre_compile.c switch(c) c 2294 ext/pcre/pcrelib/pcre_compile.c code += PRIV(OP_lengths)[c]; c 2301 ext/pcre/pcrelib/pcre_compile.c if (utf) switch(c) c 2397 ext/pcre/pcrelib/pcre_compile.c register pcre_uchar c; c 2402 ext/pcre/pcrelib/pcre_compile.c code = first_significant_code(code + PRIV(OP_lengths)[c], TRUE)) c 2406 ext/pcre/pcrelib/pcre_compile.c c = *code; c 2411 ext/pcre/pcrelib/pcre_compile.c if (c == OP_ASSERT) c 2414 ext/pcre/pcrelib/pcre_compile.c c = *code; c 2425 ext/pcre/pcrelib/pcre_compile.c if (c == OP_RECURSE) c 2482 ext/pcre/pcrelib/pcre_compile.c if (c == OP_BRAZERO || c == OP_BRAMINZERO || c == OP_SKIPZERO || c 2483 ext/pcre/pcrelib/pcre_compile.c c == OP_BRAPOSZERO) c 2485 ext/pcre/pcrelib/pcre_compile.c code += PRIV(OP_lengths)[c]; c 2487 ext/pcre/pcrelib/pcre_compile.c c = *code; c 2494 ext/pcre/pcrelib/pcre_compile.c if (c == OP_SBRA || c == OP_SBRAPOS || c 2495 ext/pcre/pcrelib/pcre_compile.c c == OP_SCBRA || c == OP_SCBRAPOS) c 2498 ext/pcre/pcrelib/pcre_compile.c c = *code; c 2504 ext/pcre/pcrelib/pcre_compile.c if (c == OP_BRA || c == OP_BRAPOS || c 2505 ext/pcre/pcrelib/pcre_compile.c c == OP_CBRA || c == OP_CBRAPOS || c 2506 ext/pcre/pcrelib/pcre_compile.c c == OP_ONCE || c == OP_ONCE_NC || c 2507 ext/pcre/pcrelib/pcre_compile.c c == OP_COND || c == OP_SCOND) c 2516 ext/pcre/pcrelib/pcre_compile.c if (c == OP_COND && code[GET(code, 1)] != OP_ALT) c 2531 ext/pcre/pcrelib/pcre_compile.c c = *code; c 2537 ext/pcre/pcrelib/pcre_compile.c switch (c) c 2795 ext/pcre/pcrelib/pcre_compile.c get_repeat_base(pcre_uchar c) c 2797 ext/pcre/pcrelib/pcre_compile.c return (c > OP_TYPEPOSUPTO)? c : c 2798 ext/pcre/pcrelib/pcre_compile.c (c >= OP_TYPESTAR)? OP_TYPESTAR : c 2799 ext/pcre/pcrelib/pcre_compile.c (c >= OP_NOTSTARI)? OP_NOTSTARI : c 2800 ext/pcre/pcrelib/pcre_compile.c (c >= OP_NOTSTAR)? OP_NOTSTAR : c 2801 ext/pcre/pcrelib/pcre_compile.c (c >= OP_STARI)? OP_STARI : c 2825 ext/pcre/pcrelib/pcre_compile.c check_char_prop(pcre_uint32 c, unsigned int ptype, unsigned int pdata, c 2829 ext/pcre/pcrelib/pcre_compile.c const ucd_record *prop = GET_UCD(c); c 2859 ext/pcre/pcrelib/pcre_compile.c switch(c) c 2873 ext/pcre/pcrelib/pcre_compile.c c == CHAR_UNDERSCORE) == negated; c 2879 ext/pcre/pcrelib/pcre_compile.c if (c < *p) return !negated; c 2880 ext/pcre/pcrelib/pcre_compile.c if (c == *p++) return negated; c 2916 ext/pcre/pcrelib/pcre_compile.c pcre_uchar c = *code; c 2928 ext/pcre/pcrelib/pcre_compile.c list[0] = c; c 2932 ext/pcre/pcrelib/pcre_compile.c if (c >= OP_STAR && c <= OP_TYPEPOSUPTO) c 2934 ext/pcre/pcrelib/pcre_compile.c base = get_repeat_base(c); c 2935 ext/pcre/pcrelib/pcre_compile.c c -= (base - OP_STAR); c 2937 ext/pcre/pcrelib/pcre_compile.c if (c == OP_UPTO || c == OP_MINUPTO || c == OP_EXACT || c == OP_POSUPTO) c 2940 ext/pcre/pcrelib/pcre_compile.c list[1] = (c != OP_PLUS && c != OP_MINPLUS && c != OP_EXACT && c != OP_POSPLUS); c 2965 ext/pcre/pcrelib/pcre_compile.c c = list[0]; c 2968 ext/pcre/pcrelib/pcre_compile.c switch(c) c 2999 ext/pcre/pcrelib/pcre_compile.c list[0] = (c == OP_CHARI) ? OP_CHAR : OP_NOT; c 3054 ext/pcre/pcrelib/pcre_compile.c list[0] = (c == OP_PROP) ? OP_CHAR : OP_NOT; c 3062 ext/pcre/pcrelib/pcre_compile.c if (c == OP_XCLASS) c 3121 ext/pcre/pcrelib/pcre_compile.c pcre_uchar c; c 3149 ext/pcre/pcrelib/pcre_compile.c c = *code; c 3153 ext/pcre/pcrelib/pcre_compile.c if (c == OP_CALLOUT) c 3155 ext/pcre/pcrelib/pcre_compile.c code += PRIV(OP_lengths)[c]; c 3159 ext/pcre/pcrelib/pcre_compile.c if (c == OP_ALT) c 3162 ext/pcre/pcrelib/pcre_compile.c c = *code; c 3165 ext/pcre/pcrelib/pcre_compile.c switch(c) c 3197 ext/pcre/pcrelib/pcre_compile.c code += PRIV(OP_lengths)[c]; c 3205 ext/pcre/pcrelib/pcre_compile.c code += PRIV(OP_lengths)[c]; c 3233 ext/pcre/pcrelib/pcre_compile.c code += PRIV(OP_lengths)[c]; c 3659 ext/pcre/pcrelib/pcre_compile.c register pcre_uchar c; c 3667 ext/pcre/pcrelib/pcre_compile.c c = *code; c 3675 ext/pcre/pcrelib/pcre_compile.c if (c >= OP_TABLE_LENGTH) return; c 3677 ext/pcre/pcrelib/pcre_compile.c if (c >= OP_STAR && c <= OP_TYPEPOSUPTO) c 3679 ext/pcre/pcrelib/pcre_compile.c c -= get_repeat_base(c) - OP_STAR; c 3680 ext/pcre/pcrelib/pcre_compile.c end = (c <= OP_MINUPTO) ? c 3682 ext/pcre/pcrelib/pcre_compile.c list[1] = c == OP_STAR || c == OP_PLUS || c == OP_QUERY || c == OP_UPTO; c 3687 ext/pcre/pcrelib/pcre_compile.c switch(c) c 3722 ext/pcre/pcrelib/pcre_compile.c c = *code; c 3724 ext/pcre/pcrelib/pcre_compile.c else if (c == OP_CLASS || c == OP_NCLASS || c == OP_XCLASS) c 3727 ext/pcre/pcrelib/pcre_compile.c if (c == OP_XCLASS) c 3733 ext/pcre/pcrelib/pcre_compile.c c = *repeat_opcode; c 3734 ext/pcre/pcrelib/pcre_compile.c if (c >= OP_CRSTAR && c <= OP_CRMINRANGE) c 3739 ext/pcre/pcrelib/pcre_compile.c list[1] = (c & 1) == 0; c 3744 ext/pcre/pcrelib/pcre_compile.c switch (c) c 3768 ext/pcre/pcrelib/pcre_compile.c c = *code; c 3771 ext/pcre/pcrelib/pcre_compile.c switch(c) c 3812 ext/pcre/pcrelib/pcre_compile.c code += PRIV(OP_lengths)[c]; c 3819 ext/pcre/pcrelib/pcre_compile.c if (utf) switch(c) c 4137 ext/pcre/pcrelib/pcre_compile.c pcre_uint32 c, othercase, next; c 4143 ext/pcre/pcrelib/pcre_compile.c for (c = *cptr; c <= d; c++) c 4145 ext/pcre/pcrelib/pcre_compile.c if ((co = UCD_CASESET(c)) != 0) c 4147 ext/pcre/pcrelib/pcre_compile.c *ocptr = c++; /* Character that has the set */ c 4148 ext/pcre/pcrelib/pcre_compile.c *cptr = c; /* Rest of input range */ c 4151 ext/pcre/pcrelib/pcre_compile.c if ((othercase = UCD_OTHERCASE(c)) != c) break; c 4154 ext/pcre/pcrelib/pcre_compile.c if (c > d) return -1; /* Reached end of range */ c 4163 ext/pcre/pcrelib/pcre_compile.c for (++c; c <= d; c++) c 4165 ext/pcre/pcrelib/pcre_compile.c if ((co = UCD_CASESET(c)) != 0 || UCD_OTHERCASE(c) != next) break; c 4170 ext/pcre/pcrelib/pcre_compile.c *cptr = c; /* Rest of input range */ c 4202 ext/pcre/pcrelib/pcre_compile.c pcre_uint32 c; c 4220 ext/pcre/pcrelib/pcre_compile.c c = start; c 4222 ext/pcre/pcrelib/pcre_compile.c while ((rc = get_othercase_range(&c, end, &oc, &od)) >= 0) c 4251 ext/pcre/pcrelib/pcre_compile.c for (c = start; c <= classbits_end; c++) c 4253 ext/pcre/pcrelib/pcre_compile.c SETBIT(classbits, cd->fcc[c]); c 4278 ext/pcre/pcrelib/pcre_compile.c for (c = start; c <= classbits_end; c++) c 4281 ext/pcre/pcrelib/pcre_compile.c SETBIT(classbits, c); c 4469 ext/pcre/pcrelib/pcre_compile.c register pcre_uint32 c; c 4569 ext/pcre/pcrelib/pcre_compile.c c = *ptr; c 4574 ext/pcre/pcrelib/pcre_compile.c if (c == CHAR_NULL && nestptr != NULL) c 4578 ext/pcre/pcrelib/pcre_compile.c c = *ptr; c 4614 ext/pcre/pcrelib/pcre_compile.c (int)(code - last_code), c, c)); c 4648 ext/pcre/pcrelib/pcre_compile.c if (inescq && c != CHAR_NULL) c 4650 ext/pcre/pcrelib/pcre_compile.c if (c == CHAR_BACKSLASH && ptr[1] == CHAR_E) c 4681 ext/pcre/pcrelib/pcre_compile.c while (MAX_255(c) && (cd->ctypes[c] & ctype_space) != 0) c = *(++ptr); c 4682 ext/pcre/pcrelib/pcre_compile.c if (c != CHAR_NUMBER_SIGN) break; c 4696 ext/pcre/pcrelib/pcre_compile.c c = *ptr; /* Either NULL or the char after a newline */ c 4703 ext/pcre/pcrelib/pcre_compile.c c == CHAR_ASTERISK || c == CHAR_PLUS || c == CHAR_QUESTION_MARK || c 4704 ext/pcre/pcrelib/pcre_compile.c (c == CHAR_LEFT_CURLY_BRACKET && is_counted_repeat(ptr+1)); c 4728 ext/pcre/pcrelib/pcre_compile.c switch(c) c 4855 ext/pcre/pcrelib/pcre_compile.c c = *(++ptr); c 4856 ext/pcre/pcrelib/pcre_compile.c if (c == CHAR_BACKSLASH) c 4865 ext/pcre/pcrelib/pcre_compile.c else if (!negate_class && c == CHAR_CIRCUMFLEX_ACCENT) c 4875 ext/pcre/pcrelib/pcre_compile.c if (c == CHAR_RIGHT_SQUARE_BRACKET && c 4923 ext/pcre/pcrelib/pcre_compile.c if (c != CHAR_NULL) do c 4928 ext/pcre/pcrelib/pcre_compile.c if (utf && HAS_EXTRALEN(c)) c 4930 ext/pcre/pcrelib/pcre_compile.c GETCHARLEN(c, ptr, ptr); /* macro generates multiple statements */ c 4954 ext/pcre/pcrelib/pcre_compile.c if (c == CHAR_BACKSLASH && ptr[1] == CHAR_E) /* If we are at \E */ c 4969 ext/pcre/pcrelib/pcre_compile.c if (c == CHAR_LEFT_SQUARE_BRACKET && c 5092 ext/pcre/pcrelib/pcre_compile.c for (c = 0; c < 32; c++) pbits[c] |= cbits[c + taboffset]; c 5094 ext/pcre/pcrelib/pcre_compile.c for (c = 0; c < 32; c++) pbits[c] &= ~cbits[c + taboffset]; c 5108 ext/pcre/pcrelib/pcre_compile.c for (c = 0; c < 32; c++) classbits[c] |= ~pbits[c]; c 5110 ext/pcre/pcrelib/pcre_compile.c for (c = 0; c < 32; c++) classbits[c] |= pbits[c]; c 5129 ext/pcre/pcrelib/pcre_compile.c if (c == CHAR_BACKSLASH) c 5134 ext/pcre/pcrelib/pcre_compile.c if (escape == 0) c = ec; c 5135 ext/pcre/pcrelib/pcre_compile.c else if (escape == ESC_b) c = CHAR_BS; /* \b is backspace in a class */ c 5175 ext/pcre/pcrelib/pcre_compile.c for (c = 0; c < 32; c++) classbits[c] |= cbits[c+cbit_digit]; c 5180 ext/pcre/pcrelib/pcre_compile.c for (c = 0; c < 32; c++) classbits[c] |= ~cbits[c+cbit_digit]; c 5184 ext/pcre/pcrelib/pcre_compile.c for (c = 0; c < 32; c++) classbits[c] |= cbits[c+cbit_word]; c 5189 ext/pcre/pcrelib/pcre_compile.c for (c = 0; c < 32; c++) classbits[c] |= ~cbits[c+cbit_word]; c 5200 ext/pcre/pcrelib/pcre_compile.c for (c = 0; c < 32; c++) classbits[c] |= cbits[c+cbit_space]; c 5205 ext/pcre/pcrelib/pcre_compile.c for (c = 0; c < 32; c++) classbits[c] |= ~cbits[c+cbit_space]; c 5262 ext/pcre/pcrelib/pcre_compile.c c = *ptr; /* Get the final character and fall through */ c 5289 ext/pcre/pcrelib/pcre_compile.c if (c == CHAR_CR || c == CHAR_NL) cd->external_flags |= PCRE_HASCRORLF; c 5373 ext/pcre/pcrelib/pcre_compile.c if (d < c) c 5378 ext/pcre/pcrelib/pcre_compile.c if (d == c) goto CLASS_SINGLE_CHARACTER; /* A few lines below */ c 5391 ext/pcre/pcrelib/pcre_compile.c add_to_class(classbits, &class_uchardata, options, cd, c, d); c 5439 ext/pcre/pcrelib/pcre_compile.c (d = UCD_CASESET(c)) != 0) c 5452 ext/pcre/pcrelib/pcre_compile.c if (utf && c > MAX_VALUE_FOR_SINGLE_CHAR) c 5453 ext/pcre/pcrelib/pcre_compile.c code += PRIV(ord2utf)(c, code); c 5456 ext/pcre/pcrelib/pcre_compile.c *code++ = c; c 5468 ext/pcre/pcrelib/pcre_compile.c if (utf && c > MAX_VALUE_FOR_SINGLE_CHAR) c 5469 ext/pcre/pcrelib/pcre_compile.c mclength = PRIV(ord2utf)(c, mcbuffer); c 5473 ext/pcre/pcrelib/pcre_compile.c mcbuffer[0] = c; c 5483 ext/pcre/pcrelib/pcre_compile.c add_to_class(classbits, &class_uchardata, options, cd, c, c); c 5490 ext/pcre/pcrelib/pcre_compile.c while (((c = *(++ptr)) != CHAR_NULL || c 5492 ext/pcre/pcrelib/pcre_compile.c (ptr = nestptr, nestptr = NULL, c = *(++ptr)) != CHAR_NULL)) && c 5493 ext/pcre/pcrelib/pcre_compile.c (c != CHAR_RIGHT_SQUARE_BRACKET || inescq)); c 5497 ext/pcre/pcrelib/pcre_compile.c if (c == CHAR_NULL) c 5556 ext/pcre/pcrelib/pcre_compile.c for (c = 0; c < 32; c++) classbits[c] = ~classbits[c]; c 5585 ext/pcre/pcrelib/pcre_compile.c for (c = 0; c < 32; c++) classbits[c] = ~classbits[c]; c 5749 ext/pcre/pcrelib/pcre_compile.c c = (int)(code - lastchar); /* Length of UTF-8 character */ c 5750 ext/pcre/pcrelib/pcre_compile.c memcpy(utf_chars, lastchar, IN_UCHARS(c)); /* Save the char */ c 5751 ext/pcre/pcrelib/pcre_compile.c c |= UTF_LENGTH; /* Flag c as a length */ c 5759 ext/pcre/pcrelib/pcre_compile.c c = code[-1]; c 5762 ext/pcre/pcrelib/pcre_compile.c reqchar = c; c 5782 ext/pcre/pcrelib/pcre_compile.c c = *previous; c 5853 ext/pcre/pcrelib/pcre_compile.c if (utf && (c & UTF_LENGTH) != 0) c 5855 ext/pcre/pcrelib/pcre_compile.c memcpy(code, utf_chars, IN_UCHARS(c & 7)); c 5856 ext/pcre/pcrelib/pcre_compile.c code += c & 7; c 5861 ext/pcre/pcrelib/pcre_compile.c *code++ = c; c 5878 ext/pcre/pcrelib/pcre_compile.c if (utf && (c & UTF_LENGTH) != 0) c 5880 ext/pcre/pcrelib/pcre_compile.c memcpy(code, utf_chars, IN_UCHARS(c & 7)); c 5881 ext/pcre/pcrelib/pcre_compile.c code += c & 7; c 5885 ext/pcre/pcrelib/pcre_compile.c *code++ = c; c 5908 ext/pcre/pcrelib/pcre_compile.c if (utf && (c & UTF_LENGTH) != 0) c 5910 ext/pcre/pcrelib/pcre_compile.c memcpy(code, utf_chars, IN_UCHARS(c & 7)); c 5911 ext/pcre/pcrelib/pcre_compile.c code += c & 7; c 5915 ext/pcre/pcrelib/pcre_compile.c *code++ = c; c 7894 ext/pcre/pcrelib/pcre_compile.c c = ec; c 8083 ext/pcre/pcrelib/pcre_compile.c if (utf && c > MAX_VALUE_FOR_SINGLE_CHAR) c 8084 ext/pcre/pcrelib/pcre_compile.c mclength = PRIV(ord2utf)(c, mcbuffer); c 8089 ext/pcre/pcrelib/pcre_compile.c mcbuffer[0] = c; c 8103 ext/pcre/pcrelib/pcre_compile.c mcbuffer[0] = c; c 8106 ext/pcre/pcrelib/pcre_compile.c if (utf && HAS_EXTRALEN(c)) c 8124 ext/pcre/pcrelib/pcre_compile.c GETCHAR(c, mcbuffer); c 8125 ext/pcre/pcrelib/pcre_compile.c if ((c = UCD_CASESET(c)) != 0) c 8129 ext/pcre/pcrelib/pcre_compile.c *code++ = c; c 8140 ext/pcre/pcrelib/pcre_compile.c for (c = 0; c < mclength; c++) *code++ = mcbuffer[c]; c 8809 ext/pcre/pcrelib/pcre_compile.c register pcre_uint32 c = 0; c 8839 ext/pcre/pcrelib/pcre_compile.c if (cflags < 0) { c = d; cflags = dflags; } else if (c != d || cflags != dflags) return 0; c 8851 ext/pcre/pcrelib/pcre_compile.c if (cflags < 0) { c = scode[1]; cflags = 0; } c 8852 ext/pcre/pcrelib/pcre_compile.c else if (c != scode[1]) return 0; c 8864 ext/pcre/pcrelib/pcre_compile.c if (cflags < 0) { c = scode[1]; cflags = REQ_CASELESS; } c 8865 ext/pcre/pcrelib/pcre_compile.c else if (c != scode[1]) return 0; c 8874 ext/pcre/pcrelib/pcre_compile.c return c; c 9112 ext/pcre/pcrelib/pcre_compile.c pcre_uint32 c = 0; c 9116 ext/pcre/pcrelib/pcre_compile.c if (c > PCRE_UINT32_MAX / 10 - 1) break; /* Integer overflow */ c 9117 ext/pcre/pcrelib/pcre_compile.c c = c*10 + ptr[p++] - CHAR_0; c 9120 ext/pcre/pcrelib/pcre_compile.c if (c < limit_match) c 9122 ext/pcre/pcrelib/pcre_compile.c limit_match = c; c 9131 ext/pcre/pcrelib/pcre_compile.c pcre_uint32 c = 0; c 9135 ext/pcre/pcrelib/pcre_compile.c if (c > PCRE_UINT32_MAX / 10 - 1) break; /* Integer overflow check */ c 9136 ext/pcre/pcrelib/pcre_compile.c c = c*10 + ptr[p++] - CHAR_0; c 9139 ext/pcre/pcrelib/pcre_compile.c if (c < limit_recursion) c 9141 ext/pcre/pcrelib/pcre_compile.c limit_recursion = c; c 131 ext/pcre/pcrelib/pcre_exec.c pcre_uint32 c; c 135 ext/pcre/pcrelib/pcre_exec.c if (isprint(c = UCHAR21INCTEST(p))) printf("%c", (char)c); else printf("\\x{%02x}", c); c 211 ext/pcre/pcrelib/pcre_exec.c pcre_uint32 c, d; c 214 ext/pcre/pcrelib/pcre_exec.c GETCHARINC(c, eptr); c 217 ext/pcre/pcrelib/pcre_exec.c if (c != d && c != d + ur->other_case) c 222 ext/pcre/pcrelib/pcre_exec.c if (c < *pp) return -1; c 223 ext/pcre/pcrelib/pcre_exec.c if (c == *pp++) break; c 521 ext/pcre/pcrelib/pcre_exec.c register pcre_uint32 c; /* Character values not kept over RMATCH() calls */ c 610 ext/pcre/pcrelib/pcre_exec.c #define fc c c 2201 ext/pcre/pcrelib/pcre_exec.c GETCHAR(c, lastptr); c 2205 ext/pcre/pcrelib/pcre_exec.c if (c == '_') prev_is_word = TRUE; else c 2207 ext/pcre/pcrelib/pcre_exec.c int cat = UCD_CATEGORY(c); c 2213 ext/pcre/pcrelib/pcre_exec.c prev_is_word = c < 256 && (md->ctypes[c] & ctype_word) != 0; c 2225 ext/pcre/pcrelib/pcre_exec.c GETCHAR(c, eptr); c 2229 ext/pcre/pcrelib/pcre_exec.c if (c == '_') cur_is_word = TRUE; else c 2231 ext/pcre/pcrelib/pcre_exec.c int cat = UCD_CATEGORY(c); c 2237 ext/pcre/pcrelib/pcre_exec.c cur_is_word = c < 256 && (md->ctypes[c] & ctype_word) != 0; c 2255 ext/pcre/pcrelib/pcre_exec.c c = eptr[-1]; c 2256 ext/pcre/pcrelib/pcre_exec.c if (c == '_') prev_is_word = TRUE; else c 2258 ext/pcre/pcrelib/pcre_exec.c int cat = UCD_CATEGORY(c); c 2279 ext/pcre/pcrelib/pcre_exec.c c = *eptr; c 2280 ext/pcre/pcrelib/pcre_exec.c if (c == '_') cur_is_word = TRUE; else c 2282 ext/pcre/pcrelib/pcre_exec.c int cat = UCD_CATEGORY(c); c 2351 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 2354 ext/pcre/pcrelib/pcre_exec.c c < 256 && c 2356 ext/pcre/pcrelib/pcre_exec.c (md->ctypes[c] & ctype_digit) != 0 c 2368 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 2371 ext/pcre/pcrelib/pcre_exec.c c > 255 || c 2373 ext/pcre/pcrelib/pcre_exec.c (md->ctypes[c] & ctype_digit) == 0 c 2385 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 2388 ext/pcre/pcrelib/pcre_exec.c c < 256 && c 2390 ext/pcre/pcrelib/pcre_exec.c (md->ctypes[c] & ctype_space) != 0 c 2402 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 2405 ext/pcre/pcrelib/pcre_exec.c c > 255 || c 2407 ext/pcre/pcrelib/pcre_exec.c (md->ctypes[c] & ctype_space) == 0 c 2419 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 2422 ext/pcre/pcrelib/pcre_exec.c c < 256 && c 2424 ext/pcre/pcrelib/pcre_exec.c (md->ctypes[c] & ctype_word) != 0 c 2436 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 2439 ext/pcre/pcrelib/pcre_exec.c c > 255 || c 2441 ext/pcre/pcrelib/pcre_exec.c (md->ctypes[c] & ctype_word) == 0 c 2453 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 2454 ext/pcre/pcrelib/pcre_exec.c switch(c) c 2488 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 2489 ext/pcre/pcrelib/pcre_exec.c switch(c) c 2503 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 2504 ext/pcre/pcrelib/pcre_exec.c switch(c) c 2518 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 2519 ext/pcre/pcrelib/pcre_exec.c switch(c) c 2533 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 2534 ext/pcre/pcrelib/pcre_exec.c switch(c) c 2553 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 2556 ext/pcre/pcrelib/pcre_exec.c const ucd_record *prop = GET_UCD(c); c 2600 ext/pcre/pcrelib/pcre_exec.c switch(c) c 2617 ext/pcre/pcrelib/pcre_exec.c c == CHAR_UNDERSCORE) == (op == OP_NOTPROP)) c 2625 ext/pcre/pcrelib/pcre_exec.c if (c < *cp) c 2627 ext/pcre/pcrelib/pcre_exec.c if (c == *cp++) c 2633 ext/pcre/pcrelib/pcre_exec.c if ((c == CHAR_DOLLAR_SIGN || c == CHAR_COMMERCIAL_AT || c 2634 ext/pcre/pcrelib/pcre_exec.c c == CHAR_GRAVE_ACCENT || (c >= 0xa0 && c <= 0xd7ff) || c 2635 ext/pcre/pcrelib/pcre_exec.c c >= 0xe000) == (op == OP_NOTPROP)) c 2661 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 2662 ext/pcre/pcrelib/pcre_exec.c lgb = UCD_GRAPHBREAK(c); c 2666 ext/pcre/pcrelib/pcre_exec.c if (!utf) c = *eptr; else { GETCHARLEN(c, eptr, len); } c 2667 ext/pcre/pcrelib/pcre_exec.c rgb = UCD_GRAPHBREAK(c); c 2750 ext/pcre/pcrelib/pcre_exec.c c = *ecode++ - OP_CRSTAR; c 2751 ext/pcre/pcrelib/pcre_exec.c minimize = (c & 1) != 0; c 2752 ext/pcre/pcrelib/pcre_exec.c min = rep_min[c]; /* Pick up values from tables; */ c 2753 ext/pcre/pcrelib/pcre_exec.c max = rep_max[c]; /* zero for max => infinity */ c 2893 ext/pcre/pcrelib/pcre_exec.c c = *ecode++ - OP_CRSTAR; c 2894 ext/pcre/pcrelib/pcre_exec.c if (c < OP_CRPOSSTAR - OP_CRSTAR) minimize = (c & 1) != 0; c 2896 ext/pcre/pcrelib/pcre_exec.c min = rep_min[c]; /* Pick up values from tables; */ c 2897 ext/pcre/pcrelib/pcre_exec.c max = rep_max[c]; /* zero for max => infinity */ c 2929 ext/pcre/pcrelib/pcre_exec.c GETCHARINC(c, eptr); c 2930 ext/pcre/pcrelib/pcre_exec.c if (c > 255) c 2935 ext/pcre/pcrelib/pcre_exec.c if ((BYTE_MAP[c/8] & (1 << (c&7))) == 0) RRETURN(MATCH_NOMATCH); c 2949 ext/pcre/pcrelib/pcre_exec.c c = *eptr++; c 2951 ext/pcre/pcrelib/pcre_exec.c if (c > 255) c 2957 ext/pcre/pcrelib/pcre_exec.c if ((BYTE_MAP[c/8] & (1 << (c&7))) == 0) RRETURN(MATCH_NOMATCH); c 2984 ext/pcre/pcrelib/pcre_exec.c GETCHARINC(c, eptr); c 2985 ext/pcre/pcrelib/pcre_exec.c if (c > 255) c 2990 ext/pcre/pcrelib/pcre_exec.c if ((BYTE_MAP[c/8] & (1 << (c&7))) == 0) RRETURN(MATCH_NOMATCH); c 3007 ext/pcre/pcrelib/pcre_exec.c c = *eptr++; c 3009 ext/pcre/pcrelib/pcre_exec.c if (c > 255) c 3015 ext/pcre/pcrelib/pcre_exec.c if ((BYTE_MAP[c/8] & (1 << (c&7))) == 0) RRETURN(MATCH_NOMATCH); c 3038 ext/pcre/pcrelib/pcre_exec.c GETCHARLEN(c, eptr, len); c 3039 ext/pcre/pcrelib/pcre_exec.c if (c > 255) c 3044 ext/pcre/pcrelib/pcre_exec.c if ((BYTE_MAP[c/8] & (1 << (c&7))) == 0) break; c 3069 ext/pcre/pcrelib/pcre_exec.c c = *eptr; c 3071 ext/pcre/pcrelib/pcre_exec.c if (c > 255) c 3077 ext/pcre/pcrelib/pcre_exec.c if ((BYTE_MAP[c/8] & (1 << (c&7))) == 0) break; c 3120 ext/pcre/pcrelib/pcre_exec.c c = *ecode++ - OP_CRSTAR; c 3121 ext/pcre/pcrelib/pcre_exec.c if (c < OP_CRPOSSTAR - OP_CRSTAR) minimize = (c & 1) != 0; c 3123 ext/pcre/pcrelib/pcre_exec.c min = rep_min[c]; /* Pick up values from tables; */ c 3124 ext/pcre/pcrelib/pcre_exec.c max = rep_max[c]; /* zero for max => infinity */ c 3153 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 3154 ext/pcre/pcrelib/pcre_exec.c if (!PRIV(xclass)(c, data, utf)) RRETURN(MATCH_NOMATCH); c 3177 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 3178 ext/pcre/pcrelib/pcre_exec.c if (!PRIV(xclass)(c, data, utf)) RRETURN(MATCH_NOMATCH); c 3197 ext/pcre/pcrelib/pcre_exec.c GETCHARLENTEST(c, eptr, len); c 3199 ext/pcre/pcrelib/pcre_exec.c c = *eptr; c 3201 ext/pcre/pcrelib/pcre_exec.c if (!PRIV(xclass)(c, data, utf)) break; c 3376 ext/pcre/pcrelib/pcre_exec.c c = *ecode++ - ((op < OP_STARI)? OP_STAR : OP_STARI); c 3377 ext/pcre/pcrelib/pcre_exec.c minimize = (c & 1) != 0; c 3378 ext/pcre/pcrelib/pcre_exec.c min = rep_min[c]; /* Pick up values from tables; */ c 3379 ext/pcre/pcrelib/pcre_exec.c max = rep_max[c]; /* zero for max => infinity */ c 3672 ext/pcre/pcrelib/pcre_exec.c GETCHARINC(c, eptr); c 3676 ext/pcre/pcrelib/pcre_exec.c if (ch == c) RRETURN(MATCH_NOMATCH); c 3689 ext/pcre/pcrelib/pcre_exec.c if (ch == c || och == c) RRETURN(MATCH_NOMATCH); c 3696 ext/pcre/pcrelib/pcre_exec.c c = *eptr++; c 3697 ext/pcre/pcrelib/pcre_exec.c if (ch == c || (op == OP_NOTI && TABLE_GET(ch, md->fcc, ch) == c)) c 3770 ext/pcre/pcrelib/pcre_exec.c c = *ecode++ - ((op >= OP_NOTSTARI)? OP_NOTSTARI: OP_NOTSTAR); c 3771 ext/pcre/pcrelib/pcre_exec.c minimize = (c & 1) != 0; c 3772 ext/pcre/pcrelib/pcre_exec.c min = rep_min[c]; /* Pick up values from tables; */ c 3773 ext/pcre/pcrelib/pcre_exec.c max = rep_max[c]; /* zero for max => infinity */ c 4127 ext/pcre/pcrelib/pcre_exec.c c = *ecode++ - OP_TYPESTAR; c 4128 ext/pcre/pcrelib/pcre_exec.c minimize = (c & 1) != 0; c 4129 ext/pcre/pcrelib/pcre_exec.c min = rep_min[c]; /* Pick up values from tables; */ c 4130 ext/pcre/pcrelib/pcre_exec.c max = rep_max[c]; /* zero for max => infinity */ c 4172 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 4185 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 4186 ext/pcre/pcrelib/pcre_exec.c chartype = UCD_CHARTYPE(c); c 4202 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 4203 ext/pcre/pcrelib/pcre_exec.c if ((UCD_CATEGORY(c) == prop_value) == prop_fail_result) c 4216 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 4217 ext/pcre/pcrelib/pcre_exec.c if ((UCD_CHARTYPE(c) == prop_value) == prop_fail_result) c 4230 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 4231 ext/pcre/pcrelib/pcre_exec.c if ((UCD_SCRIPT(c) == prop_value) == prop_fail_result) c 4245 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 4246 ext/pcre/pcrelib/pcre_exec.c category = UCD_CATEGORY(c); c 4265 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 4266 ext/pcre/pcrelib/pcre_exec.c switch(c) c 4274 ext/pcre/pcrelib/pcre_exec.c if ((UCD_CATEGORY(c) == ucp_Z) == prop_fail_result) c 4290 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 4291 ext/pcre/pcrelib/pcre_exec.c category = UCD_CATEGORY(c); c 4292 ext/pcre/pcrelib/pcre_exec.c if ((category == ucp_L || category == ucp_N || c == CHAR_UNDERSCORE) c 4307 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 4311 ext/pcre/pcrelib/pcre_exec.c if (c < *cp) c 4313 ext/pcre/pcrelib/pcre_exec.c if (c == *cp++) c 4327 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 4328 ext/pcre/pcrelib/pcre_exec.c if ((c == CHAR_DOLLAR_SIGN || c == CHAR_COMMERCIAL_AT || c 4329 ext/pcre/pcrelib/pcre_exec.c c == CHAR_GRAVE_ACCENT || (c >= 0xa0 && c <= 0xd7ff) || c 4330 ext/pcre/pcrelib/pcre_exec.c c >= 0xe000) == prop_fail_result) c 4357 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 4358 ext/pcre/pcrelib/pcre_exec.c lgb = UCD_GRAPHBREAK(c); c 4362 ext/pcre/pcrelib/pcre_exec.c if (!utf) c = *eptr; else { GETCHARLEN(c, eptr, len); } c 4363 ext/pcre/pcrelib/pcre_exec.c rgb = UCD_GRAPHBREAK(c); c 4430 ext/pcre/pcrelib/pcre_exec.c GETCHARINC(c, eptr); c 4431 ext/pcre/pcrelib/pcre_exec.c switch(c) c 4463 ext/pcre/pcrelib/pcre_exec.c GETCHARINC(c, eptr); c 4464 ext/pcre/pcrelib/pcre_exec.c switch(c) c 4480 ext/pcre/pcrelib/pcre_exec.c GETCHARINC(c, eptr); c 4481 ext/pcre/pcrelib/pcre_exec.c switch(c) c 4497 ext/pcre/pcrelib/pcre_exec.c GETCHARINC(c, eptr); c 4498 ext/pcre/pcrelib/pcre_exec.c switch(c) c 4514 ext/pcre/pcrelib/pcre_exec.c GETCHARINC(c, eptr); c 4515 ext/pcre/pcrelib/pcre_exec.c switch(c) c 4531 ext/pcre/pcrelib/pcre_exec.c GETCHARINC(c, eptr); c 4532 ext/pcre/pcrelib/pcre_exec.c if (c < 128 && (md->ctypes[c] & ctype_digit) != 0) c 4901 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 4918 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 4919 ext/pcre/pcrelib/pcre_exec.c chartype = UCD_CHARTYPE(c); c 4938 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 4939 ext/pcre/pcrelib/pcre_exec.c if ((UCD_CATEGORY(c) == prop_value) == prop_fail_result) c 4955 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 4956 ext/pcre/pcrelib/pcre_exec.c if ((UCD_CHARTYPE(c) == prop_value) == prop_fail_result) c 4972 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 4973 ext/pcre/pcrelib/pcre_exec.c if ((UCD_SCRIPT(c) == prop_value) == prop_fail_result) c 4990 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 4991 ext/pcre/pcrelib/pcre_exec.c category = UCD_CATEGORY(c); c 5013 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 5014 ext/pcre/pcrelib/pcre_exec.c switch(c) c 5022 ext/pcre/pcrelib/pcre_exec.c if ((UCD_CATEGORY(c) == ucp_Z) == prop_fail_result) c 5041 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 5042 ext/pcre/pcrelib/pcre_exec.c category = UCD_CATEGORY(c); c 5045 ext/pcre/pcrelib/pcre_exec.c c == CHAR_UNDERSCORE) c 5063 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 5067 ext/pcre/pcrelib/pcre_exec.c if (c < *cp) c 5069 ext/pcre/pcrelib/pcre_exec.c if (c == *cp++) c 5086 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 5087 ext/pcre/pcrelib/pcre_exec.c if ((c == CHAR_DOLLAR_SIGN || c == CHAR_COMMERCIAL_AT || c 5088 ext/pcre/pcrelib/pcre_exec.c c == CHAR_GRAVE_ACCENT || (c >= 0xa0 && c <= 0xd7ff) || c 5089 ext/pcre/pcrelib/pcre_exec.c c >= 0xe000) == prop_fail_result) c 5118 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 5119 ext/pcre/pcrelib/pcre_exec.c lgb = UCD_GRAPHBREAK(c); c 5123 ext/pcre/pcrelib/pcre_exec.c if (!utf) c = *eptr; else { GETCHARLEN(c, eptr, len); } c 5124 ext/pcre/pcrelib/pcre_exec.c rgb = UCD_GRAPHBREAK(c); c 5151 ext/pcre/pcrelib/pcre_exec.c GETCHARINC(c, eptr); c 5159 ext/pcre/pcrelib/pcre_exec.c c == NLBLOCK->nl[0]) c 5171 ext/pcre/pcrelib/pcre_exec.c switch(c) c 5194 ext/pcre/pcrelib/pcre_exec.c switch(c) c 5202 ext/pcre/pcrelib/pcre_exec.c switch(c) c 5210 ext/pcre/pcrelib/pcre_exec.c switch(c) c 5218 ext/pcre/pcrelib/pcre_exec.c switch(c) c 5226 ext/pcre/pcrelib/pcre_exec.c if (c < 256 && (md->ctypes[c] & ctype_digit) != 0) c 5231 ext/pcre/pcrelib/pcre_exec.c if (c >= 256 || (md->ctypes[c] & ctype_digit) == 0) c 5236 ext/pcre/pcrelib/pcre_exec.c if (c < 256 && (md->ctypes[c] & ctype_space) != 0) c 5241 ext/pcre/pcrelib/pcre_exec.c if (c >= 256 || (md->ctypes[c] & ctype_space) == 0) c 5246 ext/pcre/pcrelib/pcre_exec.c if (c < 256 && (md->ctypes[c] & ctype_word) != 0) c 5251 ext/pcre/pcrelib/pcre_exec.c if (c >= 256 || (md->ctypes[c] & ctype_word) == 0) c 5276 ext/pcre/pcrelib/pcre_exec.c c = *eptr++; c 5284 ext/pcre/pcrelib/pcre_exec.c c == NLBLOCK->nl[0]) c 5296 ext/pcre/pcrelib/pcre_exec.c switch(c) c 5319 ext/pcre/pcrelib/pcre_exec.c switch(c) c 5331 ext/pcre/pcrelib/pcre_exec.c switch(c) c 5343 ext/pcre/pcrelib/pcre_exec.c switch(c) c 5355 ext/pcre/pcrelib/pcre_exec.c switch(c) c 5367 ext/pcre/pcrelib/pcre_exec.c if (MAX_255(c) && (md->ctypes[c] & ctype_digit) != 0) RRETURN(MATCH_NOMATCH); c 5371 ext/pcre/pcrelib/pcre_exec.c if (!MAX_255(c) || (md->ctypes[c] & ctype_digit) == 0) RRETURN(MATCH_NOMATCH); c 5375 ext/pcre/pcrelib/pcre_exec.c if (MAX_255(c) && (md->ctypes[c] & ctype_space) != 0) RRETURN(MATCH_NOMATCH); c 5379 ext/pcre/pcrelib/pcre_exec.c if (!MAX_255(c) || (md->ctypes[c] & ctype_space) == 0) RRETURN(MATCH_NOMATCH); c 5383 ext/pcre/pcrelib/pcre_exec.c if (MAX_255(c) && (md->ctypes[c] & ctype_word) != 0) RRETURN(MATCH_NOMATCH); c 5387 ext/pcre/pcrelib/pcre_exec.c if (!MAX_255(c) || (md->ctypes[c] & ctype_word) == 0) RRETURN(MATCH_NOMATCH); c 5420 ext/pcre/pcrelib/pcre_exec.c GETCHARLENTEST(c, eptr, len); c 5436 ext/pcre/pcrelib/pcre_exec.c GETCHARLENTEST(c, eptr, len); c 5437 ext/pcre/pcrelib/pcre_exec.c chartype = UCD_CHARTYPE(c); c 5455 ext/pcre/pcrelib/pcre_exec.c GETCHARLENTEST(c, eptr, len); c 5456 ext/pcre/pcrelib/pcre_exec.c if ((UCD_CATEGORY(c) == prop_value) == prop_fail_result) break; c 5470 ext/pcre/pcrelib/pcre_exec.c GETCHARLENTEST(c, eptr, len); c 5471 ext/pcre/pcrelib/pcre_exec.c if ((UCD_CHARTYPE(c) == prop_value) == prop_fail_result) break; c 5485 ext/pcre/pcrelib/pcre_exec.c GETCHARLENTEST(c, eptr, len); c 5486 ext/pcre/pcrelib/pcre_exec.c if ((UCD_SCRIPT(c) == prop_value) == prop_fail_result) break; c 5501 ext/pcre/pcrelib/pcre_exec.c GETCHARLENTEST(c, eptr, len); c 5502 ext/pcre/pcrelib/pcre_exec.c category = UCD_CATEGORY(c); c 5523 ext/pcre/pcrelib/pcre_exec.c GETCHARLENTEST(c, eptr, len); c 5524 ext/pcre/pcrelib/pcre_exec.c switch(c) c 5532 ext/pcre/pcrelib/pcre_exec.c if ((UCD_CATEGORY(c) == ucp_Z) == prop_fail_result) c 5551 ext/pcre/pcrelib/pcre_exec.c GETCHARLENTEST(c, eptr, len); c 5552 ext/pcre/pcrelib/pcre_exec.c category = UCD_CATEGORY(c); c 5554 ext/pcre/pcrelib/pcre_exec.c c == CHAR_UNDERSCORE) == prop_fail_result) c 5570 ext/pcre/pcrelib/pcre_exec.c GETCHARLENTEST(c, eptr, len); c 5574 ext/pcre/pcrelib/pcre_exec.c if (c < *cp) c 5576 ext/pcre/pcrelib/pcre_exec.c if (c == *cp++) c 5593 ext/pcre/pcrelib/pcre_exec.c GETCHARLENTEST(c, eptr, len); c 5594 ext/pcre/pcrelib/pcre_exec.c if ((c == CHAR_DOLLAR_SIGN || c == CHAR_COMMERCIAL_AT || c 5595 ext/pcre/pcrelib/pcre_exec.c c == CHAR_GRAVE_ACCENT || (c >= 0xa0 && c <= 0xd7ff) || c 5596 ext/pcre/pcrelib/pcre_exec.c c >= 0xe000) == prop_fail_result) c 5634 ext/pcre/pcrelib/pcre_exec.c GETCHARINCTEST(c, eptr); c 5635 ext/pcre/pcrelib/pcre_exec.c lgb = UCD_GRAPHBREAK(c); c 5639 ext/pcre/pcrelib/pcre_exec.c if (!utf) c = *eptr; else { GETCHARLEN(c, eptr, len); } c 5640 ext/pcre/pcrelib/pcre_exec.c rgb = UCD_GRAPHBREAK(c); c 5672 ext/pcre/pcrelib/pcre_exec.c if (!utf) c = *eptr; else c 5675 ext/pcre/pcrelib/pcre_exec.c GETCHAR(c, eptr); c 5677 ext/pcre/pcrelib/pcre_exec.c rgb = UCD_GRAPHBREAK(c); c 5683 ext/pcre/pcrelib/pcre_exec.c if (!utf) c = *fptr; else c 5686 ext/pcre/pcrelib/pcre_exec.c GETCHAR(c, fptr); c 5688 ext/pcre/pcrelib/pcre_exec.c lgb = UCD_GRAPHBREAK(c); c 5751 ext/pcre/pcrelib/pcre_exec.c c = max - min; c 5752 ext/pcre/pcrelib/pcre_exec.c if (c > (unsigned int)(md->end_subject - eptr)) c 5757 ext/pcre/pcrelib/pcre_exec.c else eptr += c; c 5769 ext/pcre/pcrelib/pcre_exec.c GETCHARLEN(c, eptr, len); c 5770 ext/pcre/pcrelib/pcre_exec.c if (c == CHAR_CR) c 5777 ext/pcre/pcrelib/pcre_exec.c if (c != CHAR_LF && c 5779 ext/pcre/pcrelib/pcre_exec.c (c != CHAR_VT && c != CHAR_FF && c != CHAR_NEL c 5781 ext/pcre/pcrelib/pcre_exec.c && c != 0x2028 && c != 0x2029 c 5801 ext/pcre/pcrelib/pcre_exec.c GETCHARLEN(c, eptr, len); c 5802 ext/pcre/pcrelib/pcre_exec.c switch(c) c 5823 ext/pcre/pcrelib/pcre_exec.c GETCHARLEN(c, eptr, len); c 5824 ext/pcre/pcrelib/pcre_exec.c switch(c) c 5843 ext/pcre/pcrelib/pcre_exec.c GETCHARLEN(c, eptr, len); c 5844 ext/pcre/pcrelib/pcre_exec.c if (c < 256 && (md->ctypes[c] & ctype_digit) != 0) break; c 5858 ext/pcre/pcrelib/pcre_exec.c GETCHARLEN(c, eptr, len); c 5859 ext/pcre/pcrelib/pcre_exec.c if (c >= 256 ||(md->ctypes[c] & ctype_digit) == 0) break; c 5873 ext/pcre/pcrelib/pcre_exec.c GETCHARLEN(c, eptr, len); c 5874 ext/pcre/pcrelib/pcre_exec.c if (c < 256 && (md->ctypes[c] & ctype_space) != 0) break; c 5888 ext/pcre/pcrelib/pcre_exec.c GETCHARLEN(c, eptr, len); c 5889 ext/pcre/pcrelib/pcre_exec.c if (c >= 256 ||(md->ctypes[c] & ctype_space) == 0) break; c 5903 ext/pcre/pcrelib/pcre_exec.c GETCHARLEN(c, eptr, len); c 5904 ext/pcre/pcrelib/pcre_exec.c if (c < 256 && (md->ctypes[c] & ctype_word) != 0) break; c 5918 ext/pcre/pcrelib/pcre_exec.c GETCHARLEN(c, eptr, len); c 5919 ext/pcre/pcrelib/pcre_exec.c if (c >= 256 || (md->ctypes[c] & ctype_word) == 0) break; c 5970 ext/pcre/pcrelib/pcre_exec.c c = max - min; c 5971 ext/pcre/pcrelib/pcre_exec.c if (c > (unsigned int)(md->end_subject - eptr)) c 5976 ext/pcre/pcrelib/pcre_exec.c else eptr += c; c 5987 ext/pcre/pcrelib/pcre_exec.c c = *eptr; c 5988 ext/pcre/pcrelib/pcre_exec.c if (c == CHAR_CR) c 5995 ext/pcre/pcrelib/pcre_exec.c if (c != CHAR_LF && (md->bsr_anycrlf || c 5996 ext/pcre/pcrelib/pcre_exec.c (c != CHAR_VT && c != CHAR_FF && c != CHAR_NEL c 5998 ext/pcre/pcrelib/pcre_exec.c && c != 0x2028 && c != 0x2029 c 6831 ext/pcre/pcrelib/pcre_exec.c register pcre_uint32 c = UCHAR21TEST(start_match); c 6833 ext/pcre/pcrelib/pcre_exec.c if (c > 255) c = 255; c 6835 ext/pcre/pcrelib/pcre_exec.c if ((start_bits[c/8] & (1 << (c&7))) != 0) break; c 118 ext/pcre/pcrelib/pcre_get.c int c = STRCMP_UC_UC((pcre_uchar *)stringname, c 120 ext/pcre/pcrelib/pcre_get.c if (c == 0) return GET2(entry, 0); c 121 ext/pcre/pcrelib/pcre_get.c if (c > 0) bot = mid + 1; else top = mid; c 202 ext/pcre/pcrelib/pcre_get.c int c = STRCMP_UC_UC((pcre_uchar *)stringname, c 204 ext/pcre/pcrelib/pcre_get.c if (c == 0) c 232 ext/pcre/pcrelib/pcre_get.c if (c > 0) bot = mid + 1; else top = mid; c 265 ext/pcre/pcrelib/pcre_internal.h #define MAX_255(c) 1 c 266 ext/pcre/pcrelib/pcre_internal.h #define TABLE_GET(c, table, default) ((table)[c]) c 279 ext/pcre/pcrelib/pcre_internal.h #define MAX_255(c) ((c) <= 255u) c 280 ext/pcre/pcrelib/pcre_internal.h #define TABLE_GET(c, table, default) (MAX_255(c)? ((table)[c]):(default)) c 287 ext/pcre/pcrelib/pcre_internal.h #define MAX_255(c) ((c) <= 255u) c 288 ext/pcre/pcrelib/pcre_internal.h #define TABLE_GET(c, table, default) (MAX_255(c)? ((table)[c]):(default)) c 371 ext/pcre/pcrelib/pcre_internal.h #define memcmp(s,c,n) _memcmp(s,c,n) c 374 ext/pcre/pcrelib/pcre_internal.h #define memset(s,c,n) _memset(s,c,n) c 385 ext/pcre/pcrelib/pcre_internal.h #define memmove(a, b, c) bcopy(b, a, c) c 406 ext/pcre/pcrelib/pcre_internal.h #define memmove(a, b, c) pcre_memmove(a, b, c) c 613 ext/pcre/pcrelib/pcre_internal.h #define GETCHAR(c, eptr) c = *eptr; c 614 ext/pcre/pcrelib/pcre_internal.h #define GETCHARTEST(c, eptr) c = *eptr; c 615 ext/pcre/pcrelib/pcre_internal.h #define GETCHARINC(c, eptr) c = *eptr++; c 616 ext/pcre/pcrelib/pcre_internal.h #define GETCHARINCTEST(c, eptr) c = *eptr++; c 617 ext/pcre/pcrelib/pcre_internal.h #define GETCHARLEN(c, eptr, len) c = *eptr; c 627 ext/pcre/pcrelib/pcre_internal.h #define HASUTF8EXTRALEN(c) ((c) >= 0xc0) c 632 ext/pcre/pcrelib/pcre_internal.h #define GETUTF8(c, eptr) \ c 634 ext/pcre/pcrelib/pcre_internal.h if ((c & 0x20) == 0) \ c 635 ext/pcre/pcrelib/pcre_internal.h c = ((c & 0x1f) << 6) | (eptr[1] & 0x3f); \ c 636 ext/pcre/pcrelib/pcre_internal.h else if ((c & 0x10) == 0) \ c 637 ext/pcre/pcrelib/pcre_internal.h c = ((c & 0x0f) << 12) | ((eptr[1] & 0x3f) << 6) | (eptr[2] & 0x3f); \ c 638 ext/pcre/pcrelib/pcre_internal.h else if ((c & 0x08) == 0) \ c 639 ext/pcre/pcrelib/pcre_internal.h c = ((c & 0x07) << 18) | ((eptr[1] & 0x3f) << 12) | \ c 641 ext/pcre/pcrelib/pcre_internal.h else if ((c & 0x04) == 0) \ c 642 ext/pcre/pcrelib/pcre_internal.h c = ((c & 0x03) << 24) | ((eptr[1] & 0x3f) << 18) | \ c 646 ext/pcre/pcrelib/pcre_internal.h c = ((c & 0x01) << 30) | ((eptr[1] & 0x3f) << 24) | \ c 654 ext/pcre/pcrelib/pcre_internal.h #define GETUTF8INC(c, eptr) \ c 656 ext/pcre/pcrelib/pcre_internal.h if ((c & 0x20) == 0) \ c 657 ext/pcre/pcrelib/pcre_internal.h c = ((c & 0x1f) << 6) | (*eptr++ & 0x3f); \ c 658 ext/pcre/pcrelib/pcre_internal.h else if ((c & 0x10) == 0) \ c 660 ext/pcre/pcrelib/pcre_internal.h c = ((c & 0x0f) << 12) | ((*eptr & 0x3f) << 6) | (eptr[1] & 0x3f); \ c 663 ext/pcre/pcrelib/pcre_internal.h else if ((c & 0x08) == 0) \ c 665 ext/pcre/pcrelib/pcre_internal.h c = ((c & 0x07) << 18) | ((*eptr & 0x3f) << 12) | \ c 669 ext/pcre/pcrelib/pcre_internal.h else if ((c & 0x04) == 0) \ c 671 ext/pcre/pcrelib/pcre_internal.h c = ((c & 0x03) << 24) | ((*eptr & 0x3f) << 18) | \ c 678 ext/pcre/pcrelib/pcre_internal.h c = ((c & 0x01) << 30) | ((*eptr & 0x3f) << 24) | \ c 698 ext/pcre/pcrelib/pcre_internal.h #define HAS_EXTRALEN(c) ((c) >= 0xc0) c 703 ext/pcre/pcrelib/pcre_internal.h #define GET_EXTRALEN(c) (PRIV(utf8_table4)[(c) & 0x3f]) c 708 ext/pcre/pcrelib/pcre_internal.h #define NOT_FIRSTCHAR(c) (((c) & 0xc0) == 0x80) c 713 ext/pcre/pcrelib/pcre_internal.h #define GETCHAR(c, eptr) \ c 714 ext/pcre/pcrelib/pcre_internal.h c = *eptr; \ c 715 ext/pcre/pcrelib/pcre_internal.h if (c >= 0xc0) GETUTF8(c, eptr); c 720 ext/pcre/pcrelib/pcre_internal.h #define GETCHARTEST(c, eptr) \ c 721 ext/pcre/pcrelib/pcre_internal.h c = *eptr; \ c 722 ext/pcre/pcrelib/pcre_internal.h if (utf && c >= 0xc0) GETUTF8(c, eptr); c 727 ext/pcre/pcrelib/pcre_internal.h #define GETCHARINC(c, eptr) \ c 728 ext/pcre/pcrelib/pcre_internal.h c = *eptr++; \ c 729 ext/pcre/pcrelib/pcre_internal.h if (c >= 0xc0) GETUTF8INC(c, eptr); c 734 ext/pcre/pcrelib/pcre_internal.h #define GETCHARINCTEST(c, eptr) \ c 735 ext/pcre/pcrelib/pcre_internal.h c = *eptr++; \ c 736 ext/pcre/pcrelib/pcre_internal.h if (utf && c >= 0xc0) GETUTF8INC(c, eptr); c 741 ext/pcre/pcrelib/pcre_internal.h #define GETUTF8LEN(c, eptr, len) \ c 743 ext/pcre/pcrelib/pcre_internal.h if ((c & 0x20) == 0) \ c 745 ext/pcre/pcrelib/pcre_internal.h c = ((c & 0x1f) << 6) | (eptr[1] & 0x3f); \ c 748 ext/pcre/pcrelib/pcre_internal.h else if ((c & 0x10) == 0) \ c 750 ext/pcre/pcrelib/pcre_internal.h c = ((c & 0x0f) << 12) | ((eptr[1] & 0x3f) << 6) | (eptr[2] & 0x3f); \ c 753 ext/pcre/pcrelib/pcre_internal.h else if ((c & 0x08) == 0) \ c 755 ext/pcre/pcrelib/pcre_internal.h c = ((c & 0x07) << 18) | ((eptr[1] & 0x3f) << 12) | \ c 759 ext/pcre/pcrelib/pcre_internal.h else if ((c & 0x04) == 0) \ c 761 ext/pcre/pcrelib/pcre_internal.h c = ((c & 0x03) << 24) | ((eptr[1] & 0x3f) << 18) | \ c 768 ext/pcre/pcrelib/pcre_internal.h c = ((c & 0x01) << 30) | ((eptr[1] & 0x3f) << 24) | \ c 778 ext/pcre/pcrelib/pcre_internal.h #define GETCHARLEN(c, eptr, len) \ c 779 ext/pcre/pcrelib/pcre_internal.h c = *eptr; \ c 780 ext/pcre/pcrelib/pcre_internal.h if (c >= 0xc0) GETUTF8LEN(c, eptr, len); c 786 ext/pcre/pcrelib/pcre_internal.h #define GETCHARLENTEST(c, eptr, len) \ c 787 ext/pcre/pcrelib/pcre_internal.h c = *eptr; \ c 788 ext/pcre/pcrelib/pcre_internal.h if (utf && c >= 0xc0) GETUTF8LEN(c, eptr, len); c 811 ext/pcre/pcrelib/pcre_internal.h #define HAS_EXTRALEN(c) (((c) & 0xfc00) == 0xd800) c 816 ext/pcre/pcrelib/pcre_internal.h #define GET_EXTRALEN(c) 1 c 821 ext/pcre/pcrelib/pcre_internal.h #define NOT_FIRSTCHAR(c) (((c) & 0xfc00) == 0xdc00) c 826 ext/pcre/pcrelib/pcre_internal.h #define GETUTF16(c, eptr) \ c 827 ext/pcre/pcrelib/pcre_internal.h { c = (((c & 0x3ff) << 10) | (eptr[1] & 0x3ff)) + 0x10000; } c 832 ext/pcre/pcrelib/pcre_internal.h #define GETCHAR(c, eptr) \ c 833 ext/pcre/pcrelib/pcre_internal.h c = *eptr; \ c 834 ext/pcre/pcrelib/pcre_internal.h if ((c & 0xfc00) == 0xd800) GETUTF16(c, eptr); c 839 ext/pcre/pcrelib/pcre_internal.h #define GETCHARTEST(c, eptr) \ c 840 ext/pcre/pcrelib/pcre_internal.h c = *eptr; \ c 841 ext/pcre/pcrelib/pcre_internal.h if (utf && (c & 0xfc00) == 0xd800) GETUTF16(c, eptr); c 846 ext/pcre/pcrelib/pcre_internal.h #define GETUTF16INC(c, eptr) \ c 847 ext/pcre/pcrelib/pcre_internal.h { c = (((c & 0x3ff) << 10) | (*eptr++ & 0x3ff)) + 0x10000; } c 852 ext/pcre/pcrelib/pcre_internal.h #define GETCHARINC(c, eptr) \ c 853 ext/pcre/pcrelib/pcre_internal.h c = *eptr++; \ c 854 ext/pcre/pcrelib/pcre_internal.h if ((c & 0xfc00) == 0xd800) GETUTF16INC(c, eptr); c 859 ext/pcre/pcrelib/pcre_internal.h #define GETCHARINCTEST(c, eptr) \ c 860 ext/pcre/pcrelib/pcre_internal.h c = *eptr++; \ c 861 ext/pcre/pcrelib/pcre_internal.h if (utf && (c & 0xfc00) == 0xd800) GETUTF16INC(c, eptr); c 866 ext/pcre/pcrelib/pcre_internal.h #define GETUTF16LEN(c, eptr, len) \ c 867 ext/pcre/pcrelib/pcre_internal.h { c = (((c & 0x3ff) << 10) | (eptr[1] & 0x3ff)) + 0x10000; len++; } c 873 ext/pcre/pcrelib/pcre_internal.h #define GETCHARLEN(c, eptr, len) \ c 874 ext/pcre/pcrelib/pcre_internal.h c = *eptr; \ c 875 ext/pcre/pcrelib/pcre_internal.h if ((c & 0xfc00) == 0xd800) GETUTF16LEN(c, eptr, len); c 881 ext/pcre/pcrelib/pcre_internal.h #define GETCHARLENTEST(c, eptr, len) \ c 882 ext/pcre/pcrelib/pcre_internal.h c = *eptr; \ c 883 ext/pcre/pcrelib/pcre_internal.h if (utf && (c & 0xfc00) == 0xd800) GETUTF16LEN(c, eptr, len); c 904 ext/pcre/pcrelib/pcre_internal.h #define HAS_EXTRALEN(c) (0) c 905 ext/pcre/pcrelib/pcre_internal.h #define GET_EXTRALEN(c) (0) c 906 ext/pcre/pcrelib/pcre_internal.h #define NOT_FIRSTCHAR(c) (0) c 911 ext/pcre/pcrelib/pcre_internal.h #define GETCHAR(c, eptr) \ c 912 ext/pcre/pcrelib/pcre_internal.h c = *(eptr); c 917 ext/pcre/pcrelib/pcre_internal.h #define GETCHARTEST(c, eptr) \ c 918 ext/pcre/pcrelib/pcre_internal.h c = *(eptr); c 923 ext/pcre/pcrelib/pcre_internal.h #define GETCHARINC(c, eptr) \ c 924 ext/pcre/pcrelib/pcre_internal.h c = *((eptr)++); c 929 ext/pcre/pcrelib/pcre_internal.h #define GETCHARINCTEST(c, eptr) \ c 930 ext/pcre/pcrelib/pcre_internal.h c = *((eptr)++); c 936 ext/pcre/pcrelib/pcre_internal.h #define GETCHARLEN(c, eptr, len) \ c 937 ext/pcre/pcrelib/pcre_internal.h GETCHAR(c, eptr) c 943 ext/pcre/pcrelib/pcre_internal.h #define GETCHARLENTEST(c, eptr, len) \ c 944 ext/pcre/pcrelib/pcre_internal.h GETCHARTEST(c, eptr) c 452 ext/pcre/pcrelib/pcre_jit_compile.c } c; c 2371 ext/pcre/pcrelib/pcre_jit_compile.c unsigned int c; c 2376 ext/pcre/pcrelib/pcre_jit_compile.c GETCHAR(c, cc); c 2377 ext/pcre/pcrelib/pcre_jit_compile.c if (c > 127) c 2380 ext/pcre/pcrelib/pcre_jit_compile.c return c != UCD_OTHERCASE(c); c 2386 ext/pcre/pcrelib/pcre_jit_compile.c return common->fcc[c] != c; c 2391 ext/pcre/pcrelib/pcre_jit_compile.c c = *cc; c 2392 ext/pcre/pcrelib/pcre_jit_compile.c return MAX_255(c) ? common->fcc[c] != c : FALSE; c 2395 ext/pcre/pcrelib/pcre_jit_compile.c static SLJIT_INLINE unsigned int char_othercase(compiler_common *common, unsigned int c) c 2399 ext/pcre/pcrelib/pcre_jit_compile.c if (common->utf && c > 127) c 2402 ext/pcre/pcrelib/pcre_jit_compile.c return UCD_OTHERCASE(c); c 2404 ext/pcre/pcrelib/pcre_jit_compile.c return c; c 2408 ext/pcre/pcrelib/pcre_jit_compile.c return TABLE_GET(c, common->fcc, c); c 2414 ext/pcre/pcrelib/pcre_jit_compile.c unsigned int c, oc, bit; c 2422 ext/pcre/pcrelib/pcre_jit_compile.c GETCHAR(c, cc); c 2423 ext/pcre/pcrelib/pcre_jit_compile.c if (c <= 127) c 2424 ext/pcre/pcrelib/pcre_jit_compile.c oc = common->fcc[c]; c 2428 ext/pcre/pcrelib/pcre_jit_compile.c oc = UCD_OTHERCASE(c); c 2430 ext/pcre/pcrelib/pcre_jit_compile.c oc = c; c 2436 ext/pcre/pcrelib/pcre_jit_compile.c c = *cc; c 2437 ext/pcre/pcrelib/pcre_jit_compile.c oc = TABLE_GET(c, common->fcc, c); c 2440 ext/pcre/pcrelib/pcre_jit_compile.c c = *cc; c 2441 ext/pcre/pcrelib/pcre_jit_compile.c oc = TABLE_GET(c, common->fcc, c); c 2444 ext/pcre/pcrelib/pcre_jit_compile.c SLJIT_ASSERT(c != oc); c 2446 ext/pcre/pcrelib/pcre_jit_compile.c bit = c ^ oc; c 2448 ext/pcre/pcrelib/pcre_jit_compile.c if (c <= 127 && bit == 0x20) c 2458 ext/pcre/pcrelib/pcre_jit_compile.c if (common->utf && c > 127) c 2474 ext/pcre/pcrelib/pcre_jit_compile.c if (common->utf && c > 65535) c 4675 ext/pcre/pcrelib/pcre_jit_compile.c context->c.asuchars[context->ucharptr] = *cc | othercasebit; c 4680 ext/pcre/pcrelib/pcre_jit_compile.c context->c.asuchars[context->ucharptr] = *cc; c 4706 ext/pcre/pcrelib/pcre_jit_compile.c add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, context->sourcereg, 0, SLJIT_IMM, context->c.asint | context->oc.asint)); c 4712 ext/pcre/pcrelib/pcre_jit_compile.c add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, context->sourcereg, 0, SLJIT_IMM, context->c.asushort | context->oc.asushort)); c 4719 ext/pcre/pcrelib/pcre_jit_compile.c add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, context->sourcereg, 0, SLJIT_IMM, context->c.asbyte | context->oc.asbyte)); c 4785 ext/pcre/pcrelib/pcre_jit_compile.c sljit_uw c, charoffset, max = 256, min = READ_CHAR_MAX; c 4817 ext/pcre/pcrelib/pcre_jit_compile.c GETCHARINCTEST(c, cc); c 4818 ext/pcre/pcrelib/pcre_jit_compile.c if (c > max) max = c; c 4819 ext/pcre/pcrelib/pcre_jit_compile.c if (c < min) min = c; c 4827 ext/pcre/pcrelib/pcre_jit_compile.c GETCHARINCTEST(c, cc); c 4828 ext/pcre/pcrelib/pcre_jit_compile.c if (c < min) min = c; c 4829 ext/pcre/pcrelib/pcre_jit_compile.c GETCHARINCTEST(c, cc); c 4830 ext/pcre/pcrelib/pcre_jit_compile.c if (c > max) max = c; c 5014 ext/pcre/pcrelib/pcre_jit_compile.c GETCHARINCTEST(c, cc); c 5018 ext/pcre/pcrelib/pcre_jit_compile.c OP2(SLJIT_SUB | SLJIT_SET_E, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, (sljit_sw)(c - charoffset)); c 5024 ext/pcre/pcrelib/pcre_jit_compile.c OP2(SLJIT_SUB | SLJIT_SET_E, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, (sljit_sw)(c - charoffset)); c 5031 ext/pcre/pcrelib/pcre_jit_compile.c jump = CMP(SLJIT_EQUAL ^ invertcmp, TMP1, 0, SLJIT_IMM, (sljit_sw)(c - charoffset)); c 5038 ext/pcre/pcrelib/pcre_jit_compile.c GETCHARINCTEST(c, cc); c 5039 ext/pcre/pcrelib/pcre_jit_compile.c SET_CHAR_OFFSET(c); c 5040 ext/pcre/pcrelib/pcre_jit_compile.c GETCHARINCTEST(c, cc); c 5044 ext/pcre/pcrelib/pcre_jit_compile.c OP2(SLJIT_SUB | SLJIT_SET_U, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, (sljit_sw)(c - charoffset)); c 5050 ext/pcre/pcrelib/pcre_jit_compile.c OP2(SLJIT_SUB | SLJIT_SET_U, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, (sljit_sw)(c - charoffset)); c 5057 ext/pcre/pcrelib/pcre_jit_compile.c jump = CMP(SLJIT_LESS_EQUAL ^ invertcmp, TMP1, 0, SLJIT_IMM, (sljit_sw)(c - charoffset)); c 5091 ext/pcre/pcrelib/pcre_jit_compile.c c = PRIV(ucp_typerange)[(int)cc[1] * 2]; c 5092 ext/pcre/pcrelib/pcre_jit_compile.c SET_TYPE_OFFSET(c); c 5093 ext/pcre/pcrelib/pcre_jit_compile.c jump = CMP(SLJIT_LESS_EQUAL ^ invertcmp, typereg, 0, SLJIT_IMM, PRIV(ucp_typerange)[(int)cc[1] * 2 + 1] - c); c 5289 ext/pcre/pcrelib/pcre_jit_compile.c unsigned int c, oc, bit; c 5688 ext/pcre/pcrelib/pcre_jit_compile.c GETCHAR(c, cc); c 5692 ext/pcre/pcrelib/pcre_jit_compile.c c = *cc; c 5696 ext/pcre/pcrelib/pcre_jit_compile.c read_char_range(common, c, c, FALSE); c 5697 ext/pcre/pcrelib/pcre_jit_compile.c add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP1, 0, SLJIT_IMM, c)); c 5700 ext/pcre/pcrelib/pcre_jit_compile.c oc = char_othercase(common, c); c 5701 ext/pcre/pcrelib/pcre_jit_compile.c read_char_range(common, c < oc ? c : oc, c > oc ? c : oc, FALSE); c 5702 ext/pcre/pcrelib/pcre_jit_compile.c bit = c ^ oc; c 5706 ext/pcre/pcrelib/pcre_jit_compile.c add_jump(compiler, backtracks, CMP(SLJIT_NOT_EQUAL, TMP1, 0, SLJIT_IMM, c | bit)); c 5709 ext/pcre/pcrelib/pcre_jit_compile.c jump[0] = CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, c); c 5722 ext/pcre/pcrelib/pcre_jit_compile.c c = *cc; c 5723 ext/pcre/pcrelib/pcre_jit_compile.c if (c < 128) c 5727 ext/pcre/pcrelib/pcre_jit_compile.c add_jump(compiler, backtracks, CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, c)); c 5732 ext/pcre/pcrelib/pcre_jit_compile.c add_jump(compiler, backtracks, CMP(SLJIT_EQUAL, TMP2, 0, SLJIT_IMM, c | 0x20)); c 5745 ext/pcre/pcrelib/pcre_jit_compile.c GETCHARLEN(c, cc, length); c 5750 ext/pcre/pcrelib/pcre_jit_compile.c c = *cc; c 5754 ext/pcre/pcrelib/pcre_jit_compile.c read_char_range(common, c, c, TRUE); c 5755 ext/pcre/pcrelib/pcre_jit_compile.c add_jump(compiler, backtracks, CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, c)); c 5759 ext/pcre/pcrelib/pcre_jit_compile.c oc = char_othercase(common, c); c 5760 ext/pcre/pcrelib/pcre_jit_compile.c read_char_range(common, c < oc ? c : oc, c > oc ? c : oc, TRUE); c 5761 ext/pcre/pcrelib/pcre_jit_compile.c bit = c ^ oc; c 5765 ext/pcre/pcrelib/pcre_jit_compile.c add_jump(compiler, backtracks, CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, c | bit)); c 5769 ext/pcre/pcrelib/pcre_jit_compile.c add_jump(compiler, backtracks, CMP(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, c)); c 77 ext/pcre/pcrelib/pcre_newline.c pcre_uint32 c; c 82 ext/pcre/pcrelib/pcre_newline.c GETCHAR(c, ptr); c 86 ext/pcre/pcrelib/pcre_newline.c c = *ptr; c 90 ext/pcre/pcrelib/pcre_newline.c if (type == NLTYPE_ANYCRLF) switch(c) c 100 ext/pcre/pcrelib/pcre_newline.c else switch(c) c 152 ext/pcre/pcrelib/pcre_newline.c pcre_uint32 c; c 159 ext/pcre/pcrelib/pcre_newline.c GETCHAR(c, ptr); c 163 ext/pcre/pcrelib/pcre_newline.c c = *ptr; c 167 ext/pcre/pcrelib/pcre_newline.c if (type == NLTYPE_ANYCRLF) switch(c) c 179 ext/pcre/pcrelib/pcre_newline.c else switch(c) c 94 ext/pcre/pcrelib/pcre_printint.c #define PRINTABLE(c) ((c) >= 64 && (c) < 255) c 96 ext/pcre/pcrelib/pcre_printint.c #define PRINTABLE(c) ((c) >= 32 && (c) < 127) c 118 ext/pcre/pcrelib/pcre_printint.c pcre_uint32 c = *ptr; c 123 ext/pcre/pcrelib/pcre_printint.c if (PRINTABLE(c)) fprintf(f, "%c", (char)c); c 124 ext/pcre/pcrelib/pcre_printint.c else if (c <= 0x80) fprintf(f, "\\x%02x", c); c 125 ext/pcre/pcrelib/pcre_printint.c else fprintf(f, "\\x{%x}", c); c 132 ext/pcre/pcrelib/pcre_printint.c if (!utf || (c & 0xc0) != 0xc0) c 134 ext/pcre/pcrelib/pcre_printint.c if (PRINTABLE(c)) fprintf(f, "%c", (char)c); c 135 ext/pcre/pcrelib/pcre_printint.c else if (c < 0x80) fprintf(f, "\\x%02x", c); c 136 ext/pcre/pcrelib/pcre_printint.c else fprintf(f, "\\x{%02x}", c); c 142 ext/pcre/pcrelib/pcre_printint.c int a = PRIV(utf8_table4)[c & 0x3f]; /* Number of additional bytes */ c 144 ext/pcre/pcrelib/pcre_printint.c c = (c & PRIV(utf8_table3)[a]) << s; c 153 ext/pcre/pcrelib/pcre_printint.c fprintf(f, "\\X{%x}", c); c 160 ext/pcre/pcrelib/pcre_printint.c c |= (ptr[i] & 0x3f) << s; c 162 ext/pcre/pcrelib/pcre_printint.c fprintf(f, "\\x{%x}", c); c 168 ext/pcre/pcrelib/pcre_printint.c if (!utf || (c & 0xfc00) != 0xd800) c 170 ext/pcre/pcrelib/pcre_printint.c if (PRINTABLE(c)) fprintf(f, "%c", (char)c); c 171 ext/pcre/pcrelib/pcre_printint.c else if (c <= 0x80) fprintf(f, "\\x%02x", c); c 172 ext/pcre/pcrelib/pcre_printint.c else fprintf(f, "\\x{%02x}", c); c 183 ext/pcre/pcrelib/pcre_printint.c fprintf(f, "\\X{%x}", c); c 187 ext/pcre/pcrelib/pcre_printint.c c = (((c & 0x3ff) << 10) | (ptr[1] & 0x3ff)) + 0x10000; c 188 ext/pcre/pcrelib/pcre_printint.c fprintf(f, "\\x{%x}", c); c 194 ext/pcre/pcrelib/pcre_printint.c if (!utf || (c & 0xfffff800u) != 0xd800u) c 196 ext/pcre/pcrelib/pcre_printint.c if (PRINTABLE(c)) fprintf(f, "%c", (char)c); c 197 ext/pcre/pcrelib/pcre_printint.c else if (c <= 0x80) fprintf(f, "\\x%02x", c); c 198 ext/pcre/pcrelib/pcre_printint.c else fprintf(f, "\\x{%x}", c); c 206 ext/pcre/pcrelib/pcre_printint.c fprintf(f, "\\X{%x}", c); c 224 ext/pcre/pcrelib/pcre_printint.c register pcre_uint32 c = *ptr++; c 225 ext/pcre/pcrelib/pcre_printint.c if (PRINTABLE(c)) fprintf(f, "%c", c); else fprintf(f, "\\x{%x}", c); c 338 ext/pcre/pcrelib/pcre_printint.c pcre_uint32 c; c 440 ext/pcre/pcrelib/pcre_printint.c c = GET2(code, 1); c 441 ext/pcre/pcrelib/pcre_printint.c if (c == RREF_ANY) c 444 ext/pcre/pcrelib/pcre_printint.c fprintf(f, " Cond recurse %d", c); c 49 ext/pcre/pcrelib/pcre_study.c #define SET_BIT(c) start_bits[c/8] |= (1 << (c&7)) c 636 ext/pcre/pcrelib/pcre_study.c pcre_uint32 c = *p; c 639 ext/pcre/pcrelib/pcre_study.c SET_BIT(c); c 642 ext/pcre/pcrelib/pcre_study.c if (utf && c > 127) c 644 ext/pcre/pcrelib/pcre_study.c GETCHARINC(c, p); c 649 ext/pcre/pcrelib/pcre_study.c c = UCD_OTHERCASE(c); c 650 ext/pcre/pcrelib/pcre_study.c (void)PRIV(ord2utf)(c, buff); c 662 ext/pcre/pcrelib/pcre_study.c if (caseless && (cd->ctypes[c] & ctype_letter) != 0) SET_BIT(cd->fcc[c]); c 667 ext/pcre/pcrelib/pcre_study.c if (c > 0xff) c 669 ext/pcre/pcrelib/pcre_study.c c = 0xff; c 672 ext/pcre/pcrelib/pcre_study.c SET_BIT(c); c 675 ext/pcre/pcrelib/pcre_study.c if (utf && c > 127) c 677 ext/pcre/pcrelib/pcre_study.c GETCHARINC(c, p); c 681 ext/pcre/pcrelib/pcre_study.c c = UCD_OTHERCASE(c); c 682 ext/pcre/pcrelib/pcre_study.c if (c > 0xff) c 683 ext/pcre/pcrelib/pcre_study.c c = 0xff; c 684 ext/pcre/pcrelib/pcre_study.c SET_BIT(c); c 693 ext/pcre/pcrelib/pcre_study.c if (caseless && (cd->ctypes[c] & ctype_letter) != 0) SET_BIT(cd->fcc[c]); c 724 ext/pcre/pcrelib/pcre_study.c register pcre_uint32 c; c 725 ext/pcre/pcrelib/pcre_study.c for (c = 0; c < table_limit; c++) start_bits[c] |= cd->cbits[c+cbit_type]; c 728 ext/pcre/pcrelib/pcre_study.c for (c = 128; c < 256; c++) c 730 ext/pcre/pcrelib/pcre_study.c if ((cd->cbits[c/8] & (1 << (c&7))) != 0) c 733 ext/pcre/pcrelib/pcre_study.c (void)PRIV(ord2utf)(c, buff); c 766 ext/pcre/pcrelib/pcre_study.c register pcre_uint32 c; c 767 ext/pcre/pcrelib/pcre_study.c for (c = 0; c < table_limit; c++) start_bits[c] |= ~cd->cbits[c+cbit_type]; c 769 ext/pcre/pcrelib/pcre_study.c if (table_limit != 32) for (c = 24; c < 32; c++) start_bits[c] = 0xff; c 803 ext/pcre/pcrelib/pcre_study.c register pcre_uint32 c; c 932 ext/pcre/pcrelib/pcre_study.c while ((c = *p++) < NOTACHAR) c 938 ext/pcre/pcrelib/pcre_study.c (void)PRIV(ord2utf)(c, buff); c 939 ext/pcre/pcrelib/pcre_study.c c = buff[0]; c 942 ext/pcre/pcrelib/pcre_study.c if (c > 0xff) SET_BIT(0xff); else SET_BIT(c); c 1369 ext/pcre/pcrelib/pcre_study.c for (c = 0; c < 16; c++) start_bits[c] |= map[c]; c 1370 ext/pcre/pcrelib/pcre_study.c for (c = 128; c < 256; c++) c 1372 ext/pcre/pcrelib/pcre_study.c if ((map[c/8] && (1 << (c&7))) != 0) c 1374 ext/pcre/pcrelib/pcre_study.c int d = (c >> 6) | 0xc0; /* Set bit for this starter */ c 1376 ext/pcre/pcrelib/pcre_study.c c = (c & 0xc0) + 0x40 - 1; /* next relevant character. */ c 1384 ext/pcre/pcrelib/pcre_study.c for (c = 0; c < 32; c++) start_bits[c] |= map[c]; c 118 ext/pcre/pcrelib/pcre_valid_utf8.c register pcre_uchar ab, c, d; c 120 ext/pcre/pcrelib/pcre_valid_utf8.c c = *p; c 121 ext/pcre/pcrelib/pcre_valid_utf8.c if (c < 128) continue; /* ASCII character */ c 123 ext/pcre/pcrelib/pcre_valid_utf8.c if (c < 0xc0) /* Isolated 10xx xxxx byte */ c 129 ext/pcre/pcrelib/pcre_valid_utf8.c if (c >= 0xfe) /* Invalid 0xfe or 0xff bytes */ c 135 ext/pcre/pcrelib/pcre_valid_utf8.c ab = PRIV(utf8_table4)[c & 0x3f]; /* Number of additional bytes */ c 160 ext/pcre/pcrelib/pcre_valid_utf8.c case 1: if ((c & 0x3e) == 0) c 177 ext/pcre/pcrelib/pcre_valid_utf8.c if (c == 0xe0 && (d & 0x20) == 0) c 182 ext/pcre/pcrelib/pcre_valid_utf8.c if (c == 0xed && d >= 0xa0) c 204 ext/pcre/pcrelib/pcre_valid_utf8.c if (c == 0xf0 && (d & 0x30) == 0) c 209 ext/pcre/pcrelib/pcre_valid_utf8.c if (c > 0xf4 || (c == 0xf4 && d > 0x8f)) c 240 ext/pcre/pcrelib/pcre_valid_utf8.c if (c == 0xf8 && (d & 0x38) == 0) c 271 ext/pcre/pcrelib/pcre_valid_utf8.c if (c == 0xfc && (d & 0x3c) == 0) c 65 ext/pcre/pcrelib/pcre_xclass.c PRIV(xclass)(pcre_uint32 c, const pcre_uchar *data, BOOL utf) c 80 ext/pcre/pcrelib/pcre_xclass.c if (c < 256) c 85 ext/pcre/pcrelib/pcre_xclass.c return (((pcre_uint8 *)(data + 1))[c/8] & (1 << (c&7))) != 0; c 88 ext/pcre/pcrelib/pcre_xclass.c (((pcre_uint8 *)(data + 1))[c/8] & (1 << (c&7))) != 0) c 111 ext/pcre/pcrelib/pcre_xclass.c if (c == x) return !negated; c 127 ext/pcre/pcrelib/pcre_xclass.c if (c >= x && c <= y) return !negated; c 133 ext/pcre/pcrelib/pcre_xclass.c const ucd_record *prop = GET_UCD(c); c 172 ext/pcre/pcrelib/pcre_xclass.c switch(c) c 188 ext/pcre/pcrelib/pcre_xclass.c PRIV(ucp_gentype)[prop->chartype] == ucp_N || c == CHAR_UNDERSCORE) c 194 ext/pcre/pcrelib/pcre_xclass.c if (c < 0xa0) c 196 ext/pcre/pcrelib/pcre_xclass.c if ((c == CHAR_DOLLAR_SIGN || c == CHAR_COMMERCIAL_AT || c 197 ext/pcre/pcrelib/pcre_xclass.c c == CHAR_GRAVE_ACCENT) == isprop) c 202 ext/pcre/pcrelib/pcre_xclass.c if ((c < 0xd800 || c > 0xdfff) == isprop) c 223 ext/pcre/pcrelib/pcre_xclass.c c != 0x061c && c != 0x180e && (c < 0x2066 || c > 0x2069)) c 236 ext/pcre/pcrelib/pcre_xclass.c c != 0x061c && (c < 0x2066 || c > 0x2069)) c 247 ext/pcre/pcrelib/pcre_xclass.c (c < 128 && PRIV(ucp_gentype)[prop->chartype] == ucp_S)) == isprop) c 115 ext/pcre/pcrelib/sljit/sljitNativePPC_common.c #define C(c) (reg_map[c] << 6) c 1899 ext/pcre/php_pcre.c c; /* Current character */ c 1934 ext/pcre/php_pcre.c c = *p; c 1935 ext/pcre/php_pcre.c switch(c) { c 1957 ext/pcre/php_pcre.c *q++ = c; c 1968 ext/pcre/php_pcre.c if (quote_delim && c == delim_char) c 1970 ext/pcre/php_pcre.c *q++ = c; c 37 ext/pdo_dblib/php_pdo_dblib_int.h # define DBSETOPT(a, b, c) dbsetopt(a, b, c) c 80 ext/pdo_dblib/php_pdo_dblib_int.h # define DBSETOPT(a, b, c) dbsetopt(a, b, c, -1) c 278 ext/pdo_firebird/firebird_driver.c char *c; c 292 ext/pdo_firebird/firebird_driver.c *quoted = c = emalloc(*quotedlen+1); c 293 ext/pdo_firebird/firebird_driver.c *c++ = '\''; c 297 ext/pdo_firebird/firebird_driver.c strncpy(c, l, r-l+1); c 298 ext/pdo_firebird/firebird_driver.c c += (r-l+1); c 300 ext/pdo_firebird/firebird_driver.c *c++ = '\''; c 304 ext/pdo_firebird/firebird_driver.c strncpy(c, l, *quotedlen-(c-*quoted)-1); c 396 ext/pdo_firebird/firebird_driver.c char *c, *new_sql, in_quote, in_param, pname[64], *ppname; c 423 ext/pdo_firebird/firebird_driver.c new_sql = c = emalloc(sql_len+1); c 434 ext/pdo_firebird/firebird_driver.c *c++ = '?'; c 455 ext/pdo_firebird/firebird_driver.c *c++ = sql[l]; c 265 ext/pdo_mysql/mysql_driver.c my_ulonglong c = mysql_affected_rows(H->server); c 266 ext/pdo_mysql/mysql_driver.c if (c == (my_ulonglong) -1) { c 282 ext/pdo_mysql/mysql_driver.c PDO_DBG_RETURN((int)c); c 373 ext/pdo_oci/oci_driver.c char *c; c 387 ext/pdo_oci/oci_driver.c *quoted = c = emalloc(*quotedlen+1); c 388 ext/pdo_oci/oci_driver.c *c++ = '\''; c 392 ext/pdo_oci/oci_driver.c strncpy(c, l, r-l+1); c 393 ext/pdo_oci/oci_driver.c c += (r-l+1); c 394 ext/pdo_oci/oci_driver.c *c++ = '\''; /* add second quote */ c 398 ext/pdo_oci/oci_driver.c strncpy(c, l, *quotedlen-(c-*quoted)-1); c 1533 ext/phar/phar.c const char *c; c 1540 ext/phar/phar.c c = buf - 1; c 1543 ext/phar/phar.c if (!(c = memchr(c + 1, search[0], buf_len - search_len - so_far))) { c 1547 ext/phar/phar.c so_far = c - buf; c 1553 ext/phar/phar.c if (!memcmp(c, search, search_len)) { c 1554 ext/phar/phar.c return (char *) c; c 2072 ext/phar/phar.c #define IS_BACKSLASH(c) ((c) == '/') c 1393 ext/phar/phar_object.c zend_class_entry *c; c 1413 ext/phar/phar_object.c zend_class_entry *ce = p_obj->c; c 1801 ext/phar/phar_object.c pass.c = apply_reg ? Z_OBJCE(regexiter) : Z_OBJCE(iteriter); c 1885 ext/phar/phar_object.c pass.c = Z_OBJCE_P(obj); c 453 ext/session/session.c char c; c 456 ext/session/session.c for (p = key; (c = *p); p++) { c 458 ext/session/session.c if (!((c >= 'a' && c <= 'z') c 459 ext/session/session.c || (c >= 'A' && c <= 'Z') c 460 ext/session/session.c || (c >= '0' && c <= '9') c 461 ext/session/session.c || c == ',' c 462 ext/session/session.c || c == '-')) { c 788 ext/soap/php_encoding.c unsigned char c; c 801 ext/soap/php_encoding.c c = data->children->content[j++]; c 802 ext/soap/php_encoding.c if (c >= '0' && c <= '9') { c 803 ext/soap/php_encoding.c ZSTR_VAL(str)[i] = (c - '0') << 4; c 804 ext/soap/php_encoding.c } else if (c >= 'a' && c <= 'f') { c 805 ext/soap/php_encoding.c ZSTR_VAL(str)[i] = (c - 'a' + 10) << 4; c 806 ext/soap/php_encoding.c } else if (c >= 'A' && c <= 'F') { c 807 ext/soap/php_encoding.c ZSTR_VAL(str)[i] = (c - 'A' + 10) << 4; c 811 ext/soap/php_encoding.c c = data->children->content[j++]; c 812 ext/soap/php_encoding.c if (c >= '0' && c <= '9') { c 813 ext/soap/php_encoding.c ZSTR_VAL(str)[i] |= c - '0'; c 814 ext/soap/php_encoding.c } else if (c >= 'a' && c <= 'f') { c 815 ext/soap/php_encoding.c ZSTR_VAL(str)[i] |= c - 'a' + 10; c 816 ext/soap/php_encoding.c } else if (c >= 'A' && c <= 'F') { c 817 ext/soap/php_encoding.c ZSTR_VAL(str)[i] |= c - 'A' + 10; c 866 ext/soap/php_encoding.c char c; c 870 ext/soap/php_encoding.c for (i = 0; (c = err[i++]);) { c 871 ext/soap/php_encoding.c if ((c & 0x80) == 0) { c 872 ext/soap/php_encoding.c } else if ((c & 0xe0) == 0xc0) { c 877 ext/soap/php_encoding.c } else if ((c & 0xf0) == 0xe0) { c 882 ext/soap/php_encoding.c } else if ((c & 0xf8) == 0xf0) { c 891 ext/soap/php_encoding.c if (c) { c 894 ext/soap/php_encoding.c err[i++] = ((unsigned char)c >> 4) + ((((unsigned char)c >> 4) > 9) ? ('a' - 10) : '0'); c 895 ext/soap/php_encoding.c err[i++] = (c & 15) + (((c & 15) > 9) ? ('a' - 10) : '0'); c 999 ext/soap/php_http.c char *c = strrchr(t, '/'); c 1000 ext/soap/php_http.c if (c) { c 1001 ext/soap/php_http.c add_index_stringl(&zcookie, 1, t, c-t); c 47 ext/soap/php_xml.h #define FOREACHATTRNODE(n,c,i) FOREACHATTRNODEEX(n,c,NULL,i) c 48 ext/soap/php_xml.h #define FOREACHATTRNODEEX(n,c,ns,i) \ c 53 ext/soap/php_xml.h if (c) { \ c 54 ext/soap/php_xml.h i = get_attribute_ex(n,c,ns); \ c 61 ext/soap/php_xml.h #define FOREACHNODE(n,c,i) FOREACHNODEEX(n,c,NULL,i) c 62 ext/soap/php_xml.h #define FOREACHNODEEX(n,c,ns,i) \ c 67 ext/soap/php_xml.h if (c) { \ c 68 ext/soap/php_xml.h i = get_node_ex(n,c,NULL); \ c 10106 ext/sqlite3/libsqlite/sqlite3.c # define sqlite3VdbeScanStatus(a,b,c,d,e) c 13355 ext/sqlite3/libsqlite/sqlite3.c # define sqlite3AuthRead(a,b,c,d) c 13356 ext/sqlite3/libsqlite/sqlite3.c # define sqlite3AuthCheck(a,b,c,d,e) SQLITE_OK c 13357 ext/sqlite3/libsqlite/sqlite3.c # define sqlite3AuthContextPush(a,b,c) c 13632 ext/sqlite3/libsqlite/sqlite3.c #define sqlite3FkActions(a,b,c,d,e,f) c 13633 ext/sqlite3/libsqlite/sqlite3.c #define sqlite3FkCheck(a,b,c,d,e,f) c 13634 ext/sqlite3/libsqlite/sqlite3.c #define sqlite3FkDropTable(a,b,c) c 13636 ext/sqlite3/libsqlite/sqlite3.c #define sqlite3FkRequired(a,b,c,d) 0 c 13643 ext/sqlite3/libsqlite/sqlite3.c #define sqlite3FkLocateIndex(a,b,c,d,e) c 15463 ext/sqlite3/libsqlite/sqlite3.c int c; c 15466 ext/sqlite3/libsqlite/sqlite3.c c = *zDate; c 15467 ext/sqlite3/libsqlite/sqlite3.c if( c=='-' ){ c 15469 ext/sqlite3/libsqlite/sqlite3.c }else if( c=='+' ){ c 15471 ext/sqlite3/libsqlite/sqlite3.c }else if( c=='Z' || c=='z' ){ c 15475 ext/sqlite3/libsqlite/sqlite3.c return c!=0; c 21523 ext/sqlite3/libsqlite/sqlite3.c int c; /* Next character in the format string */ c 21567 ext/sqlite3/libsqlite/sqlite3.c for(; (c=(*fmt))!=0; ++fmt){ c 21568 ext/sqlite3/libsqlite/sqlite3.c if( c!='%' ){ c 21578 ext/sqlite3/libsqlite/sqlite3.c if( (c=(*++fmt))==0 ){ c 21587 ext/sqlite3/libsqlite/sqlite3.c switch( c ){ c 21596 ext/sqlite3/libsqlite/sqlite3.c }while( !done && (c=(*++fmt))!=0 ); c 21598 ext/sqlite3/libsqlite/sqlite3.c if( c=='*' ){ c 21608 ext/sqlite3/libsqlite/sqlite3.c c = *++fmt; c 21611 ext/sqlite3/libsqlite/sqlite3.c while( c>='0' && c<='9' ){ c 21612 ext/sqlite3/libsqlite/sqlite3.c wx = wx*10 + c - '0'; c 21613 ext/sqlite3/libsqlite/sqlite3.c c = *++fmt; c 21620 ext/sqlite3/libsqlite/sqlite3.c if( c=='.' ){ c 21621 ext/sqlite3/libsqlite/sqlite3.c c = *++fmt; c 21622 ext/sqlite3/libsqlite/sqlite3.c if( c=='*' ){ c 21628 ext/sqlite3/libsqlite/sqlite3.c c = *++fmt; c 21634 ext/sqlite3/libsqlite/sqlite3.c while( c>='0' && c<='9' ){ c 21635 ext/sqlite3/libsqlite/sqlite3.c px = px*10 + c - '0'; c 21636 ext/sqlite3/libsqlite/sqlite3.c c = *++fmt; c 21645 ext/sqlite3/libsqlite/sqlite3.c if( c=='l' ){ c 21647 ext/sqlite3/libsqlite/sqlite3.c c = *++fmt; c 21648 ext/sqlite3/libsqlite/sqlite3.c if( c=='l' ){ c 21650 ext/sqlite3/libsqlite/sqlite3.c c = *++fmt; c 21661 ext/sqlite3/libsqlite/sqlite3.c if( c==fmtinfo[idx].fmttype ){ c 21959 ext/sqlite3/libsqlite/sqlite3.c c = bufpt ? bufpt[0] : 0; c 21961 ext/sqlite3/libsqlite/sqlite3.c c = va_arg(ap,int); c 21969 ext/sqlite3/libsqlite/sqlite3.c sqlite3AppendChar(pAccum, precision-1, c); c 21972 ext/sqlite3/libsqlite/sqlite3.c buf[0] = c; c 22141 ext/sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE void sqlite3AppendChar(StrAccum *p, int N, char c){ c 22146 ext/sqlite3/libsqlite/sqlite3.c while( (N--)>0 ) p->zText[p->nChar++] = c; c 22958 ext/sqlite3/libsqlite/sqlite3.c #define WRITE_UTF8(zOut, c) { \ c 22959 ext/sqlite3/libsqlite/sqlite3.c if( c<0x00080 ){ \ c 22960 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(c&0xFF); \ c 22962 ext/sqlite3/libsqlite/sqlite3.c else if( c<0x00800 ){ \ c 22963 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); \ c 22964 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)(c & 0x3F); \ c 22966 ext/sqlite3/libsqlite/sqlite3.c else if( c<0x10000 ){ \ c 22967 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); \ c 22968 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \ c 22969 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)(c & 0x3F); \ c 22971 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); \ c 22972 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); \ c 22973 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \ c 22974 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)(c & 0x3F); \ c 22978 ext/sqlite3/libsqlite/sqlite3.c #define WRITE_UTF16LE(zOut, c) { \ c 22979 ext/sqlite3/libsqlite/sqlite3.c if( c<=0xFFFF ){ \ c 22980 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(c&0x00FF); \ c 22981 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)((c>>8)&0x00FF); \ c 22983 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \ c 22984 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \ c 22985 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(c&0x00FF); \ c 22986 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \ c 22990 ext/sqlite3/libsqlite/sqlite3.c #define WRITE_UTF16BE(zOut, c) { \ c 22991 ext/sqlite3/libsqlite/sqlite3.c if( c<=0xFFFF ){ \ c 22992 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)((c>>8)&0x00FF); \ c 22993 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(c&0x00FF); \ c 22995 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \ c 22996 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \ c 22997 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \ c 22998 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(c&0x00FF); \ c 23002 ext/sqlite3/libsqlite/sqlite3.c #define READ_UTF16LE(zIn, TERM, c){ \ c 23003 ext/sqlite3/libsqlite/sqlite3.c c = (*zIn++); \ c 23004 ext/sqlite3/libsqlite/sqlite3.c c += ((*zIn++)<<8); \ c 23005 ext/sqlite3/libsqlite/sqlite3.c if( c>=0xD800 && c<0xE000 && TERM ){ \ c 23008 ext/sqlite3/libsqlite/sqlite3.c c = (c2&0x03FF) + ((c&0x003F)<<10) + (((c&0x03C0)+0x0040)<<10); \ c 23012 ext/sqlite3/libsqlite/sqlite3.c #define READ_UTF16BE(zIn, TERM, c){ \ c 23013 ext/sqlite3/libsqlite/sqlite3.c c = ((*zIn++)<<8); \ c 23014 ext/sqlite3/libsqlite/sqlite3.c c += (*zIn++); \ c 23015 ext/sqlite3/libsqlite/sqlite3.c if( c>=0xD800 && c<0xE000 && TERM ){ \ c 23018 ext/sqlite3/libsqlite/sqlite3.c c = (c2&0x03FF) + ((c&0x003F)<<10) + (((c&0x03C0)+0x0040)<<10); \ c 23049 ext/sqlite3/libsqlite/sqlite3.c #define READ_UTF8(zIn, zTerm, c) \ c 23050 ext/sqlite3/libsqlite/sqlite3.c c = *(zIn++); \ c 23051 ext/sqlite3/libsqlite/sqlite3.c if( c>=0xc0 ){ \ c 23052 ext/sqlite3/libsqlite/sqlite3.c c = sqlite3Utf8Trans1[c-0xc0]; \ c 23054 ext/sqlite3/libsqlite/sqlite3.c c = (c<<6) + (0x3f & *(zIn++)); \ c 23056 ext/sqlite3/libsqlite/sqlite3.c if( c<0x80 \ c 23057 ext/sqlite3/libsqlite/sqlite3.c || (c&0xFFFFF800)==0xD800 \ c 23058 ext/sqlite3/libsqlite/sqlite3.c || (c&0xFFFFFFFE)==0xFFFE ){ c = 0xFFFD; } \ c 23063 ext/sqlite3/libsqlite/sqlite3.c unsigned int c; c 23068 ext/sqlite3/libsqlite/sqlite3.c c = *((*pz)++); c 23069 ext/sqlite3/libsqlite/sqlite3.c if( c>=0xc0 ){ c 23070 ext/sqlite3/libsqlite/sqlite3.c c = sqlite3Utf8Trans1[c-0xc0]; c 23072 ext/sqlite3/libsqlite/sqlite3.c c = (c<<6) + (0x3f & *((*pz)++)); c 23074 ext/sqlite3/libsqlite/sqlite3.c if( c<0x80 c 23075 ext/sqlite3/libsqlite/sqlite3.c || (c&0xFFFFF800)==0xD800 c 23076 ext/sqlite3/libsqlite/sqlite3.c || (c&0xFFFFFFFE)==0xFFFE ){ c = 0xFFFD; } c 23078 ext/sqlite3/libsqlite/sqlite3.c return c; c 23102 ext/sqlite3/libsqlite/sqlite3.c unsigned int c; c 23178 ext/sqlite3/libsqlite/sqlite3.c READ_UTF8(zIn, zTerm, c); c 23179 ext/sqlite3/libsqlite/sqlite3.c WRITE_UTF16LE(z, c); c 23185 ext/sqlite3/libsqlite/sqlite3.c READ_UTF8(zIn, zTerm, c); c 23186 ext/sqlite3/libsqlite/sqlite3.c WRITE_UTF16BE(z, c); c 23196 ext/sqlite3/libsqlite/sqlite3.c READ_UTF16LE(zIn, zIn<zTerm, c); c 23197 ext/sqlite3/libsqlite/sqlite3.c WRITE_UTF8(z, c); c 23202 ext/sqlite3/libsqlite/sqlite3.c READ_UTF16BE(zIn, zIn<zTerm, c); c 23203 ext/sqlite3/libsqlite/sqlite3.c WRITE_UTF8(z, c); c 23211 ext/sqlite3/libsqlite/sqlite3.c c = pMem->flags; c 23213 ext/sqlite3/libsqlite/sqlite3.c pMem->flags = MEM_Str|MEM_Term|(c&MEM_AffMask); c 23310 ext/sqlite3/libsqlite/sqlite3.c u32 c; c 23313 ext/sqlite3/libsqlite/sqlite3.c c = sqlite3Utf8Read((const u8**)&zIn); c 23314 ext/sqlite3/libsqlite/sqlite3.c if( c!=0xfffd ){ c 23315 ext/sqlite3/libsqlite/sqlite3.c WRITE_UTF8(zOut, c); c 23353 ext/sqlite3/libsqlite/sqlite3.c int c; c 23359 ext/sqlite3/libsqlite/sqlite3.c READ_UTF16BE(z, 1, c); c 23364 ext/sqlite3/libsqlite/sqlite3.c READ_UTF16LE(z, 1, c); c 23382 ext/sqlite3/libsqlite/sqlite3.c unsigned int c; c 23391 ext/sqlite3/libsqlite/sqlite3.c c = sqlite3Utf8Read((const u8**)&z); c 23395 ext/sqlite3/libsqlite/sqlite3.c assert( c==t ); c 23406 ext/sqlite3/libsqlite/sqlite3.c READ_UTF16LE(z, 1, c); c 23407 ext/sqlite3/libsqlite/sqlite3.c assert( c==i ); c 23418 ext/sqlite3/libsqlite/sqlite3.c READ_UTF16BE(z, 1, c); c 23419 ext/sqlite3/libsqlite/sqlite3.c assert( c==i ); c 23907 ext/sqlite3/libsqlite/sqlite3.c int c = 0; c 23911 ext/sqlite3/libsqlite/sqlite3.c for(i=0; c==0 && i<18; i++){ c 23912 ext/sqlite3/libsqlite/sqlite3.c c = (zNum[i*incr]-pow63[i])*10; c 23914 ext/sqlite3/libsqlite/sqlite3.c if( c==0 ){ c 23915 ext/sqlite3/libsqlite/sqlite3.c c = zNum[18*incr] - '8'; c 23916 ext/sqlite3/libsqlite/sqlite3.c testcase( c==(-1) ); c 23917 ext/sqlite3/libsqlite/sqlite3.c testcase( c==0 ); c 23918 ext/sqlite3/libsqlite/sqlite3.c testcase( c==(+1) ); c 23920 ext/sqlite3/libsqlite/sqlite3.c return c; c 23947 ext/sqlite3/libsqlite/sqlite3.c int c = 0; c 23973 ext/sqlite3/libsqlite/sqlite3.c for(i=0; &zNum[i]<zEnd && (c=zNum[i])>='0' && c<='9'; i+=incr){ c 23974 ext/sqlite3/libsqlite/sqlite3.c u = u*10 + c - '0'; c 23986 ext/sqlite3/libsqlite/sqlite3.c if( (c!=0 && &zNum[i]<zEnd) || (i==0 && zStart==zNum) || i>19*incr || nonNum ){ c 23996 ext/sqlite3/libsqlite/sqlite3.c c = compare2pow63(zNum, incr); c 23997 ext/sqlite3/libsqlite/sqlite3.c if( c<0 ){ c 24001 ext/sqlite3/libsqlite/sqlite3.c }else if( c>0 ){ c 24057 ext/sqlite3/libsqlite/sqlite3.c int i, c; c 24085 ext/sqlite3/libsqlite/sqlite3.c for(i=0; i<11 && (c = zNum[i] - '0')>=0 && c<=9; i++){ c 24086 ext/sqlite3/libsqlite/sqlite3.c v = v*10 + c; c 24860 ext/sqlite3/libsqlite/sqlite3.c unsigned char c; c 24861 ext/sqlite3/libsqlite/sqlite3.c while( (c = (unsigned char)*z++)!=0 ){ c 24862 ext/sqlite3/libsqlite/sqlite3.c h = (h<<3) ^ h ^ sqlite3UpperToLower[c]; c 25822 ext/sqlite3/libsqlite/sqlite3.c #define osFstat(a,b,c) 0 c 26557 ext/sqlite3/libsqlite/sqlite3.c #define unixLogError(a,b,c) unixLogErrorAtLine(a,b,c,__LINE__) c 31919 ext/sqlite3/libsqlite/sqlite3.c char c = dbPath[i]; c 31920 ext/sqlite3/libsqlite/sqlite3.c lPath[i+len] = (c=='/')?'_':c; c 35088 ext/sqlite3/libsqlite/sqlite3.c #define winLogError(a,b,c,d) winLogErrorAtLine(a,b,c,d,__LINE__) c 42925 ext/sqlite3/libsqlite/sqlite3.c i64 c = pPager->journalOff; c 42926 ext/sqlite3/libsqlite/sqlite3.c if( c ){ c 42927 ext/sqlite3/libsqlite/sqlite3.c offset = ((c-1)/JOURNAL_HDR_SZ(pPager) + 1) * JOURNAL_HDR_SZ(pPager); c 42930 ext/sqlite3/libsqlite/sqlite3.c assert( offset>=c ); c 42931 ext/sqlite3/libsqlite/sqlite3.c assert( (offset-c)<JOURNAL_HDR_SZ(pPager) ); c 44102 ext/sqlite3/libsqlite/sqlite3.c int c; c 44115 ext/sqlite3/libsqlite/sqlite3.c c = zMasterPtr[0]!=0 && strcmp(zMasterPtr, zMaster)==0; c 44116 ext/sqlite3/libsqlite/sqlite3.c if( c ){ c 53158 ext/sqlite3/libsqlite/sqlite3.c #define querySharedCacheTableLock(a,b,c) SQLITE_OK c 53159 ext/sqlite3/libsqlite/sqlite3.c #define setSharedCacheTableLock(a,b,c) SQLITE_OK c 53162 ext/sqlite3/libsqlite/sqlite3.c #define hasSharedCacheTableLock(a,b,c,d) 1 c 57917 ext/sqlite3/libsqlite/sqlite3.c int lwr, upr, idx, c; c 57947 ext/sqlite3/libsqlite/sqlite3.c if( lwr>upr ){ c = -1; break; } c 57950 ext/sqlite3/libsqlite/sqlite3.c if( lwr>upr ){ c = +1; break; } c 57987 ext/sqlite3/libsqlite/sqlite3.c c = xRecordCompare(nCell, (void*)&pCell[1], pIdxKey); c 57994 ext/sqlite3/libsqlite/sqlite3.c c = xRecordCompare(nCell, (void*)&pCell[2], pIdxKey); c 58015 ext/sqlite3/libsqlite/sqlite3.c c = xRecordCompare(nCell, pCellKey, pIdxKey); c 58019 ext/sqlite3/libsqlite/sqlite3.c (pIdxKey->errCode!=SQLITE_CORRUPT || c==0) c 58022 ext/sqlite3/libsqlite/sqlite3.c if( c<0 ){ c 58024 ext/sqlite3/libsqlite/sqlite3.c }else if( c>0 ){ c 58027 ext/sqlite3/libsqlite/sqlite3.c assert( c==0 ); c 58044 ext/sqlite3/libsqlite/sqlite3.c *pRes = c; c 64328 ext/sqlite3/libsqlite/sqlite3.c # define valueFromFunction(a,b,c,d,e,f) SQLITE_OK c 65736 ext/sqlite3/libsqlite/sqlite3.c static int translateP(char c, const Op *pOp){ c 65737 ext/sqlite3/libsqlite/sqlite3.c if( c=='1' ) return pOp->p1; c 65738 ext/sqlite3/libsqlite/sqlite3.c if( c=='2' ) return pOp->p2; c 65739 ext/sqlite3/libsqlite/sqlite3.c if( c=='3' ) return pOp->p3; c 65740 ext/sqlite3/libsqlite/sqlite3.c if( c=='4' ) return pOp->p4.i; c 65771 ext/sqlite3/libsqlite/sqlite3.c char c; c 65773 ext/sqlite3/libsqlite/sqlite3.c for(ii=jj=0; jj<nTemp-1 && (c = zSynopsis[ii])!=0; ii++){ c 65774 ext/sqlite3/libsqlite/sqlite3.c if( c=='P' ){ c 65775 ext/sqlite3/libsqlite/sqlite3.c c = zSynopsis[++ii]; c 65776 ext/sqlite3/libsqlite/sqlite3.c if( c=='4' ){ c 65778 ext/sqlite3/libsqlite/sqlite3.c }else if( c=='X' ){ c 65782 ext/sqlite3/libsqlite/sqlite3.c int v1 = translateP(c, pOp); c 65802 ext/sqlite3/libsqlite/sqlite3.c zTemp[jj++] = c; c 67413 ext/sqlite3/libsqlite/sqlite3.c char c, pc = 0; c 67415 ext/sqlite3/libsqlite/sqlite3.c for(i=0; (c = p->zSql[i])!=0; i++){ c 67417 ext/sqlite3/libsqlite/sqlite3.c putc(c, out); c 67418 ext/sqlite3/libsqlite/sqlite3.c pc = c; c 68221 ext/sqlite3/libsqlite/sqlite3.c int c = memcmp(pB1->z, pB2->z, pB1->n>pB2->n ? pB2->n : pB1->n); c 68222 ext/sqlite3/libsqlite/sqlite3.c if( c ) return c; c 71122 ext/sqlite3/libsqlite/sqlite3.c char c; c 71124 ext/sqlite3/libsqlite/sqlite3.c c = 'z'; c 71127 ext/sqlite3/libsqlite/sqlite3.c c = 't'; c 71130 ext/sqlite3/libsqlite/sqlite3.c c = 'e'; c 71133 ext/sqlite3/libsqlite/sqlite3.c c = 's'; c 71136 ext/sqlite3/libsqlite/sqlite3.c sqlite3_snprintf(100, zCsr, "%c", c); c 71177 ext/sqlite3/libsqlite/sqlite3.c u8 c = pMem->z[j]; c 71178 ext/sqlite3/libsqlite/sqlite3.c if( c>=0x20 && c<0x7f ){ c 71179 ext/sqlite3/libsqlite/sqlite3.c zBuf[k++] = c; c 73057 ext/sqlite3/libsqlite/sqlite3.c int c; c 73060 ext/sqlite3/libsqlite/sqlite3.c c = pOp->p3; c 73063 ext/sqlite3/libsqlite/sqlite3.c c = sqlite3VdbeIntValue(pIn1)!=0; c 73065 ext/sqlite3/libsqlite/sqlite3.c c = sqlite3VdbeRealValue(pIn1)!=0.0; c 73067 ext/sqlite3/libsqlite/sqlite3.c if( pOp->opcode==OP_IfNot ) c = !c; c 73069 ext/sqlite3/libsqlite/sqlite3.c VdbeBranchTaken(c!=0, 2); c 73070 ext/sqlite3/libsqlite/sqlite3.c if( c ){ c 83276 ext/sqlite3/libsqlite/sqlite3.c int c; c 83282 ext/sqlite3/libsqlite/sqlite3.c && ((c = pToken->z[0])=='\'' || c=='"' || c=='[' || c=='`') ){ c 83284 ext/sqlite3/libsqlite/sqlite3.c if( c=='"' ) pNew->flags |= EP_DblQuoted; c 85062 ext/sqlite3/libsqlite/sqlite3.c int c; c 85066 ext/sqlite3/libsqlite/sqlite3.c c = sqlite3DecOrHexToI64(z, &value); c 85067 ext/sqlite3/libsqlite/sqlite3.c if( c==0 || (c==2 && negFlag) ){ c 85069 ext/sqlite3/libsqlite/sqlite3.c if( negFlag ){ value = c==2 ? SMALLEST_INT64 : -value; } c 89494 ext/sqlite3/libsqlite/sqlite3.c int c; c 89505 ext/sqlite3/libsqlite/sqlite3.c while( (c=z[0])>='0' && c<='9' ){ c 89506 ext/sqlite3/libsqlite/sqlite3.c v = v*10 + c - '0'; c 97064 ext/sqlite3/libsqlite/sqlite3.c u32 c, c2; /* Next pattern and input string chars */ c 97078 ext/sqlite3/libsqlite/sqlite3.c while( (c = sqlite3Utf8Read(&zPattern))!=0 ){ c 97079 ext/sqlite3/libsqlite/sqlite3.c if( c==matchAll ){ /* Match "*" */ c 97083 ext/sqlite3/libsqlite/sqlite3.c while( (c=sqlite3Utf8Read(&zPattern)) == matchAll c 97084 ext/sqlite3/libsqlite/sqlite3.c || c == matchOne ){ c 97085 ext/sqlite3/libsqlite/sqlite3.c if( c==matchOne && sqlite3Utf8Read(&zString)==0 ){ c 97089 ext/sqlite3/libsqlite/sqlite3.c if( c==0 ){ c 97091 ext/sqlite3/libsqlite/sqlite3.c }else if( c==matchOther ){ c 97093 ext/sqlite3/libsqlite/sqlite3.c c = sqlite3Utf8Read(&zPattern); c 97094 ext/sqlite3/libsqlite/sqlite3.c if( c==0 ) return 0; c 97116 ext/sqlite3/libsqlite/sqlite3.c if( c<=0x80 ){ c 97119 ext/sqlite3/libsqlite/sqlite3.c cx = sqlite3Toupper(c); c 97120 ext/sqlite3/libsqlite/sqlite3.c c = sqlite3Tolower(c); c 97122 ext/sqlite3/libsqlite/sqlite3.c cx = c; c 97125 ext/sqlite3/libsqlite/sqlite3.c if( c2!=c && c2!=cx ) continue; c 97130 ext/sqlite3/libsqlite/sqlite3.c if( c2!=c ) continue; c 97136 ext/sqlite3/libsqlite/sqlite3.c if( c==matchOther ){ c 97138 ext/sqlite3/libsqlite/sqlite3.c c = sqlite3Utf8Read(&zPattern); c 97139 ext/sqlite3/libsqlite/sqlite3.c if( c==0 ) return 0; c 97145 ext/sqlite3/libsqlite/sqlite3.c c = sqlite3Utf8Read(&zString); c 97146 ext/sqlite3/libsqlite/sqlite3.c if( c==0 ) return 0; c 97153 ext/sqlite3/libsqlite/sqlite3.c if( c==']' ) seen = 1; c 97159 ext/sqlite3/libsqlite/sqlite3.c if( c>=prior_c && c<=c2 ) seen = 1; c 97162 ext/sqlite3/libsqlite/sqlite3.c if( c==c2 ){ c 97176 ext/sqlite3/libsqlite/sqlite3.c if( c==c2 ) continue; c 97177 ext/sqlite3/libsqlite/sqlite3.c if( noCase && c<0x80 && c2<0x80 && sqlite3Tolower(c)==sqlite3Tolower(c2) ){ c 97180 ext/sqlite3/libsqlite/sqlite3.c if( c==matchOne && zPattern!=zEscaped && c2!=0 ) continue; c 97491 ext/sqlite3/libsqlite/sqlite3.c unsigned c; c 97494 ext/sqlite3/libsqlite/sqlite3.c c = (unsigned)(x & 0x1fffff); c 97495 ext/sqlite3/libsqlite/sqlite3.c if( c<0x00080 ){ c 97496 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(c&0xFF); c 97497 ext/sqlite3/libsqlite/sqlite3.c }else if( c<0x00800 ){ c 97498 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); c 97499 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)(c & 0x3F); c 97500 ext/sqlite3/libsqlite/sqlite3.c }else if( c<0x10000 ){ c 97501 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); c 97502 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); c 97503 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)(c & 0x3F); c 97505 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); c 97506 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); c 97507 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); c 97508 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)(c & 0x3F); c 97534 ext/sqlite3/libsqlite/sqlite3.c unsigned char c = *pBlob; c 97535 ext/sqlite3/libsqlite/sqlite3.c *(z++) = hexdigits[(c>>4)&0xf]; c 97536 ext/sqlite3/libsqlite/sqlite3.c *(z++) = hexdigits[c&0xf]; c 102855 ext/sqlite3/libsqlite/sqlite3.c int iFile, iEntry, c; c 102866 ext/sqlite3/libsqlite/sqlite3.c for(iEntry=8; (c = zFile[iFile])!=0 && c!='.'; iFile++){ c 102867 ext/sqlite3/libsqlite/sqlite3.c if( sqlite3Isalpha(c) ){ c 102868 ext/sqlite3/libsqlite/sqlite3.c zAltEntry[iEntry++] = (char)sqlite3UpperToLower[(unsigned)c]; c 111156 ext/sqlite3/libsqlite/sqlite3.c # define explainSimpleCount(a,b,c) c 116587 ext/sqlite3/libsqlite/sqlite3.c u16 c; c 116590 ext/sqlite3/libsqlite/sqlite3.c c = WO_IN; c 116592 ext/sqlite3/libsqlite/sqlite3.c c = WO_ISNULL; c 116595 ext/sqlite3/libsqlite/sqlite3.c c = (u16)(WO_EQ<<(op-TK_EQ)); c 116597 ext/sqlite3/libsqlite/sqlite3.c assert( op!=TK_ISNULL || c==WO_ISNULL ); c 116598 ext/sqlite3/libsqlite/sqlite3.c assert( op!=TK_IN || c==WO_IN ); c 116599 ext/sqlite3/libsqlite/sqlite3.c assert( op!=TK_EQ || c==WO_EQ ); c 116600 ext/sqlite3/libsqlite/sqlite3.c assert( op!=TK_LT || c==WO_LT ); c 116601 ext/sqlite3/libsqlite/sqlite3.c assert( op!=TK_LE || c==WO_LE ); c 116602 ext/sqlite3/libsqlite/sqlite3.c assert( op!=TK_GT || c==WO_GT ); c 116603 ext/sqlite3/libsqlite/sqlite3.c assert( op!=TK_GE || c==WO_GE ); c 116604 ext/sqlite3/libsqlite/sqlite3.c return c; c 116821 ext/sqlite3/libsqlite/sqlite3.c int c; /* One character in z[] */ c 116862 ext/sqlite3/libsqlite/sqlite3.c while( (c=z[cnt])!=0 && c!=wc[0] && c!=wc[1] && c!=wc[2] ){ c 116867 ext/sqlite3/libsqlite/sqlite3.c *pisComplete = c==wc[0] && z[cnt+1]==0; c 117554 ext/sqlite3/libsqlite/sqlite3.c char c; c 117556 ext/sqlite3/libsqlite/sqlite3.c for(i=0; (c = pStr1->u.zToken[i])!=0; i++){ c 117557 ext/sqlite3/libsqlite/sqlite3.c pStr1->u.zToken[i] = sqlite3Toupper(c); c 117558 ext/sqlite3/libsqlite/sqlite3.c pStr2->u.zToken[i] = sqlite3Tolower(c); c 117563 ext/sqlite3/libsqlite/sqlite3.c u8 c, *pC; /* Last character before the first wildcard */ c 117565 ext/sqlite3/libsqlite/sqlite3.c c = *pC; c 117573 ext/sqlite3/libsqlite/sqlite3.c if( c=='A'-1 ) isComplete = 0; c 117574 ext/sqlite3/libsqlite/sqlite3.c c = sqlite3UpperToLower[c]; c 117576 ext/sqlite3/libsqlite/sqlite3.c *pC = c + 1; c 119381 ext/sqlite3/libsqlite/sqlite3.c # define addScanStatus(a, b, c, d) ((void)d) c 127189 ext/sqlite3/libsqlite/sqlite3.c #define IdChar(C) (((c=C)>=0x42 && sqlite3IsEbcdicIdChar[c-0x40])) c 127191 ext/sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE int sqlite3IsIdChar(u8 c){ return IdChar(c); } c 127199 ext/sqlite3/libsqlite/sqlite3.c int i, c; c 127213 ext/sqlite3/libsqlite/sqlite3.c for(i=2; (c=z[i])!=0 && c!='\n'; i++){} c 127245 ext/sqlite3/libsqlite/sqlite3.c for(i=3, c=z[2]; (c!='*' || z[i]!='/') && (c=z[i])!=0; i++){} c 127246 ext/sqlite3/libsqlite/sqlite3.c if( c ) i++; c 127259 ext/sqlite3/libsqlite/sqlite3.c if( (c=z[1])=='=' ){ c 127262 ext/sqlite3/libsqlite/sqlite3.c }else if( c=='>' ){ c 127265 ext/sqlite3/libsqlite/sqlite3.c }else if( c=='<' ){ c 127274 ext/sqlite3/libsqlite/sqlite3.c if( (c=z[1])=='=' ){ c 127277 ext/sqlite3/libsqlite/sqlite3.c }else if( c=='>' ){ c 127322 ext/sqlite3/libsqlite/sqlite3.c for(i=1; (c=z[i])!=0; i++){ c 127323 ext/sqlite3/libsqlite/sqlite3.c if( c==delim ){ c 127331 ext/sqlite3/libsqlite/sqlite3.c if( c=='\'' ){ c 127334 ext/sqlite3/libsqlite/sqlite3.c }else if( c!=0 ){ c 127390 ext/sqlite3/libsqlite/sqlite3.c for(i=1, c=z[0]; c!=']' && (c=z[i])!=0; i++){} c 127391 ext/sqlite3/libsqlite/sqlite3.c *tokenType = c==']' ? TK_ID : TK_ILLEGAL; c 127409 ext/sqlite3/libsqlite/sqlite3.c for(i=1; (c=z[i])!=0; i++){ c 127410 ext/sqlite3/libsqlite/sqlite3.c if( IdChar(c) ){ c 127413 ext/sqlite3/libsqlite/sqlite3.c }else if( c=='(' && n>0 ){ c 127416 ext/sqlite3/libsqlite/sqlite3.c }while( (c=z[i])!=0 && !sqlite3Isspace(c) && c!=')' ); c 127417 ext/sqlite3/libsqlite/sqlite3.c if( c==')' ){ c 127423 ext/sqlite3/libsqlite/sqlite3.c }else if( c==':' && z[i+1]==':' ){ c 127642 ext/sqlite3/libsqlite/sqlite3.c #define IdChar(C) (((c=C)>=0x42 && sqlite3IsEbcdicIdChar[c-0x40])) c 127801 ext/sqlite3/libsqlite/sqlite3.c int c = *zSql; c 127803 ext/sqlite3/libsqlite/sqlite3.c while( *zSql && *zSql!=c ){ zSql++; } c 127810 ext/sqlite3/libsqlite/sqlite3.c unsigned char c; c 130412 ext/sqlite3/libsqlite/sqlite3.c char c; c 130473 ext/sqlite3/libsqlite/sqlite3.c while( (c = zUri[iIn])!=0 && c!='#' ){ c 130475 ext/sqlite3/libsqlite/sqlite3.c if( c=='%' c 130488 ext/sqlite3/libsqlite/sqlite3.c while( (c = zUri[iIn])!=0 && c!='#' c 130489 ext/sqlite3/libsqlite/sqlite3.c && (eState!=0 || c!='?') c 130490 ext/sqlite3/libsqlite/sqlite3.c && (eState!=1 || (c!='=' && c!='&')) c 130491 ext/sqlite3/libsqlite/sqlite3.c && (eState!=2 || c!='&') c 130497 ext/sqlite3/libsqlite/sqlite3.c c = octet; c 130498 ext/sqlite3/libsqlite/sqlite3.c }else if( eState==1 && (c=='&' || c=='=') ){ c 130504 ext/sqlite3/libsqlite/sqlite3.c if( c=='&' ){ c 130509 ext/sqlite3/libsqlite/sqlite3.c c = 0; c 130510 ext/sqlite3/libsqlite/sqlite3.c }else if( (eState==0 && c=='?') || (eState==2 && c=='&') ){ c 130511 ext/sqlite3/libsqlite/sqlite3.c c = 0; c 130514 ext/sqlite3/libsqlite/sqlite3.c zFile[iOut++] = c; c 133358 ext/sqlite3/libsqlite/sqlite3.c u64 c = *p++; c 133359 ext/sqlite3/libsqlite/sqlite3.c b += (c&0x7F) << shift; c 133360 ext/sqlite3/libsqlite/sqlite3.c if( (c & 0x80)==0 ) break; c 134947 ext/sqlite3/libsqlite/sqlite3.c char c = 0; c 134959 ext/sqlite3/libsqlite/sqlite3.c while( *pEnd | c ){ c 134960 ext/sqlite3/libsqlite/sqlite3.c c = *pEnd++ & 0x80; c 134961 ext/sqlite3/libsqlite/sqlite3.c testcase( c!=0 && (*pEnd)==0 ); c 134994 ext/sqlite3/libsqlite/sqlite3.c char c = 0; c 134999 ext/sqlite3/libsqlite/sqlite3.c while( 0xFE & (*pEnd | c) ){ c 135000 ext/sqlite3/libsqlite/sqlite3.c c = *pEnd++ & 0x80; c 135001 ext/sqlite3/libsqlite/sqlite3.c testcase( c!=0 && ((*pEnd)&0xfe)==0 ); c 136464 ext/sqlite3/libsqlite/sqlite3.c char c = 0; c 136467 ext/sqlite3/libsqlite/sqlite3.c while( p>pStart && (c=*p--)==0 ); c 136472 ext/sqlite3/libsqlite/sqlite3.c while( p>pStart && (*p & 0x80) | c ){ c 136473 ext/sqlite3/libsqlite/sqlite3.c c = *p--; c 136475 ext/sqlite3/libsqlite/sqlite3.c assert( p==pStart || c==0 ); c 136490 ext/sqlite3/libsqlite/sqlite3.c if( p>pStart || (c==0 && *ppPoslist>&p[2]) ){ p = &p[2]; } c 138534 ext/sqlite3/libsqlite/sqlite3.c u8 c = 0; c 138536 ext/sqlite3/libsqlite/sqlite3.c while( 0xFE & (*p | c) ){ c 138537 ext/sqlite3/libsqlite/sqlite3.c if( (c&0x80)==0 ) iCnt++; c 138538 ext/sqlite3/libsqlite/sqlite3.c c = *p++ & 0x80; c 139556 ext/sqlite3/libsqlite/sqlite3.c static int fts3isspace(char c){ c 139557 ext/sqlite3/libsqlite/sqlite3.c return c==' ' || c=='\t' || c=='\n' || c=='\r' || c=='\v' || c=='\f'; c 141202 ext/sqlite3/libsqlite/sqlite3.c porter_tokenizer_cursor *c; c 141206 ext/sqlite3/libsqlite/sqlite3.c c = (porter_tokenizer_cursor *) sqlite3_malloc(sizeof(*c)); c 141207 ext/sqlite3/libsqlite/sqlite3.c if( c==NULL ) return SQLITE_NOMEM; c 141209 ext/sqlite3/libsqlite/sqlite3.c c->zInput = zInput; c 141211 ext/sqlite3/libsqlite/sqlite3.c c->nInput = 0; c 141213 ext/sqlite3/libsqlite/sqlite3.c c->nInput = (int)strlen(zInput); c 141215 ext/sqlite3/libsqlite/sqlite3.c c->nInput = nInput; c 141217 ext/sqlite3/libsqlite/sqlite3.c c->iOffset = 0; /* start tokenizing at the beginning */ c 141218 ext/sqlite3/libsqlite/sqlite3.c c->iToken = 0; c 141219 ext/sqlite3/libsqlite/sqlite3.c c->zToken = NULL; /* no space allocated, yet. */ c 141220 ext/sqlite3/libsqlite/sqlite3.c c->nAllocated = 0; c 141222 ext/sqlite3/libsqlite/sqlite3.c *ppCursor = &c->base; c 141231 ext/sqlite3/libsqlite/sqlite3.c porter_tokenizer_cursor *c = (porter_tokenizer_cursor *) pCursor; c 141232 ext/sqlite3/libsqlite/sqlite3.c sqlite3_free(c->zToken); c 141233 ext/sqlite3/libsqlite/sqlite3.c sqlite3_free(c); c 141406 ext/sqlite3/libsqlite/sqlite3.c char c = zIn[i]; c 141407 ext/sqlite3/libsqlite/sqlite3.c if( c>='A' && c<='Z' ){ c 141408 ext/sqlite3/libsqlite/sqlite3.c zOut[i] = c - 'A' + 'a'; c 141410 ext/sqlite3/libsqlite/sqlite3.c if( c>='0' && c<='9' ) hasDigit = 1; c 141411 ext/sqlite3/libsqlite/sqlite3.c zOut[i] = c; c 141460 ext/sqlite3/libsqlite/sqlite3.c char c = zIn[i]; c 141461 ext/sqlite3/libsqlite/sqlite3.c if( c>='A' && c<='Z' ){ c 141462 ext/sqlite3/libsqlite/sqlite3.c zReverse[j] = c + 'a' - 'A'; c 141463 ext/sqlite3/libsqlite/sqlite3.c }else if( c>='a' && c<='z' ){ c 141464 ext/sqlite3/libsqlite/sqlite3.c zReverse[j] = c; c 141710 ext/sqlite3/libsqlite/sqlite3.c porter_tokenizer_cursor *c = (porter_tokenizer_cursor *) pCursor; c 141711 ext/sqlite3/libsqlite/sqlite3.c const char *z = c->zInput; c 141713 ext/sqlite3/libsqlite/sqlite3.c while( c->iOffset<c->nInput ){ c 141717 ext/sqlite3/libsqlite/sqlite3.c while( c->iOffset<c->nInput && isDelim(z[c->iOffset]) ){ c 141718 ext/sqlite3/libsqlite/sqlite3.c c->iOffset++; c 141722 ext/sqlite3/libsqlite/sqlite3.c iStartOffset = c->iOffset; c 141723 ext/sqlite3/libsqlite/sqlite3.c while( c->iOffset<c->nInput && !isDelim(z[c->iOffset]) ){ c 141724 ext/sqlite3/libsqlite/sqlite3.c c->iOffset++; c 141727 ext/sqlite3/libsqlite/sqlite3.c if( c->iOffset>iStartOffset ){ c 141728 ext/sqlite3/libsqlite/sqlite3.c int n = c->iOffset-iStartOffset; c 141729 ext/sqlite3/libsqlite/sqlite3.c if( n>c->nAllocated ){ c 141731 ext/sqlite3/libsqlite/sqlite3.c c->nAllocated = n+20; c 141732 ext/sqlite3/libsqlite/sqlite3.c pNew = sqlite3_realloc(c->zToken, c->nAllocated); c 141734 ext/sqlite3/libsqlite/sqlite3.c c->zToken = pNew; c 141736 ext/sqlite3/libsqlite/sqlite3.c porter_stemmer(&z[iStartOffset], n, c->zToken, pnBytes); c 141737 ext/sqlite3/libsqlite/sqlite3.c *pzToken = c->zToken; c 141739 ext/sqlite3/libsqlite/sqlite3.c *piEndOffset = c->iOffset; c 141740 ext/sqlite3/libsqlite/sqlite3.c *piPosition = c->iToken++; c 141869 ext/sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE int sqlite3Fts3IsIdChar(char c){ c 141880 ext/sqlite3/libsqlite/sqlite3.c return (c&0x80 || isFtsIdChar[(int)(c)]); c 141890 ext/sqlite3/libsqlite/sqlite3.c char c = *z1; c 141891 ext/sqlite3/libsqlite/sqlite3.c switch( c ){ c 141897 ext/sqlite3/libsqlite/sqlite3.c while( *++z2 && (*z2!=c || *++z2==c) ); c 142318 ext/sqlite3/libsqlite/sqlite3.c static int simpleDelim(simple_tokenizer *t, unsigned char c){ c 142319 ext/sqlite3/libsqlite/sqlite3.c return c<0x80 && t->delim[c]; c 142385 ext/sqlite3/libsqlite/sqlite3.c simple_tokenizer_cursor *c; c 142389 ext/sqlite3/libsqlite/sqlite3.c c = (simple_tokenizer_cursor *) sqlite3_malloc(sizeof(*c)); c 142390 ext/sqlite3/libsqlite/sqlite3.c if( c==NULL ) return SQLITE_NOMEM; c 142392 ext/sqlite3/libsqlite/sqlite3.c c->pInput = pInput; c 142394 ext/sqlite3/libsqlite/sqlite3.c c->nBytes = 0; c 142396 ext/sqlite3/libsqlite/sqlite3.c c->nBytes = (int)strlen(pInput); c 142398 ext/sqlite3/libsqlite/sqlite3.c c->nBytes = nBytes; c 142400 ext/sqlite3/libsqlite/sqlite3.c c->iOffset = 0; /* start tokenizing at the beginning */ c 142401 ext/sqlite3/libsqlite/sqlite3.c c->iToken = 0; c 142402 ext/sqlite3/libsqlite/sqlite3.c c->pToken = NULL; /* no space allocated, yet. */ c 142403 ext/sqlite3/libsqlite/sqlite3.c c->nTokenAllocated = 0; c 142405 ext/sqlite3/libsqlite/sqlite3.c *ppCursor = &c->base; c 142414 ext/sqlite3/libsqlite/sqlite3.c simple_tokenizer_cursor *c = (simple_tokenizer_cursor *) pCursor; c 142415 ext/sqlite3/libsqlite/sqlite3.c sqlite3_free(c->pToken); c 142416 ext/sqlite3/libsqlite/sqlite3.c sqlite3_free(c); c 142432 ext/sqlite3/libsqlite/sqlite3.c simple_tokenizer_cursor *c = (simple_tokenizer_cursor *) pCursor; c 142434 ext/sqlite3/libsqlite/sqlite3.c unsigned char *p = (unsigned char *)c->pInput; c 142436 ext/sqlite3/libsqlite/sqlite3.c while( c->iOffset<c->nBytes ){ c 142440 ext/sqlite3/libsqlite/sqlite3.c while( c->iOffset<c->nBytes && simpleDelim(t, p[c->iOffset]) ){ c 142441 ext/sqlite3/libsqlite/sqlite3.c c->iOffset++; c 142445 ext/sqlite3/libsqlite/sqlite3.c iStartOffset = c->iOffset; c 142446 ext/sqlite3/libsqlite/sqlite3.c while( c->iOffset<c->nBytes && !simpleDelim(t, p[c->iOffset]) ){ c 142447 ext/sqlite3/libsqlite/sqlite3.c c->iOffset++; c 142450 ext/sqlite3/libsqlite/sqlite3.c if( c->iOffset>iStartOffset ){ c 142451 ext/sqlite3/libsqlite/sqlite3.c int i, n = c->iOffset-iStartOffset; c 142452 ext/sqlite3/libsqlite/sqlite3.c if( n>c->nTokenAllocated ){ c 142454 ext/sqlite3/libsqlite/sqlite3.c c->nTokenAllocated = n+20; c 142455 ext/sqlite3/libsqlite/sqlite3.c pNew = sqlite3_realloc(c->pToken, c->nTokenAllocated); c 142457 ext/sqlite3/libsqlite/sqlite3.c c->pToken = pNew; c 142464 ext/sqlite3/libsqlite/sqlite3.c c->pToken[i] = (char)((ch>='A' && ch<='Z') ? ch-'A'+'a' : ch); c 142466 ext/sqlite3/libsqlite/sqlite3.c *ppToken = c->pToken; c 142469 ext/sqlite3/libsqlite/sqlite3.c *piEndOffset = c->iOffset; c 142470 ext/sqlite3/libsqlite/sqlite3.c *piPosition = c->iToken++; c 144406 ext/sqlite3/libsqlite/sqlite3.c char c = 0; c 144442 ext/sqlite3/libsqlite/sqlite3.c while( *p | c ) c = *p++ & 0x80; c 144597 ext/sqlite3/libsqlite/sqlite3.c int c = memcmp(z1, z2, n); c 144598 ext/sqlite3/libsqlite/sqlite3.c if( c==0 ){ c 144599 ext/sqlite3/libsqlite/sqlite3.c c = n1 - n2; c 144601 ext/sqlite3/libsqlite/sqlite3.c return c; c 145537 ext/sqlite3/libsqlite/sqlite3.c char c = 0; c 145538 ext/sqlite3/libsqlite/sqlite3.c while( p<pEnd && (c | *p)&0xFE ) c = *p++ & 0x80; c 149359 ext/sqlite3/libsqlite/sqlite3.c char c = 0; c 149363 ext/sqlite3/libsqlite/sqlite3.c while( 0xFE & (*pEnd | c) ){ c 149364 ext/sqlite3/libsqlite/sqlite3.c c = *pEnd++ & 0x80; c 149365 ext/sqlite3/libsqlite/sqlite3.c if( !c ) nEntry++; c 150254 ext/sqlite3/libsqlite/sqlite3.c #define READ_UTF8(zIn, zTerm, c) \ c 150255 ext/sqlite3/libsqlite/sqlite3.c c = *(zIn++); \ c 150256 ext/sqlite3/libsqlite/sqlite3.c if( c>=0xc0 ){ \ c 150257 ext/sqlite3/libsqlite/sqlite3.c c = sqlite3Utf8Trans1[c-0xc0]; \ c 150259 ext/sqlite3/libsqlite/sqlite3.c c = (c<<6) + (0x3f & *(zIn++)); \ c 150261 ext/sqlite3/libsqlite/sqlite3.c if( c<0x80 \ c 150262 ext/sqlite3/libsqlite/sqlite3.c || (c&0xFFFFF800)==0xD800 \ c 150263 ext/sqlite3/libsqlite/sqlite3.c || (c&0xFFFFFFFE)==0xFFFE ){ c = 0xFFFD; } \ c 150266 ext/sqlite3/libsqlite/sqlite3.c #define WRITE_UTF8(zOut, c) { \ c 150267 ext/sqlite3/libsqlite/sqlite3.c if( c<0x00080 ){ \ c 150268 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(c&0xFF); \ c 150270 ext/sqlite3/libsqlite/sqlite3.c else if( c<0x00800 ){ \ c 150271 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); \ c 150272 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)(c & 0x3F); \ c 150274 ext/sqlite3/libsqlite/sqlite3.c else if( c<0x10000 ){ \ c 150275 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); \ c 150276 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \ c 150277 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)(c & 0x3F); \ c 150279 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); \ c 150280 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); \ c 150281 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \ c 150282 ext/sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)(c & 0x3F); \ c 150634 ext/sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE int sqlite3FtsUnicodeIsalnum(int c){ c 150734 ext/sqlite3/libsqlite/sqlite3.c if( c<128 ){ c 150735 ext/sqlite3/libsqlite/sqlite3.c return ( (aAscii[c >> 5] & (1 << (c & 0x001F)))==0 ); c 150736 ext/sqlite3/libsqlite/sqlite3.c }else if( c<(1<<22) ){ c 150737 ext/sqlite3/libsqlite/sqlite3.c unsigned int key = (((unsigned int)c)<<10) | 0x000003FF; c 150752 ext/sqlite3/libsqlite/sqlite3.c return (((unsigned int)c) >= ((aEntry[iRes]>>10) + (aEntry[iRes]&0x3FF))); c 150766 ext/sqlite3/libsqlite/sqlite3.c static int remove_diacritic(int c){ c 150794 ext/sqlite3/libsqlite/sqlite3.c unsigned int key = (((unsigned int)c)<<3) | 0x00000007; c 150808 ext/sqlite3/libsqlite/sqlite3.c return ((c > (aDia[iRes]>>3) + (aDia[iRes]&0x07)) ? c : (int)aChar[iRes]); c 150816 ext/sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE int sqlite3FtsUnicodeIsdiacritic(int c){ c 150819 ext/sqlite3/libsqlite/sqlite3.c if( c<768 || c>817 ) return 0; c 150820 ext/sqlite3/libsqlite/sqlite3.c return (c < 768+32) ? c 150821 ext/sqlite3/libsqlite/sqlite3.c (mask0 & (1 << (c-768))) : c 150822 ext/sqlite3/libsqlite/sqlite3.c (mask1 & (1 << (c-768-32))); c 150835 ext/sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE int sqlite3FtsUnicodeFold(int c, int bRemoveDiacritic){ c 150927 ext/sqlite3/libsqlite/sqlite3.c int ret = c; c 150929 ext/sqlite3/libsqlite/sqlite3.c assert( c>=0 ); c 150932 ext/sqlite3/libsqlite/sqlite3.c if( c<128 ){ c 150933 ext/sqlite3/libsqlite/sqlite3.c if( c>='A' && c<='Z' ) ret = c + ('a' - 'A'); c 150934 ext/sqlite3/libsqlite/sqlite3.c }else if( c<65536 ){ c 150941 ext/sqlite3/libsqlite/sqlite3.c int cmp = (c - aEntry[iTest].iCode); c 150949 ext/sqlite3/libsqlite/sqlite3.c assert( iRes<0 || c>=aEntry[iRes].iCode ); c 150953 ext/sqlite3/libsqlite/sqlite3.c if( c<(p->iCode + p->nRange) && 0==(0x01 & p->flags & (p->iCode ^ c)) ){ c 150954 ext/sqlite3/libsqlite/sqlite3.c ret = (c + (aiOff[p->flags>>1])) & 0x0000FFFF; c 150962 ext/sqlite3/libsqlite/sqlite3.c else if( c>=66560 && c<66600 ){ c 150963 ext/sqlite3/libsqlite/sqlite3.c ret = c + 40; c 151893 ext/sqlite3/libsqlite/sqlite3.c RtreeCoord c; /* Coordinate decoded */ \ c 151894 ext/sqlite3/libsqlite/sqlite3.c memcpy(&c.u,a,4); \ c 151895 ext/sqlite3/libsqlite/sqlite3.c c.u = ((c.u>>24)&0xff)|((c.u>>8)&0xff00)| \ c 151896 ext/sqlite3/libsqlite/sqlite3.c ((c.u&0xff)<<24)|((c.u&0xff00)<<8); \ c 151897 ext/sqlite3/libsqlite/sqlite3.c r = eInt ? (sqlite3_rtree_dbl)c.i : (sqlite3_rtree_dbl)c.f; \ c 151901 ext/sqlite3/libsqlite/sqlite3.c RtreeCoord c; /* Coordinate decoded */ \ c 151902 ext/sqlite3/libsqlite/sqlite3.c memcpy(&c.u,a,4); \ c 151903 ext/sqlite3/libsqlite/sqlite3.c r = eInt ? (sqlite3_rtree_dbl)c.i : (sqlite3_rtree_dbl)c.f; \ c 151907 ext/sqlite3/libsqlite/sqlite3.c RtreeCoord c; /* Coordinate decoded */ \ c 151908 ext/sqlite3/libsqlite/sqlite3.c c.u = ((u32)a[0]<<24) + ((u32)a[1]<<16) \ c 151910 ext/sqlite3/libsqlite/sqlite3.c r = eInt ? (sqlite3_rtree_dbl)c.i : (sqlite3_rtree_dbl)c.f; \ c 152387 ext/sqlite3/libsqlite/sqlite3.c RtreeCoord c; c 152397 ext/sqlite3/libsqlite/sqlite3.c nodeGetCoord(pRtree, pNode, p->iCell, i-1, &c); c 152400 ext/sqlite3/libsqlite/sqlite3.c sqlite3_result_double(ctx, c.f); c 152405 ext/sqlite3/libsqlite/sqlite3.c sqlite3_result_int(ctx, c.i); c 154318 ext/sqlite3/libsqlite/sqlite3.c void *c = (void *)RTREE_COORD_INT32; c 154320 ext/sqlite3/libsqlite/sqlite3.c void *c = (void *)RTREE_COORD_REAL32; c 154322 ext/sqlite3/libsqlite/sqlite3.c rc = sqlite3_create_module_v2(db, "rtree", &rtreeModule, c, 0); c 154325 ext/sqlite3/libsqlite/sqlite3.c void *c = (void *)RTREE_COORD_INT32; c 154326 ext/sqlite3/libsqlite/sqlite3.c rc = sqlite3_create_module_v2(db, "rtree_i32", &rtreeModule, c, 0); c 154544 ext/sqlite3/libsqlite/sqlite3.c uint8_t c; c 154550 ext/sqlite3/libsqlite/sqlite3.c while( (c=zPattern[iPattern]) == MATCH_ALL || c == MATCH_ONE ){ c 154551 ext/sqlite3/libsqlite/sqlite3.c if( c==MATCH_ONE ){ c 155059 ext/sqlite3/libsqlite/sqlite3.c UChar32 c; c 155085 ext/sqlite3/libsqlite/sqlite3.c U8_NEXT(zInput, iInput, nInput, c); c 155086 ext/sqlite3/libsqlite/sqlite3.c while( c>0 ){ c 155088 ext/sqlite3/libsqlite/sqlite3.c c = u_foldCase(c, opt); c 155089 ext/sqlite3/libsqlite/sqlite3.c U16_APPEND(pCsr->aChar, iOut, nChar, c, isError); c 155097 ext/sqlite3/libsqlite/sqlite3.c U8_NEXT(zInput, iInput, nInput, c); c 155099 ext/sqlite3/libsqlite/sqlite3.c c = 0; c 155144 ext/sqlite3/libsqlite/sqlite3.c UChar32 c; c 155154 ext/sqlite3/libsqlite/sqlite3.c U16_NEXT(pCsr->aChar, iWhite, pCsr->nChar, c); c 155155 ext/sqlite3/libsqlite/sqlite3.c if( u_isspace(c) ){ c 3949 ext/standard/array.c int arr_argc, i, c = 0; c 4109 ext/standard/array.c while (Z_TYPE(ptrs[i]->val) != IS_UNDEF && (0 < (c = intersect_data_compare_func(ptrs[0], ptrs[i])))) { c 4113 ext/standard/array.c while (Z_TYPE(ptrs[i]->val) != IS_UNDEF && (0 < (c = intersect_key_compare_func(ptrs[0], ptrs[i])))) { c 4116 ext/standard/array.c if ((!c && Z_TYPE(ptrs[i]->val) != IS_UNDEF) && (behavior == INTERSECT_ASSOC)) { /* only when INTERSECT_ASSOC */ c 4126 ext/standard/array.c c = 1; c 4154 ext/standard/array.c if (c) /* here we get if not all are equal */ c 4158 ext/standard/array.c if (c) { c 4372 ext/standard/array.c int arr_argc, i, c; c 4530 ext/standard/array.c c = 1; c 4534 ext/standard/array.c while (Z_TYPE(ptrs[i]->val) != IS_UNDEF && (0 < (c = diff_data_compare_func(ptrs[0], ptrs[i])))) { c 4538 ext/standard/array.c while (Z_TYPE(ptr->val) != IS_UNDEF && (0 != (c = diff_key_compare_func(ptrs[0], ptr)))) { c 4542 ext/standard/array.c if (!c) { c 4558 ext/standard/array.c c = -1; c 4578 ext/standard/array.c if (!c) { c 3844 ext/standard/basic_functions.c zval *c; c 3850 ext/standard/basic_functions.c c = zend_get_constant_ex(const_name, NULL, ZEND_FETCH_CLASS_SILENT); c 3851 ext/standard/basic_functions.c if (c) { c 3852 ext/standard/basic_functions.c ZVAL_COPY_VALUE(return_value, c); c 104 ext/standard/crypt.c #define IS_VALID_SALT_CHARACTER(c) (((c) >= '.' && (c) <= '9') || ((c) >= 'A' && (c) <= 'Z') || ((c) >= 'a' && (c) <= 'z')) c 17 ext/standard/crypt_sha256.c # define __alignof__(type) offsetof (struct { char c; type member;}, member) c 113 ext/standard/crypt_sha256.c uint32_t c = ctx->H[2]; c 134 ext/standard/crypt_sha256.c uint32_t c_save = c; c 164 ext/standard/crypt_sha256.c uint32_t T2 = S0 (a) + Maj (a, b, c); c 169 ext/standard/crypt_sha256.c d = c; c 170 ext/standard/crypt_sha256.c c = b; c 179 ext/standard/crypt_sha256.c c += c_save; c 193 ext/standard/crypt_sha256.c ctx->H[2] = c; c 16 ext/standard/crypt_sha512.c # define __alignof__(type) offsetof (struct { char c; type member;}, member) c 137 ext/standard/crypt_sha512.c uint64_t c = ctx->H[2]; c 158 ext/standard/crypt_sha512.c uint64_t c_save = c; c 191 ext/standard/crypt_sha512.c uint64_t T2 = S0 (a) + Maj (a, b, c); c 196 ext/standard/crypt_sha512.c d = c; c 197 ext/standard/crypt_sha512.c c = b; c 206 ext/standard/crypt_sha512.c c += c_save; c 220 ext/standard/crypt_sha512.c ctx->H[2] = c; c 1859 ext/standard/file.c #define FPUTCSV_FLD_CHK(c) memchr(ZSTR_VAL(field_str), c, ZSTR_LEN(field_str)) c 318 ext/standard/filters.c #define php_conv_convert(a, b, c, d, e) ((php_conv *)(a))->convert_op((php_conv *)(a), (b), (c), (d), (e)) c 780 ext/standard/filters.c unsigned int c; c 836 ext/standard/filters.c c = NEXT_CHAR(ps, icnt, lb_ptr, lb_cnt, inst->lbchars); c 840 ext/standard/filters.c (c == '\t' || c == ' ')) { c 892 ext/standard/filters.c *(pd++) = c; c 898 ext/standard/filters.c } else if ((!(opts & PHP_CONV_QPRINT_OPT_FORCE_ENCODE_FIRST) || line_ccnt < inst->line_len) && ((c >= 33 && c <= 60) || (c >= 62 && c <= 126))) { c 917 ext/standard/filters.c *(pd++) = c; c 941 ext/standard/filters.c *(pd++) = qp_digits[(c >> 4)]; c 942 ext/standard/filters.c *(pd++) = qp_digits[(c & 0x0f)]; c 75 ext/standard/html.c #define utf8_lead(c) ((c) < 0x80 || ((c) >= 0xC2 && (c) <= 0xF4)) c 79 ext/standard/html.c #define utf8_trail(c) ((c) >= 0x80 && (c) <= 0xBF) c 81 ext/standard/html.c #define gb2312_lead(c) ((c) != 0x8E && (c) != 0x8F && (c) != 0xA0 && (c) != 0xFF) c 82 ext/standard/html.c #define gb2312_trail(c) ((c) >= 0xA1 && (c) <= 0xFE) c 84 ext/standard/html.c #define sjis_lead(c) ((c) != 0x80 && (c) != 0xA0 && (c) < 0xFD) c 85 ext/standard/html.c #define sjis_trail(c) ((c) >= 0x40 && (c) != 0x7F && (c) < 0xFD) c 124 ext/standard/html.c unsigned char c; c 125 ext/standard/html.c c = str[pos]; c 126 ext/standard/html.c if (c < 0x80) { c 127 ext/standard/html.c this_char = c; c 129 ext/standard/html.c } else if (c < 0xc2) { c 131 ext/standard/html.c } else if (c < 0xe0) { c 138 ext/standard/html.c this_char = ((c & 0x1f) << 6) | (str[pos + 1] & 0x3f); c 143 ext/standard/html.c } else if (c < 0xf0) { c 156 ext/standard/html.c this_char = ((c & 0x0f) << 12) | ((str[pos + 1] & 0x3f) << 6) | (str[pos + 2] & 0x3f); c 163 ext/standard/html.c } else if (c < 0xf5) { c 179 ext/standard/html.c this_char = ((c & 0x07) << 18) | ((str[pos + 1] & 0x3f) << 12) | ((str[pos + 2] & 0x3f) << 6) | (str[pos + 3] & 0x3f); c 193 ext/standard/html.c unsigned char c = str[pos]; c 194 ext/standard/html.c if (c >= 0x81 && c <= 0xFE) { c 203 ext/standard/html.c this_char = (c << 8) | next; c 209 ext/standard/html.c this_char = c; c 217 ext/standard/html.c unsigned char c = str[pos]; c 218 ext/standard/html.c if (c >= 0x81 && c <= 0xFE) { c 227 ext/standard/html.c this_char = (c << 8) | next; c 235 ext/standard/html.c this_char = c; c 243 ext/standard/html.c unsigned char c = str[pos]; c 244 ext/standard/html.c if (c >= 0xA1 && c <= 0xFE) { c 252 ext/standard/html.c this_char = (c << 8) | next; c 259 ext/standard/html.c } else if (gb2312_lead(c)) { c 260 ext/standard/html.c this_char = c; c 270 ext/standard/html.c unsigned char c = str[pos]; c 271 ext/standard/html.c if ((c >= 0x81 && c <= 0x9F) || (c >= 0xE0 && c <= 0xFC)) { c 279 ext/standard/html.c this_char = (c << 8) | next; c 286 ext/standard/html.c } else if (c < 0x80 || (c >= 0xA1 && c <= 0xDF)) { c 287 ext/standard/html.c this_char = c; c 297 ext/standard/html.c unsigned char c = str[pos]; c 299 ext/standard/html.c if (c >= 0xA1 && c <= 0xFE) { c 307 ext/standard/html.c this_char = (c << 8) | next; c 312 ext/standard/html.c } else if (c == 0x8E) { c 320 ext/standard/html.c this_char = (c << 8) | next; c 325 ext/standard/html.c } else if (c == 0x8F) { c 338 ext/standard/html.c this_char = (c << 16) | (str[pos + 1] << 8) | str[pos + 2]; c 341 ext/standard/html.c } else if (c != 0xA0 && c != 0xFF) { c 343 ext/standard/html.c this_char = c; c 1155 ext/standard/html.c const entity_stage3_row *c; c 1163 ext/standard/html.c c = &table[stage1_idx][ENT_STAGE2_INDEX(k)][ENT_STAGE3_INDEX(k)]; c 1165 ext/standard/html.c if (!c->ambiguous) { c 1166 ext/standard/html.c *entity = (const unsigned char *)c->data.ent.entity; c 1167 ext/standard/html.c *entity_len = c->data.ent.entity_len; c 1185 ext/standard/html.c s = &c->data.multicodepoint_table[1]; c 1186 ext/standard/html.c e = s - 1 + c->data.multicodepoint_table[0].leading_entry.size; c 1200 ext/standard/html.c c->data.multicodepoint_table[0].leading_entry.default_entity; c 1201 ext/standard/html.c *entity_len = c->data.multicodepoint_table[0].leading_entry.default_entity_len; c 87 ext/standard/iptc.c static int php_iptc_put1(FILE *fp, int spool, unsigned char c, unsigned char **spoolbuf) c 90 ext/standard/iptc.c PUTC(c); c 92 ext/standard/iptc.c if (spoolbuf) *(*spoolbuf)++ = c; c 94 ext/standard/iptc.c return c; c 102 ext/standard/iptc.c int c; c 105 ext/standard/iptc.c c = getc(fp); c 107 ext/standard/iptc.c if (c == EOF) return EOF; c 110 ext/standard/iptc.c cc = c; c 114 ext/standard/iptc.c if (spoolbuf) *(*spoolbuf)++ = c; c 116 ext/standard/iptc.c return c; c 156 ext/standard/iptc.c int c; c 160 ext/standard/iptc.c c = php_iptc_get1(fp, spool, spoolbuf); c 162 ext/standard/iptc.c if (c == EOF) return M_EOI; c 164 ext/standard/iptc.c while (c != 0xff) { c 165 ext/standard/iptc.c if ((c = php_iptc_get1(fp, spool, spoolbuf)) == EOF) c 171 ext/standard/iptc.c c = php_iptc_get1(fp, 0, 0); c 172 ext/standard/iptc.c if (c == EOF) c 175 ext/standard/iptc.c if (c == 0xff) c 176 ext/standard/iptc.c php_iptc_put1(fp, spool, (unsigned char)c, spoolbuf); c 177 ext/standard/iptc.c } while (c == 0xff); c 179 ext/standard/iptc.c return (unsigned int) c; c 51 ext/standard/lcg.c #define MODMULT(a, b, c, m, s) q = s/a;s=b*(s-a*q)-c*q;if(s<0)s+=m c 986 ext/standard/math.c char c, *s; c 995 ext/standard/math.c c = *s++; c 997 ext/standard/math.c digit = (c >= '0' && c <= '9') ? c - '0' c 998 ext/standard/math.c : (c >= 'A' && c <= 'Z') ? c - 'A' + 10 c 999 ext/standard/math.c : (c >= 'a' && c <= 'z') ? c - 'a' + 10 c 1032 ext/standard/math.c char c, *s; c 1046 ext/standard/math.c c = *s++; c 1049 ext/standard/math.c if (c >= '0' && c <= '9') c 1050 ext/standard/math.c c -= '0'; c 1051 ext/standard/math.c else if (c >= 'A' && c <= 'Z') c 1052 ext/standard/math.c c -= 'A' - 10; c 1053 ext/standard/math.c else if (c >= 'a' && c <= 'z') c 1054 ext/standard/math.c c -= 'a' - 10; c 1058 ext/standard/math.c if (c >= base) c 1063 ext/standard/math.c if (num < cutoff || (num == cutoff && c <= cutlim)) { c 1064 ext/standard/math.c num = num * base + c; c 1072 ext/standard/math.c fnum = fnum * base + c; c 157 ext/standard/md5.c #define STEP(f, a, b, c, d, x, t, s) \ c 158 ext/standard/md5.c (a) += f((b), (c), (d)) + (x) + (t); \ c 193 ext/standard/md5.c php_uint32 a, b, c, d; c 200 ext/standard/md5.c c = ctx->c; c 206 ext/standard/md5.c saved_c = c; c 210 ext/standard/md5.c STEP(F, a, b, c, d, SET(0), 0xd76aa478, 7) c 211 ext/standard/md5.c STEP(F, d, a, b, c, SET(1), 0xe8c7b756, 12) c 212 ext/standard/md5.c STEP(F, c, d, a, b, SET(2), 0x242070db, 17) c 213 ext/standard/md5.c STEP(F, b, c, d, a, SET(3), 0xc1bdceee, 22) c 214 ext/standard/md5.c STEP(F, a, b, c, d, SET(4), 0xf57c0faf, 7) c 215 ext/standard/md5.c STEP(F, d, a, b, c, SET(5), 0x4787c62a, 12) c 216 ext/standard/md5.c STEP(F, c, d, a, b, SET(6), 0xa8304613, 17) c 217 ext/standard/md5.c STEP(F, b, c, d, a, SET(7), 0xfd469501, 22) c 218 ext/standard/md5.c STEP(F, a, b, c, d, SET(8), 0x698098d8, 7) c 219 ext/standard/md5.c STEP(F, d, a, b, c, SET(9), 0x8b44f7af, 12) c 220 ext/standard/md5.c STEP(F, c, d, a, b, SET(10), 0xffff5bb1, 17) c 221 ext/standard/md5.c STEP(F, b, c, d, a, SET(11), 0x895cd7be, 22) c 222 ext/standard/md5.c STEP(F, a, b, c, d, SET(12), 0x6b901122, 7) c 223 ext/standard/md5.c STEP(F, d, a, b, c, SET(13), 0xfd987193, 12) c 224 ext/standard/md5.c STEP(F, c, d, a, b, SET(14), 0xa679438e, 17) c 225 ext/standard/md5.c STEP(F, b, c, d, a, SET(15), 0x49b40821, 22) c 228 ext/standard/md5.c STEP(G, a, b, c, d, GET(1), 0xf61e2562, 5) c 229 ext/standard/md5.c STEP(G, d, a, b, c, GET(6), 0xc040b340, 9) c 230 ext/standard/md5.c STEP(G, c, d, a, b, GET(11), 0x265e5a51, 14) c 231 ext/standard/md5.c STEP(G, b, c, d, a, GET(0), 0xe9b6c7aa, 20) c 232 ext/standard/md5.c STEP(G, a, b, c, d, GET(5), 0xd62f105d, 5) c 233 ext/standard/md5.c STEP(G, d, a, b, c, GET(10), 0x02441453, 9) c 234 ext/standard/md5.c STEP(G, c, d, a, b, GET(15), 0xd8a1e681, 14) c 235 ext/standard/md5.c STEP(G, b, c, d, a, GET(4), 0xe7d3fbc8, 20) c 236 ext/standard/md5.c STEP(G, a, b, c, d, GET(9), 0x21e1cde6, 5) c 237 ext/standard/md5.c STEP(G, d, a, b, c, GET(14), 0xc33707d6, 9) c 238 ext/standard/md5.c STEP(G, c, d, a, b, GET(3), 0xf4d50d87, 14) c 239 ext/standard/md5.c STEP(G, b, c, d, a, GET(8), 0x455a14ed, 20) c 240 ext/standard/md5.c STEP(G, a, b, c, d, GET(13), 0xa9e3e905, 5) c 241 ext/standard/md5.c STEP(G, d, a, b, c, GET(2), 0xfcefa3f8, 9) c 242 ext/standard/md5.c STEP(G, c, d, a, b, GET(7), 0x676f02d9, 14) c 243 ext/standard/md5.c STEP(G, b, c, d, a, GET(12), 0x8d2a4c8a, 20) c 246 ext/standard/md5.c STEP(H, a, b, c, d, GET(5), 0xfffa3942, 4) c 247 ext/standard/md5.c STEP(H, d, a, b, c, GET(8), 0x8771f681, 11) c 248 ext/standard/md5.c STEP(H, c, d, a, b, GET(11), 0x6d9d6122, 16) c 249 ext/standard/md5.c STEP(H, b, c, d, a, GET(14), 0xfde5380c, 23) c 250 ext/standard/md5.c STEP(H, a, b, c, d, GET(1), 0xa4beea44, 4) c 251 ext/standard/md5.c STEP(H, d, a, b, c, GET(4), 0x4bdecfa9, 11) c 252 ext/standard/md5.c STEP(H, c, d, a, b, GET(7), 0xf6bb4b60, 16) c 253 ext/standard/md5.c STEP(H, b, c, d, a, GET(10), 0xbebfbc70, 23) c 254 ext/standard/md5.c STEP(H, a, b, c, d, GET(13), 0x289b7ec6, 4) c 255 ext/standard/md5.c STEP(H, d, a, b, c, GET(0), 0xeaa127fa, 11) c 256 ext/standard/md5.c STEP(H, c, d, a, b, GET(3), 0xd4ef3085, 16) c 257 ext/standard/md5.c STEP(H, b, c, d, a, GET(6), 0x04881d05, 23) c 258 ext/standard/md5.c STEP(H, a, b, c, d, GET(9), 0xd9d4d039, 4) c 259 ext/standard/md5.c STEP(H, d, a, b, c, GET(12), 0xe6db99e5, 11) c 260 ext/standard/md5.c STEP(H, c, d, a, b, GET(15), 0x1fa27cf8, 16) c 261 ext/standard/md5.c STEP(H, b, c, d, a, GET(2), 0xc4ac5665, 23) c 264 ext/standard/md5.c STEP(I, a, b, c, d, GET(0), 0xf4292244, 6) c 265 ext/standard/md5.c STEP(I, d, a, b, c, GET(7), 0x432aff97, 10) c 266 ext/standard/md5.c STEP(I, c, d, a, b, GET(14), 0xab9423a7, 15) c 267 ext/standard/md5.c STEP(I, b, c, d, a, GET(5), 0xfc93a039, 21) c 268 ext/standard/md5.c STEP(I, a, b, c, d, GET(12), 0x655b59c3, 6) c 269 ext/standard/md5.c STEP(I, d, a, b, c, GET(3), 0x8f0ccc92, 10) c 270 ext/standard/md5.c STEP(I, c, d, a, b, GET(10), 0xffeff47d, 15) c 271 ext/standard/md5.c STEP(I, b, c, d, a, GET(1), 0x85845dd1, 21) c 272 ext/standard/md5.c STEP(I, a, b, c, d, GET(8), 0x6fa87e4f, 6) c 273 ext/standard/md5.c STEP(I, d, a, b, c, GET(15), 0xfe2ce6e0, 10) c 274 ext/standard/md5.c STEP(I, c, d, a, b, GET(6), 0xa3014314, 15) c 275 ext/standard/md5.c STEP(I, b, c, d, a, GET(13), 0x4e0811a1, 21) c 276 ext/standard/md5.c STEP(I, a, b, c, d, GET(4), 0xf7537e82, 6) c 277 ext/standard/md5.c STEP(I, d, a, b, c, GET(11), 0xbd3af235, 10) c 278 ext/standard/md5.c STEP(I, c, d, a, b, GET(2), 0x2ad7d2bb, 15) c 279 ext/standard/md5.c STEP(I, b, c, d, a, GET(9), 0xeb86d391, 21) c 283 ext/standard/md5.c c += saved_c; c 291 ext/standard/md5.c ctx->c = c; c 301 ext/standard/md5.c ctx->c = 0x98badcfe; c 382 ext/standard/md5.c result[8] = ctx->c; c 383 ext/standard/md5.c result[9] = ctx->c >> 8; c 384 ext/standard/md5.c result[10] = ctx->c >> 16; c 385 ext/standard/md5.c result[11] = ctx->c >> 24; c 46 ext/standard/md5.h php_uint32 a, b, c, d; c 86 ext/standard/metaphone.c #define ENCODE(c) (isalpha(c) ? _codes[((toupper(c)) - 'A')] : 0) c 88 ext/standard/metaphone.c #define isvowel(c) (ENCODE(c) & 1) /* AEIOU */ c 91 ext/standard/metaphone.c #define NOCHANGE(c) (ENCODE(c) & 2) /* FJMNR */ c 94 ext/standard/metaphone.c #define AFFECTH(c) (ENCODE(c) & 4) /* CGPST */ c 97 ext/standard/metaphone.c #define MAKESOFT(c) (ENCODE(c) & 8) /* EIY */ c 100 ext/standard/metaphone.c #define NOGHTOF(c) (ENCODE(c) & 16) /* BDH */ c 143 ext/standard/metaphone.c #define Phonize(c) { \ c 148 ext/standard/metaphone.c ZSTR_VAL(*phoned_word)[p_idx++] = c; \ c 164 ext/standard/metaphone.c #define Isbreak(c) (!isalpha(c)) c 141 ext/standard/pack.c char c = format[i]; c 143 ext/standard/pack.c if (c == '*') { c 147 ext/standard/pack.c else if (c >= '0' && c <= '9') { c 570 ext/standard/pack.c char c; c 578 ext/standard/pack.c c = *format; c 580 ext/standard/pack.c if (c >= '0' && c <= '9') { c 587 ext/standard/pack.c } else if (c == '*') { c 33 ext/standard/php_smart_string.h if ((x)->c) { \ c 34 ext/standard/php_smart_string.h (x)->c[(x)->len] = '\0'; \ c 47 ext/standard/php_smart_string.h #define SMART_STRING_REALLOC(a,b,c) realloc((a),(b)) c 49 ext/standard/php_smart_string.h #define SMART_STRING_REALLOC(a,b,c) perealloc((a),(b),(c)) c 53 ext/standard/php_smart_string.h (d)->c = SMART_STRING_REALLOC((d)->c, (d)->a + 1, (what)) c 56 ext/standard/php_smart_string.h if (!(d)->c) { \ c 82 ext/standard/php_smart_string.h #define smart_string_appendc(dest, c) \ c 83 ext/standard/php_smart_string.h smart_string_appendc_ex((dest), (c), 0) c 99 ext/standard/php_smart_string.h ((unsigned char *) (dest)->c)[(dest)->len - 1] = (ch); \ c 104 ext/standard/php_smart_string.h if (__s->c) { \ c 105 ext/standard/php_smart_string.h pefree(__s->c, what); \ c 106 ext/standard/php_smart_string.h __s->c = NULL; \ c 116 ext/standard/php_smart_string.h memcpy(__dest->c + __dest->len, (src), (nlen)); \ c 133 ext/standard/php_smart_string.h smart_string_appendl_ex((dest), ((smart_string *)(src))->c, \ c 140 ext/standard/php_smart_string.h (dest)->c = (char *) (src); \ c 28 ext/standard/php_smart_string_public.h char *c; c 37 ext/standard/quot_print.c static char php_hex2int(int c) /* {{{ */ c 39 ext/standard/quot_print.c if (isdigit(c)) { c 40 ext/standard/quot_print.c return c - '0'; c 42 ext/standard/quot_print.c else if (c >= 'A' && c <= 'F') { c 43 ext/standard/quot_print.c return c - 'A' + 10; c 45 ext/standard/quot_print.c else if (c >= 'a' && c <= 'f') { c 46 ext/standard/quot_print.c return c - 'a' + 10; c 151 ext/standard/quot_print.c unsigned char c, *d; c 159 ext/standard/quot_print.c if (((c = *str++) == '\015') && (*str == '\012') && length > 0) { c 165 ext/standard/quot_print.c if (iscntrl (c) || (c == 0x7f) || (c & 0x80) || (c == '=') || ((c == ' ') && (*str == '\015'))) { c 166 ext/standard/quot_print.c if ((((lp+= 3) > PHP_QPRINT_MAXL) && (c <= 0x7f)) c 167 ext/standard/quot_print.c || ((c > 0x7f) && (c <= 0xdf) && ((lp + 3) > PHP_QPRINT_MAXL)) c 168 ext/standard/quot_print.c || ((c > 0xdf) && (c <= 0xef) && ((lp + 6) > PHP_QPRINT_MAXL)) c 169 ext/standard/quot_print.c || ((c > 0xef) && (c <= 0xf4) && ((lp + 9) > PHP_QPRINT_MAXL))) { c 176 ext/standard/quot_print.c *d++ = hex[c >> 4]; c 177 ext/standard/quot_print.c *d++ = hex[c & 0xf]; c 185 ext/standard/quot_print.c *d++ = c; c 242 ext/standard/scanf.c static int CharInSet(CharSet *cset, int c) c 244 ext/standard/scanf.c char ch = (char) c; c 135 ext/standard/sha1.c #define FF(a, b, c, d, e, w) { \ c 136 ext/standard/sha1.c (e) += F ((b), (c), (d)) + (w) + (php_uint32)(0x5A827999); \ c 140 ext/standard/sha1.c #define GG(a, b, c, d, e, w) { \ c 141 ext/standard/sha1.c (e) += G ((b), (c), (d)) + (w) + (php_uint32)(0x6ED9EBA1); \ c 145 ext/standard/sha1.c #define HH(a, b, c, d, e, w) { \ c 146 ext/standard/sha1.c (e) += H ((b), (c), (d)) + (w) + (php_uint32)(0x8F1BBCDC); \ c 150 ext/standard/sha1.c #define II(a, b, c, d, e, w) { \ c 151 ext/standard/sha1.c (e) += I ((b), (c), (d)) + (w) + (php_uint32)(0xCA62C1D6); \ c 259 ext/standard/sha1.c php_uint32 a = state[0], b = state[1], c = state[2]; c 265 ext/standard/sha1.c FF(a, b, c, d, e, x[0]); /* 1 */ c 266 ext/standard/sha1.c FF(e, a, b, c, d, x[1]); /* 2 */ c 267 ext/standard/sha1.c FF(d, e, a, b, c, x[2]); /* 3 */ c 268 ext/standard/sha1.c FF(c, d, e, a, b, x[3]); /* 4 */ c 269 ext/standard/sha1.c FF(b, c, d, e, a, x[4]); /* 5 */ c 270 ext/standard/sha1.c FF(a, b, c, d, e, x[5]); /* 6 */ c 271 ext/standard/sha1.c FF(e, a, b, c, d, x[6]); /* 7 */ c 272 ext/standard/sha1.c FF(d, e, a, b, c, x[7]); /* 8 */ c 273 ext/standard/sha1.c FF(c, d, e, a, b, x[8]); /* 9 */ c 274 ext/standard/sha1.c FF(b, c, d, e, a, x[9]); /* 10 */ c 275 ext/standard/sha1.c FF(a, b, c, d, e, x[10]); /* 11 */ c 276 ext/standard/sha1.c FF(e, a, b, c, d, x[11]); /* 12 */ c 277 ext/standard/sha1.c FF(d, e, a, b, c, x[12]); /* 13 */ c 278 ext/standard/sha1.c FF(c, d, e, a, b, x[13]); /* 14 */ c 279 ext/standard/sha1.c FF(b, c, d, e, a, x[14]); /* 15 */ c 280 ext/standard/sha1.c FF(a, b, c, d, e, x[15]); /* 16 */ c 281 ext/standard/sha1.c FF(e, a, b, c, d, W(16)); /* 17 */ c 282 ext/standard/sha1.c FF(d, e, a, b, c, W(17)); /* 18 */ c 283 ext/standard/sha1.c FF(c, d, e, a, b, W(18)); /* 19 */ c 284 ext/standard/sha1.c FF(b, c, d, e, a, W(19)); /* 20 */ c 287 ext/standard/sha1.c GG(a, b, c, d, e, W(20)); /* 21 */ c 288 ext/standard/sha1.c GG(e, a, b, c, d, W(21)); /* 22 */ c 289 ext/standard/sha1.c GG(d, e, a, b, c, W(22)); /* 23 */ c 290 ext/standard/sha1.c GG(c, d, e, a, b, W(23)); /* 24 */ c 291 ext/standard/sha1.c GG(b, c, d, e, a, W(24)); /* 25 */ c 292 ext/standard/sha1.c GG(a, b, c, d, e, W(25)); /* 26 */ c 293 ext/standard/sha1.c GG(e, a, b, c, d, W(26)); /* 27 */ c 294 ext/standard/sha1.c GG(d, e, a, b, c, W(27)); /* 28 */ c 295 ext/standard/sha1.c GG(c, d, e, a, b, W(28)); /* 29 */ c 296 ext/standard/sha1.c GG(b, c, d, e, a, W(29)); /* 30 */ c 297 ext/standard/sha1.c GG(a, b, c, d, e, W(30)); /* 31 */ c 298 ext/standard/sha1.c GG(e, a, b, c, d, W(31)); /* 32 */ c 299 ext/standard/sha1.c GG(d, e, a, b, c, W(32)); /* 33 */ c 300 ext/standard/sha1.c GG(c, d, e, a, b, W(33)); /* 34 */ c 301 ext/standard/sha1.c GG(b, c, d, e, a, W(34)); /* 35 */ c 302 ext/standard/sha1.c GG(a, b, c, d, e, W(35)); /* 36 */ c 303 ext/standard/sha1.c GG(e, a, b, c, d, W(36)); /* 37 */ c 304 ext/standard/sha1.c GG(d, e, a, b, c, W(37)); /* 38 */ c 305 ext/standard/sha1.c GG(c, d, e, a, b, W(38)); /* 39 */ c 306 ext/standard/sha1.c GG(b, c, d, e, a, W(39)); /* 40 */ c 309 ext/standard/sha1.c HH(a, b, c, d, e, W(40)); /* 41 */ c 310 ext/standard/sha1.c HH(e, a, b, c, d, W(41)); /* 42 */ c 311 ext/standard/sha1.c HH(d, e, a, b, c, W(42)); /* 43 */ c 312 ext/standard/sha1.c HH(c, d, e, a, b, W(43)); /* 44 */ c 313 ext/standard/sha1.c HH(b, c, d, e, a, W(44)); /* 45 */ c 314 ext/standard/sha1.c HH(a, b, c, d, e, W(45)); /* 46 */ c 315 ext/standard/sha1.c HH(e, a, b, c, d, W(46)); /* 47 */ c 316 ext/standard/sha1.c HH(d, e, a, b, c, W(47)); /* 48 */ c 317 ext/standard/sha1.c HH(c, d, e, a, b, W(48)); /* 49 */ c 318 ext/standard/sha1.c HH(b, c, d, e, a, W(49)); /* 50 */ c 319 ext/standard/sha1.c HH(a, b, c, d, e, W(50)); /* 51 */ c 320 ext/standard/sha1.c HH(e, a, b, c, d, W(51)); /* 52 */ c 321 ext/standard/sha1.c HH(d, e, a, b, c, W(52)); /* 53 */ c 322 ext/standard/sha1.c HH(c, d, e, a, b, W(53)); /* 54 */ c 323 ext/standard/sha1.c HH(b, c, d, e, a, W(54)); /* 55 */ c 324 ext/standard/sha1.c HH(a, b, c, d, e, W(55)); /* 56 */ c 325 ext/standard/sha1.c HH(e, a, b, c, d, W(56)); /* 57 */ c 326 ext/standard/sha1.c HH(d, e, a, b, c, W(57)); /* 58 */ c 327 ext/standard/sha1.c HH(c, d, e, a, b, W(58)); /* 59 */ c 328 ext/standard/sha1.c HH(b, c, d, e, a, W(59)); /* 60 */ c 331 ext/standard/sha1.c II(a, b, c, d, e, W(60)); /* 61 */ c 332 ext/standard/sha1.c II(e, a, b, c, d, W(61)); /* 62 */ c 333 ext/standard/sha1.c II(d, e, a, b, c, W(62)); /* 63 */ c 334 ext/standard/sha1.c II(c, d, e, a, b, W(63)); /* 64 */ c 335 ext/standard/sha1.c II(b, c, d, e, a, W(64)); /* 65 */ c 336 ext/standard/sha1.c II(a, b, c, d, e, W(65)); /* 66 */ c 337 ext/standard/sha1.c II(e, a, b, c, d, W(66)); /* 67 */ c 338 ext/standard/sha1.c II(d, e, a, b, c, W(67)); /* 68 */ c 339 ext/standard/sha1.c II(c, d, e, a, b, W(68)); /* 69 */ c 340 ext/standard/sha1.c II(b, c, d, e, a, W(69)); /* 70 */ c 341 ext/standard/sha1.c II(a, b, c, d, e, W(70)); /* 71 */ c 342 ext/standard/sha1.c II(e, a, b, c, d, W(71)); /* 72 */ c 343 ext/standard/sha1.c II(d, e, a, b, c, W(72)); /* 73 */ c 344 ext/standard/sha1.c II(c, d, e, a, b, W(73)); /* 74 */ c 345 ext/standard/sha1.c II(b, c, d, e, a, W(74)); /* 75 */ c 346 ext/standard/sha1.c II(a, b, c, d, e, W(75)); /* 76 */ c 347 ext/standard/sha1.c II(e, a, b, c, d, W(76)); /* 77 */ c 348 ext/standard/sha1.c II(d, e, a, b, c, W(77)); /* 78 */ c 349 ext/standard/sha1.c II(c, d, e, a, b, W(78)); /* 79 */ c 350 ext/standard/sha1.c II(b, c, d, e, a, W(79)); /* 80 */ c 354 ext/standard/sha1.c state[2] += c; c 165 ext/standard/string.c unsigned char c = old[j++]; c 166 ext/standard/string.c unsigned char l = c & ~0x20; c 171 ext/standard/string.c if (EXPECTED((((c ^ '0') - 10) >> (8 * sizeof(unsigned int) - 1)) | is_letter)) { c 177 ext/standard/string.c c = old[j++]; c 178 ext/standard/string.c l = c & ~0x20; c 180 ext/standard/string.c if (EXPECTED((((c ^ '0') - 10) >> (8 * sizeof(unsigned int) - 1)) | is_letter)) { c 753 ext/standard/string.c unsigned char c; c 758 ext/standard/string.c c=*input; c 760 ext/standard/string.c && input[3] >= c) { c 761 ext/standard/string.c memset(mask+c, 1, input[3] - c + 1); c 786 ext/standard/string.c mask[c]=1; c 801 ext/standard/string.c const char *c = ZSTR_VAL(str); c 812 ext/standard/string.c if (c[i] == p) { c 819 ext/standard/string.c c += trimmed; c 825 ext/standard/string.c if (c[i] == p) { c 838 ext/standard/string.c if (mask[(unsigned char)c[i]]) { c 845 ext/standard/string.c c += trimmed; c 851 ext/standard/string.c if (mask[(unsigned char)c[i]]) { c 863 ext/standard/string.c if ((unsigned char)c[i] <= ' ' && c 864 ext/standard/string.c (c[i] == ' ' || c[i] == '\n' || c[i] == '\r' || c[i] == '\t' || c[i] == '\v' || c[i] == '\0')) { c 871 ext/standard/string.c c += trimmed; c 877 ext/standard/string.c if ((unsigned char)c[i] <= ' ' && c 878 ext/standard/string.c (c[i] == ' ' || c[i] == '\n' || c[i] == '\r' || c[i] == '\t' || c[i] == '\v' || c[i] == '\0')) { c 891 ext/standard/string.c return zend_string_init(c, len, 0); c 1419 ext/standard/string.c unsigned char *c, *e; c 1421 ext/standard/string.c c = (unsigned char *)s; c 1422 ext/standard/string.c e = (unsigned char *)c+len; c 1424 ext/standard/string.c while (c < e) { c 1425 ext/standard/string.c *c = toupper(*c); c 1426 ext/standard/string.c c++; c 1436 ext/standard/string.c unsigned char *c, *e; c 1438 ext/standard/string.c c = (unsigned char *)ZSTR_VAL(s); c 1439 ext/standard/string.c e = c + ZSTR_LEN(s); c 1441 ext/standard/string.c while (c < e) { c 1442 ext/standard/string.c if (!isupper(*c)) { c 1446 ext/standard/string.c if (c != (unsigned char*)ZSTR_VAL(s)) { c 1447 ext/standard/string.c memcpy(ZSTR_VAL(res), ZSTR_VAL(s), c - (unsigned char*)ZSTR_VAL(s)); c 1449 ext/standard/string.c r = c + (ZSTR_VAL(res) - ZSTR_VAL(s)); c 1450 ext/standard/string.c while (c < e) { c 1451 ext/standard/string.c *r = toupper(*c); c 1453 ext/standard/string.c c++; c 1458 ext/standard/string.c c++; c 1488 ext/standard/string.c unsigned char *c, *e; c 1490 ext/standard/string.c c = (unsigned char *)s; c 1491 ext/standard/string.c e = c+len; c 1493 ext/standard/string.c while (c < e) { c 1494 ext/standard/string.c *c = tolower(*c); c 1495 ext/standard/string.c c++; c 1505 ext/standard/string.c unsigned char *c, *e; c 1507 ext/standard/string.c c = (unsigned char *)ZSTR_VAL(s); c 1508 ext/standard/string.c e = c + ZSTR_LEN(s); c 1510 ext/standard/string.c while (c < e) { c 1511 ext/standard/string.c if (!islower(*c)) { c 1515 ext/standard/string.c if (c != (unsigned char*)ZSTR_VAL(s)) { c 1516 ext/standard/string.c memcpy(ZSTR_VAL(res), ZSTR_VAL(s), c - (unsigned char*)ZSTR_VAL(s)); c 1518 ext/standard/string.c r = c + (ZSTR_VAL(res) - ZSTR_VAL(s)); c 1519 ext/standard/string.c while (c < e) { c 1520 ext/standard/string.c *r = tolower(*c); c 1522 ext/standard/string.c c++; c 1527 ext/standard/string.c c++; c 1557 ext/standard/string.c char *c, *comp, *cend; c 1562 ext/standard/string.c c = comp = cend = (char*)s; c 1566 ext/standard/string.c inc_len = (*c == '\0' ? 1 : php_mblen(c, cnt)); c 1578 ext/standard/string.c if (*c == '/' || *c == '\\') { c 1580 ext/standard/string.c if (*c == '/') { c 1584 ext/standard/string.c cend = c; c 1590 ext/standard/string.c } else if ((*c == ':' && (c - comp == 1))) { c 1592 ext/standard/string.c comp = c; c 1595 ext/standard/string.c cend = c; c 1601 ext/standard/string.c comp = c; c 1608 ext/standard/string.c comp = c; c 1613 ext/standard/string.c c += inc_len; c 1619 ext/standard/string.c cend = c; c 1787 ext/standard/string.c register char c = *p; c 1791 ext/standard/string.c if (*spanp++ == c) { c 1792 ext/standard/string.c c = *(++p); c 1805 ext/standard/string.c register char c = *s1; c 1810 ext/standard/string.c if (*spanp == c || p == s1_end) { c 1814 ext/standard/string.c c = *++p; c 2704 ext/standard/string.c char c; c 2720 ext/standard/string.c c = *p; c 2721 ext/standard/string.c switch (c) { c 2736 ext/standard/string.c *q++ = c; c 2771 ext/standard/string.c zend_long c; c 2778 ext/standard/string.c if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "l", &c) == FAILURE) { c 2779 ext/standard/string.c c = 0; c 2783 ext/standard/string.c Z_PARAM_LONG(c) c 2784 ext/standard/string.c ZEND_PARSE_PARAMETERS_END_EX(c = 0); c 2787 ext/standard/string.c c &= 0xff; c 2788 ext/standard/string.c if (CG(one_char_string)[c]) { c 2789 ext/standard/string.c ZVAL_INTERNED_STR(return_value, CG(one_char_string)[c]); c 2792 ext/standard/string.c Z_STRVAL_P(return_value)[0] = (char)c; c 3832 ext/standard/string.c char c; c 3839 ext/standard/string.c c = *source; c 3840 ext/standard/string.c if (flags[(unsigned char)c]) { c 3841 ext/standard/string.c if ((unsigned char) c < 32 || (unsigned char) c > 126) { c 3843 ext/standard/string.c switch (c) { c 3851 ext/standard/string.c default: target += sprintf(target, "%03o", (unsigned char) c); c 3857 ext/standard/string.c *target++ = c; c 3949 ext/standard/string.c #define isheb(c) (((((unsigned char) c) >= 224) && (((unsigned char) c) <= 250)) ? 1 : 0) c 3950 ext/standard/string.c #define _isblank(c) (((((unsigned char) c) == ' ' || ((unsigned char) c) == '\t')) ? 1 : 0) c 3951 ext/standard/string.c #define _isnewline(c) (((((unsigned char) c) == '\n' || ((unsigned char) c) == '\r')) ? 1 : 0) c 4630 ext/standard/string.c char c, *n, *t; c 4642 ext/standard/string.c c = tolower(*t); c 4649 ext/standard/string.c switch (c) { c 4651 ext/standard/string.c *(n++) = c; c 4657 ext/standard/string.c if (!isspace((int)c)) { c 4661 ext/standard/string.c if (c != '/') { c 4662 ext/standard/string.c *(n++) = c; c 4670 ext/standard/string.c c = tolower(*(++t)); c 4712 ext/standard/string.c char *tbuf, *buf, *p, *tp, *rp, c, lc; c 4724 ext/standard/string.c c = *buf; c 4739 ext/standard/string.c switch (c) { c 4777 ext/standard/string.c *(tp++) = c; c 4779 ext/standard/string.c *(rp++) = c; c 4795 ext/standard/string.c *(tp++) = c; c 4797 ext/standard/string.c *(rp++) = c; c 4854 ext/standard/string.c *(rp++) = c; c 4865 ext/standard/string.c if (lc == c) { c 4868 ext/standard/string.c lc = c; c 4871 ext/standard/string.c *(rp++) = c; c 4878 ext/standard/string.c *(tp++) = c; c 4893 ext/standard/string.c lc = c; c 4896 ext/standard/string.c *(rp++) = c; c 4903 ext/standard/string.c *(tp++) = c; c 4955 ext/standard/string.c *(rp++) = c; c 4962 ext/standard/string.c *(tp++) = c; c 4966 ext/standard/string.c c = *(++p); c 454 ext/standard/url.c int c; c 456 ext/standard/url.c c = ((unsigned char *)s)[0]; c 457 ext/standard/url.c if (isupper(c)) c 458 ext/standard/url.c c = tolower(c); c 459 ext/standard/url.c value = (c >= '0' && c <= '9' ? c - '0' : c - 'a' + 10) * 16; c 461 ext/standard/url.c c = ((unsigned char *)s)[1]; c 462 ext/standard/url.c if (isupper(c)) c 463 ext/standard/url.c c = tolower(c); c 464 ext/standard/url.c value += c >= '0' && c <= '9' ? c - '0' : c - 'a' + 10; c 489 ext/standard/url.c register unsigned char c; c 500 ext/standard/url.c c = *from++; c 502 ext/standard/url.c if (c == ' ') { c 505 ext/standard/url.c } else if ((c < '0' && c != '-' && c != '.') || c 506 ext/standard/url.c (c < 'A' && c > '9') || c 507 ext/standard/url.c (c > 'Z' && c < 'a' && c != '_') || c 508 ext/standard/url.c (c > 'z')) { c 510 ext/standard/url.c to[1] = hexchars[c >> 4]; c 511 ext/standard/url.c to[2] = hexchars[c & 15]; c 514 ext/standard/url.c } else if (!isalnum(c) && strchr("_-.", c) == NULL) { c 517 ext/standard/url.c to[1] = hexchars[os_toascii[c] >> 4]; c 518 ext/standard/url.c to[2] = hexchars[os_toascii[c] & 15]; c 522 ext/standard/url.c *to++ = c; c 759 ext/standard/url.c char c; c 763 ext/standard/url.c c = *p; c 777 ext/standard/url.c *p = c; c 858 ext/standard/url_scanner_ex.c scdebug(("stopped in state %d at pos %d (%d:%c) %d\n", STATE, YYCURSOR - ctx->buf.c, *YYCURSOR, *YYCURSOR, rest)); c 62 ext/standard/uuencode.c #define PHP_UU_ENC(c) ((c) ? ((c) & 077) + ' ' : '`') c 63 ext/standard/uuencode.c #define PHP_UU_ENC_C2(c) PHP_UU_ENC(((*(c) << 4) & 060) | ((*((c) + 1) >> 4) & 017)) c 64 ext/standard/uuencode.c #define PHP_UU_ENC_C3(c) PHP_UU_ENC(((*(c + 1) << 2) & 074) | ((*((c) + 2) >> 6) & 03)) c 66 ext/standard/uuencode.c #define PHP_UU_DEC(c) (((c) - ' ') & 077) c 65 ext/wddx/php_wddx_api.h #define php_wddx_gather(packet) estrndup(packet->c, packet->len) c 519 ext/xml/xml.c inline static unsigned short xml_encode_iso_8859_1(unsigned char c) c 521 ext/xml/xml.c return (unsigned short)c; c 526 ext/xml/xml.c inline static char xml_decode_iso_8859_1(unsigned short c) c 528 ext/xml/xml.c return (char)(c > 0xff ? '?' : c); c 533 ext/xml/xml.c inline static unsigned short xml_encode_us_ascii(unsigned char c) c 535 ext/xml/xml.c return (unsigned short)c; c 540 ext/xml/xml.c inline static char xml_decode_us_ascii(unsigned short c) c 542 ext/xml/xml.c return (char)(c > 0x7f ? '?' : c); c 566 ext/xml/xml.c unsigned int c; c 587 ext/xml/xml.c c = encoder ? encoder((unsigned char)(*s)) : (unsigned short)(*s); c 588 ext/xml/xml.c if (c < 0x80) { c 589 ext/xml/xml.c ZSTR_VAL(str)[ZSTR_LEN(str)++] = (char) c; c 590 ext/xml/xml.c } else if (c < 0x800) { c 591 ext/xml/xml.c ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xc0 | (c >> 6)); c 592 ext/xml/xml.c ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0x80 | (c & 0x3f)); c 593 ext/xml/xml.c } else if (c < 0x10000) { c 594 ext/xml/xml.c ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xe0 | (c >> 12)); c 595 ext/xml/xml.c ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xc0 | ((c >> 6) & 0x3f)); c 596 ext/xml/xml.c ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0x80 | (c & 0x3f)); c 597 ext/xml/xml.c } else if (c < 0x200000) { c 598 ext/xml/xml.c ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xf0 | (c >> 18)); c 599 ext/xml/xml.c ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xe0 | ((c >> 12) & 0x3f)); c 600 ext/xml/xml.c ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0xc0 | ((c >> 6) & 0x3f)); c 601 ext/xml/xml.c ZSTR_VAL(str)[ZSTR_LEN(str)++] = (0x80 | (c & 0x3f)); c 616 ext/xml/xml.c unsigned int c; c 637 ext/xml/xml.c c = php_next_utf8_char((const unsigned char*)s, (size_t) len, &pos, &status); c 639 ext/xml/xml.c if (status == FAILURE || c > 0xFFU) { c 640 ext/xml/xml.c c = '?'; c 643 ext/xml/xml.c ZSTR_VAL(str)[ZSTR_LEN(str)++] = decoder ? decoder(c) : c; c 32 ext/xmlrpc/libxmlrpc/base64.c void buffer_add(struct buffer_st *b, char c) c 34 ext/xmlrpc/libxmlrpc/base64.c *(b->ptr++) = c; c 76 ext/xmlrpc/libxmlrpc/base64.c int c, n; c 80 ext/xmlrpc/libxmlrpc/base64.c c = *(source++); c 86 ext/xmlrpc/libxmlrpc/base64.c igroup[n] = (unsigned char) c; c 149 ext/xmlrpc/libxmlrpc/base64.c int c; c 151 ext/xmlrpc/libxmlrpc/base64.c c = *(source++); c 154 ext/xmlrpc/libxmlrpc/base64.c if (isspace(c) || c == '\n' || c == '\r') continue; c 168 ext/xmlrpc/libxmlrpc/base64.c if (dtable[c] & 0x80) { c 177 ext/xmlrpc/libxmlrpc/base64.c a[i] = (unsigned char) c; c 178 ext/xmlrpc/libxmlrpc/base64.c b[i] = (unsigned char) dtable[c]; c 21 ext/xmlrpc/libxmlrpc/base64.h void buffer_add(struct buffer_st *b, char c); c 286 ext/xmlrpc/libxmlrpc/xml_element.c static int create_xml_escape(char *pString, unsigned char c) c 292 ext/xmlrpc/libxmlrpc/xml_element.c if(c >= 100) { c 293 ext/xmlrpc/libxmlrpc/xml_element.c pString[counter++] = c / 100 + '0'; c 294 ext/xmlrpc/libxmlrpc/xml_element.c c = c % 100; c 296 ext/xmlrpc/libxmlrpc/xml_element.c pString[counter++] = c / 10 + '0'; c 297 ext/xmlrpc/libxmlrpc/xml_element.c c = c % 10; c 299 ext/xmlrpc/libxmlrpc/xml_element.c pString[counter++] = c + '0'; c 304 ext/xmlrpc/libxmlrpc/xml_element.c #define non_ascii(c) (c > 127) c 305 ext/xmlrpc/libxmlrpc/xml_element.c #define non_print(c) (!isprint(c)) c 306 ext/xmlrpc/libxmlrpc/xml_element.c #define markup(c) (c == '&' || c == '\"' || c == '>' || c == '<') c 307 ext/xmlrpc/libxmlrpc/xml_element.c #define entity_length(c) ( (c >= 100) ? 3 : ((c >= 10) ? 2 : 1) ) + 3; /* "&#" + c + ";" */ c 328 ext/xmlrpc/libxmlrpc/xml_element.c #define should_escape(c, flag) ( ((flag & xml_elem_markup_escaping) && markup(c)) || \ c 329 ext/xmlrpc/libxmlrpc/xml_element.c ((flag & xml_elem_non_ascii_escaping) && non_ascii(c)) || \ c 330 ext/xmlrpc/libxmlrpc/xml_element.c ((flag & xml_elem_non_print_escaping) && non_print(c)) ) c 597 ext/xmlrpc/libxmlrpc/xml_element.c xml_element *c; c 602 ext/xmlrpc/libxmlrpc/xml_element.c c = mydata->current; c 606 ext/xmlrpc/libxmlrpc/xml_element.c mydata->current->parent = c; c 100 ext/zip/lib/zipint.h #define open(a, b, c) _open((a), (b)) c 188 main/SAPI.h #define sapi_add_header(a, b, c) sapi_add_header_ex((a),(b),(c),1) c 70 main/output.c static int php_output_stack_apply_op(void *h, void *c); c 71 main/output.c static int php_output_stack_apply_clean(void *h, void *c); c 1088 main/output.c static int php_output_stack_apply_op(void *h, void *c) c 1093 main/output.c php_output_context *context = (php_output_context *) c; c 1136 main/output.c static int php_output_stack_apply_clean(void *h, void *c) c 1139 main/output.c php_output_context *context = (php_output_context *) c; c 162 main/php_output.h #define PUTC(c) (php_output_write((const char *) &(c), 1), (c)) c 163 main/php_output.h #define PUTC_H(c) (php_output_write_unbuffered((const char *) &(c), 1), (c)) c 85 main/php_stdint.h # define INT8_C(c) c c 99 main/php_stdint.h # define UINT8_C(c) c c 113 main/php_stdint.h # define INT16_C(c) c c 129 main/php_stdint.h # define UINT16_C(c) c c 145 main/php_stdint.h # define INT32_C(c) c c 163 main/php_stdint.h # define UINT32_C(c) c ## U c 182 main/php_stdint.h # define INT64_C(c) c c 184 main/php_stdint.h # define INT64_C(c) c ## L c 186 main/php_stdint.h # define INT64_C(c) c ## LL c 208 main/php_stdint.h # define UINT64_C(c) c ## U c 210 main/php_stdint.h # define UINT64_C(c) c ## UL c 212 main/php_stdint.h # define UINT64_C(c) c ## ULL c 327 main/php_streams.h PHPAPI int _php_stream_putc(php_stream *stream, int c); c 328 main/php_streams.h #define php_stream_putc(stream, c) _php_stream_putc((stream), (c)) c 383 main/reentrancy.c int c, sc; c 395 main/reentrancy.c c = *s++; c 398 main/reentrancy.c if (c == sc) c 404 main/reentrancy.c if (c == 0) /* no non-delimiter characters */ c 417 main/reentrancy.c c = *s++; c 421 main/reentrancy.c if ((sc = *spanp++) == c) c 423 main/reentrancy.c if (c == 0) c 437 main/rfc1867.c if (buf_value.c && key) { c 441 main/rfc1867.c entry.value = buf_value.c; c 443 main/rfc1867.c buf_value.c = NULL; c 452 main/rfc1867.c } else if (buf_value.c) { /* If no ':' on the line, add to previous line */ c 459 main/rfc1867.c if (buf_value.c && key) { c 463 main/rfc1867.c entry.value = buf_value.c; c 951 main/rfc1867.c long c = 0; c 956 main/rfc1867.c c++; c 958 main/rfc1867.c c--; c 964 main/rfc1867.c if (c < 0) { c 971 main/rfc1867.c if(c != 0) { c 74 main/snprintf.c char *p, *rve, c; c 100 main/snprintf.c c = *p; c 102 main/snprintf.c return strdup((c == 'I' ? "INF" : "NAN")); c 532 main/snprintf.c #define INS_CHAR(c, sp, bep, cc) \ c 536 main/snprintf.c *sp++ = c; \ c 541 main/snprintf.c #define NUM( c ) ( c - '0' ) c 144 main/spprintf.c memset(((smart_string *)(xbuf))->c + ((smart_string *)(xbuf))->len, (ch), (count)); \ c 163 main/spprintf.c #define NUM(c) (c - '0') c 855 main/spprintf.c if (buf.c) { c 856 main/spprintf.c *pbuf = buf.c; c 773 main/streams/streams.c PHPAPI int _php_stream_putc(php_stream *stream, int c) c 775 main/streams/streams.c unsigned char buf = c; c 530 sapi/apache2handler/sapi_apache2.c php_conf_rec *c = ap_get_module_config(r->per_dir_config, &php7_module); c 532 sapi/apache2handler/sapi_apache2.c ZEND_HASH_FOREACH_STR_KEY(&c->config, str) { c 1713 sapi/cgi/cgi_main.c int cgi = 0, c, i; c 1822 sapi/cgi/cgi_main.c while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { c 1823 sapi/cgi/cgi_main.c switch (c) { c 2088 sapi/cgi/cgi_main.c while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2)) != -1) { c 2089 sapi/cgi/cgi_main.c switch (c) { c 2138 sapi/cgi/cgi_main.c while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { c 2139 sapi/cgi/cgi_main.c switch (c) { c 2391 sapi/cgi/cgi_main.c c = fgetc(file_handle.handle.fp); c 2392 sapi/cgi/cgi_main.c if (c == '#') { c 2393 sapi/cgi/cgi_main.c while (c != '\n' && c != '\r' && c != EOF) { c 2394 sapi/cgi/cgi_main.c c = fgetc(file_handle.handle.fp); /* skip to end of line */ c 2397 sapi/cgi/cgi_main.c if (c == '\r') { c 2409 sapi/cgi/cgi_main.c c = php_stream_getc((php_stream*)file_handle.handle.stream.handle); c 2410 sapi/cgi/cgi_main.c if (c == '#') { c 2411 sapi/cgi/cgi_main.c while (c != '\n' && c != '\r' && c != EOF) { c 2412 sapi/cgi/cgi_main.c c = php_stream_getc((php_stream*)file_handle.handle.stream.handle); /* skip to end of line */ c 2415 sapi/cgi/cgi_main.c if (c == '\r') { c 2430 sapi/cgi/cgi_main.c c = file_handle.handle.stream.mmap.buf[i++]; c 2431 sapi/cgi/cgi_main.c while (c != '\n' && c != '\r' && i < file_handle.handle.stream.mmap.len) { c 2432 sapi/cgi/cgi_main.c c = file_handle.handle.stream.mmap.buf[i++]; c 2434 sapi/cgi/cgi_main.c if (c == '\r') { c 614 sapi/cli/php_cli.c int c; c 628 sapi/cli/php_cli.c c = fgetc(file_handle->handle.fp); c 629 sapi/cli/php_cli.c if (c == '#' && (c = fgetc(file_handle->handle.fp)) == '!') { c 630 sapi/cli/php_cli.c while (c != '\n' && c != '\r' && c != EOF) { c 631 sapi/cli/php_cli.c c = fgetc(file_handle->handle.fp); /* skip to end of line */ c 634 sapi/cli/php_cli.c if (c == '\r') { c 651 sapi/cli/php_cli.c int c; c 671 sapi/cli/php_cli.c while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { c 672 sapi/cli/php_cli.c switch (c) { c 681 sapi/cli/php_cli.c exit_status = (c == '?' && argc > 1 && !strchr(argv[1], c)); c 728 sapi/cli/php_cli.c while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { c 729 sapi/cli/php_cli.c switch (c) { c 1171 sapi/cli/php_cli.c int c; c 1236 sapi/cli/php_cli.c while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) { c 1237 sapi/cli/php_cli.c switch (c) { c 310 sapi/cli/php_cli_server.c size_t c = MIN((e + s + 1) / 2, e - 1); c 311 sapi/cli/php_cli_server.c int d = template_map[c].code; c 313 sapi/cli/php_cli_server.c e = c; c 315 sapi/cli/php_cli_server.c s = c; c 317 sapi/cli/php_cli_server.c return template_map[c].str; c 2473 sapi/cli/php_cli_server.c int c; c 2480 sapi/cli/php_cli_server.c while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2))!=-1) { c 2481 sapi/cli/php_cli_server.c switch (c) { c 309 sapi/cli/php_http_parser.c #define LOWER(c) (unsigned char)(c | 0x20) c 310 sapi/cli/php_http_parser.c #define TOKEN(c) tokens[(unsigned char)c] c 331 sapi/cli/php_http_parser.c signed char c; c 668 sapi/cli/php_http_parser.c c = LOWER(ch); c 670 sapi/cli/php_http_parser.c if (c >= 'a' && c <= 'z') { c 681 sapi/cli/php_http_parser.c c = LOWER(ch); c 683 sapi/cli/php_http_parser.c if (c >= 'a' && c <= 'z') break; c 711 sapi/cli/php_http_parser.c c = LOWER(ch); c 712 sapi/cli/php_http_parser.c if (c >= 'a' && c <= 'z') break; c 1048 sapi/cli/php_http_parser.c c = TOKEN(ch); c 1050 sapi/cli/php_http_parser.c if (!c) goto error; c 1057 sapi/cli/php_http_parser.c switch (c) { c 1083 sapi/cli/php_http_parser.c c = TOKEN(ch); c 1085 sapi/cli/php_http_parser.c if (c) { c 1092 sapi/cli/php_http_parser.c header_state = (c == 'o' ? h_CO : h_general); c 1097 sapi/cli/php_http_parser.c header_state = (c == 'n' ? h_CON : h_general); c 1102 sapi/cli/php_http_parser.c switch (c) { c 1120 sapi/cli/php_http_parser.c || c != CONNECTION[index]) { c 1132 sapi/cli/php_http_parser.c || c != PROXY_CONNECTION[index]) { c 1144 sapi/cli/php_http_parser.c || c != CONTENT_LENGTH[index]) { c 1156 sapi/cli/php_http_parser.c || c != TRANSFER_ENCODING[index]) { c 1168 sapi/cli/php_http_parser.c || c != UPGRADE[index]) { c 1219 sapi/cli/php_http_parser.c c = LOWER(ch); c 1242 sapi/cli/php_http_parser.c if ('c' == c) { c 1256 sapi/cli/php_http_parser.c if (c == 'k') { c 1259 sapi/cli/php_http_parser.c } else if (c == 'c') { c 1275 sapi/cli/php_http_parser.c c = LOWER(ch); c 1308 sapi/cli/php_http_parser.c || c != CHUNKED[index]) { c 1319 sapi/cli/php_http_parser.c || c != KEEP_ALIVE[index]) { c 1329 sapi/cli/php_http_parser.c if (index > sizeof(CLOSE)-1 || c != CLOSE[index]) { c 1474 sapi/cli/php_http_parser.c c = unhex[(unsigned char)ch]; c 1475 sapi/cli/php_http_parser.c if (c == -1) goto error; c 1476 sapi/cli/php_http_parser.c parser->content_length = c; c 1490 sapi/cli/php_http_parser.c c = unhex[(unsigned char)ch]; c 1492 sapi/cli/php_http_parser.c if (c == -1) { c 1501 sapi/cli/php_http_parser.c parser->content_length += c; c 25 sapi/fpm/fpm/fpm_atomic.h #define atomic_cmp_set(a,b,c) __sync_bool_compare_and_swap(a,b,c) c 92 sapi/fpm/fpm/fpm_atomic.h #define atomic_cmp_set(a,b,c) __sync_bool_compare_and_swap(a,b,c) c 303 sapi/fpm/fpm/fpm_children.c struct fpm_child_s *c; c 305 sapi/fpm/fpm/fpm_children.c c = fpm_child_alloc(); c 307 sapi/fpm/fpm/fpm_children.c if (!c) { c 312 sapi/fpm/fpm/fpm_children.c c->wp = wp; c 313 sapi/fpm/fpm/fpm_children.c c->fd_stdout = -1; c->fd_stderr = -1; c 315 sapi/fpm/fpm/fpm_children.c if (0 > fpm_stdio_prepare_pipes(c)) { c 316 sapi/fpm/fpm/fpm_children.c fpm_child_free(c); c 320 sapi/fpm/fpm/fpm_children.c if (0 > fpm_scoreboard_proc_alloc(wp->scoreboard, &c->scoreboard_i)) { c 321 sapi/fpm/fpm/fpm_children.c fpm_stdio_discard_pipes(c); c 322 sapi/fpm/fpm/fpm_children.c fpm_child_free(c); c 326 sapi/fpm/fpm/fpm_children.c return c; c 22 sapi/fpm/fpm/fpm_cleanup.c struct cleanup_s *c; c 24 sapi/fpm/fpm/fpm_cleanup.c c = fpm_array_push(&cleanups); c 26 sapi/fpm/fpm/fpm_cleanup.c if (!c) { c 30 sapi/fpm/fpm/fpm_cleanup.c c->type = type; c 31 sapi/fpm/fpm/fpm_cleanup.c c->cleanup = cleanup; c 32 sapi/fpm/fpm/fpm_cleanup.c c->arg = arg; c 40 sapi/fpm/fpm/fpm_cleanup.c struct cleanup_s *c = fpm_array_item_last(&cleanups); c 43 sapi/fpm/fpm/fpm_cleanup.c for ( ; cl--; c--) { c 44 sapi/fpm/fpm/fpm_cleanup.c if (c->type & type) { c 45 sapi/fpm/fpm/fpm_cleanup.c c->cleanup(type, c->arg); c 531 sapi/fpm/fpm/fpm_conf.c struct fpm_worker_pool_config_s *c = *config; c 533 sapi/fpm/fpm/fpm_conf.c c->pm = PM_STYLE_STATIC; c 535 sapi/fpm/fpm/fpm_conf.c c->pm = PM_STYLE_DYNAMIC; c 537 sapi/fpm/fpm/fpm_conf.c c->pm = PM_STYLE_ONDEMAND; c 1490 sapi/fpm/fpm/fpm_conf.c char c = '*'; c 1516 sapi/fpm/fpm/fpm_conf.c for (n = 0; (nb_read = read(fd, &c, sizeof(char))) == sizeof(char) && c != '\n'; n++) { c 1529 sapi/fpm/fpm/fpm_conf.c buf[n] = c; c 58 sapi/fpm/fpm/fpm_events.c char c; c 64 sapi/fpm/fpm/fpm_events.c res = read(fd, &c, 1); c 74 sapi/fpm/fpm/fpm_events.c switch (c) { c 1573 sapi/fpm/fpm/fpm_main.c int cgi = 0, c, use_extended_info = 0; c 1636 sapi/fpm/fpm/fpm_main.c while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { c 1637 sapi/fpm/fpm/fpm_main.c switch (c) { c 1746 sapi/fpm/fpm/fpm_main.c exit_status = (c == 'h') ? FPM_EXIT_OK : FPM_EXIT_USAGE; c 78 sapi/fpm/fpm/fpm_process_ctl.c #define optional_arg(c) (saved_argc > c ? ", \"" : ""), (saved_argc > c ? saved_argv[c] : ""), (saved_argc > c ? "\"" : "") c 41 sapi/fpm/fpm/fpm_unix.c struct fpm_worker_pool_config_s *c = wp->config; c 52 sapi/fpm/fpm/fpm_unix.c if (!c) { c 56 sapi/fpm/fpm/fpm_unix.c if (c->listen_mode && *c->listen_mode) { c 57 sapi/fpm/fpm/fpm_unix.c wp->socket_mode = strtoul(c->listen_mode, 0, 8); c 63 sapi/fpm/fpm/fpm_unix.c if (c->listen_acl_users && *c->listen_acl_users) { c 66 sapi/fpm/fpm/fpm_unix.c for (p=strchr(c->listen_acl_users, ',') ; p ; p=strchr(p+1, ',')) { c 70 sapi/fpm/fpm/fpm_unix.c if (c->listen_acl_groups && *c->listen_acl_groups) { c 73 sapi/fpm/fpm/fpm_unix.c for (p=strchr(c->listen_acl_groups, ',') ; p ; p=strchr(p+1, ',')) { c 90 sapi/fpm/fpm/fpm_unix.c if (c->listen_acl_users && *c->listen_acl_users) { c 93 sapi/fpm/fpm/fpm_unix.c tmp = estrdup(c->listen_acl_users); c 123 sapi/fpm/fpm/fpm_unix.c if (c->listen_acl_groups && *c->listen_acl_groups) { c 126 sapi/fpm/fpm/fpm_unix.c tmp = estrdup(c->listen_acl_groups); c 155 sapi/fpm/fpm/fpm_unix.c if (c->listen_owner && *c->listen_owner) { c 156 sapi/fpm/fpm/fpm_unix.c zlog(ZLOG_WARNING, "[pool %s] ACL set, listen.owner = '%s' is ignored", wp->config->name, c->listen_owner); c 158 sapi/fpm/fpm/fpm_unix.c if (c->listen_group && *c->listen_group) { c 159 sapi/fpm/fpm/fpm_unix.c zlog(ZLOG_WARNING, "[pool %s] ACL set, listen.group = '%s' is ignored", wp->config->name, c->listen_group); c 167 sapi/fpm/fpm/fpm_unix.c if (c->listen_owner && *c->listen_owner) { c 170 sapi/fpm/fpm/fpm_unix.c pwd = getpwnam(c->listen_owner); c 172 sapi/fpm/fpm/fpm_unix.c zlog(ZLOG_SYSERROR, "[pool %s] cannot get uid for user '%s'", wp->config->name, c->listen_owner); c 180 sapi/fpm/fpm/fpm_unix.c if (c->listen_group && *c->listen_group) { c 183 sapi/fpm/fpm/fpm_unix.c grp = getgrnam(c->listen_group); c 185 sapi/fpm/fpm/fpm_unix.c zlog(ZLOG_SYSERROR, "[pool %s] cannot get gid for group '%s'", wp->config->name, c->listen_group); c 691 sapi/litespeed/lsapi_main.c int c; c 693 sapi/litespeed/lsapi_main.c c = *((*p)+1); c 695 sapi/litespeed/lsapi_main.c switch( c ) { c 756 sapi/litespeed/lsapi_main.c int c; c 794 sapi/litespeed/lsapi_main.c c = *((*p)+1); c 796 sapi/litespeed/lsapi_main.c switch( c ) { c 3485 sapi/litespeed/lsapilib.c register uint32 a, b, c, d; c 3489 sapi/litespeed/lsapilib.c c = buf[2]; c 3492 sapi/litespeed/lsapilib.c MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); c 3493 sapi/litespeed/lsapilib.c MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); c 3494 sapi/litespeed/lsapilib.c MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); c 3495 sapi/litespeed/lsapilib.c MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); c 3496 sapi/litespeed/lsapilib.c MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); c 3497 sapi/litespeed/lsapilib.c MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); c 3498 sapi/litespeed/lsapilib.c MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); c 3499 sapi/litespeed/lsapilib.c MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); c 3500 sapi/litespeed/lsapilib.c MD5STEP(F1, a, b, c, d, in[8] + 0x698098d8, 7); c 3501 sapi/litespeed/lsapilib.c MD5STEP(F1, d, a, b, c, in[9] + 0x8b44f7af, 12); c 3502 sapi/litespeed/lsapilib.c MD5STEP(F1, c, d, a, b, in[10] + 0xffff5bb1, 17); c 3503 sapi/litespeed/lsapilib.c MD5STEP(F1, b, c, d, a, in[11] + 0x895cd7be, 22); c 3504 sapi/litespeed/lsapilib.c MD5STEP(F1, a, b, c, d, in[12] + 0x6b901122, 7); c 3505 sapi/litespeed/lsapilib.c MD5STEP(F1, d, a, b, c, in[13] + 0xfd987193, 12); c 3506 sapi/litespeed/lsapilib.c MD5STEP(F1, c, d, a, b, in[14] + 0xa679438e, 17); c 3507 sapi/litespeed/lsapilib.c MD5STEP(F1, b, c, d, a, in[15] + 0x49b40821, 22); c 3509 sapi/litespeed/lsapilib.c MD5STEP(F2, a, b, c, d, in[1] + 0xf61e2562, 5); c 3510 sapi/litespeed/lsapilib.c MD5STEP(F2, d, a, b, c, in[6] + 0xc040b340, 9); c 3511 sapi/litespeed/lsapilib.c MD5STEP(F2, c, d, a, b, in[11] + 0x265e5a51, 14); c 3512 sapi/litespeed/lsapilib.c MD5STEP(F2, b, c, d, a, in[0] + 0xe9b6c7aa, 20); c 3513 sapi/litespeed/lsapilib.c MD5STEP(F2, a, b, c, d, in[5] + 0xd62f105d, 5); c 3514 sapi/litespeed/lsapilib.c MD5STEP(F2, d, a, b, c, in[10] + 0x02441453, 9); c 3515 sapi/litespeed/lsapilib.c MD5STEP(F2, c, d, a, b, in[15] + 0xd8a1e681, 14); c 3516 sapi/litespeed/lsapilib.c MD5STEP(F2, b, c, d, a, in[4] + 0xe7d3fbc8, 20); c 3517 sapi/litespeed/lsapilib.c MD5STEP(F2, a, b, c, d, in[9] + 0x21e1cde6, 5); c 3518 sapi/litespeed/lsapilib.c MD5STEP(F2, d, a, b, c, in[14] + 0xc33707d6, 9); c 3519 sapi/litespeed/lsapilib.c MD5STEP(F2, c, d, a, b, in[3] + 0xf4d50d87, 14); c 3520 sapi/litespeed/lsapilib.c MD5STEP(F2, b, c, d, a, in[8] + 0x455a14ed, 20); c 3521 sapi/litespeed/lsapilib.c MD5STEP(F2, a, b, c, d, in[13] + 0xa9e3e905, 5); c 3522 sapi/litespeed/lsapilib.c MD5STEP(F2, d, a, b, c, in[2] + 0xfcefa3f8, 9); c 3523 sapi/litespeed/lsapilib.c MD5STEP(F2, c, d, a, b, in[7] + 0x676f02d9, 14); c 3524 sapi/litespeed/lsapilib.c MD5STEP(F2, b, c, d, a, in[12] + 0x8d2a4c8a, 20); c 3526 sapi/litespeed/lsapilib.c MD5STEP(F3, a, b, c, d, in[5] + 0xfffa3942, 4); c 3527 sapi/litespeed/lsapilib.c MD5STEP(F3, d, a, b, c, in[8] + 0x8771f681, 11); c 3528 sapi/litespeed/lsapilib.c MD5STEP(F3, c, d, a, b, in[11] + 0x6d9d6122, 16); c 3529 sapi/litespeed/lsapilib.c MD5STEP(F3, b, c, d, a, in[14] + 0xfde5380c, 23); c 3530 sapi/litespeed/lsapilib.c MD5STEP(F3, a, b, c, d, in[1] + 0xa4beea44, 4); c 3531 sapi/litespeed/lsapilib.c MD5STEP(F3, d, a, b, c, in[4] + 0x4bdecfa9, 11); c 3532 sapi/litespeed/lsapilib.c MD5STEP(F3, c, d, a, b, in[7] + 0xf6bb4b60, 16); c 3533 sapi/litespeed/lsapilib.c MD5STEP(F3, b, c, d, a, in[10] + 0xbebfbc70, 23); c 3534 sapi/litespeed/lsapilib.c MD5STEP(F3, a, b, c, d, in[13] + 0x289b7ec6, 4); c 3535 sapi/litespeed/lsapilib.c MD5STEP(F3, d, a, b, c, in[0] + 0xeaa127fa, 11); c 3536 sapi/litespeed/lsapilib.c MD5STEP(F3, c, d, a, b, in[3] + 0xd4ef3085, 16); c 3537 sapi/litespeed/lsapilib.c MD5STEP(F3, b, c, d, a, in[6] + 0x04881d05, 23); c 3538 sapi/litespeed/lsapilib.c MD5STEP(F3, a, b, c, d, in[9] + 0xd9d4d039, 4); c 3539 sapi/litespeed/lsapilib.c MD5STEP(F3, d, a, b, c, in[12] + 0xe6db99e5, 11); c 3540 sapi/litespeed/lsapilib.c MD5STEP(F3, c, d, a, b, in[15] + 0x1fa27cf8, 16); c 3541 sapi/litespeed/lsapilib.c MD5STEP(F3, b, c, d, a, in[2] + 0xc4ac5665, 23); c 3543 sapi/litespeed/lsapilib.c MD5STEP(F4, a, b, c, d, in[0] + 0xf4292244, 6); c 3544 sapi/litespeed/lsapilib.c MD5STEP(F4, d, a, b, c, in[7] + 0x432aff97, 10); c 3545 sapi/litespeed/lsapilib.c MD5STEP(F4, c, d, a, b, in[14] + 0xab9423a7, 15); c 3546 sapi/litespeed/lsapilib.c MD5STEP(F4, b, c, d, a, in[5] + 0xfc93a039, 21); c 3547 sapi/litespeed/lsapilib.c MD5STEP(F4, a, b, c, d, in[12] + 0x655b59c3, 6); c 3548 sapi/litespeed/lsapilib.c MD5STEP(F4, d, a, b, c, in[3] + 0x8f0ccc92, 10); c 3549 sapi/litespeed/lsapilib.c MD5STEP(F4, c, d, a, b, in[10] + 0xffeff47d, 15); c 3550 sapi/litespeed/lsapilib.c MD5STEP(F4, b, c, d, a, in[1] + 0x85845dd1, 21); c 3551 sapi/litespeed/lsapilib.c MD5STEP(F4, a, b, c, d, in[8] + 0x6fa87e4f, 6); c 3552 sapi/litespeed/lsapilib.c MD5STEP(F4, d, a, b, c, in[15] + 0xfe2ce6e0, 10); c 3553 sapi/litespeed/lsapilib.c MD5STEP(F4, c, d, a, b, in[6] + 0xa3014314, 15); c 3554 sapi/litespeed/lsapilib.c MD5STEP(F4, b, c, d, a, in[13] + 0x4e0811a1, 21); c 3555 sapi/litespeed/lsapilib.c MD5STEP(F4, a, b, c, d, in[4] + 0xf7537e82, 6); c 3556 sapi/litespeed/lsapilib.c MD5STEP(F4, d, a, b, c, in[11] + 0xbd3af235, 10); c 3557 sapi/litespeed/lsapilib.c MD5STEP(F4, c, d, a, b, in[2] + 0x2ad7d2bb, 15); c 3558 sapi/litespeed/lsapilib.c MD5STEP(F4, b, c, d, a, in[9] + 0xeb86d391, 21); c 3562 sapi/litespeed/lsapilib.c buf[2] += c; c 185 sapi/phpdbg/phpdbg_help.c const phpdbg_command_t *c; c 189 sapi/phpdbg/phpdbg_help.c for (c=commands; c->name; c++) { c 190 sapi/phpdbg/phpdbg_help.c if (c->alias == key[0]) { c 193 sapi/phpdbg/phpdbg_help.c *command = c; c 198 sapi/phpdbg/phpdbg_help.c for (c=commands; c->name; c++) { c 199 sapi/phpdbg/phpdbg_help.c if (!strncmp(c->name, key, len)) { c 202 sapi/phpdbg/phpdbg_help.c *command = c; c 264 sapi/phpdbg/phpdbg_help.c const phpdbg_command_t *c, *c_sub; c 270 sapi/phpdbg/phpdbg_help.c for(c = phpdbg_prompt_commands; c->name; c++) { c 271 sapi/phpdbg/phpdbg_help.c if (c->alias && c->alias != 'h') { c 272 sapi/phpdbg/phpdbg_help.c phpdbg_writeln("command", "alias=\"%c\" name=\"%s\" tip=\"%s\"", " %c %-20s %s", c->alias, c->name, c->tip); c 273 sapi/phpdbg/phpdbg_help.c if (c->subs) { c 274 sapi/phpdbg/phpdbg_help.c len = 20 - 1 - c->name_len; c 275 sapi/phpdbg/phpdbg_help.c for(c_sub = c->subs; c_sub->alias; c_sub++) { c 278 sapi/phpdbg/phpdbg_help.c c->alias, c_sub->alias, c->name, len, c_sub->name, c_sub->tip); c 288 sapi/phpdbg/phpdbg_help.c get_command("h", 1, &c, phpdbg_prompt_commands); c 289 sapi/phpdbg/phpdbg_help.c phpdbg_writeln("aliasinfo", "alias=\"%c\" name=\"%s\" tip=\"%s\"", " %c %-20s %s\n", c->alias, c->name, c->tip); c 293 sapi/phpdbg/phpdbg_help.c len = 20 - 1 - c->name_len; c 294 sapi/phpdbg/phpdbg_help.c for(c_sub = c->subs; c_sub->alias; c_sub++) { c 297 sapi/phpdbg/phpdbg_help.c c->alias, c_sub->alias, c->name, len, c_sub->name, c_sub->tip); c 66 sapi/phpdbg/phpdbg_out.c #define INS_CHAR(c, sp, bep, cc) \ c 70 sapi/phpdbg/phpdbg_out.c *sp++ = c; \ c 75 sapi/phpdbg/phpdbg_out.c #define NUM( c ) ( c - '0' ) c 62 win32/fnmatch.c char c, test; c 65 win32/fnmatch.c switch (c = *pattern++) { c 82 win32/fnmatch.c c = *pattern; c 84 win32/fnmatch.c while (c == '*') c 85 win32/fnmatch.c c = *++pattern; c 93 win32/fnmatch.c if (c == EOS) c 100 win32/fnmatch.c else if (c == '/' && flags & FNM_PATHNAME) { c 127 win32/fnmatch.c if ((c = *pattern++) == EOS) { c 128 win32/fnmatch.c c = '\\'; c 134 win32/fnmatch.c if (c == *string) c 137 win32/fnmatch.c (tolower((unsigned char)c) == c 141 win32/fnmatch.c (c == '/' && string != stringstart || c 156 win32/fnmatch.c char c, c2; c 171 win32/fnmatch.c for (ok = 0; (c = *pattern++) != ']';) { c 172 win32/fnmatch.c if (c == '\\' && !(flags & FNM_NOESCAPE)) c 173 win32/fnmatch.c c = *pattern++; c 174 win32/fnmatch.c if (c == EOS) c 178 win32/fnmatch.c c = tolower((unsigned char)c); c 191 win32/fnmatch.c if ((unsigned char)c <= (unsigned char)test && c 194 win32/fnmatch.c } else if (c == test) c 131 win32/glob.c #define CHAR(c) ((Char)((c)&M_ASCII)) c 132 win32/glob.c #define META(c) ((Char)((c)|M_QUOTE)) c 139 win32/glob.c #define ismeta(c) (((c)&M_QUOTE) != 0) c 169 win32/glob.c int c; c 193 win32/glob.c while (bufnext < bufend && (c = *patnext++) != EOS) c 194 win32/glob.c *bufnext++ = c; c 197 win32/glob.c while (bufnext < bufend && (c = *patnext++) != EOS) c 198 win32/glob.c if (c == QUOTE) { c 199 win32/glob.c if ((c = *patnext++) == EOS) { c 200 win32/glob.c c = QUOTE; c 203 win32/glob.c *bufnext++ = c | M_PROTECT; c 205 win32/glob.c *bufnext++ = c; c 440 win32/glob.c int c, err, oldpathc; c 449 win32/glob.c while ((c = *qpatnext++) != EOS) { c 450 win32/glob.c switch (c) { c 452 win32/glob.c c = *qpatnext; c 453 win32/glob.c if (c == NOT) c 458 win32/glob.c if (c == NOT) c 463 win32/glob.c if (c == NOT) c 465 win32/glob.c c = *qpatnext++; c 467 win32/glob.c *bufnext++ = CHAR(c); c 469 win32/glob.c (c = qpatnext[1]) != RBRACKET) { c 471 win32/glob.c *bufnext++ = CHAR(c); c 474 win32/glob.c } while ((c = *qpatnext++) != RBRACKET); c 491 win32/glob.c *bufnext++ = CHAR(c); c 771 win32/glob.c Char c, k; c 774 win32/glob.c c = *pat++; c 775 win32/glob.c switch (c & M_MASK) { c 795 win32/glob.c while (((c = *pat++) & M_MASK) != M_END) c 797 win32/glob.c if (c <= k && k <= pat[1]) c 800 win32/glob.c } else if (c == k) c 806 win32/glob.c if (*name++ != c) c 636 win32/sendmail.c char c, *e2, *e = data_cln->val + data_cln->len; c 641 win32/sendmail.c c = *e2; c 647 win32/sendmail.c *e2 = c;