Lines Matching refs:interned
231 zend_string *interned = zend_hash_find_ptr(&ctx->str_interned, str); in browscap_intern_str() local
232 if (interned) { in browscap_intern_str()
233 zend_string_addref(interned); in browscap_intern_str()
235 interned = zend_string_copy(str); in browscap_intern_str()
236 zend_hash_add_new_ptr(&ctx->str_interned, interned, interned); in browscap_intern_str()
239 return interned; in browscap_intern_str()
245 zend_string *interned; in browscap_intern_str_ci() local
250 interned = zend_hash_find_ptr(&ctx->str_interned, lcname); in browscap_intern_str_ci()
252 if (interned) { in browscap_intern_str_ci()
253 zend_string_addref(interned); in browscap_intern_str_ci()
255 interned = zend_string_dup(lcname, persistent); in browscap_intern_str_ci()
256 zend_hash_add_new_ptr(&ctx->str_interned, interned, interned); in browscap_intern_str_ci()
260 return interned; in browscap_intern_str_ci()