Home
last modified time | relevance | path

Searched refs:id2 (Results 1 – 25 of 61) sorted by relevance

123

/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/
Dlt.pass.cpp28 std::thread::id id2 = std::this_thread::get_id(); in main() local
33 assert(!(id0 == id2)); in main()
34 if (id0 < id2) { in main()
35 assert( (id0 <= id2)); in main()
36 assert(!(id0 > id2)); in main()
37 assert(!(id0 >= id2)); in main()
39 assert(!(id0 <= id2)); in main()
40 assert( (id0 > id2)); in main()
41 assert( (id0 >= id2)); in main()
Dthread_id.pass.cpp29 std::thread::id id2 = std::this_thread::get_id(); in main() local
34 assert(h(id1) != h(id2)); in main()
/external/libweave/src/commands/
Dcommand_queue_unittest.cc101 const std::string id2 = "id2"; in TEST_F() local
103 queue_.Add(CreateDummyCommandInstance("base.reboot", id2)); in TEST_F()
111 EXPECT_TRUE(Remove(id2)); in TEST_F()
113 EXPECT_FALSE(Remove(id2)); in TEST_F()
150 const std::string id2 = "id2"; in TEST_F() local
153 queue_.Add(CreateDummyCommandInstance("base.reboot", id2)); in TEST_F()
156 task_runner_.PostDelayedTask(FROM_HERE, base::Bind(remove_task, id2), in TEST_F()
167 EXPECT_EQ(id2, GetFirstCommandToBeRemoved()); in TEST_F()
176 const std::string id2 = "id2"; in TEST_F() local
178 queue_.Add(CreateDummyCommandInstance("base.reboot", id2)); in TEST_F()
[all …]
/external/libcxx/test/std/localization/locales/locale/locale.types/locale.id/
Did.pass.cpp26 std::locale::id id2; variable
38 assert(id2.__get() == id+2); in main()
39 assert(id2.__get() == id+2); in main()
40 assert(id2.__get() == id+2); in main()
47 assert(id2.__get() == id+2); in main()
48 assert(id2.__get() == id+2); in main()
49 assert(id2.__get() == id+2); in main()
/external/strace/
Dkeyctl.c97 keyctl_handle_key_key(struct tcb *tcp, key_serial_t id1, key_serial_t id2) in keyctl_handle_key_key() argument
101 print_keyring_serial_number(id2); in keyctl_handle_key_key()
124 long addr2, key_serial_t id2) in keyctl_keyring_search() argument
132 print_keyring_serial_number(id2); in keyctl_keyring_search()
144 long len, key_serial_t id2) in keyctl_instantiate_key() argument
150 print_keyring_serial_number(id2); in keyctl_instantiate_key()
155 long addr, long len, key_serial_t id2) in keyctl_instantiate_key_iov() argument
161 print_keyring_serial_number(id2); in keyctl_instantiate_key_iov()
166 key_serial_t id2) in keyctl_negate_key() argument
170 print_keyring_serial_number(id2); in keyctl_negate_key()
[all …]
/external/boringssl/src/crypto/rc4/
Drc4.c237 unsigned i, id1, id2; in RC4_set_key() local
243 id1 = id2 = 0; in RC4_set_key()
248 id2 = (key[id1] + tmp + id2) & 0xff; \ in RC4_set_key()
251 d[(n)] = d[id2]; \ in RC4_set_key()
252 d[id2] = tmp; \ in RC4_set_key()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DCertUtils.java215 static boolean isAlgIdEqual(AlgorithmIdentifier id1, AlgorithmIdentifier id2) in isAlgIdEqual() argument
217 if (!id1.getAlgorithm().equals(id2.getAlgorithm())) in isAlgIdEqual()
224 if (id2.getParameters() != null && !id2.getParameters().equals(DERNull.INSTANCE)) in isAlgIdEqual()
232 if (id2.getParameters() == null) in isAlgIdEqual()
242 return id1.getParameters().equals(id2.getParameters()); in isAlgIdEqual()
/external/speex/libspeex/
Dfilterbank.c61 int id2; in filterbank_new() local
98 id2 = id1+1; in filterbank_new()
101 bank->bank_right[i] = id2; in filterbank_new()
162 int id1, id2; in filterbank_compute_psd16() local
164 id2 = bank->bank_right[i]; in filterbank_compute_psd16()
166 tmp += MULT16_16(mel[id2],bank->filter_right[i]); in filterbank_compute_psd16()
/external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/
DCsvReader.cpp63 string num_pts_per_face, id0, id1, id2; in readPLY() local
67 getline(liness, id2); in readPLY()
72 tmp_triangle[2] = StringToInt(id2); in readPLY()
/external/valgrind/callgrind/
Devents.c158 EventSet* CLG_(get_event_set2)(Int id1, Int id2) in CLG_()
161 CLG_ASSERT(id2>=0 && id2<MAX_EVENTGROUP_COUNT); in CLG_()
162 return eventset_from_mask((1u << id1) | (1u << id2)); in CLG_()
172 EventSet* CLG_(add_event_group2)(EventSet* es, Int id1, Int id2) in CLG_()
175 CLG_ASSERT(id2>=0 && id2<MAX_EVENTGROUP_COUNT); in CLG_()
177 return eventset_from_mask(es->mask | (1u << id1) | (1u << id2)); in CLG_()
Devents.h76 EventSet* CLG_(get_event_set2)(Int id1, Int id2);
78 EventSet* CLG_(add_event_group2)(EventSet*, Int id1, Int id2);
/external/lzma/CPP/7zip/Compress/
DBranchRegister.cpp19 #define METHOD_ITEM(x, id1, id2, name) { CreateCodec ## x, CreateCodec ## x ## Out, 0x03030000 + (i… argument
/external/icu/icu4c/source/i18n/
Duspoof.cpp368 const UChar *id2, int32_t length2, in uspoof_areConfusable() argument
380 UnicodeString id2Str((length2==-1), id2, length2); // Aliasing constructor in uspoof_areConfusable()
388 const char *id2, int32_t length2, in uspoof_areConfusableUTF8() argument
399 …odeString id2Str = UnicodeString::fromUTF8(StringPiece(id2, length2>=0? length2 : uprv_strlen(id2)… in uspoof_areConfusableUTF8()
408 const icu::UnicodeString &id2, in uspoof_areConfusableUnicodeString() argument
437 identifierInfo->setIdentifier(id2, *status); in uspoof_areConfusableUnicodeString()
449 uspoof_getSkeletonUnicodeString(sc, flagsForSkeleton, id2, id2Skeleton, status); in uspoof_areConfusableUnicodeString()
479 uspoof_getSkeletonUnicodeString(sc, flagsForSkeleton, id2, id2Skeleton, status); in uspoof_areConfusableUnicodeString()
/external/clang/test/CodeGenCXX/
Dcaptured-statements.cpp128 template <typename U, int id2>
132 touch<U, id + id2>(u); in foo()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DIdentityScope2Test.java148 Identity id2 = new IdentitySubclass("id2"); in test_addIdentityLjava_security_Identity() local
149 id2.setPublicKey(pubKey); in test_addIdentityLjava_security_Identity()
150 sub.addIdentity(id2); in test_addIdentityLjava_security_Identity()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CertificateObject.java828 private boolean isAlgIdEqual(AlgorithmIdentifier id1, AlgorithmIdentifier id2) in isAlgIdEqual() argument
830 if (!id1.getAlgorithm().equals(id2.getAlgorithm())) in isAlgIdEqual()
837 if (id2.getParameters() != null && !id2.getParameters().equals(DERNull.INSTANCE)) in isAlgIdEqual()
845 if (id2.getParameters() == null) in isAlgIdEqual()
855 return id1.getParameters().equals(id2.getParameters()); in isAlgIdEqual()
/external/opencv3/modules/calib3d/src/
Dcirclesgrid.hpp94 void addEdge(size_t id1, size_t id2);
95 void removeEdge(size_t id1, size_t id2);
97 bool areVerticesAdjacent(size_t id1, size_t id2) const;
Dcirclesgrid.cpp449 void Graph::addEdge(size_t id1, size_t id2) in addEdge() argument
452 CV_Assert( doesVertexExist( id2 ) ); in addEdge()
454 vertices[id1].neighbors.insert(id2); in addEdge()
455 vertices[id2].neighbors.insert(id1); in addEdge()
458 void Graph::removeEdge(size_t id1, size_t id2) in removeEdge() argument
461 CV_Assert( doesVertexExist( id2 ) ); in removeEdge()
463 vertices[id1].neighbors.erase(id2); in removeEdge()
464 vertices[id2].neighbors.erase(id1); in removeEdge()
467 bool Graph::areVerticesAdjacent(size_t id1, size_t id2) const in areVerticesAdjacent()
470 CV_Assert( doesVertexExist( id2 ) ); in areVerticesAdjacent()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509CertificateObject.java850 private boolean isAlgIdEqual(AlgorithmIdentifier id1, AlgorithmIdentifier id2) in isAlgIdEqual() argument
852 if (!id1.getAlgorithm().equals(id2.getAlgorithm())) in isAlgIdEqual()
859 if (id2.getParameters() != null && !id2.getParameters().equals(DERNull.INSTANCE)) in isAlgIdEqual()
867 if (id2.getParameters() == null) in isAlgIdEqual()
877 return id1.getParameters().equals(id2.getParameters()); in isAlgIdEqual()
/external/icu/icu4c/source/i18n/unicode/
Duspoof.h794 const UChar *id2, int32_t length2,
827 const char *id2, int32_t length2,
/external/v8/test/unittests/compiler/
Dcoalesced-live-ranges-unittest.cc19 bool ConflictsPreciselyWith(const LiveRange* range, int id1, int id2);
42 int id1, int id2) { in ConflictsPreciselyWith() argument
45 set.insert(id2); in ConflictsPreciselyWith()
/external/libchrome/base/
Did_map_unittest.cc38 int32_t id2 = map.Add(&obj2); in TEST() local
43 EXPECT_EQ(&obj2, map.Lookup(id2)); in TEST()
49 map.Remove(id2); in TEST()
/external/pdfium/third_party/freetype/src/base/
Dftmac.c200 ATSFontRef id2 = ats_font_id - 1; in FT_GetFileRef_From_Mac_ATS_Name() local
204 while ( id2 > 0 ) in FT_GetFileRef_From_Mac_ATS_Name()
206 if ( noErr != FT_ATSFontGetFileReference( id2, &ref2 ) ) in FT_GetFileRef_From_Mac_ATS_Name()
211 id2 --; in FT_GetFileRef_From_Mac_ATS_Name()
213 *face_index = ats_font_id - ( id2 + 1 ); in FT_GetFileRef_From_Mac_ATS_Name()
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DDefineGrammarItemsWalker.g169 ( id2=ID a1=ACTION
170 {scope=$id1.text; nameAST=$id2; actionAST=$a1;}
412 | ^( PLUS_ASSIGN id2=ID a2=element
421 grammar.defineRuleListLabel(currentRuleName,$id2.getToken(),a);
425 grammar.defineWildcardTreeListLabel( currentRuleName, $id2.getToken(), a );
429 grammar.defineTokenListLabel(currentRuleName,$id2.getToken(),a);
/external/icu/icu4c/source/test/intltest/
Dtztest.cpp532 const UnicodeString *id1, *id2; in TestGetAvailableIDsNew() local
614 while ((id2 = canonical->snext(ec)) != NULL) { in TestGetAvailableIDsNew()
615 if (*id1 == *id2) { in TestGetAvailableIDsNew()
732 const UnicodeString *id1, *id2; in checkContainsAll() local
736 while ((id2 = s2->snext(ec)) != NULL) { in checkContainsAll()
740 if (*id1 == *id2) { in checkContainsAll()
747 + *id2 + " in " + name2); in checkContainsAll()
1748 const UnicodeString* id2 = s2->snext(ec); in TestCountries() local
1749 if(id2==NULL || U_FAILURE(ec)){ in TestCountries()
1752 TimeZone* tz2 = TimeZone::createTimeZone(*id2); in TestCountries()
[all …]

123