Home
last modified time | relevance | path

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

12345678910>>...254

/third_party/libinput/udev/
Dtest-libinput-fuzz-extract.c37 uint32_t which; in START_TEST() member
42 { .which = (MIN|MAX), in START_TEST()
45 { .which = (MIN|MAX), in START_TEST()
48 { .which = (MIN|MAX|RES), in START_TEST()
51 { .which = (RES), in START_TEST()
54 { .which = (MIN), in START_TEST()
57 { .which = (MAX|RES), in START_TEST()
60 { .which = (MIN|MAX|RES|FUZZ), in START_TEST()
63 { .which = (MIN|MAX|RES|FUZZ|FLAT), in START_TEST()
66 { .which = (MIN|RES|FUZZ|FLAT), in START_TEST()
[all …]
/third_party/toybox/
Dmain.c76 toys.which = toy_list; in unknown()
81 static void toy_singleinit(struct toy_list *which, char *argv[]) in toy_singleinit() argument
83 toys.which = which; in toy_singleinit()
90 if (CFG_TOYBOX_HELP_DASHDASH && !(which->flags & TOYFLAG_NOHELP) && argv[1]) { in toy_singleinit()
92 if (CFG_TOYBOX && toys.which == toy_list && toys.argv[2]) in toy_singleinit()
93 if (!(toys.which = toy_find(toys.argv[2]))) unknown(toys.argv[2]); in toy_singleinit()
104 if (NEED_OPTIONS && which->options) get_optflags(); in toy_singleinit()
110 if (!(which->flags & TOYFLAG_UMASK)) umask(toys.old_umask); in toy_singleinit()
116 void toy_init(struct toy_list *which, char *argv[]) in toy_init() argument
118 void *oldwhich = toys.which; in toy_init()
[all …]
/third_party/toybox/porting/liteos_a/
Dmain.c76 toys.which = toy_list; in unknown()
81 static void toy_singleinit(struct toy_list *which, char *argv[]) in toy_singleinit() argument
83 toys.which = which; in toy_singleinit()
90 if (CFG_TOYBOX_HELP_DASHDASH && !(which->flags & TOYFLAG_NOHELP) && argv[1]) { in toy_singleinit()
92 if (CFG_TOYBOX && toys.which == toy_list && toys.argv[2]) in toy_singleinit()
93 if (!(toys.which = toy_find(toys.argv[2]))) unknown(toys.argv[2]); in toy_singleinit()
104 if (NEED_OPTIONS && which->options) get_optflags(); in toy_singleinit()
110 if (!(which->flags & TOYFLAG_UMASK)) umask(toys.old_umask); in toy_singleinit()
116 void toy_init(struct toy_list *which, char *argv[]) in toy_init() argument
118 void *oldwhich = toys.which; in toy_init()
[all …]
/third_party/node/deps/uv/src/unix/
Dopenbsd.c51 int which[] = {CTL_VM, VM_LOADAVG}; in uv_loadavg() local
53 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0) < 0) return; in uv_loadavg()
116 int which[] = {CTL_VM, VM_UVMEXP}; in uv_get_free_memory() local
118 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_free_memory()
127 int which[] = {CTL_HW, HW_PHYSMEM64}; in uv_get_total_memory() local
130 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_total_memory()
167 static int which[] = {CTL_KERN, KERN_BOOTTIME}; in uv_uptime() local
169 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_uptime()
185 int which[] = {CTL_HW,HW_MODEL}; in uv_cpu_info() local
192 if (sysctl(which, ARRAY_SIZE(which), &model, &size, NULL, 0)) in uv_cpu_info()
[all …]
Dnetbsd.c56 int which[] = {CTL_VM, VM_LOADAVG}; in uv_loadavg() local
58 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0) == -1) return; in uv_loadavg()
103 int which[] = {CTL_VM, VM_UVMEXP}; in uv_get_free_memory() local
105 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_free_memory()
115 int which[] = {CTL_HW, HW_PHYSMEM64}; in uv_get_total_memory() local
118 int which[] = {CTL_HW, HW_PHYSMEM}; in uv_get_total_memory()
122 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_total_memory()
168 static int which[] = {CTL_KERN, KERN_BOOTTIME}; in uv_uptime() local
170 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_uptime()
/third_party/libuv/src/unix/
Dopenbsd.c51 int which[] = {CTL_VM, VM_LOADAVG}; in uv_loadavg() local
53 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0) < 0) return; in uv_loadavg()
116 int which[] = {CTL_VM, VM_UVMEXP}; in uv_get_free_memory() local
118 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_free_memory()
127 int which[] = {CTL_HW, HW_PHYSMEM64}; in uv_get_total_memory() local
130 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_total_memory()
167 static int which[] = {CTL_KERN, KERN_BOOTTIME}; in uv_uptime() local
169 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_uptime()
185 int which[] = {CTL_HW,HW_MODEL}; in uv_cpu_info() local
192 if (sysctl(which, ARRAY_SIZE(which), &model, &size, NULL, 0)) in uv_cpu_info()
[all …]
Dnetbsd.c56 int which[] = {CTL_VM, VM_LOADAVG}; in uv_loadavg() local
58 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0) == -1) return; in uv_loadavg()
103 int which[] = {CTL_VM, VM_UVMEXP}; in uv_get_free_memory() local
105 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_free_memory()
115 int which[] = {CTL_HW, HW_PHYSMEM64}; in uv_get_total_memory() local
118 int which[] = {CTL_HW, HW_PHYSMEM}; in uv_get_total_memory()
122 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_total_memory()
168 static int which[] = {CTL_KERN, KERN_BOOTTIME}; in uv_uptime() local
170 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_uptime()
/third_party/node/deps/icu-small/source/common/
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()
415 u_hasBinaryProperty(UChar32 c, UProperty which) { in u_hasBinaryProperty() argument
417 if(which<UCHAR_BINARY_START || UCHAR_BINARY_LIMIT<=which) { in u_hasBinaryProperty()
421 const BinaryProperty &prop=binProps[which]; in u_hasBinaryProperty()
[all …]
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 …]
/third_party/icu/icu4c/source/common/
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()
415 u_hasBinaryProperty(UChar32 c, UProperty which) { in u_hasBinaryProperty() argument
417 if(which<UCHAR_BINARY_START || UCHAR_BINARY_LIMIT<=which) { in u_hasBinaryProperty()
421 const BinaryProperty &prop=binProps[which]; in u_hasBinaryProperty()
[all …]
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 UChar *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 UChar *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 …]
/third_party/node/deps/npm/node_modules/which/
DREADME.md1 # which chapter
3 Like the unix `which` utility.
12 const which = require('which')
16 const resolved = await which('node')
19 const resolvedOrNull = await which('node', { nothrow: true })
23 const resolved = which.sync('node')
26 const resolvedOrNull = which.sync('node', { nothrow: true })
29 await which('node', { path: someOtherPath, pathExt: somePathExt })
34 Just like the BSD `which(1)` binary but using `node-which`.
37 usage: node-which [-as] program ...
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUCharacterProperty.java345 int which; field in UCharacterProperty.CaseBinaryProperty
346 CaseBinaryProperty(int which) { in CaseBinaryProperty() argument
348 this.which=which; in CaseBinaryProperty()
352 return UCaseProps.INSTANCE.hasBinaryProperty(c, which); in contains()
357 int which; field in UCharacterProperty.EmojiBinaryProperty
358 EmojiBinaryProperty(int which) { in EmojiBinaryProperty() argument
360 this.which=which; in EmojiBinaryProperty()
364 return EmojiProps.INSTANCE.hasBinaryProperty(c, which); in contains()
369 int which; field in UCharacterProperty.NormInertBinaryProperty
370 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 …]
/third_party/skia/third_party/externals/icu/source/common/
Duprops.cpp158 typedef UBool BinaryPropertyContains(const BinaryProperty &prop, UChar32 c, UProperty which);
171 static UBool caseBinaryPropertyContains(const BinaryProperty &/*prop*/, UChar32 c, UProperty which)… in caseBinaryPropertyContains() argument
172 return static_cast<UBool>(ucase_hasBinaryProperty(c, which)); in caseBinaryPropertyContains()
206 static UBool isNormInert(const BinaryProperty &/*prop*/, UChar32 c, UProperty which) { in isNormInert() argument
209 (UNormalizationMode)(which-UCHAR_NFD_INERT+UNORM_NFD), errorCode); in isNormInert()
402 u_hasBinaryProperty(UChar32 c, UProperty which) { in u_hasBinaryProperty() argument
404 if(which<UCHAR_BINARY_START || UCHAR_BINARY_LIMIT<=which) { in u_hasBinaryProperty()
408 const BinaryProperty &prop=binProps[which]; in u_hasBinaryProperty()
409 return prop.contains(prop, c, which); in u_hasBinaryProperty()
415 typedef int32_t IntPropertyGetValue(const IntProperty &prop, UChar32 c, UProperty which);
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DUCharacterProperty.java345 int which; field in UCharacterProperty.CaseBinaryProperty
346 CaseBinaryProperty(int which) { in CaseBinaryProperty() argument
348 this.which=which; in CaseBinaryProperty()
352 return UCaseProps.INSTANCE.hasBinaryProperty(c, which); in contains()
357 int which; field in UCharacterProperty.NormInertBinaryProperty
358 NormInertBinaryProperty(int source, int which) { in NormInertBinaryProperty() argument
360 this.which=which; in NormInertBinaryProperty()
364 return Norm2AllModes.getN2WithImpl(which-UProperty.NFD_INERT).isInert(c); in contains()
554 public boolean hasBinaryProperty(int c, int which) { in hasBinaryProperty() argument
555 if(which<UProperty.BINARY_START || UProperty.BINARY_LIMIT<=which) { in hasBinaryProperty()
[all …]
/third_party/rust/crates/which-rs/
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/).
/third_party/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()
/third_party/node/deps/npm/node_modules/node-gyp/node_modules/which/
DREADME.md1 # which chapter
3 Like the unix `which` utility.
12 var which = require('which')
15 which('node', function (er, resolvedPath) {
21 which('node').then(resolvedPath => { ... }).catch(er => { ... not found ... })
25 var resolved = which.sync('node')
28 resolved = which.sync('node', {nothrow: true})
31 which('node', { path: someOtherPath }, function (er, resolved) {
40 Same as the BSD `which(1)` binary.
43 usage: which [-as] program ...
/third_party/node/deps/npm/node_modules/cross-spawn/node_modules/which/
DREADME.md1 # which chapter
3 Like the unix `which` utility.
12 var which = require('which')
15 which('node', function (er, resolvedPath) {
21 which('node').then(resolvedPath => { ... }).catch(er => { ... not found ... })
25 var resolved = which.sync('node')
28 resolved = which.sync('node', {nothrow: true})
31 which('node', { path: someOtherPath }, function (er, resolved) {
40 Same as the BSD `which(1)` binary.
43 usage: which [-as] program ...
/third_party/libinput/src/
Dquirks.h209 quirks_has_quirk(struct quirks *q, enum quirk which);
221 enum quirk which,
234 enum quirk which,
247 enum quirk which,
263 enum quirk which,
276 enum quirk which,
289 enum quirk which,
302 enum quirk which,
315 enum quirk which,
328 enum quirk which,
/third_party/selinux/checkpolicy/
Dpolicy_define.h15 avrule_t *define_cond_compute_type(int which);
17 avrule_t *define_cond_te_avtab(int which);
26 int define_default_user(int which);
27 int define_default_role(int which);
28 int define_default_type(int which);
29 int define_default_range(int which);
31 int define_compute_type(int which);
62 int define_te_avtab(int which);
63 int define_te_avtab_extended_perms(int which);
/third_party/typescript/tests/baselines/reference/
DimportHelpersNoHelpers.errors.txt1 …rror TS2343: This syntax requires an imported helper named '__exportStar' which does not exist in …
2 …: error TS2343: This syntax requires an imported helper named '__extends' which does not exist in …
3 … error TS2343: This syntax requires an imported helper named '__decorate' which does not exist in …
4 … error TS2343: This syntax requires an imported helper named '__metadata' which does not exist in …
5 …2): error TS2343: This syntax requires an imported helper named '__param' which does not exist in …
6 …): error TS2343: This syntax requires an imported helper named '__assign' which does not exist in …
7 …12): error TS2343: This syntax requires an imported helper named '__rest' which does not exist in …
13 !!! error TS2343: This syntax requires an imported helper named '__exportStar' which does not exist…
17 !!! error TS2343: This syntax requires an imported helper named '__extends' which does not exist in…
23 !!! error TS2343: This syntax requires an imported helper named '__decorate' which does not exist i…
[all …]
DcollisionArgumentsClassConstructor.errors.txt2 …S1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow thi…
3 …S1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow thi…
4 …S1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow thi…
6 …S1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow thi…
7 …S1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow thi…
8 …S1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow thi…
9 …S1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow thi…
10 …S1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow thi…
12 …S1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow thi…
13 …S1210: Code contained in a class is evaluated in JavaScript's strict mode which does not allow thi…
[all …]
DimplicitAnyAmbients.errors.txt2 tests/cases/compiler/implicitAnyAmbients.ts(5,14): error TS7010: 'f', which lacks return-type annot…
4 tests/cases/compiler/implicitAnyAmbients.ts(6,14): error TS7010: 'f2', which lacks return-type anno…
5 tests/cases/compiler/implicitAnyAmbients.ts(10,9): error TS7010: 'foo', which lacks return-type ann…
6 tests/cases/compiler/implicitAnyAmbients.ts(11,9): error TS7010: 'foo2', which lacks return-type an…
7 tests/cases/compiler/implicitAnyAmbients.ts(16,9): error TS7010: 'foo', which lacks return-type ann…
8 tests/cases/compiler/implicitAnyAmbients.ts(17,9): error TS7010: 'foo2', which lacks return-type an…
21 !!! error TS7010: 'f', which lacks return-type annotation, implicitly has an 'any' return type.
26 !!! error TS7010: 'f2', which lacks return-type annotation, implicitly has an 'any' return type.
32 !!! error TS7010: 'foo', which lacks return-type annotation, implicitly has an 'any' return type.
35 !!! error TS7010: 'foo2', which lacks return-type annotation, implicitly has an 'any' return type.
[all …]

12345678910>>...254