/external/ltp/include/ |
D | tst_fuzzy_sync.h | 105 static void tst_fzsync_pair_info(struct tst_fzsync_pair *pair) in tst_fzsync_pair_info() argument 109 pair->avg_diff, pair->avg_dev, pair->delay); in tst_fzsync_pair_info() 117 static inline void tst_fzsync_delay_a(struct tst_fzsync_pair *pair) in tst_fzsync_delay_a() argument 119 volatile long spin_delay = pair->delay; in tst_fzsync_delay_a() 130 static inline void tst_fzsync_delay_b(struct tst_fzsync_pair *pair) in tst_fzsync_delay_b() argument 132 volatile long spin_delay = pair->delay; in tst_fzsync_delay_b() 148 static inline void tst_fzsync_time_a(struct tst_fzsync_pair *pair) in tst_fzsync_time_a() argument 150 tst_fzsync_time(&pair->a); in tst_fzsync_time_a() 158 static inline void tst_fzsync_time_b(struct tst_fzsync_pair *pair) in tst_fzsync_time_b() argument 160 tst_fzsync_time(&pair->b); in tst_fzsync_time_b() [all …]
|
/external/libbrillo/brillo/strings/ |
D | string_utils_unittest.cc | 75 std::pair<std::string, std::string> pair; in TEST() local 77 pair = string_utils::SplitAtFirst(" 123 : 4 : 56 : 789 ", ":", true); in TEST() 78 EXPECT_EQ("123", pair.first); in TEST() 79 EXPECT_EQ("4 : 56 : 789", pair.second); in TEST() 81 pair = string_utils::SplitAtFirst(" 123 : 4 : 56 : 789 ", ":", false); in TEST() 82 EXPECT_EQ(" 123 ", pair.first); in TEST() 83 EXPECT_EQ(" 4 : 56 : 789 ", pair.second); in TEST() 85 pair = string_utils::SplitAtFirst("", "="); in TEST() 86 EXPECT_EQ("", pair.first); in TEST() 87 EXPECT_EQ("", pair.second); in TEST() [all …]
|
/external/ppp/pppd/plugins/radius/ |
D | avpair.c | 163 VALUE_PAIR *pair; in rc_avpair_gen() local 207 if ((pair = in rc_avpair_gen() 215 strcpy (pair->name, attr->name); in rc_avpair_gen() 216 pair->attribute = attr->value; in rc_avpair_gen() 217 pair->vendorcode = VENDOR_NONE; in rc_avpair_gen() 218 pair->type = attr->type; in rc_avpair_gen() 219 pair->next = (VALUE_PAIR *) NULL; in rc_avpair_gen() 225 memcpy (pair->strvalue, (char *) ptr, (size_t) attrlen); in rc_avpair_gen() 226 pair->strvalue[attrlen] = '\0'; in rc_avpair_gen() 227 pair->lvalue = attrlen; in rc_avpair_gen() [all …]
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_program_pair.c | 38 int rc_pair_alloc_source(struct rc_pair_instruction *pair, in rc_pair_alloc_source() argument 53 if (rgb && pair->RGB.Src[RC_PAIR_PRESUB_SRC].Used in rc_pair_alloc_source() 54 && index != pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index) { in rc_pair_alloc_source() 58 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used in rc_pair_alloc_source() 59 && index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) { in rc_pair_alloc_source() 67 if (pair->RGB.Src[i].Used) { in rc_pair_alloc_source() 68 if (pair->RGB.Src[i].File != file || in rc_pair_alloc_source() 69 pair->RGB.Src[i].Index != index) { in rc_pair_alloc_source() 77 if (pair->Alpha.Src[i].Used) { in rc_pair_alloc_source() 78 if (pair->Alpha.Src[i].File != file || in rc_pair_alloc_source() [all …]
|
D | radeon_pair_translate.c | 150 struct rc_pair_instruction * pair, in set_pair_instruction() argument 157 memset(pair, 0, sizeof(struct rc_pair_instruction)); in set_pair_instruction() 163 pair->RGB.Opcode = RC_OPCODE_REPL_ALPHA; in set_pair_instruction() 165 pair->RGB.Opcode = inst->Opcode; in set_pair_instruction() 167 pair->RGB.Saturate = 1; in set_pair_instruction() 170 pair->Alpha.Opcode = inst->Opcode; in set_pair_instruction() 172 pair->Alpha.Saturate = 1; in set_pair_instruction() 196 pair->RGB.Src[i].File = in set_pair_instruction() 198 pair->RGB.Src[i].Index = in set_pair_instruction() 200 pair->RGB.Src[i].Used = 1; in set_pair_instruction() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationFastLatin.java | 745 private static int getPrimaries(int variableTop, int pair) { in getPrimaries() argument 746 int ce = pair & 0xffff; in getPrimaries() 747 if(ce >= MIN_SHORT) { return pair & TWO_SHORT_PRIMARIES_MASK; } in getPrimaries() 748 if(ce > variableTop) { return pair & TWO_LONG_PRIMARIES_MASK; } in getPrimaries() 750 return pair; // special mini CE in getPrimaries() 762 private static int getSecondaries(int variableTop, int pair) { in getSecondaries() argument 763 if(pair <= 0xffff) { in getSecondaries() 765 if(pair >= MIN_SHORT) { in getSecondaries() 766 pair = getSecondariesFromOneShortCE(pair); in getSecondaries() 767 } else if(pair > variableTop) { in getSecondaries() [all …]
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationFastLatin.java | 741 private static int getPrimaries(int variableTop, int pair) { in getPrimaries() argument 742 int ce = pair & 0xffff; in getPrimaries() 743 if(ce >= MIN_SHORT) { return pair & TWO_SHORT_PRIMARIES_MASK; } in getPrimaries() 744 if(ce > variableTop) { return pair & TWO_LONG_PRIMARIES_MASK; } in getPrimaries() 746 return pair; // special mini CE in getPrimaries() 758 private static int getSecondaries(int variableTop, int pair) { in getSecondaries() argument 759 if(pair <= 0xffff) { in getSecondaries() 761 if(pair >= MIN_SHORT) { in getSecondaries() 762 pair = getSecondariesFromOneShortCE(pair); in getSecondaries() 763 } else if(pair > variableTop) { in getSecondaries() [all …]
|
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
D | implicit_deduction_guides.pass.cpp | 49 std::pair t1("abc", x); in main() 50 ASSERT_SAME_TYPE(decltype(t1), std::pair<const char*, int>); in main() 53 std::pair p1(E{}, 42); in main() 54 ASSERT_SAME_TYPE(decltype(p1), std::pair<E, int>); in main() 57 std::pair p2(t, E{}); in main() 58 ASSERT_SAME_TYPE(decltype(p2), std::pair<E, E>); in main() 61 std::pair<double, decltype(nullptr)> const p(0.0, nullptr); in main() 62 std::pair p1(p); in main() 63 ASSERT_SAME_TYPE(decltype(p1), std::pair<double, decltype(nullptr)>); in main() 66 std::pair<E, decltype(nullptr)> const p(E{}, nullptr); in main() [all …]
|
/external/google-breakpad/src/client/mac/handler/testcases/testdata/ |
D | dump_syms_i386_breakpad.sym | 497 …reader::FunctionInfo*, std::less<unsigned long long>, std::allocator<std::pair<unsigned long long … 815 …2reader::DwarfTag, std::list<std::pair<dwarf2reader::DwarfAttribute, dwarf2reader::DwarfForm>, std… 844 …const_iterator<std::pair<unsigned long long const, dwarf2reader::FunctionInfo*> >::operator!=(std:… 847 FUNC 6bea 16 0 std::_Rb_tree_const_iterator<std::pair<unsigned long long const, dwarf2reader::Funct… 854 FUNC 6c2c 16 0 std::_Rb_tree_const_iterator<std::pair<unsigned long long const, dwarf2reader::Funct… 859 …pair<unsigned long long const, std::pair<std::string, unsigned int> > >::operator!=(std::_Rb_tree_… 862 FUNC 6c7a 16 0 std::_Rb_tree_const_iterator<std::pair<unsigned long long const, std::pair<std::stri… 879 FUNC 6d4e 25 0 std::_Rb_tree_const_iterator<std::pair<unsigned long long const, dwarf2reader::Funct… 884 FUNC 6d74 25 0 std::_Rb_tree_const_iterator<std::pair<unsigned long long const, std::pair<std::stri… 889 …pair<unsigned long long const, dwarf2reader::FunctionInfo*>, std::_Select1st<std::pair<unsigned lo… [all …]
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
D | multi-level-substitution.cpp | 5 template<typename T, typename U> struct pair { }; struct 38 struct Inner<tuple<pair<Types, YTypes>...> > { 43 int check0[X<short, int, long>::Inner<tuple<pair<short, unsigned short>, 44 pair<int, unsigned int>, 45 pair<long, unsigned long>> 48 int check1[X<short, int>::Inner<tuple<pair<short, unsigned short>, 49 pair<int, unsigned int>, 50 pair<long, unsigned long>> 61 struct Inner<tuple<pair<Types, YTypes>...>, 67 int check2[X1<short, int, long>::Inner<tuple<pair<short, unsigned short>, [all …]
|
/external/libcxx/test/std/algorithms/alg.sorting/alg.min.max/ |
D | minmax_init_list.pass.cpp | 25 assert((std::minmax({1, 2, 3}) == std::pair<int, int>(1, 3))); in main() 26 assert((std::minmax({1, 3, 2}) == std::pair<int, int>(1, 3))); in main() 27 assert((std::minmax({2, 1, 3}) == std::pair<int, int>(1, 3))); in main() 28 assert((std::minmax({2, 3, 1}) == std::pair<int, int>(1, 3))); in main() 29 assert((std::minmax({3, 1, 2}) == std::pair<int, int>(1, 3))); in main() 30 assert((std::minmax({3, 2, 1}) == std::pair<int, int>(1, 3))); in main() 33 static_assert((std::minmax({1, 2, 3}) == std::pair<int, int>(1, 3)), ""); in main() 34 static_assert((std::minmax({1, 3, 2}) == std::pair<int, int>(1, 3)), ""); in main() 35 static_assert((std::minmax({2, 1, 3}) == std::pair<int, int>(1, 3)), ""); in main() 36 static_assert((std::minmax({2, 3, 1}) == std::pair<int, int>(1, 3)), ""); in main() [all …]
|
D | minmax_init_list_comp.pass.cpp | 32 std::pair<int, int> p = std::minmax(il, std::ref(pred)); in test_all_equal() 41 assert((std::minmax({1, 2, 3}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main() 42 assert((std::minmax({1, 3, 2}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main() 43 assert((std::minmax({2, 1, 3}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main() 44 assert((std::minmax({2, 3, 1}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main() 45 assert((std::minmax({3, 1, 2}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main() 46 assert((std::minmax({3, 2, 1}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main() 47 assert((std::minmax({1, 2, 3}, all_equal ) == std::pair<int, int>(1, 3))); in main() 50 …assert((std::minmax({1, 2, 2, 3, 3, 3, 5, 5, 5, 5, 5, 3}, std::ref(pred)) == std::pair<int, int>(5… in main() 68 static_assert((std::minmax({1, 2, 3}, std::greater<int>()) == std::pair<int, int>(3, 1)), ""); in main() [all …]
|
/external/lzma/CPP/7zip/UI/Common/ |
D | UpdateProduce.cpp | 19 const CUpdatePair &pair = updatePairs[i]; in UpdateProduce() local 22 up2.DirIndex = pair.DirIndex; in UpdateProduce() 23 up2.ArcIndex = pair.ArcIndex; in UpdateProduce() 27 switch (actionSet.StateActions[(unsigned)pair.State]) in UpdateProduce() 30 if (pair.ArcIndex >= 0 && callback) in UpdateProduce() 31 callback->ShowDeleteFile(pair.ArcIndex); in UpdateProduce() 35 if (pair.State == NPairState::kOnlyOnDisk) in UpdateProduce() 37 if (pair.State == NPairState::kOnlyInArchive) in UpdateProduce() 39 if (pair.HostIndex >= 0) in UpdateProduce() 46 if (updatePairs[pair.HostIndex].DirIndex >= 0) in UpdateProduce() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | collationfastlatin.cpp | 947 CollationFastLatin::getSecondaries(uint32_t variableTop, uint32_t pair) { in getSecondaries() argument 948 if(pair <= 0xffff) { in getSecondaries() 950 if(pair >= MIN_SHORT) { in getSecondaries() 951 pair = getSecondariesFromOneShortCE(pair); in getSecondaries() 952 } else if(pair > variableTop) { in getSecondaries() 953 pair = COMMON_SEC_PLUS_OFFSET; in getSecondaries() 954 } else if(pair >= MIN_LONG) { in getSecondaries() 955 pair = 0; // variable in getSecondaries() 959 uint32_t ce = pair & 0xffff; in getSecondaries() 961 pair = (pair & TWO_SECONDARIES_MASK) + TWO_SEC_OFFSETS; in getSecondaries() [all …]
|
/external/fio/ |
D | json.c | 21 struct json_pair *pair = malloc(sizeof(struct json_pair)); in json_create_pair() local 22 if (pair) { in json_create_pair() 23 pair->name = strdup(name); in json_create_pair() 24 pair->value = value; in json_create_pair() 27 value->parent_pair = pair; in json_create_pair() 29 return pair; in json_create_pair() 122 static void json_free_pair(struct json_pair *pair); 145 static void json_free_pair(struct json_pair *pair) in json_free_pair() argument 147 json_free_value(pair->value); in json_free_pair() 148 free(pair->name); in json_free_pair() [all …]
|
/external/libmicrohttpd/src/microspdy/ |
D | structures.c | 44 struct SPDY_NameValue *pair; in SPDY_name_value_create() local 46 if(NULL == (pair = malloc(sizeof(struct SPDY_NameValue)))) in SPDY_name_value_create() 49 memset (pair, 0, sizeof (struct SPDY_NameValue)); in SPDY_name_value_create() 51 return pair; in SPDY_name_value_create() 62 struct SPDY_NameValue *pair; in SPDY_name_value_add() local 102 pair = container; in SPDY_name_value_add() 103 while(NULL != pair) in SPDY_name_value_add() 105 if(0 == strcmp(pair->name, name)) in SPDY_name_value_add() 110 pair = pair->next; in SPDY_name_value_add() 113 if(NULL == pair) in SPDY_name_value_add() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | 2009-04-scale.ll | 5 …pl, [256 x %struct.pair], [256 x %struct.pair], [256 x %struct.pair], [256 x %struct.pair], [256 x… 7 %struct.pair = type { i64, i64 } 14 …%3 = getelementptr %struct.array, %struct.array* null, i32 0, i32 3 ; <[256 x %struct.pair]*> [#u… 15 …%4 = getelementptr [256 x %struct.pair], [256 x %struct.pair]* %3, i32 0, i32 %2 ; <%struct.pair*… 16 %5 = getelementptr %struct.pair, %struct.pair* %4, i32 0, i32 1 ; <i64*> [#uses=1]
|
/external/llvm/test/Transforms/GlobalOpt/ |
D | 2007-06-04-PackedStruct.ll | 6 %"struct.__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const int, int> > >" = type <{ i8 }> 7 …pair<const int, int>,std::_Select1st<std::pair<const int, int> >,std::less<int>,std::allocator<std… 8 …pair<const int, int>,std::_Select1st<std::pair<const int, int> >,std::less<int>,std::allocator<std… 10 …pair<const int, int> > >" = type { %"struct.std::_Rb_tree<int,std::pair<const int, int>,std::_Sele… 11 …,std::allocator<std::pair<const int, int> > >" zeroinitializer ; <%"struct.std::map<int,int,std::… 31 …less<int>,std::allocator<std::pair<const int, int> > >", %"struct.std::map<int,int,std::less<int>,…
|
/external/libcxx/include/ |
D | utility | 61 struct pair 69 pair(const pair&) = default; 70 pair(pair&&) = default; 71 constexpr pair(); 72 pair(const T1& x, const T2& y); // constexpr in C++14 73 template <class U, class V> pair(U&& x, V&& y); // constexpr in C++14 74 template <class U, class V> pair(const pair<U, V>& p); // constexpr in C++14 75 template <class U, class V> pair(pair<U, V>&& p); // constexpr in C++14 77 pair(piecewise_construct_t, tuple<Args1...> first_args, 80 template <class U, class V> pair& operator=(const pair<U, V>& p); [all …]
|
/external/llvm/test/CodeGen/PowerPC/ |
D | stwu8.ll | 7 …pair<const char *, const char *>, std::pair<const std::pair<const char *, const char *>, int>, std… 8 …pair<const char *, const char *>, std::pair<const std::pair<const char *, const char *>, int>, std…
|
/external/swiftshader/third_party/LLVM/test/Transforms/GlobalOpt/ |
D | 2007-06-04-PackedStruct.ll | 6 %"struct.__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const int, int> > >" = type <{ i8 }> 7 …pair<const int, int>,std::_Select1st<std::pair<const int, int> >,std::less<int>,std::allocator<std… 8 …pair<const int, int>,std::_Select1st<std::pair<const int, int> >,std::less<int>,std::allocator<std… 10 …pair<const int, int> > >" = type { %"struct.std::_Rb_tree<int,std::pair<const int, int>,std::_Sele… 11 …,std::allocator<std::pair<const int, int> > >" zeroinitializer ; <%"struct.std::map<int,int,std::… 31 …store i8 0, i8* getelementptr (%"struct.std::map<int,int,std::less<int>,std::allocator<std::pair<c…
|
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/ |
D | sta_network.h | 191 std::pair<SupplicantStatus, uint32_t> getIdInternal(); 192 std::pair<SupplicantStatus, std::string> getInterfaceNameInternal(); 193 std::pair<SupplicantStatus, IfaceType> getTypeInternal(); 235 std::pair<SupplicantStatus, std::vector<uint8_t>> getSsidInternal(); 236 std::pair<SupplicantStatus, std::array<uint8_t, 6>> getBssidInternal(); 237 std::pair<SupplicantStatus, bool> getScanSsidInternal(); 238 std::pair<SupplicantStatus, uint32_t> getKeyMgmtInternal(); 239 std::pair<SupplicantStatus, uint32_t> getProtoInternal(); 240 std::pair<SupplicantStatus, uint32_t> getAuthAlgInternal(); 241 std::pair<SupplicantStatus, uint32_t> getGroupCipherInternal(); [all …]
|
/external/libcxx/test/std/containers/associative/map/ |
D | types.pass.cpp | 43 static_assert((std::is_same<C::value_type, std::pair<const int, double> >::value), ""); in main() 45 …static_assert((std::is_same<C::allocator_type, std::allocator<std::pair<const int, double> > >::va… in main() 46 static_assert((std::is_same<C::reference, std::pair<const int, double>&>::value), ""); in main() 47 … static_assert((std::is_same<C::const_reference, const std::pair<const int, double>&>::value), ""); in main() 48 static_assert((std::is_same<C::pointer, std::pair<const int, double>*>::value), ""); in main() 49 static_assert((std::is_same<C::const_pointer, const std::pair<const int, double>*>::value), ""); in main() 55 typedef std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> C; in main() 58 static_assert((std::is_same<C::value_type, std::pair<const int, double> >::value), ""); in main() 60 …static_assert((std::is_same<C::allocator_type, min_allocator<std::pair<const int, double> > >::val… in main() 61 static_assert((std::is_same<C::reference, std::pair<const int, double>&>::value), ""); in main() [all …]
|
/external/libcxx/test/std/containers/associative/multimap/ |
D | types.pass.cpp | 43 static_assert((std::is_same<C::value_type, std::pair<const int, double> >::value), ""); in main() 45 …static_assert((std::is_same<C::allocator_type, std::allocator<std::pair<const int, double> > >::va… in main() 46 static_assert((std::is_same<C::reference, std::pair<const int, double>&>::value), ""); in main() 47 … static_assert((std::is_same<C::const_reference, const std::pair<const int, double>&>::value), ""); in main() 48 static_assert((std::is_same<C::pointer, std::pair<const int, double>*>::value), ""); in main() 49 static_assert((std::is_same<C::const_pointer, const std::pair<const int, double>*>::value), ""); in main() 55 … typedef std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>> C; in main() 58 static_assert((std::is_same<C::value_type, std::pair<const int, double> >::value), ""); in main() 60 …static_assert((std::is_same<C::allocator_type, min_allocator<std::pair<const int, double> > >::val… in main() 61 static_assert((std::is_same<C::reference, std::pair<const int, double>&>::value), ""); in main() [all …]
|
/external/ltp/lib/newlib_tests/ |
D | test16.c | 34 static struct tst_fzsync_pair pair = TST_FZSYNC_PAIR_INIT; variable 42 for (i = 0; tst_fzsync_wait_update_b(&pair); i++) { in worker() 43 tst_fzsync_delay_b(&pair); in worker() 44 tst_fzsync_time_b(&pair); in worker() 45 if (!tst_fzsync_wait_b(&pair)) in worker() 68 tst_fzsync_wait_update_a(&pair); in run() 69 tst_fzsync_delay_a(&pair); in run() 72 tst_fzsync_time_a(&pair); in run() 73 if (!tst_fzsync_wait_a(&pair)) in run() 96 if (labs(pair.delay) > 1000) in run() [all …]
|