Home
last modified time | relevance | path

Searched refs:which (Results 1 – 25 of 14901) sorted by relevance

12345678910>>...597

/external/toybox/
Dmain.c33 if (!toys.which && strstart(&name, toy_list->name)) return toy_list; in toy_find()
88 int i = toys.which-toy_list; in show_help()
111 else fprintf(out, "%s see %s\n", toys.which->name, s); in show_help()
128 toys.which = toy_list; in unknown()
135 long flags = toys.which->flags; in check_help()
138 if (!CFG_TOYBOX || toys.which!=toy_list) if (flags&TOYFLAG_NOHELP) return; in check_help()
141 if (CFG_TOYBOX && toys.which == toy_list && arg[1]) { in check_help()
142 toys.which = 0; in check_help()
143 if (!(toys.which = toy_find(arg[1]))) unknown(arg[1]); in check_help()
155 sprintf(toybuf, " (is not GNU %s 9.0)", toys.which->name); in check_help()
[all …]
/external/v4l-utils/utils/v4l2-compliance/
Dv4l2-test-subdevs.cpp46 static int testSubDevEnumFrameInterval(struct node *node, unsigned which, in testSubDevEnumFrameInterval() argument
55 fie.which = which; in testSubDevEnumFrameInterval()
62 node->has_subdev_enum_fival |= (ret != ENOTTY) << which; in testSubDevEnumFrameInterval()
65 if (which) in testSubDevEnumFrameInterval()
70 fie.which = ~0; in testSubDevEnumFrameInterval()
72 fie.which = which; in testSubDevEnumFrameInterval()
85 fie.which = which; in testSubDevEnumFrameInterval()
94 fail_on_test(fie.which != which); in testSubDevEnumFrameInterval()
111 fail_on_test(fie.which != which); in testSubDevEnumFrameInterval()
123 static int testSubDevEnumFrameSize(struct node *node, unsigned which, in testSubDevEnumFrameSize() argument
[all …]
/external/sdv/vsomeip/third_party/boost/variant/test/
Dvariant_swap_test.cpp27 BOOST_TEST(v0.which() == 0); in run1()
28 BOOST_TEST(v1.which() == 1); in run1()
32 BOOST_TEST(v0.which() == 1); in run1()
33 BOOST_TEST(v1.which() == 0); in run1()
46 BOOST_TEST(v0.which() == 0); in run2()
47 BOOST_TEST(v1.which() == 1); in run2()
51 BOOST_TEST(v0.which() == 1); in run2()
52 BOOST_TEST(v1.which() == 0); in run2()
56 BOOST_TEST(v0.which() == 0); in run2()
57 BOOST_TEST(v1.which() == 1); in run2()
[all …]
Dvariant_nonempty_check.cpp200 BOOST_TEST(!v.which()); in check_1_impl()
203 BOOST_TEST(!v.which()); in check_1_impl()
210 BOOST_TEST(!v.which()); in check_1_impl()
213 BOOST_TEST(!v.which()); in check_1_impl()
233 BOOST_TEST(v.which() == 1); in check_2_impl()
236 BOOST_TEST(!v.which()); in check_2_impl()
243 BOOST_TEST(v.which() == 1); in check_2_impl()
246 BOOST_TEST(!v.which()); in check_2_impl()
268 BOOST_TEST(v1.which() == 1); in check_3_impl()
271 BOOST_TEST(!v1.which()); in check_3_impl()
[all …]
Doverload_selection.cpp68 const int which0 = static_cast< boost::variant<B, A>& >(tester).which(); in test_overload_selection_variant_assignment()
74 const int which1 = static_cast< boost::variant<B, A>& >(tester).which(); in test_overload_selection_variant_assignment()
91 BOOST_TEST(y.which() == 0); in test_implicit_conversion_operator()
103 BOOST_TEST(y.which() == 0); in test_derived_from_variant_construction()
107 BOOST_TEST(v2.which() == 0); in test_derived_from_variant_construction()
112 BOOST_TEST(ab_c.which() == 0); in test_derived_from_variant_construction()
115 BOOST_TEST(a_b.which() == 0); in test_derived_from_variant_construction()
118 BOOST_TEST(b_c_a1.which() == 2); in test_derived_from_variant_construction()
131 BOOST_TEST(y.which() == 0); in test_derived_from_variant_assignment()
136 BOOST_TEST(v2.which() == 0); in test_derived_from_variant_assignment()
[all …]
/external/sdv/vsomeip/third_party/boost/spirit/test/qi/
Dutree4.cpp63 ut.which() == utree_type::string_type && check(ut, "\"xy\"")); in main()
67 ut.which() == utree_type::list_type && check(ut, "( \"ab\" 1.2 )")); in main()
71 ut.which() == utree_type::string_type && check(ut, "\"xy\"")); in main()
75 ut.which() == utree_type::string_type && check(ut, "\"xy\"")); in main()
79 ut.which() == utree_type::list_type && check(ut, "( \"x\" \"y\" )")); in main()
83 ut.which() == utree_type::list_type && check(ut, "( \"ab\" 1.2 )")); in main()
87 ut.which() == utree_type::list_type && check(ut, "( \"a\" \"b\" 1.2 )")); in main()
91 ut.which() == utree_type::symbol_type && check(ut, "xy")); in main()
95 ut.which() == utree_type::list_type && check(ut, "( ab 1.2 )")); in main()
99 ut.which() == utree_type::symbol_type && check(ut, "xy")); in main()
[all …]
Dutree3.cpp61 ut.which() == utree_type::int_type && check(ut, "10")); in main()
64 ut.which() == utree_type::double_type && check(ut, "10.2")); in main()
69 ut.which() == utree_type::int_type && check(ut, "10")); in main()
72 ut.which() == utree_type::double_type && check(ut, "10.2")); in main()
77 ut.which() == utree_type::int_type && check(ut, "10")); in main()
80 ut.which() == utree_type::double_type && check(ut, "10.2")); in main()
85 ut.which() == utree_type::list_type && check(ut, "( 10 )")); in main()
88 ut.which() == utree_type::list_type && check(ut, "( 10.2 )")); in main()
96 BOOST_TEST(ut.which() == utree_type::string_type); in main()
101 BOOST_TEST(ut.which() == utree_type::invalid_type); in main()
[all …]
Dutree1.cpp57 ut.which() == utree_type::string_type && check(ut, "\"x\"")); in main()
60 ut.which() == utree_type::int_type && check(ut, "123")); in main()
63 ut.which() == utree_type::double_type && check(ut, "123.45")); in main()
69 ut.which() == utree_type::string_type && check(ut, "\"foo\"")); in main()
75 ut.which() == utree_type::symbol_type && check(ut, "xyz")); in main()
89 ut.which() == utree_type::string_type && check(ut, "\"a\"")); in main()
92 ut.which() == utree_type::list_type && check(ut, "( \"a\" )")); in main()
101 ut.which() == utree_type::list_type && check(ut, "( \"x\" \"y\" )")); in main()
104 ut.which() == utree_type::list_type && check(ut, "( 123 456 )")); in main()
107 ut.which() == utree_type::list_type && check(ut, "( 1.23 4.56 )")); in main()
[all …]
Dutree2.cpp80 ut.which() == utree_type::list_type && check(ut, "( \"x\" \"y\" )")); in main()
83 ut.which() == utree_type::list_type && check(ut, "( 123 456 )")); in main()
86 ut.which() == utree_type::list_type && check(ut, "( 1.23 4.56 )")); in main()
94 ut.which() == utree_type::list_type && check(ut, "( \"x\" \"y\" )")); in main()
97 ut.which() == utree_type::list_type && check(ut, "( ( ( 123 ) ) 456 )")); in main()
100 ut.which() == utree_type::list_type && check(ut, "( ( 1.23 4.56 ) )")); in main()
103 ut.which() == utree_type::string_type && check(ut, "\"x\"")); in main()
106 ut.which() == utree_type::int_type && check(ut, "123")); in main()
109 ut.which() == utree_type::double_type && check(ut, "123.456")); in main()
112 ut.which() == utree_type::list_type && in main()
[all …]
/external/linux-kselftest/tools/testing/selftests/timers/
Dposix_timers.c77 static int check_itimer(int which) in check_itimer() argument
87 if (which == ITIMER_VIRTUAL) in check_itimer()
89 else if (which == ITIMER_PROF) in check_itimer()
91 else if (which == ITIMER_REAL) in check_itimer()
98 if (which == ITIMER_VIRTUAL) in check_itimer()
100 else if (which == ITIMER_PROF) in check_itimer()
102 else if (which == ITIMER_REAL) in check_itimer()
111 err = setitimer(which, &val, NULL); in check_itimer()
117 if (which == ITIMER_VIRTUAL) in check_itimer()
119 else if (which == ITIMER_PROF) in check_itimer()
[all …]
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowWallpaperManager.java79 protected int setResource(int resid, int which) { in setResource() argument
80 if ((which & (WallpaperManager.FLAG_SYSTEM | WallpaperManager.FLAG_LOCK)) == 0) { in setResource()
83 if ((which & WallpaperManager.FLAG_SYSTEM) == WallpaperManager.FLAG_SYSTEM) { in setResource()
87 if ((which & WallpaperManager.FLAG_LOCK) == WallpaperManager.FLAG_LOCK) { in setResource()
90 ((which & WallpaperManager.FLAG_SYSTEM) == WallpaperManager.FLAG_SYSTEM) in setResource()
94 return ((which & WallpaperManager.FLAG_SYSTEM) == WallpaperManager.FLAG_SYSTEM) in setResource()
120 protected int setBitmap(Bitmap fullImage, Rect visibleCropHint, boolean allowBackup, int which) { in setBitmap() argument
121 if ((which & (WallpaperManager.FLAG_SYSTEM | WallpaperManager.FLAG_LOCK)) == 0) { in setBitmap()
124 if ((which & WallpaperManager.FLAG_LOCK) == WallpaperManager.FLAG_LOCK) { in setBitmap()
128 ((which & WallpaperManager.FLAG_SYSTEM) == WallpaperManager.FLAG_SYSTEM) in setBitmap()
[all …]
/external/llvm/test/MC/Mips/
Dbranch-pseudos-bad.s7 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
9 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
11 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
13 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
15 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
17 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
19 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
21 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
24 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
26 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
[all …]
/external/cronet/tot/third_party/icu/source/common/
Demojiprops.cpp125 EmojiProps::hasBinaryProperty(UChar32 c, UProperty which) { in hasBinaryProperty() argument
128 return U_SUCCESS(errorCode) && ep->hasBinaryPropertyImpl(c, which); in hasBinaryProperty()
132 EmojiProps::hasBinaryPropertyImpl(UChar32 c, UProperty which) const { in hasBinaryPropertyImpl()
133 if (which < UCHAR_EMOJI || UCHAR_RGI_EMOJI < which) { in hasBinaryPropertyImpl()
154 int32_t bit = bitFlags[which - UCHAR_EMOJI]; in hasBinaryPropertyImpl()
163 EmojiProps::hasBinaryProperty(const char16_t *s, int32_t length, UProperty which) { in hasBinaryProperty() argument
166 return U_SUCCESS(errorCode) && ep->hasBinaryPropertyImpl(s, length, which); in hasBinaryProperty()
170 EmojiProps::hasBinaryPropertyImpl(const char16_t *s, int32_t length, UProperty which) const { in hasBinaryPropertyImpl()
174 if (which < UCHAR_BASIC_EMOJI || UCHAR_RGI_EMOJI < which) { in hasBinaryPropertyImpl()
177 UProperty firstProp = which, lastProp = which; in hasBinaryPropertyImpl()
[all …]
Duprops.cpp160 typedef UBool BinaryPropertyContains(const BinaryProperty &prop, UChar32 c, UProperty which);
173 static UBool caseBinaryPropertyContains(const BinaryProperty &/*prop*/, UChar32 c, UProperty which)… in caseBinaryPropertyContains() argument
174 return static_cast<UBool>(ucase_hasBinaryProperty(c, which)); in caseBinaryPropertyContains()
208 static UBool isNormInert(const BinaryProperty &/*prop*/, UChar32 c, UProperty which) { in isNormInert() argument
211 (UNormalizationMode)(which-UCHAR_NFD_INERT+UNORM_NFD), errorCode); in isNormInert()
327 static UBool hasEmojiProperty(const BinaryProperty &/*prop*/, UChar32 c, UProperty which) { in hasEmojiProperty() argument
328 return EmojiProps::hasBinaryProperty(c, which); in hasEmojiProperty()
465 u_hasBinaryProperty(UChar32 c, UProperty which) { in u_hasBinaryProperty() argument
467 if(which<UCHAR_BINARY_START || UCHAR_BINARY_LIMIT<=which) { in u_hasBinaryProperty()
471 const BinaryProperty &prop=binProps[which]; in u_hasBinaryProperty()
[all …]
/external/cronet/stable/third_party/icu/source/common/
Demojiprops.cpp125 EmojiProps::hasBinaryProperty(UChar32 c, UProperty which) { in hasBinaryProperty() argument
128 return U_SUCCESS(errorCode) && ep->hasBinaryPropertyImpl(c, which); in hasBinaryProperty()
132 EmojiProps::hasBinaryPropertyImpl(UChar32 c, UProperty which) const { in hasBinaryPropertyImpl()
133 if (which < UCHAR_EMOJI || UCHAR_RGI_EMOJI < which) { in hasBinaryPropertyImpl()
154 int32_t bit = bitFlags[which - UCHAR_EMOJI]; in hasBinaryPropertyImpl()
163 EmojiProps::hasBinaryProperty(const char16_t *s, int32_t length, UProperty which) { in hasBinaryProperty() argument
166 return U_SUCCESS(errorCode) && ep->hasBinaryPropertyImpl(s, length, which); in hasBinaryProperty()
170 EmojiProps::hasBinaryPropertyImpl(const char16_t *s, int32_t length, UProperty which) const { in hasBinaryPropertyImpl()
174 if (which < UCHAR_BASIC_EMOJI || UCHAR_RGI_EMOJI < which) { in hasBinaryPropertyImpl()
177 UProperty firstProp = which, lastProp = which; in hasBinaryPropertyImpl()
[all …]
Duprops.cpp160 typedef UBool BinaryPropertyContains(const BinaryProperty &prop, UChar32 c, UProperty which);
173 static UBool caseBinaryPropertyContains(const BinaryProperty &/*prop*/, UChar32 c, UProperty which)… in caseBinaryPropertyContains() argument
174 return static_cast<UBool>(ucase_hasBinaryProperty(c, which)); in caseBinaryPropertyContains()
208 static UBool isNormInert(const BinaryProperty &/*prop*/, UChar32 c, UProperty which) { in isNormInert() argument
211 (UNormalizationMode)(which-UCHAR_NFD_INERT+UNORM_NFD), errorCode); in isNormInert()
327 static UBool hasEmojiProperty(const BinaryProperty &/*prop*/, UChar32 c, UProperty which) { in hasEmojiProperty() argument
328 return EmojiProps::hasBinaryProperty(c, which); in hasEmojiProperty()
465 u_hasBinaryProperty(UChar32 c, UProperty which) { in u_hasBinaryProperty() argument
467 if(which<UCHAR_BINARY_START || UCHAR_BINARY_LIMIT<=which) { in u_hasBinaryProperty()
471 const BinaryProperty &prop=binProps[which]; in u_hasBinaryProperty()
[all …]
/external/icu/icu4c/source/common/
Demojiprops.cpp125 EmojiProps::hasBinaryProperty(UChar32 c, UProperty which) { in hasBinaryProperty() argument
128 return U_SUCCESS(errorCode) && ep->hasBinaryPropertyImpl(c, which); in hasBinaryProperty()
132 EmojiProps::hasBinaryPropertyImpl(UChar32 c, UProperty which) const { in hasBinaryPropertyImpl()
133 if (which < UCHAR_EMOJI || UCHAR_RGI_EMOJI < which) { in hasBinaryPropertyImpl()
154 int32_t bit = bitFlags[which - UCHAR_EMOJI]; in hasBinaryPropertyImpl()
163 EmojiProps::hasBinaryProperty(const char16_t *s, int32_t length, UProperty which) { in hasBinaryProperty() argument
166 return U_SUCCESS(errorCode) && ep->hasBinaryPropertyImpl(s, length, which); in hasBinaryProperty()
170 EmojiProps::hasBinaryPropertyImpl(const char16_t *s, int32_t length, UProperty which) const { in hasBinaryPropertyImpl()
174 if (which < UCHAR_BASIC_EMOJI || UCHAR_RGI_EMOJI < which) { in hasBinaryPropertyImpl()
177 UProperty firstProp = which, lastProp = which; in hasBinaryPropertyImpl()
[all …]
Duprops.cpp160 typedef UBool BinaryPropertyContains(const BinaryProperty &prop, UChar32 c, UProperty which);
173 static UBool caseBinaryPropertyContains(const BinaryProperty &/*prop*/, UChar32 c, UProperty which)… in caseBinaryPropertyContains() argument
174 return ucase_hasBinaryProperty(c, which); in caseBinaryPropertyContains()
208 static UBool isNormInert(const BinaryProperty &/*prop*/, UChar32 c, UProperty which) { in isNormInert() argument
211 static_cast<UNormalizationMode>(which - UCHAR_NFD_INERT + UNORM_NFD), errorCode); in isNormInert()
327 static UBool hasEmojiProperty(const BinaryProperty &/*prop*/, UChar32 c, UProperty which) { in hasEmojiProperty() argument
328 return EmojiProps::hasBinaryProperty(c, which); in hasEmojiProperty()
487 u_hasBinaryProperty(UChar32 c, UProperty which) { in u_hasBinaryProperty() argument
489 if(which<UCHAR_BINARY_START || UCHAR_BINARY_LIMIT<=which) { in u_hasBinaryProperty()
493 const BinaryProperty &prop=binProps[which]; in u_hasBinaryProperty()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUCharacterProperty.java351 int which; field in UCharacterProperty.CaseBinaryProperty
352 CaseBinaryProperty(int which) { in CaseBinaryProperty() argument
354 this.which=which; in CaseBinaryProperty()
358 return UCaseProps.INSTANCE.hasBinaryProperty(c, which); in contains()
363 int which; field in UCharacterProperty.EmojiBinaryProperty
364 EmojiBinaryProperty(int which) { in EmojiBinaryProperty() argument
366 this.which=which; in EmojiBinaryProperty()
370 return EmojiProps.INSTANCE.hasBinaryProperty(c, which); in contains()
375 int which; field in UCharacterProperty.NormInertBinaryProperty
376 NormInertBinaryProperty(int source, int which) { in NormInertBinaryProperty() argument
[all …]
DEmojiProps.java143 public boolean hasBinaryProperty(int c, int which) { in hasBinaryProperty() argument
144 if (which < UProperty.EMOJI || UProperty.RGI_EMOJI < which) { in hasBinaryProperty()
147 int bit = bitFlags[which - UProperty.EMOJI]; in hasBinaryProperty()
155 public boolean hasBinaryProperty(CharSequence s, int which) { in hasBinaryProperty() argument
159 if (which < UProperty.BASIC_EMOJI || UProperty.RGI_EMOJI < which) { in hasBinaryProperty()
162 int firstProp = which, lastProp = which; in hasBinaryProperty()
163 if (which == UProperty.RGI_EMOJI) { in hasBinaryProperty()
181 public void addStrings(int which, UnicodeSet set) { in addStrings() argument
182 if (which < UProperty.BASIC_EMOJI || UProperty.RGI_EMOJI < which) { in addStrings()
185 int firstProp = which, lastProp = which; in addStrings()
[all …]
/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/impl/
DUCharacterProperty.java350 int which; field in UCharacterProperty.CaseBinaryProperty
351 CaseBinaryProperty(int which) { in CaseBinaryProperty() argument
353 this.which=which; in CaseBinaryProperty()
357 return UCaseProps.INSTANCE.hasBinaryProperty(c, which); in contains()
362 int which; field in UCharacterProperty.EmojiBinaryProperty
363 EmojiBinaryProperty(int which) { in EmojiBinaryProperty() argument
365 this.which=which; in EmojiBinaryProperty()
369 return EmojiProps.INSTANCE.hasBinaryProperty(c, which); in contains()
374 int which; field in UCharacterProperty.NormInertBinaryProperty
375 NormInertBinaryProperty(int source, int which) { in NormInertBinaryProperty() argument
[all …]
DEmojiProps.java139 public boolean hasBinaryProperty(int c, int which) { in hasBinaryProperty() argument
140 if (which < UProperty.EMOJI || UProperty.RGI_EMOJI < which) { in hasBinaryProperty()
143 int bit = bitFlags[which - UProperty.EMOJI]; in hasBinaryProperty()
151 public boolean hasBinaryProperty(CharSequence s, int which) { in hasBinaryProperty() argument
155 if (which < UProperty.BASIC_EMOJI || UProperty.RGI_EMOJI < which) { in hasBinaryProperty()
158 int firstProp = which, lastProp = which; in hasBinaryProperty()
159 if (which == UProperty.RGI_EMOJI) { in hasBinaryProperty()
177 public void addStrings(int which, UnicodeSet set) { in addStrings() argument
178 if (which < UProperty.BASIC_EMOJI || UProperty.RGI_EMOJI < which) { in addStrings()
181 int firstProp = which, lastProp = which; in addStrings()
[all …]
/external/rust/android-crates-io/crates/which/
DREADME.md1 …Status](https://github.com/harryfei/which-rs/actions/workflows/rust.yml/badge.svg)](https://github…
3 # which chapter
5 A Rust equivalent of Unix command "which". Locate installed executable in cross platforms.
15 1) To find which rustc executable binary is using.
18 use which::which;
20 let result = which("rustc").unwrap();
27 use which::which_re;
35 The documentation is [available online](https://docs.rs/which/).
/external/ltp/testcases/kernel/syscalls/setpriority/
Dsetpriority01.c25 int which; member
33 static const char *str_which(int which) in str_which() argument
35 switch (which) { in str_which()
53 TEST(setpriority(tc->which, *tc->who, new_prio)); in setpriority_test()
58 tc->which, *tc->who, new_prio); in setpriority_test()
63 cur_prio = SAFE_GETPRIORITY(tc->which, *tc->who); in setpriority_test()
75 str_which(tc->which), tc->which, *tc->who); in setpriority_test()
83 if (tc->which == PRIO_USER && !user_added) { in verify_setpriority()
85 str_which(tc->which), tc->which, *tc->who); in verify_setpriority()
/external/sdv/vsomeip/third_party/boost/serialization/include/boost/serialization/
Dvariant.hpp67 int which = v.which(); in save() local
68 ar << BOOST_SERIALIZATION_NVP(which); in save()
90 int which, in invoke()
94 if(which == 0){ in invoke()
108 variant_impl<type>::load(ar, which - 1, v, version); in invoke()
115 int which, in load()
123 typex::invoke(ar, which, v, version); in load()
134 int which; in load() local
136 ar >> BOOST_SERIALIZATION_NVP(which); in load()
137 if(which >= mpl::size<types>::value) in load()
[all …]

12345678910>>...597