Home
last modified time | relevance | path

Searched refs:named (Results 1 – 25 of 1105) sorted by relevance

12345678910>>...45

/external/syslinux/gpxe/src/core/
Dresolv.c313 static void named_done ( struct named_socket *named, int rc ) { in named_done() argument
316 resolv_nullify ( &named->resolv ); in named_done()
317 xfer_nullify ( &named->xfer ); in named_done()
318 xfer_close ( &named->xfer, rc ); in named_done()
328 struct named_socket *named = in named_xfer_close() local
331 named_done ( named, rc ); in named_xfer_close()
353 struct named_socket *named = in named_resolv_done() local
358 rc = xfer_redirect ( &named->xfer, LOCATION_SOCKET, in named_resolv_done()
359 named->semantics, sa, in named_resolv_done()
360 ( named->have_local ? in named_resolv_done()
[all …]
/external/guice/core/test/com/google/inject/
DPrivateModuleTest.java22 import static com.google.inject.name.Names.named;
46 bind(String.class).annotatedWith(named("a")).toInstance("public"); in testBasicUsage()
50 bind(String.class).annotatedWith(named("b")).toInstance("i"); in testBasicUsage()
52 bind(AB.class).annotatedWith(named("one")).to(AB.class); in testBasicUsage()
53 expose(AB.class).annotatedWith(named("one")); in testBasicUsage()
59 bind(String.class).annotatedWith(named("b")).toInstance("ii"); in testBasicUsage()
61 bind(AB.class).annotatedWith(named("two")).to(AB.class); in testBasicUsage()
62 expose(AB.class).annotatedWith(named("two")); in testBasicUsage()
68 AB ab1 = injector.getInstance(Key.get(AB.class, named("one"))); in testBasicUsage()
72 AB ab2 = injector.getInstance(Key.get(AB.class, named("two"))); in testBasicUsage()
[all …]
DDuplicateBindingsTest.java20 import static com.google.inject.name.Names.named;
61 assertTrue(bindings.remove(Key.get(Foo.class, named("instance")))); in testDuplicateBindingsAreIgnored()
62 assertTrue(bindings.remove(Key.get(Foo.class, named("pInstance")))); in testDuplicateBindingsAreIgnored()
63 assertTrue(bindings.remove(Key.get(Foo.class, named("pKey")))); in testDuplicateBindingsAreIgnored()
64 assertTrue(bindings.remove(Key.get(Foo.class, named("linkedKey")))); in testDuplicateBindingsAreIgnored()
66 assertTrue(bindings.remove(Key.get(Foo.class, named("constructor")))); in testDuplicateBindingsAreIgnored()
68 assertTrue(bindings.remove(Key.get(Foo.class, named("providerMethod")))); in testDuplicateBindingsAreIgnored()
137 + named("pInstance") + " was already configured at " + SimpleModule.class.getName(); in testMixedScopeFails()
138 String segment2 = "A binding to " + Foo.class.getName() + " annotated with " + named("pKey") in testMixedScopeFails()
141 + named("constructor") + " was already configured at " + SimpleModule.class.getName(); in testMixedScopeFails()
[all …]
DProviderInjectionTest.java19 import static com.google.inject.name.Names.named;
123 bind(Count.class).annotatedWith(named("a")).toInstance(new Count(0) { in testCreationTimeInjectionOrdering()
130 bind(Count.class).annotatedWith(named("b")).toProvider(new Provider<Count>() { in testCreationTimeInjectionOrdering()
141 bind(Count.class).annotatedWith(named("c")).toInstance(new Count(0) { in testCreationTimeInjectionOrdering()
151 bind(Count.class).annotatedWith(named("d")).toInstance(new Count(8)); in testCreationTimeInjectionOrdering()
152 bind(Count.class).annotatedWith(named("e")).toInstance(new Count(16)); in testCreationTimeInjectionOrdering()
156 assertEquals(28, injector.getInstance(Key.get(Count.class, named("c"))).value); in testCreationTimeInjectionOrdering()
157 assertEquals(30, injector.getInstance(Key.get(Count.class, named("b"))).value); in testCreationTimeInjectionOrdering()
158 assertEquals(31, injector.getInstance(Key.get(Count.class, named("a"))).value); in testCreationTimeInjectionOrdering()
DScopesTest.java22 import static com.google.inject.name.Names.named;
545 final Key<String> a = Key.get(String.class, named("A"));
546 final Key<String> b = Key.get(String.class, named("B"));
547 final Key<String> c = Key.get(String.class, named("C"));
548 final Key<String> d = Key.get(String.class, named("D"));
549 final Key<String> e = Key.get(String.class, named("E"));
550 final Key<String> f = Key.get(String.class, named("F"));
551 final Key<String> g = Key.get(String.class, named("G"));
552 final Key<Object> h = Key.get(Object.class, named("H"));
553 final Key<String> i = Key.get(String.class, named("I"));
[all …]
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DExtensionSpiTest.java83 …new Params("/key", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), SERVLET), in validateVisitor()
84 …new Params("/key/2", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), SERVLE… in validateVisitor()
89 …new Params("/key/keyvalues", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of("… in validateVisitor()
90 …new Params("/key/keyvalues/2", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of… in validateVisitor()
96 …new Params("/key[0-9]", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), REG… in validateVisitor()
97 …new Params("/key[0-9]/2", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), R… in validateVisitor()
102 …new Params("/key[0-9]/keyvalues", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap… in validateVisitor()
103 …new Params("/key[0-9]/keyvalues/2", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableM… in validateVisitor()
109 … new Params("/key", Key.get(DummyServlet.class, Names.named("foo")), ImmutableMap.of(), SERVLET), in validateVisitor()
110 … new Params("/key/2", Key.get(DummyServlet.class, Names.named("foo")), ImmutableMap.of(), SERVLET), in validateVisitor()
[all …]
DServletScopesTest.java19 import static com.google.inject.name.Names.named;
55 final Key<String> a = Key.get(String.class, named("A")); in testIsRequestScopedPositive()
56 final Key<String> b = Key.get(String.class, named("B")); in testIsRequestScopedPositive()
57 final Key<String> c = Key.get(String.class, named("C")); in testIsRequestScopedPositive()
58 final Key<String> d = Key.get(String.class, named("D")); in testIsRequestScopedPositive()
59 final Key<Object> e = Key.get(Object.class, named("E")); in testIsRequestScopedPositive()
60 final Key<String> f = Key.get(String.class, named("F")); in testIsRequestScopedPositive()
61 final Key<String> g = Key.get(String.class, named("G")); in testIsRequestScopedPositive()
112 final Key<String> a = Key.get(String.class, named("A")); in testIsRequestScopedNegative()
113 final Key<String> b = Key.get(String.class, named("B")); in testIsRequestScopedNegative()
[all …]
/external/guava/guava-testlib/test/com/google/common/testing/
DEqualsTesterTest.java225 .addEqualityGroup(named("foo").addPeers("bar"), named("bar")); in testSymmetryBroken()
240 named("foo").addPeers("bar", "baz"), in testTransitivityBrokenInEqualityGroup()
241 named("bar").addPeers("foo"), in testTransitivityBrokenInEqualityGroup()
242 named("baz").addPeers("foo")); in testTransitivityBrokenInEqualityGroup()
256 .addEqualityGroup(named("foo"), named("bar")); in testUnequalObjectsInEqualityGroup()
271 named("foo").addPeers("bar"), in testTransitivityBrokenAcrossEqualityGroups()
272 named("bar").addPeers("foo", "x")) in testTransitivityBrokenAcrossEqualityGroups()
274 named("baz").addPeers("x"), in testTransitivityBrokenAcrossEqualityGroups()
275 named("x").addPeers("baz", "bar")); in testTransitivityBrokenAcrossEqualityGroups()
290 named("foo").addPeers("bar"), named("bar").addPeers("foo")) in testEqualityGroups()
[all …]
/external/guice/core/test/com/google/inject/name/
DNamesTest.java49 Named actual = Names.named("foo"); in testConsistentEqualsAndHashcode()
55 assertEqualWhenReserialized(Names.named("foo")); in testNamedIsSerializable()
69 assertEquals("Sharks", injector.getInstance(Key.get(String.class, Names.named("SanJose")))); in testBindPropertiesUsingProperties()
70 assertEquals("Oilers", injector.getInstance(Key.get(String.class, Names.named("Edmonton")))); in testBindPropertiesUsingProperties()
83 assertEquals("Sharks", injector.getInstance(Key.get(String.class, Names.named("SanJose")))); in testBindPropertiesUsingMap()
84 assertEquals("Oilers", injector.getInstance(Key.get(String.class, Names.named("Edmonton")))); in testBindPropertiesUsingMap()
102 assertEquals("Pats", injector.getInstance(Key.get(String.class, Names.named("Regina")))); in testBindPropertiesIncludesInheritedProperties()
103 assertEquals("Oilers", injector.getInstance(Key.get(String.class, Names.named("Edmonton")))); in testBindPropertiesIncludesInheritedProperties()
104 assertEquals("Sharks", injector.getInstance(Key.get(String.class, Names.named("SanJose")))); in testBindPropertiesIncludesInheritedProperties()
107 injector.getInstance(Key.get(String.class, Names.named("Calgary"))); in testBindPropertiesIncludesInheritedProperties()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.h97 } named; member
102 (offsetof(union si_state, named.member) / sizeof(struct si_pm4_state *))
106 (rctx)->queued.named.member = (value); \
111 if ((rctx)->queued.named.member == (value)) { \
112 (rctx)->queued.named.member = NULL; \
120 if ((rctx)->queued.named.member != (value)) { \
122 (struct si_pm4_state *)(rctx)->queued.named.member, \
124 (rctx)->queued.named.member = (value); \
/external/guava/guava-tests/test/com/google/common/collect/
DSetOperationsTest.java54 .named("empty U empty") in suite()
66 .named("singleton U itself") in suite()
76 .named("empty U set") in suite()
87 .named("set U empty") in suite()
102 .named("set U itself") in suite()
115 .named("union of disjoint") in suite()
127 .named("venn") in suite()
138 .named("empty & empty") in suite()
149 .named("empty & singleton") in suite()
160 .named("intersection of disjoint") in suite()
[all …]
DMapsCollectionTest.java77 .named("unmodifiableNavigableMap[SafeTreeMap]") in suite()
94 .named("unmodifiableBiMap[HashBiMap]") in suite()
153 .named("Maps.asMap[Set, Function]") in suite()
214 .named("Maps.asMap[SortedSet, Function]") in suite()
275 .named("Maps.asMap[NavigableSet, Function]") in suite()
305 .named("Maps.filterKeys[Map, Predicate]") in filterMapSuite()
322 .named("Maps.filterValues[Map, Predicate]") in filterMapSuite()
339 .named("Maps.filterEntries[Map, Predicate]") in filterMapSuite()
357 .named("Maps.filterEntries[Maps.filterEntries[Map, Predicate], Predicate]") in filterMapSuite()
379 .named("Maps.filterKeys[BiMap, Predicate]") in filterBiMapSuite()
[all …]
/external/icu/icu4c/source/test/testdata/
Dra.txt13 * @note Comments for tag named ra
20 * e.g: The OS/400 job named SYSLOG
22 test1{"The {0} job named {1}"}
68 * comments for un-named string
70 * @note This resource is un-named string
74 * comments for un-named int
76 * @note This resource is un-named int
80 * comments for un-named binary
82 * @note This resource is for un-named binary
/external/guice/core/test/com/google/inject/spi/
DSpiBindingsTest.java59 bindConstant().annotatedWith(Names.named("one")).to(1); in testBindConstant()
66 assertEquals(Key.get(Integer.class, Names.named("one")), binding.getKey()); in testBindConstant()
157 final Key<String> aKey = Key.get(String.class, Names.named("a")); in testToKeyBinding()
158 final Key<String> bKey = Key.get(String.class, Names.named("b")); in testToKeyBinding()
223 bindConstant().annotatedWith(Names.named("one")).to(1); in testConstantBinding()
231 assertEquals(Key.get(Integer.class, Names.named("one")), binding.getKey()); in testConstantBinding()
247 bindConstant().annotatedWith(Names.named("one")).to("1"); in testConvertedConstantBinding()
251 Binding<Integer> binding = injector.getBinding(Key.get(Integer.class, Names.named("one"))); in testConvertedConstantBinding()
252 assertEquals(Key.get(Integer.class, Names.named("one")), binding.getKey()); in testConvertedConstantBinding()
259 assertEquals(Key.get(String.class, Names.named("one")), binding.getSourceKey()); in testConvertedConstantBinding()
[all …]
DElementsTest.java161 bindConstant().annotatedWith(Names.named("Bee")).to("B"); in testBindConstantAnnotations()
177 assertEquals(Key.get(String.class, Names.named("Bee")), command.getKey()); in testBindConstantAnnotations()
189 bindConstant().annotatedWith(Names.named("String")).to("A"); in testBindConstantTypes()
190 bindConstant().annotatedWith(Names.named("int")).to(2); in testBindConstantTypes()
191 bindConstant().annotatedWith(Names.named("long")).to(3L); in testBindConstantTypes()
192 bindConstant().annotatedWith(Names.named("boolean")).to(false); in testBindConstantTypes()
193 bindConstant().annotatedWith(Names.named("double")).to(5.0d); in testBindConstantTypes()
194 bindConstant().annotatedWith(Names.named("float")).to(6.0f); in testBindConstantTypes()
195 bindConstant().annotatedWith(Names.named("short")).to((short) 7); in testBindConstantTypes()
196 bindConstant().annotatedWith(Names.named("char")).to('h'); in testBindConstantTypes()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DTestsForSetsInJavaUtil.java121 .named("emptySet") in testsForEmptySet()
136 .named("singleton")
152 .named("HashSet")
170 .named("LinkedHashSet")
191 .named("EnumSet")
209 .named("TreeSet, natural")
230 .named("TreeSet, with comparator")
250 .named("CopyOnWriteArraySet")
271 .named("unmodifiableSet/HashSet")
290 .named("checkedSet/HashSet")
[all …]
DTestsForListsInJavaUtil.java103 .named("emptyList") in testsForEmptyList()
118 .named("singletonList")
134 .named("Arrays.asList")
151 .named("ArrayList")
169 .named("LinkedList")
188 .named("CopyOnWriteArrayList")
211 .named("unmodifiableList/ArrayList")
229 .named("checkedList/ArrayList")
254 .named("AbstractList")
280 .named("AbstractSequentialList")
DTestsForMapsInJavaUtil.java105 .named("emptyMap") in testsForEmptyMap()
122 .named("singletonMap")
141 .named("HashMap")
163 .named("LinkedHashMap")
190 .named("TreeMap, natural")
212 .named("TreeMap, with comparator")
236 .named("EnumMap")
257 .named("ConcurrentHashMap")
275 .named("ConcurrentSkipListMap, natural")
295 .named("ConcurrentSkipListMap, with comparator")
DTestsForQueuesInJavaUtil.java85 .named("LinkedList") in testsForLinkedList()
104 .named("ArrayBlockingQueue")
121 .named("ConcurrentLinkedQueue")
138 .named("LinkedBlockingQueue")
160 .named("PriorityBlockingQueue")
175 .named("PriorityQueue")
/external/ltp/testcases/open_posix_testsuite/stress/threads/sem_getvalue/
Dstress.c119 sem_t unnamed, *named; in main() local
144 named = sem_open(SEM_NAME, O_CREAT, 0777, INIT_VAL); in main()
146 if (named == SEM_FAILED) { in main()
163 ret = pthread_create(&child1, NULL, threaded, named); in main()
177 ret = sem_getvalue(named, &value); in main()
220 ret = sem_close(named); in main()
/external/llvm/test/Bitcode/
Dmetadata-function-blocks.ll6 ; are named after the ids they are given in the bitcode. Nodes local to a
14 ; CHECK-NEXT: 'named'
15 ; CHECK-NEXT: 'named and foo'
20 !named = !{!6}
23 !4 = !{!"named"}
26 !5 = !{!"named and foo"}
29 !6 = !{!"named", !4, !5}
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DExtensionSpiTest.java19 import static com.google.inject.name.Names.named;
97 ImmutableList.<Key<?>>of(Key.get(String.class, named("catName2")))); in validateVisitor()
104 Key.get(String.class, named("catName1")), in validateVisitor()
105 Key.get(String.class, named("petName")), in validateVisitor()
106 Key.get(Integer.class, named("age"))); in validateVisitor()
173 bind(String.class).annotatedWith(named("catName1")).toInstance("kitty1"); in configure()
174 bind(String.class).annotatedWith(named("catName2")).toInstance("kitty2"); in configure()
175 bind(String.class).annotatedWith(named("petName")).toInstance("pussy"); in configure()
176 bind(Integer.class).annotatedWith(named("age")).toInstance(12); in configure()
179 .implement(Animal.class, named("SimpleCat"), SimpleCat.class) in configure()
/external/dnsmasq/contrib/Suse/
DREADME.susefirewall2 It fixes the depancy from the dns daemon name 'named'
4 the dnsmasq named service.
6 The SuSE people think the name of the dns server will allways 'named'
15 - test "$FW_SERVICE_DNS" = no -a '!' "$START_NAMED" = no && check_srv named && {
17 echo -e 'Warning: detected activated named, enabling FW_SERVICE_DNS!
24 - $AWK -F: '/^named .* UDP / {print $2}'| $GREP -vw 53 | $SORT -un`
/external/llvm/test/Linker/
Donly-needed-named-metadata.ll3 ; RUN: llvm-link -S %S/Inputs/only-needed-named-metadata.ll %S/only-needed-named-metadata.ll | File…
13 ; RUN: llvm-link -S -only-needed %S/Inputs/only-needed-named-metadata.ll %S/only-needed-named-metad…
14 …-link -S -internalize -only-needed %S/Inputs/only-needed-named-metadata.ll %S/only-needed-named-me…
53 !llvm.named = !{!0, !1, !2, !3, !4, !5, !6}
/external/ltp/testcases/network/stress/dns/
Ddns-stress39 test -s named.pid && kill -9 $(cat named.pid) > /dev/null
46 tst_check_cmds named dig
73 cat << EOD > named.conf
178 named -$ipver -c named.conf -p $port || \
183 test -s named.pid && break

12345678910>>...45