Home
last modified time | relevance | path

Searched refs:is_dict (Results 1 – 7 of 7) sorted by relevance

/external/libchrome/base/
Dvalues.cc269 CHECK(is_dict()); in FindKey()
289 CHECK(is_dict()); in RemoveKey()
295 CHECK(is_dict()); in SetKey()
308 CHECK(is_dict()); in SetKey()
335 if (!cur->is_dict() || (cur = cur->FindKey(component)) == nullptr) in FindPath()
379 if (!cur->is_dict()) in SetPath()
396 if (!cur->is_dict()) in SetPath()
407 if (!is_dict() || path.empty()) in RemovePath()
414 if (found == dict_.end() || !found->second->is_dict()) in RemovePath()
425 CHECK(is_dict()); in DictItems()
[all …]
Dvalues.h159 bool is_dict() const { return type() == Type::DICTIONARY; } in is_dict() function
Dvalues_unittest.cc1181 ASSERT_TRUE(copy_value->is_dict()); in TEST()
/external/libchrome/mojo/public/cpp/base/
Dvalues_mojom_traits.h26 DCHECK(input.is_dict());
31 DCHECK(input.is_dict());
48 DCHECK(value.is_dict());
120 DCHECK(value.is_dict());
Dvalues_unittest.cc113 ASSERT_FALSE(in.is_dict()); in TEST()
141 ASSERT_FALSE(in.is_dict()); in TEST()
/external/libchrome/base/json/
Djson_reader_unittest.cc560 EXPECT_TRUE(root->is_dict()); in TEST()
/external/python/cpython3/Python/
Dast.c2193 int is_dict = (TYPE(CHILD(ch, 0)) == DOUBLESTAR); in ast_for_atom() local
2205 else if (NCH(ch) > 3 - is_dict && in ast_for_atom()
2206 TYPE(CHILD(ch, 3 - is_dict)) == comp_for) { in ast_for_atom()
2208 if (is_dict) { in ast_for_atom()