Home
last modified time | relevance | path

Searched refs:IsType (Results 1 – 25 of 43) sorted by relevance

12

/external/libweave/third_party/chromium/base/json/
Djson_reader_unittest.cc25 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 …]
Djson_parser.cc37 DCHECK(root->IsType(Value::TYPE_DICTIONARY)); in DictionaryHiddenRootValue()
87 DCHECK(root->IsType(Value::TYPE_LIST)); in ListHiddenRootValue()
150 return other->IsType(TYPE_STRING) && other->GetAsString(&other_string) && in Equals()
248 if (root->IsType(Value::TYPE_DICTIONARY)) { in Parse()
250 } else if (root->IsType(Value::TYPE_LIST)) { in Parse()
252 } else if (root->IsType(Value::TYPE_STRING)) { in Parse()
/external/libchrome/base/json/
Djson_reader_unittest.cc30 EXPECT_TRUE(root->IsType(Value::TYPE_NULL)); in TEST()
39 EXPECT_TRUE(root->IsType(Value::TYPE_BOOLEAN)); in TEST()
44 EXPECT_TRUE(root->IsType(Value::TYPE_NULL)); in TEST()
47 EXPECT_TRUE(root->IsType(Value::TYPE_INTEGER)); in TEST()
50 EXPECT_TRUE(root->IsType(Value::TYPE_BOOLEAN)); in TEST()
53 EXPECT_TRUE(root->IsType(Value::TYPE_STRING)); in TEST()
72 EXPECT_TRUE(root->IsType(Value::TYPE_INTEGER)); in TEST()
80 EXPECT_TRUE(root->IsType(Value::TYPE_INTEGER)); in TEST()
87 EXPECT_TRUE(root->IsType(Value::TYPE_INTEGER)); in TEST()
103 EXPECT_TRUE(root->IsType(Value::TYPE_INTEGER)); in TEST()
[all …]
Djson_value_serializer_unittest.cc82 ASSERT_TRUE(root.get() && root->IsType(Value::TYPE_LIST)); in ValidateJsonList()
224 ASSERT_TRUE(root->IsType(Value::TYPE_DICTIONARY)); in TEST()
231 ASSERT_TRUE(null_value->IsType(Value::TYPE_NULL)); in TEST()
384 ASSERT_TRUE(root.get() && root->IsType(Value::TYPE_LIST)); in TEST()
423 ASSERT_TRUE(root->IsType(Value::TYPE_DICTIONARY)); in TEST_F()
430 ASSERT_TRUE(null_value->IsType(Value::TYPE_NULL)); in TEST_F()
Djson_parser.cc38 DCHECK(root->IsType(Value::TYPE_DICTIONARY)); in DictionaryHiddenRootValue()
88 DCHECK(root->IsType(Value::TYPE_LIST)); in ListHiddenRootValue()
155 return other->IsType(TYPE_STRING) && other->GetAsString(&other_string) && in Equals()
253 if (root->IsType(Value::TYPE_DICTIONARY)) { in Parse()
255 } else if (root->IsType(Value::TYPE_LIST)) { in Parse()
257 } else if (root->IsType(Value::TYPE_STRING)) { in Parse()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddecoder_database.cc144 bool DecoderDatabase::IsType(uint8_t rtp_payload_type, in IsType() function in webrtc::DecoderDatabase
155 if (IsType(rtp_payload_type, NetEqDecoder::kDecoderCNGnb) || in IsComfortNoise()
156 IsType(rtp_payload_type, NetEqDecoder::kDecoderCNGwb) || in IsComfortNoise()
157 IsType(rtp_payload_type, NetEqDecoder::kDecoderCNGswb32kHz) || in IsComfortNoise()
158 IsType(rtp_payload_type, NetEqDecoder::kDecoderCNGswb48kHz)) { in IsComfortNoise()
166 return IsType(rtp_payload_type, NetEqDecoder::kDecoderAVT); in IsDtmf()
170 return IsType(rtp_payload_type, NetEqDecoder::kDecoderRED); in IsRed()
Ddecoder_database_unittest.cc117 EXPECT_FALSE(db.IsType(kPayloadTypePcmU, NetEqDecoder::kDecoderISAC)); in TEST()
118 EXPECT_TRUE(db.IsType(kPayloadTypePcmU, NetEqDecoder::kDecoderPCMu)); in TEST()
Ddecoder_database.h119 virtual bool IsType(uint8_t rtp_payload_type,
/external/libweave/third_party/chromium/base/
Dvalues.cc139 DCHECK(IsType(TYPE_NULL)); in DeepCopy()
150 DCHECK(IsType(TYPE_NULL)); in Equals()
151 return other->IsType(TYPE_NULL); in Equals()
193 if (out_value && IsType(TYPE_BOOLEAN)) in GetAsBoolean()
195 return (IsType(TYPE_BOOLEAN)); in GetAsBoolean()
199 if (out_value && IsType(TYPE_INTEGER)) in GetAsInteger()
201 return (IsType(TYPE_INTEGER)); in GetAsInteger()
205 if (out_value && IsType(TYPE_DOUBLE)) in GetAsDouble()
207 else if (out_value && IsType(TYPE_INTEGER)) in GetAsDouble()
209 return (IsType(TYPE_DOUBLE) || IsType(TYPE_INTEGER)); in GetAsDouble()
[all …]
Dvalues_unittest.cc146 ASSERT_TRUE(narrow_value->IsType(Value::TYPE_STRING)); in TEST()
364 EXPECT_TRUE(removed_item->IsType(base::Value::TYPE_INTEGER)); in TEST()
377 EXPECT_TRUE(removed_item->IsType(base::Value::TYPE_BOOLEAN)); in TEST()
429 ASSERT_TRUE(copy_null->IsType(Value::TYPE_NULL)); in TEST()
435 ASSERT_TRUE(copy_bool->IsType(Value::TYPE_BOOLEAN)); in TEST()
444 ASSERT_TRUE(copy_int->IsType(Value::TYPE_INTEGER)); in TEST()
453 ASSERT_TRUE(copy_double->IsType(Value::TYPE_DOUBLE)); in TEST()
462 ASSERT_TRUE(copy_string->IsType(Value::TYPE_STRING)); in TEST()
469 ASSERT_TRUE(copy_binary->IsType(Value::TYPE_BINARY)); in TEST()
482 ASSERT_TRUE(copy_value->IsType(Value::TYPE_LIST)); in TEST()
[all …]
/external/libchrome/base/
Dvalues.cc143 DCHECK(IsType(TYPE_NULL)); in DeepCopy()
154 DCHECK(IsType(TYPE_NULL)); in Equals()
155 return other->IsType(TYPE_NULL); in Equals()
197 if (out_value && IsType(TYPE_BOOLEAN)) in GetAsBoolean()
199 return (IsType(TYPE_BOOLEAN)); in GetAsBoolean()
203 if (out_value && IsType(TYPE_INTEGER)) in GetAsInteger()
205 return (IsType(TYPE_INTEGER)); in GetAsInteger()
209 if (out_value && IsType(TYPE_DOUBLE)) in GetAsDouble()
211 else if (out_value && IsType(TYPE_INTEGER)) in GetAsDouble()
213 return (IsType(TYPE_DOUBLE) || IsType(TYPE_INTEGER)); in GetAsDouble()
[all …]
Dvalues_unittest.cc146 ASSERT_TRUE(narrow_value->IsType(Value::TYPE_STRING)); in TEST()
149 ASSERT_TRUE(utf16_value->IsType(Value::TYPE_STRING)); in TEST()
378 EXPECT_TRUE(removed_item->IsType(base::Value::TYPE_INTEGER)); in TEST()
391 EXPECT_TRUE(removed_item->IsType(base::Value::TYPE_BOOLEAN)); in TEST()
447 ASSERT_TRUE(copy_null->IsType(Value::TYPE_NULL)); in TEST()
453 ASSERT_TRUE(copy_bool->IsType(Value::TYPE_BOOLEAN)); in TEST()
462 ASSERT_TRUE(copy_int->IsType(Value::TYPE_INTEGER)); in TEST()
471 ASSERT_TRUE(copy_double->IsType(Value::TYPE_DOUBLE)); in TEST()
480 ASSERT_TRUE(copy_string->IsType(Value::TYPE_STRING)); in TEST()
492 ASSERT_TRUE(copy_string16->IsType(Value::TYPE_STRING)); in TEST()
[all …]
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
Dscopeutil.py148 if code_tokens and code_tokens[-1].IsType(JavaScriptTokenType.SEMICOLON):
155 code_tokens[1].IsType(JavaScriptTokenType.SIMPLE_LVALUE) and
199 if(code_tokens[3].IsType(JavaScriptTokenType.IDENTIFIER) and
Dstatetracker.py485 next_code_token.IsType(Type.SIMPLE_LVALUE)):
496 if next_code_token.IsType(Type.FUNCTION_NAME):
1177 while next_token and next_token.IsType(Type.FUNCTION_NAME):
1201 if not next_token.IsType(Type.SEMICOLON):
1235 if next_token and next_token.IsType(Type.SEMICOLON):
1237 self._last_non_space_token.IsType(Type.END_DOC_COMMENT)):
Dtokenutil.py562 previous_code_token.IsType(JavaScriptTokenType.IDENTIFIER) or
595 if (prev_token.IsType(JavaScriptTokenType.IDENTIFIER) or
599 if (prev_token.IsType(tokens.TokenType.WHITESPACE) or
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/common/
Dtokens_test.py83 self.assertTrue(a.IsType('fakeType1'))
84 self.assertFalse(a.IsType('fakeType2'))
Dtokens.py103 def IsType(self, token_type): member in Token
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
Drules_parser.py61 return any(rule for rule in self._rules if rule.IsType(rule_type_name))
76 matches = [rule for rule in self._rules if rule.IsType(rule_type_name)]
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/rules/
Drule.py24 def IsType(self, rule_type_name): member in Rule
Dlog_url.py35 def IsType(self, rule_type_name): member in LogUrl
/external/clang/lib/Sema/
DAttributeList.cpp161 unsigned IsType : 1; member
204 return getInfo(*this).IsType; in isTypeAttr()
/external/clang/include/clang/Serialization/
DASTWriter.h149 DeclOrType(Decl *D) : Stored(D), IsType(false) { } in DeclOrType()
150 DeclOrType(QualType T) : Stored(T.getAsOpaquePtr()), IsType(true) { } in DeclOrType()
152 bool isType() const { return IsType; } in isType()
153 bool isDecl() const { return !IsType; } in isDecl()
167 bool IsType; variable
/external/chromium-trace/catapult/devil/devil/utils/
Dfind_usb_devices.py334 def IsType(self, node): member in HubType
355 if self.IsType(node):
397 if hub_type.IsType(device):
/external/webrtc/webrtc/modules/audio_coding/neteq/mock/
Dmock_decoder_database.h47 MOCK_CONST_METHOD2(IsType,
/external/pdfium/fpdfsdk/src/javascript/
DJS_Object.h49 virtual FX_BOOL IsType(const FX_CHAR* sClassName) { return TRUE; } in IsType() function

12