Lines Matching refs:BG
1055 #define STRTOK_TABLE(p) BG(strtok_table)[(unsigned char) *p]
1076 if (BG(strtok_string)) { in PHP_FUNCTION()
1077 zend_string_release(BG(strtok_string)); in PHP_FUNCTION()
1079 BG(strtok_string) = zend_string_copy(str); in PHP_FUNCTION()
1080 BG(strtok_last) = ZSTR_VAL(str); in PHP_FUNCTION()
1081 BG(strtok_len) = ZSTR_LEN(str); in PHP_FUNCTION()
1084 if (!BG(strtok_string)) { in PHP_FUNCTION()
1090 p = BG(strtok_last); /* Where we start to search */ in PHP_FUNCTION()
1091 pe = ZSTR_VAL(BG(strtok_string)) + BG(strtok_len); in PHP_FUNCTION()
1120 if (p - BG(strtok_last)) { in PHP_FUNCTION()
1122 RETVAL_STRINGL(BG(strtok_last) + skipped, (p - BG(strtok_last)) - skipped); in PHP_FUNCTION()
1123 BG(strtok_last) = p + 1; in PHP_FUNCTION()
1127 zend_string_release(BG(strtok_string)); in PHP_FUNCTION()
1128 BG(strtok_string) = NULL; in PHP_FUNCTION()
4608 BG(locale_changed) = 1;
4611 if (BG(ctype_string)) {
4612 zend_string_release_ex(BG(ctype_string), 0);
4616 BG(ctype_string) = NULL;
4619 BG(ctype_string) = zend_string_copy(loc);
4620 return zend_string_copy(BG(ctype_string));
4622 BG(ctype_string) = zend_string_init(retval, len, 0);
4623 return zend_string_copy(BG(ctype_string));