MBREX 140 mbstring/php_mbregex.c MBREX(current_mbctype) = MBREX(default_mbctype); MBREX 142 mbstring/php_mbregex.c if (MBREX(search_str) != NULL) { MBREX 143 mbstring/php_mbregex.c zval_ptr_dtor(&MBREX(search_str)); MBREX 144 mbstring/php_mbregex.c MBREX(search_str) = (zval *)NULL; MBREX 146 mbstring/php_mbregex.c MBREX(search_pos) = 0; MBREX 148 mbstring/php_mbregex.c if (MBREX(search_regs) != NULL) { MBREX 149 mbstring/php_mbregex.c onig_region_free(MBREX(search_regs), 1); MBREX 150 mbstring/php_mbregex.c MBREX(search_regs) = (OnigRegion *)NULL; MBREX 152 mbstring/php_mbregex.c zend_hash_clean(&MBREX(ht_rc)); MBREX 413 mbstring/php_mbregex.c MBREX(current_mbctype) = mbctype; MBREX 425 mbstring/php_mbregex.c MBREX(default_mbctype) = mbctype; MBREX 433 mbstring/php_mbregex.c return _php_mb_regex_mbctype2name(MBREX(current_mbctype)); MBREX 440 mbstring/php_mbregex.c return _php_mb_regex_mbctype2name(MBREX(default_mbctype)); MBREX 456 mbstring/php_mbregex.c found = zend_hash_find(&MBREX(ht_rc), (char *)pattern, patlen+1, (void **) &rc); MBREX 464 mbstring/php_mbregex.c zend_hash_update(&MBREX(ht_rc), (char *) pattern, patlen + 1, (void *) &retval, sizeof(retval), NULL); MBREX 668 mbstring/php_mbregex.c const char *retval = _php_mb_regex_mbctype2name(MBREX(current_mbctype)); MBREX 683 mbstring/php_mbregex.c MBREX(current_mbctype) = mbctype; MBREX 707 mbstring/php_mbregex.c options = MBREX(regex_default_options); MBREX 728 mbstring/php_mbregex.c re = php_mbregex_compile_pattern(Z_STRVAL_PP(arg_pattern), Z_STRLEN_PP(arg_pattern), options, MBREX(current_mbctype), MBREX(regex_default_syntax) TSRMLS_CC); MBREX 820 mbstring/php_mbregex.c current_enc_name = _php_mb_regex_mbctype2name(MBREX(current_mbctype)); MBREX 853 mbstring/php_mbregex.c options |= MBREX(regex_default_options); MBREX 854 mbstring/php_mbregex.c syntax = MBREX(regex_default_syntax); MBREX 870 mbstring/php_mbregex.c re = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, options, MBREX(current_mbctype), syntax TSRMLS_CC); MBREX 1073 mbstring/php_mbregex.c if ((re = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, MBREX(regex_default_options), MBREX(current_mbctype), MBREX(regex_default_syntax) TSRMLS_CC)) == NULL) { MBREX 1157 mbstring/php_mbregex.c option |= MBREX(regex_default_options); MBREX 1158 mbstring/php_mbregex.c syntax = MBREX(regex_default_syntax); MBREX 1162 mbstring/php_mbregex.c if ((re = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, option, MBREX(current_mbctype), syntax TSRMLS_CC)) == NULL) { MBREX 1193 mbstring/php_mbregex.c option = MBREX(regex_default_options); MBREX 1202 mbstring/php_mbregex.c if ((MBREX(search_re) = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, option, MBREX(current_mbctype), MBREX(regex_default_syntax) TSRMLS_CC)) == NULL) { MBREX 1207 mbstring/php_mbregex.c pos = MBREX(search_pos); MBREX 1210 mbstring/php_mbregex.c if (MBREX(search_str) != NULL && Z_TYPE_P(MBREX(search_str)) == IS_STRING){ MBREX 1211 mbstring/php_mbregex.c str = (OnigUChar *)Z_STRVAL_P(MBREX(search_str)); MBREX 1212 mbstring/php_mbregex.c len = Z_STRLEN_P(MBREX(search_str)); MBREX 1215 mbstring/php_mbregex.c if (MBREX(search_re) == NULL) { MBREX 1225 mbstring/php_mbregex.c if (MBREX(search_regs)) { MBREX 1226 mbstring/php_mbregex.c onig_region_free(MBREX(search_regs), 1); MBREX 1228 mbstring/php_mbregex.c MBREX(search_regs) = onig_region_new(); MBREX 1230 mbstring/php_mbregex.c err = onig_search(MBREX(search_re), str, str + len, str + pos, str + len, MBREX(search_regs), 0); MBREX 1232 mbstring/php_mbregex.c MBREX(search_pos) = len; MBREX 1240 mbstring/php_mbregex.c if (MBREX(search_regs)->beg[0] == MBREX(search_regs)->end[0]) { MBREX 1246 mbstring/php_mbregex.c beg = MBREX(search_regs)->beg[0]; MBREX 1247 mbstring/php_mbregex.c end = MBREX(search_regs)->end[0]; MBREX 1253 mbstring/php_mbregex.c n = MBREX(search_regs)->num_regs; MBREX 1255 mbstring/php_mbregex.c beg = MBREX(search_regs)->beg[i]; MBREX 1256 mbstring/php_mbregex.c end = MBREX(search_regs)->end[i]; MBREX 1268 mbstring/php_mbregex.c end = MBREX(search_regs)->end[0]; MBREX 1270 mbstring/php_mbregex.c MBREX(search_pos) = end; MBREX 1272 mbstring/php_mbregex.c MBREX(search_pos) = pos + 1; MBREX 1277 mbstring/php_mbregex.c onig_region_free(MBREX(search_regs), 1); MBREX 1278 mbstring/php_mbregex.c MBREX(search_regs) = (OnigRegion *)NULL; MBREX 1327 mbstring/php_mbregex.c option = MBREX(regex_default_options); MBREX 1328 mbstring/php_mbregex.c syntax = MBREX(regex_default_syntax); MBREX 1337 mbstring/php_mbregex.c if ((MBREX(search_re) = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, option, MBREX(current_mbctype), syntax TSRMLS_CC)) == NULL) { MBREX 1342 mbstring/php_mbregex.c if (MBREX(search_str) != NULL) { MBREX 1343 mbstring/php_mbregex.c zval_ptr_dtor(&MBREX(search_str)); MBREX 1344 mbstring/php_mbregex.c MBREX(search_str) = (zval *)NULL; MBREX 1347 mbstring/php_mbregex.c MBREX(search_str) = arg_str; MBREX 1348 mbstring/php_mbregex.c Z_ADDREF_P(MBREX(search_str)); MBREX 1349 mbstring/php_mbregex.c SEPARATE_ZVAL_IF_NOT_REF(&MBREX(search_str)); MBREX 1351 mbstring/php_mbregex.c MBREX(search_pos) = 0; MBREX 1353 mbstring/php_mbregex.c if (MBREX(search_regs) != NULL) { MBREX 1354 mbstring/php_mbregex.c onig_region_free(MBREX(search_regs), 1); MBREX 1355 mbstring/php_mbregex.c MBREX(search_regs) = (OnigRegion *) NULL; MBREX 1369 mbstring/php_mbregex.c if (MBREX(search_regs) != NULL && Z_TYPE_P(MBREX(search_str)) == IS_STRING && Z_STRVAL_P(MBREX(search_str)) != NULL) { MBREX 1372 mbstring/php_mbregex.c str = (OnigUChar *)Z_STRVAL_P(MBREX(search_str)); MBREX 1373 mbstring/php_mbregex.c len = Z_STRLEN_P(MBREX(search_str)); MBREX 1374 mbstring/php_mbregex.c n = MBREX(search_regs)->num_regs; MBREX 1376 mbstring/php_mbregex.c beg = MBREX(search_regs)->beg[i]; MBREX 1377 mbstring/php_mbregex.c end = MBREX(search_regs)->end[i]; MBREX 1394 mbstring/php_mbregex.c RETVAL_LONG(MBREX(search_pos)); MBREX 1408 mbstring/php_mbregex.c if (position < 0 || (MBREX(search_str) != NULL && Z_TYPE_P(MBREX(search_str)) == IS_STRING && position >= Z_STRLEN_P(MBREX(search_str)))) { MBREX 1410 mbstring/php_mbregex.c MBREX(search_pos) = 0; MBREX 1414 mbstring/php_mbregex.c MBREX(search_pos) = position; MBREX 1423 mbstring/php_mbregex.c *prev_options = MBREX(regex_default_options); MBREX 1426 mbstring/php_mbregex.c *prev_syntax = MBREX(regex_default_syntax); MBREX 1428 mbstring/php_mbregex.c MBREX(regex_default_options) = options; MBREX 1429 mbstring/php_mbregex.c MBREX(regex_default_syntax) = syntax; MBREX 1453 mbstring/php_mbregex.c opt = MBREX(regex_default_options); MBREX 1454 mbstring/php_mbregex.c syntax = MBREX(regex_default_syntax);