Lines Matching refs:loc
4650 static zend_string *try_setlocale_str(zend_long cat, zend_string *loc) { argument
4653 if (zend_string_equals_literal(loc, "0")) {
4654 loc = NULL;
4656 if (ZSTR_LEN(loc) >= 255) {
4663 retval = setlocale(cat, loc ? ZSTR_VAL(loc) : NULL);
4665 if (loc) {
4667 char *locp = ZSTR_VAL(loc);
4668 if (ZSTR_LEN(loc) >= 5 && locp[2] == '_'
4678 retval = setlocale(cat, ZSTR_VAL(loc));
4688 if (loc) {
4702 } else if (zend_string_equals_cstr(loc, retval, len)) {
4703 BG(ctype_string) = zend_string_copy(loc);
4709 } else if (zend_string_equals_cstr(loc, retval, len)) {
4710 return zend_string_copy(loc);