Home
last modified time | relevance | path

Searched refs:Lookup (Results 1 – 25 of 142) sorted by relevance

123456

/external/chromium/net/base/
Dhost_cache_unittest.cc41 EXPECT_TRUE(cache.Lookup(Key("foobar.com"), base::TimeTicks()) == NULL); in TEST()
43 entry1 = cache.Lookup(Key("foobar.com"), base::TimeTicks()); in TEST()
51 EXPECT_TRUE(cache.Lookup(Key("foobar2.com"), base::TimeTicks()) == NULL); in TEST()
53 entry2 = cache.Lookup(Key("foobar2.com"), base::TimeTicks()); in TEST()
61 EXPECT_EQ(entry1, cache.Lookup(Key("foobar.com"), now)); in TEST()
62 EXPECT_EQ(entry2, cache.Lookup(Key("foobar2.com"), now)); in TEST()
67 EXPECT_TRUE(cache.Lookup(Key("foobar.com"), now) == NULL); in TEST()
68 EXPECT_EQ(entry2, cache.Lookup(Key("foobar2.com"), now)); in TEST()
73 EXPECT_EQ(entry1, cache.Lookup(Key("foobar.com"), now)); in TEST()
77 EXPECT_EQ(entry1, cache.Lookup(Key("foobar.com"), now)); in TEST()
[all …]
Dssl_client_auth_cache_unittest.cc34 EXPECT_FALSE(cache.Lookup(server1, &cached_cert)); in TEST()
39 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); in TEST()
45 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); in TEST()
48 EXPECT_TRUE(cache.Lookup(server2, &cached_cert)); in TEST()
54 EXPECT_TRUE(cache.Lookup(server1, &cached_cert)); in TEST()
57 EXPECT_TRUE(cache.Lookup(server2, &cached_cert)); in TEST()
63 EXPECT_FALSE(cache.Lookup(server1, &cached_cert)); in TEST()
65 EXPECT_TRUE(cache.Lookup(server2, &cached_cert)); in TEST()
71 EXPECT_FALSE(cache.Lookup(server1, &cached_cert)); in TEST()
73 EXPECT_TRUE(cache.Lookup(server2, &cached_cert)); in TEST()
[all …]
Dssl_client_auth_cache.h36 bool Lookup(const std::string& server,
/external/chromium/net/ftp/
Dftp_auth_cache_unittest.cc38 EXPECT_TRUE(cache.Lookup(origin1) == NULL); in TEST()
42 FtpAuthCache::Entry* entry1 = cache.Lookup(origin1); in TEST()
50 FtpAuthCache::Entry* entry2 = cache.Lookup(origin2); in TEST()
57 EXPECT_EQ(entry1, cache.Lookup(origin1)); in TEST()
61 FtpAuthCache::Entry* entry3 = cache.Lookup(origin1); in TEST()
69 EXPECT_TRUE(cache.Lookup(origin1) == NULL); in TEST()
73 EXPECT_TRUE(cache.Lookup(origin1) == NULL); in TEST()
87 EXPECT_NE(cache.Lookup(origin1), cache.Lookup(origin2)); in TEST()
101 FtpAuthCache::Entry* entry1 = cache.Lookup(GURL("ftp://HoSt:21")); in TEST()
103 EXPECT_EQ(entry1, cache.Lookup(GURL("ftp://host:21"))); in TEST()
[all …]
Dftp_auth_cache.cc29 FtpAuthCache::Entry* FtpAuthCache::Lookup(const GURL& origin) { in Lookup() function in net::FtpAuthCache
42 Entry* entry = Lookup(origin); in Add()
61 DCHECK(!Lookup(origin)); in Remove()
Dftp_auth_cache.h43 Entry* Lookup(const GURL& origin);
/external/valgrind/tsan/
Dthread_sanitizer_test.cc143 EXPECT_FALSE(c.Lookup(123, &val)); in TEST()
150 EXPECT_TRUE(c.Lookup(0, &val)); in TEST()
152 EXPECT_TRUE(c.Lookup(1, &val)); in TEST()
154 EXPECT_TRUE(c.Lookup(2, &val)); in TEST()
156 EXPECT_TRUE(c.Lookup(3, &val)); in TEST()
159 EXPECT_FALSE(c.Lookup(256, &val)); in TEST()
160 EXPECT_FALSE(c.Lookup(257, &val)); in TEST()
161 EXPECT_FALSE(c.Lookup(258, &val)); in TEST()
162 EXPECT_FALSE(c.Lookup(259, &val)); in TEST()
167 EXPECT_TRUE(c.Lookup(0, &val)); in TEST()
[all …]
Dts_simple_cache.h56 bool Lookup(uintptr_t ptr, bool *val) { in Lookup() function
90 bool Lookup(uint32_t a, uint32_t b, bool *val) { in Lookup() function
/external/clang/test/SemaTemplate/
Dinstantiate-expr-2.cpp89 struct Lookup {}; struct
93 typedef Lookup<B ? sizeof(T) : sizeof(E)> True;
94 typedef Lookup<!B ? sizeof(T) : sizeof(E)> False;
101 Lookup<1> const &L1(False());
102 Lookup<sizeof(int)> const &L2(True());
109 struct Lookup {}; struct
114 typedef Lookup<sizeof(B ? T() : E())> Type;
/external/chromium/sdch/open-vcdiff/src/
Dinstruction_map.h70 return first_instruction_map_.Lookup(inst, size, mode); in LookupFirstOpcode()
86 return second_instruction_map_.Lookup(first_opcode, inst, size, mode); in LookupSecondOpcode()
109 OpcodeOrNone Lookup(unsigned char inst, in Lookup() function
169 OpcodeOrNone Lookup(unsigned char first_opcode,
/external/chromium/net/http/
Dhttp_auth_cache_unittest.cc127 entry = cache.Lookup(origin, kRealm5, HttpAuth::AUTH_SCHEME_BASIC); in TEST()
131 entry = cache.Lookup(GURL("https://www.google.com"), kRealm3, in TEST()
136 entry = cache.Lookup in TEST()
141 entry = cache.Lookup( in TEST()
152 entry = cache.Lookup( in TEST()
162 entry = cache.Lookup(origin, kRealm2, HttpAuth::AUTH_SCHEME_BASIC); in TEST()
171 HttpAuthCache::Entry* realm2_entry = cache.Lookup( in TEST()
173 HttpAuthCache::Entry* realm4_entry = cache.Lookup( in TEST()
201 cache.Lookup(origin, kRealm3, HttpAuth::AUTH_SCHEME_DIGEST); in TEST()
212 cache.Lookup(origin, kRealm3, HttpAuth::AUTH_SCHEME_DIGEST); in TEST()
[all …]
Dhttp_auth_cache.cc69 HttpAuthCache::Entry* HttpAuthCache::Lookup(const GURL& origin, in Lookup() function in net::HttpAuthCache
122 HttpAuthCache::Entry* entry = Lookup(origin, realm, scheme); in Add()
221 HttpAuthCache::Entry* entry = Lookup(origin, realm, scheme); in UpdateStaleChallenge()
/external/clang/lib/AST/
DASTImporter.cpp1973 for (DeclContext::lookup_result Lookup = DC->lookup(Name); in VisitNamespaceDecl() local
1974 Lookup.first != Lookup.second; in VisitNamespaceDecl()
1975 ++Lookup.first) { in VisitNamespaceDecl()
1976 if (!(*Lookup.first)->isInIdentifierNamespace(Decl::IDNS_Namespace)) in VisitNamespaceDecl()
1979 if (NamespaceDecl *FoundNS = dyn_cast<NamespaceDecl>(*Lookup.first)) { in VisitNamespaceDecl()
1985 ConflictingDecls.push_back(*Lookup.first); in VisitNamespaceDecl()
2034 for (DeclContext::lookup_result Lookup = DC->lookup(Name); in VisitTypedefNameDecl() local
2035 Lookup.first != Lookup.second; in VisitTypedefNameDecl()
2036 ++Lookup.first) { in VisitTypedefNameDecl()
2037 if (!(*Lookup.first)->isInIdentifierNamespace(IDNS)) in VisitTypedefNameDecl()
[all …]
/external/v8/src/
Dcompilation-cache.cc171 Handle<SharedFunctionInfo> CompilationCacheScript::Lookup(Handle<String> source, in Lookup() function in v8::internal::CompilationCacheScript
183 Handle<Object> probe(table->Lookup(*source), isolate()); in Lookup()
254 Handle<SharedFunctionInfo> CompilationCacheEval::Lookup( in Lookup() function in v8::internal::CompilationCacheEval
314 Handle<FixedArray> CompilationCacheRegExp::Lookup(Handle<String> source, in Lookup() function in v8::internal::CompilationCacheRegExp
388 return script_.Lookup(source, name, line_offset, column_offset); in LookupScript()
403 result = eval_global_.Lookup(source, context, strict_mode); in LookupEval()
405 result = eval_contextual_.Lookup(source, context, strict_mode); in LookupEval()
417 return reg_exp_.Lookup(source, flags); in LookupRegExp()
477 return EagerOptimizingSet()->Lookup(key, hash, false) != NULL; in ShouldOptimizeEagerly()
484 EagerOptimizingSet()->Lookup(key, hash, true); in MarkForEagerOptimizing()
Dserialize.h94 return *Lookup(key); in Decode()
100 Address* Lookup(uint32_t key) const { in Lookup() function
108 *Lookup(key) = value; in Put()
366 return serialization_map_->Lookup(Key(obj), Hash(obj), false) != NULL; in IsMapped()
372 serialization_map_->Lookup(Key(obj), Hash(obj), false)->value)); in MappedTo()
378 serialization_map_->Lookup(Key(obj), Hash(obj), true); in AddMapping()
Dscopes.h57 Variable* Lookup(Handle<String> name);
133 virtual Variable* Lookup(Handle<String> name);
319 return variables_.Lookup(name) != NULL; in IsDeclared()
473 virtual Variable* Lookup(Handle<String> name) { return NULL; } in Lookup() function
Dcompilation-cache.h100 Handle<SharedFunctionInfo> Lookup(Handle<String> source,
132 Handle<SharedFunctionInfo> Lookup(Handle<String> source,
162 Handle<FixedArray> Lookup(Handle<String> source, JSRegExp::Flags flags);
Dd8.h79 Counter* Lookup(const char* name) { in Lookup() function
80 i::HashMap::Entry* answer = hash_map_.Lookup( in Lookup()
88 i::HashMap::Entry* answer = hash_map_.Lookup( in Set()
Dhashmap.cc64 HashMap::Entry* HashMap::Lookup(void* key, uint32_t hash, bool insert) { in Lookup() function in v8::internal::HashMap
220 Lookup(p->key, p->hash, true)->value = p->value; in Resize()
/external/chromium/base/
Did_map_unittest.cc36 EXPECT_EQ(&obj1, map.Lookup(id1)); in TEST_F()
42 EXPECT_EQ(&obj1, map.Lookup(id1)); in TEST_F()
43 EXPECT_EQ(&obj2, map.Lookup(id2)); in TEST_F()
55 EXPECT_EQ(&obj1, map.Lookup(1)); in TEST_F()
56 EXPECT_EQ(&obj2, map.Lookup(2)); in TEST_F()
/external/harfbuzz/src/
Dharfbuzz-dump.c645 DEF_DUMP (Lookup) in DEF_DUMP() argument
653 switch (Lookup->LookupType) in DEF_DUMP()
685 switch (Lookup->LookupType) in DEF_DUMP()
721 DUMP2("<LookupType>%s</LookupType> <!-- %d -->\n", lookup_name, Lookup->LookupType); in DEF_DUMP()
722 DUMP1("<LookupFlag>%#06x</LookupFlag>\n", Lookup->LookupFlag); in DEF_DUMP()
724 for (i=0; i < Lookup->SubTableCount; i++) in DEF_DUMP()
728 (*lookup_func) (&Lookup->SubTable[i], stream, indent + 1, hb_type); in DEF_DUMP()
740 RECURSE_NUM (Lookup, i, Lookup, &LookupList->Lookup[i]); in DEF_DUMP()
/external/clang/lib/Sema/
DSemaAttr.cpp280 LookupResult Lookup(*this, Name, IdTok.getLocation(), LookupOrdinaryName); in ActOnPragmaUnused() local
281 LookupParsedName(Lookup, curScope, NULL, true); in ActOnPragmaUnused()
283 if (Lookup.empty()) { in ActOnPragmaUnused()
289 VarDecl *VD = Lookup.getAsSingle<VarDecl>(); in ActOnPragmaUnused()
/external/chromium/third_party/libjingle/source/talk/base/
Dflags.cc149 Flag* FlagList::Lookup(const char* name) { in Lookup() function in FlagList
212 Flag* flag = Lookup(name); in SetFlagsFromCommandLine()
279 if (Lookup(flag->name()) != NULL) in Register()
/external/v8/test/cctest/
Dtest-hashmap.cc50 HashMap::Entry* p = map_.Lookup(reinterpret_cast<void*>(x), hash_(x), true); in Insert()
63 map_.Lookup(reinterpret_cast<void*>(x), hash_(x), false); in Present()
/external/clang/test/SemaObjCXX/
Dargument-dependent-lookup.mm4 // Lookup, Objective-C classes are considered to be in the global

123456