/external/chromium_org/base/json/ |
D | json_reader_unittest.cc | 25 EXPECT_TRUE(root->IsType(Value::TYPE_NULL)); in TEST() 34 EXPECT_TRUE(root->IsType(Value::TYPE_BOOLEAN)); in TEST() 39 EXPECT_TRUE(root->IsType(Value::TYPE_NULL)); in TEST() 42 EXPECT_TRUE(root->IsType(Value::TYPE_INTEGER)); in TEST() 45 EXPECT_TRUE(root->IsType(Value::TYPE_BOOLEAN)); in TEST() 48 EXPECT_TRUE(root->IsType(Value::TYPE_STRING)); in TEST() 67 EXPECT_TRUE(root->IsType(Value::TYPE_INTEGER)); in TEST() 75 EXPECT_TRUE(root->IsType(Value::TYPE_INTEGER)); in TEST() 82 EXPECT_TRUE(root->IsType(Value::TYPE_INTEGER)); in TEST() 98 EXPECT_TRUE(root->IsType(Value::TYPE_INTEGER)); in TEST() [all …]
|
D | json_value_serializer_unittest.cc | 64 ASSERT_TRUE(root.get() && root->IsType(Value::TYPE_LIST)); in ValidateJsonList() 174 ASSERT_TRUE(root->IsType(Value::TYPE_DICTIONARY)); in TEST() 181 ASSERT_TRUE(null_value->IsType(Value::TYPE_NULL)); in TEST() 356 ASSERT_TRUE(root.get() && root->IsType(Value::TYPE_LIST)); in TEST() 396 ASSERT_TRUE(root->IsType(Value::TYPE_DICTIONARY)); in TEST_F() 403 ASSERT_TRUE(null_value->IsType(Value::TYPE_NULL)); in TEST_F()
|
/external/chromium/base/json/ |
D | json_reader_unittest.cc | 20 ASSERT_TRUE(root->IsType(Value::TYPE_NULL)); in TEST() 29 ASSERT_TRUE(root->IsType(Value::TYPE_BOOLEAN)); in TEST() 34 ASSERT_TRUE(root->IsType(Value::TYPE_NULL)); in TEST() 37 ASSERT_TRUE(root->IsType(Value::TYPE_INTEGER)); in TEST() 40 ASSERT_TRUE(root->IsType(Value::TYPE_BOOLEAN)); in TEST() 44 ASSERT_TRUE(root->IsType(Value::TYPE_STRING)); in TEST() 52 ASSERT_TRUE(root->IsType(Value::TYPE_INTEGER)); in TEST() 69 ASSERT_TRUE(root->IsType(Value::TYPE_INTEGER)); in TEST() 79 ASSERT_TRUE(root->IsType(Value::TYPE_DOUBLE)); in TEST() 85 ASSERT_TRUE(root->IsType(Value::TYPE_DOUBLE)); in TEST() [all …]
|
/external/chromium/base/ |
D | values.cc | 129 DCHECK(IsType(TYPE_NULL)); in DeepCopy() 136 DCHECK(IsType(TYPE_NULL)); in Equals() 137 return other->IsType(TYPE_NULL); in Equals() 168 if (out_value && IsType(TYPE_BOOLEAN)) in GetAsBoolean() 170 return (IsType(TYPE_BOOLEAN)); in GetAsBoolean() 174 if (out_value && IsType(TYPE_INTEGER)) in GetAsInteger() 176 return (IsType(TYPE_INTEGER)); in GetAsInteger() 180 if (out_value && IsType(TYPE_DOUBLE)) in GetAsDouble() 182 return (IsType(TYPE_DOUBLE)); in GetAsDouble() 479 if (!result || !value->IsType(TYPE_BINARY)) in GetBinary() [all …]
|
D | values_unittest.cc | 131 ASSERT_TRUE(narrow_value->IsType(Value::TYPE_STRING)); in TEST_F() 135 ASSERT_TRUE(utf16_value->IsType(Value::TYPE_STRING)); in TEST_F() 358 ASSERT_TRUE(copy_null->IsType(Value::TYPE_NULL)); in TEST_F() 364 ASSERT_TRUE(copy_bool->IsType(Value::TYPE_BOOLEAN)); in TEST_F() 373 ASSERT_TRUE(copy_int->IsType(Value::TYPE_INTEGER)); in TEST_F() 382 ASSERT_TRUE(copy_double->IsType(Value::TYPE_DOUBLE)); in TEST_F() 391 ASSERT_TRUE(copy_string->IsType(Value::TYPE_STRING)); in TEST_F() 403 ASSERT_TRUE(copy_string16->IsType(Value::TYPE_STRING)); in TEST_F() 413 ASSERT_TRUE(copy_binary->IsType(Value::TYPE_BINARY)); in TEST_F() 426 ASSERT_TRUE(copy_value->IsType(Value::TYPE_LIST)); in TEST_F()
|
/external/chromium_org/base/ |
D | values.cc | 156 DCHECK(IsType(TYPE_NULL)); in DeepCopy() 163 DCHECK(IsType(TYPE_NULL)); in Equals() 164 return other->IsType(TYPE_NULL); in Equals() 206 if (out_value && IsType(TYPE_BOOLEAN)) in GetAsBoolean() 208 return (IsType(TYPE_BOOLEAN)); in GetAsBoolean() 212 if (out_value && IsType(TYPE_INTEGER)) in GetAsInteger() 214 return (IsType(TYPE_INTEGER)); in GetAsInteger() 218 if (out_value && IsType(TYPE_DOUBLE)) in GetAsDouble() 220 else if (out_value && IsType(TYPE_INTEGER)) in GetAsDouble() 222 return (IsType(TYPE_DOUBLE) || IsType(TYPE_INTEGER)); in GetAsDouble() [all …]
|
D | values_unittest.cc | 136 ASSERT_TRUE(narrow_value->IsType(Value::TYPE_STRING)); in TEST() 139 ASSERT_TRUE(utf16_value->IsType(Value::TYPE_STRING)); in TEST() 334 EXPECT_TRUE(removed_item->IsType(base::Value::TYPE_INTEGER)); in TEST() 347 EXPECT_TRUE(removed_item->IsType(base::Value::TYPE_BOOLEAN)); in TEST() 390 ASSERT_TRUE(copy_null->IsType(Value::TYPE_NULL)); in TEST() 396 ASSERT_TRUE(copy_bool->IsType(Value::TYPE_BOOLEAN)); in TEST() 405 ASSERT_TRUE(copy_int->IsType(Value::TYPE_INTEGER)); in TEST() 414 ASSERT_TRUE(copy_double->IsType(Value::TYPE_DOUBLE)); in TEST() 423 ASSERT_TRUE(copy_string->IsType(Value::TYPE_STRING)); in TEST() 435 ASSERT_TRUE(copy_string16->IsType(Value::TYPE_STRING)); in TEST() [all …]
|
/external/chromium_org/cloud_print/service/win/ |
D | cloud_print_service_config.cc | 126 DCHECK(ui_loop_->IsType(base::MessageLoop::TYPE_UI)); in SetupDialog() 131 DCHECK(io_loop_->IsType(base::MessageLoop::TYPE_IO)); in SetupDialog() 143 DCHECK(base::MessageLoop::current()->IsType(base::MessageLoop::TYPE_UI)); in ShowErrorMessageBox() 150 DCHECK(base::MessageLoop::current()->IsType(base::MessageLoop::TYPE_UI)); in AskToCloseChrome() 159 DCHECK(base::MessageLoop::current()->IsType(base::MessageLoop::TYPE_UI)); in SetState() 306 DCHECK(base::MessageLoop::current()->IsType(base::MessageLoop::TYPE_IO)); in UpdateState() 313 DCHECK(base::MessageLoop::current()->IsType(base::MessageLoop::TYPE_IO)); in ShowError() 339 DCHECK(base::MessageLoop::current()->IsType(base::MessageLoop::TYPE_IO)); in Install() 407 DCHECK(base::MessageLoop::current()->IsType(base::MessageLoop::TYPE_IO)); in Start() 415 DCHECK(base::MessageLoop::current()->IsType(base::MessageLoop::TYPE_IO)); in Stop() [all …]
|
/external/chromium_org/chrome/browser/policy/ |
D | url_blacklist_policy_handler.cc | 28 if (disabled_schemes && !disabled_schemes->IsType(base::Value::TYPE_LIST)) { in CheckPolicySettings() 34 if (url_blacklist && !url_blacklist->IsType(base::Value::TYPE_LIST)) { in CheckPolicySettings() 74 if ((*entry)->IsType(Value::TYPE_STRING)) in ApplyPolicySettings()
|
D | javascript_policy_handler.cc | 30 !javascript_enabled->IsType(base::Value::TYPE_BOOLEAN)) { in CheckPolicySettings() 36 if (default_setting && !default_setting->IsType(base::Value::TYPE_INTEGER)) { in CheckPolicySettings()
|
/external/chromium_org/chrome/renderer/extensions/ |
D | activity_log_converter_strategy_unittest.cc | 36 if (value->IsType(base::Value::TYPE_NULL)) in VerifyNull() 46 if (value->IsType(base::Value::TYPE_BOOLEAN) in VerifyBoolean() 58 if (value->IsType(base::Value::TYPE_INTEGER) in VerifyInteger() 70 if (value->IsType(base::Value::TYPE_DOUBLE) in VerifyDouble() 82 if (value->IsType(base::Value::TYPE_STRING) in VerifyString()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_tts_api_util.cc | 25 if (value->IsType(Value::TYPE_INTEGER)) { in ReadNumberByKey() 30 } else if (value->IsType(Value::TYPE_DOUBLE)) { in ReadNumberByKey()
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_function_util.cc | 10 if (value->IsType(Value::TYPE_INTEGER)) { in ReadOneOrMoreIntegers() 17 } else if (value->IsType(Value::TYPE_LIST)) { in ReadOneOrMoreIntegers()
|
/external/chromium_org/third_party/closure_linter/closure_linter/ |
D | closurizednamespacesinfo.py | 387 if (prev_token.IsType(TokenType.IDENTIFIER) or 388 prev_token.IsType(TokenType.NORMAL) and prev_token.string == '.'): 390 elif (not prev_token.IsType(TokenType.WHITESPACE) and 399 if (next_token.IsType(TokenType.IDENTIFIER) or 400 next_token.IsType(TokenType.NORMAL) and next_token.string == '.'): 402 elif (not next_token.IsType(TokenType.WHITESPACE) and
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
D | closurizednamespacesinfo.py | 387 if (prev_token.IsType(TokenType.IDENTIFIER) or 388 prev_token.IsType(TokenType.NORMAL) and prev_token.string == '.'): 390 elif (not prev_token.IsType(TokenType.WHITESPACE) and 399 if (next_token.IsType(TokenType.IDENTIFIER) or 400 next_token.IsType(TokenType.NORMAL) and next_token.string == '.'): 402 elif (not next_token.IsType(TokenType.WHITESPACE) and
|
/external/chromium/chrome/common/ |
D | json_value_serializer_unittest.cc | 25 ASSERT_TRUE(root->IsType(Value::TYPE_DICTIONARY)); in TEST() 32 ASSERT_TRUE(null_value->IsType(Value::TYPE_NULL)); in TEST() 198 ASSERT_TRUE(root.get() && root->IsType(Value::TYPE_LIST)); in ValidateJsonList() 222 ASSERT_TRUE(root.get() && root->IsType(Value::TYPE_LIST)); in TEST() 263 ASSERT_TRUE(root->IsType(Value::TYPE_DICTIONARY)); in TEST_F() 270 ASSERT_TRUE(null_value->IsType(Value::TYPE_NULL)); in TEST_F()
|
/external/chromium_org/chrome/test/ui/ |
D | javascript_test_util.cc | 27 EXPECT_TRUE(root->IsType(Value::TYPE_DICTIONARY)); in JsonDictionaryToMap() 28 if (!root->IsType(Value::TYPE_DICTIONARY)) in JsonDictionaryToMap()
|
/external/chromium_org/third_party/libaddressinput/chromium/ |
D | json.cc | 30 if (parsed && parsed->IsType(base::Value::TYPE_DICTIONARY)) in ParseObject() 39 return val && val->IsType(base::Value::TYPE_STRING); in HasStringValueForKey()
|
/external/chromium_org/chrome/test/perf/ |
D | dom_checker_uitest.cc | 187 EXPECT_TRUE(value->IsType(Value::TYPE_LIST)); in GetTestsFailed() 188 if (!value->IsType(Value::TYPE_LIST)) in GetTestsFailed() 197 EXPECT_TRUE((*it)->IsType(Value::TYPE_STRING)); in GetTestsFailed() 198 if ((*it)->IsType(Value::TYPE_STRING)) { in GetTestsFailed()
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | core_options_handler.cc | 303 if (value->IsType(base::Value::TYPE_BOOLEAN)) { in ProcessUserMetric() 415 if (!args->Get(0, &callback) || !callback->IsType(base::Value::TYPE_STRING)) in HandleFetchPrefs() 430 if (!list_member->IsType(base::Value::TYPE_STRING)) in HandleFetchPrefs() 461 if (!list_member->IsType(base::Value::TYPE_STRING) || in HandleObservePrefs() 512 if (!value->IsType(base::Value::TYPE_BOOLEAN)) { in HandleSetPref() 530 if (!value->IsType(base::Value::TYPE_DOUBLE)) { in HandleSetPref() 536 if (!value->IsType(base::Value::TYPE_STRING)) { in HandleSetPref() 562 if (!value->IsType(base::Value::TYPE_LIST)) { in HandleSetPref()
|
/external/chromium/chrome/browser/policy/ |
D | configuration_policy_provider.cc | 32 if (policies->Get(i->name, &value) && value->IsType(i->value_type)) in ApplyPolicyValueTree() 47 if (value && value->IsType(i->value_type)) in ApplyPolicyMap()
|
/external/chromium_org/chrome/browser/component_updater/ |
D | component_patcher.cc | 29 return (root.get() && root->IsType(base::Value::TYPE_LIST)) ? in ReadCommands() 65 if (!(*command)->IsType(base::Value::TYPE_DICTIONARY)) in DifferentialUpdatePatch()
|
/external/chromium_org/third_party/closure_linter/closure_linter/common/ |
D | tokens_test.py | 83 self.assertTrue(a.IsType('fakeType1')) 84 self.assertFalse(a.IsType('fakeType2'))
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/ |
D | tokens_test.py | 83 self.assertTrue(a.IsType('fakeType1')) 84 self.assertFalse(a.IsType('fakeType2'))
|
/external/chromium_org/chrome/service/ |
D | service_process_prefs.cc | 74 !value->IsType(base::Value::TYPE_DICTIONARY)) { in GetDictionary() 84 if (!prefs_->GetValue(key, &value) || !value->IsType(base::Value::TYPE_LIST)) in GetList()
|