Lines Matching refs:arg2
296 static void php_browscap_parser_cb(zval *arg1, zval *arg2, zval *arg3, int callback_type, void *arg… in php_browscap_parser_cb() argument
308 if (ctx->current_entry != NULL && arg2) { in php_browscap_parser_cb()
312 if ((Z_STRLEN_P(arg2) == 2 && !strncasecmp(Z_STRVAL_P(arg2), "on", sizeof("on") - 1)) || in php_browscap_parser_cb()
313 (Z_STRLEN_P(arg2) == 3 && !strncasecmp(Z_STRVAL_P(arg2), "yes", sizeof("yes") - 1)) || in php_browscap_parser_cb()
314 (Z_STRLEN_P(arg2) == 4 && !strncasecmp(Z_STRVAL_P(arg2), "true", sizeof("true") - 1)) in php_browscap_parser_cb()
318 (Z_STRLEN_P(arg2) == 2 && !strncasecmp(Z_STRVAL_P(arg2), "no", sizeof("no") - 1)) || in php_browscap_parser_cb()
319 (Z_STRLEN_P(arg2) == 3 && !strncasecmp(Z_STRVAL_P(arg2), "off", sizeof("off") - 1)) || in php_browscap_parser_cb()
320 (Z_STRLEN_P(arg2) == 4 && !strncasecmp(Z_STRVAL_P(arg2), "none", sizeof("none") - 1)) || in php_browscap_parser_cb()
321 (Z_STRLEN_P(arg2) == 5 && !strncasecmp(Z_STRVAL_P(arg2), "false", sizeof("false") - 1)) in php_browscap_parser_cb()
325 new_value = browscap_intern_str(ctx, Z_STR_P(arg2)); in php_browscap_parser_cb()
330 if (new_value == Z_STR_P(arg2)) { in php_browscap_parser_cb()
331 Z_TYPE_FLAGS_P(arg2) = 0; in php_browscap_parser_cb()
342 !strcasecmp(ZSTR_VAL(ctx->current_section_name), Z_STRVAL_P(arg2)) in php_browscap_parser_cb()