Home
last modified time | relevance | path

Searched refs:unique (Results 1 - 25 of 206) sorted by relevance

123456789

/third_party/typescript/tests/baselines/reference/
H A DuniqueSymbolsErrors.js3 declare const invalidUniqueType: unique number;
4 declare const {}: unique symbol;
5 declare let invalidLetType: unique symbol;
6 declare var invalidVarType: unique symbol;
9 declare function invalidArgType(arg: unique symbol): void;
10 declare function invalidRestArgType(...arg: (unique symbol)[]): void;
11 declare function invalidReturnType(): unique symbol;
12 declare function invalidThisType(this: unique symbol): void;
13 declare function invalidTypePredicate(n: any): n is unique symbol;
14 declare function invalidTypeParameterConstraint<T extends unique symbo
[all...]
H A DuniqueSymbolsDeclarations.js8 declare const constType: unique symbol;
11 const constTypeAndCall: unique symbol = Symbol();
60 static readonly readonlyStaticType: unique symbol;
61 static readonly readonlyStaticTypeAndCall: unique symbol = Symbol();
88 readonly readonlyType: unique symbol;
98 readonly readonlyType: unique symbol;
100 readonly readonlyNestedType: unique symbol;
116 // unique symbol widening in expressions
117 declare const s: unique symbol;
118 declare namespace N { const s: unique symbo
[all...]
H A DjsDeclarationsComputedNames.js80 declare const TopLevelSym: unique symbol;
81 declare const InnerSym: unique symbol;
91 declare const InnerSym: unique symbol;
92 declare const TopLevelSym: unique symbol;
H A DuniqueSymbolPropertyDeclarationEmit.js16 readonly or: unique symbol;
23 readonly ro: unique symbol;
51 readonly or: unique symbol;
H A DuniqueSymbols.js8 declare const constType: unique symbol;
11 const constTypeAndCall: unique symbol = Symbol();
33 const fromAny: unique symbol = {} as any;
64 static readonly readonlyStaticType: unique symbol;
65 static readonly readonlyStaticTypeAndCall: unique symbol = Symbol();
92 readonly readonlyType: unique symbol;
102 readonly readonlyType: unique symbol;
104 readonly readonlyNestedType: unique symbol;
120 // unique symbol widening in expressions
121 declare const s: unique symbo
[all...]
H A DuniqueSymbolsDeclarationsErrors.js2 declare const s: unique symbol;
3 interface I { readonly readonlyType: unique symbol; }
106 declare const s: unique symbol;
108 readonly readonlyType: unique symbol;
H A DdeclarationEmitExpressionWithNonlocalPrivateUniqueSymbol.js4 type AX = { readonly A: unique symbol };
25 readonly A: unique symbol;
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dnanobenchmark.cc340 // than std::sort for input distributions with very few unique values.
345 std::vector<Unique> unique; in CountingSort()
349 std::find_if(unique.begin(), unique.end(), in CountingSort()
351 if (pos == unique.end()) { in CountingSort()
352 unique.push_back(std::make_pair(value, 1)); in CountingSort()
359 std::sort(unique.begin(), unique.end()); in CountingSort()
361 // Write that many copies of each unique value to the array. in CountingSort()
363 for (const auto& value_count : unique) { in CountingSort()
558 NumSkip(const Func func, const void* arg, const InputVec& unique, const Params& p) NumSkip() argument
739 MeasureImpl(const Func func, const void* arg, const size_t num_skip, const InputVec& unique, const InputVec& full, const Params& p, Result* results) MeasureImpl() argument
784 const InputVec unique = UniqueInputs(inputs, num_inputs); Measure() local
[all...]
/third_party/skia/tests/
H A DRecorderTest.cpp63 REPORTER_ASSERT(r, paint.getShader()->unique()); in DEF_TEST()
68 REPORTER_ASSERT(r, !paint.getShader()->unique()); in DEF_TEST()
70 REPORTER_ASSERT(r, paint.getShader()->unique()); in DEF_TEST()
88 REPORTER_ASSERT(reporter, !image->unique()); in DEF_TEST()
95 REPORTER_ASSERT(reporter, image->unique()); in DEF_TEST()
104 REPORTER_ASSERT(reporter, !image->unique()); in DEF_TEST()
111 REPORTER_ASSERT(reporter, image->unique()); in DEF_TEST()
H A DUtilsTest.cpp35 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
39 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
42 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
47 REPORTER_ASSERT(reporter, !obj.unique()); in test_autounref()
51 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref()
57 REPORTER_ASSERT(reporter, obj0.unique()); in test_autostarray()
58 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray()
69 REPORTER_ASSERT(reporter, !obj0.unique()); in test_autostarray()
70 REPORTER_ASSERT(reporter, !obj1.unique()); in test_autostarray()
75 REPORTER_ASSERT(reporter, obj0.unique()); in test_autostarray()
[all...]
H A DRefCntTest.cpp32 REPORTER_ASSERT(reporter, ref->unique()); in test_refCnt()
66 REPORTER_ASSERT(reporter, ref->unique()); in test_weakRefCnt()
352 REPORTER_ASSERT(r, rc->unique()); in DEF_TEST()
357 REPORTER_ASSERT(r, rc->unique()); in DEF_TEST()
360 REPORTER_ASSERT(r, !rc->unique()); in DEF_TEST()
363 REPORTER_ASSERT(r, rc->unique()); in DEF_TEST()
368 REPORTER_ASSERT(r, rc->unique()); in DEF_TEST()
372 REPORTER_ASSERT(r, !rc->unique()); in DEF_TEST()
375 REPORTER_ASSERT(r, rc->unique()); in DEF_TEST()
H A DPictureShaderTest.cpp27 REPORTER_ASSERT(reporter, picture->unique()); in DEF_TEST()
38 REPORTER_ASSERT(reporter, !picture->unique()); in DEF_TEST()
51 REPORTER_ASSERT(reporter, picture->unique()); in DEF_TEST()
66 REPORTER_ASSERT(reporter, picture->unique()); in DEF_TEST()
97 REPORTER_ASSERT(reporter, picture->unique()); in DEF_TEST()
/third_party/node/test/parallel/
H A Dtest-process-getgroups.js34 const groups = unique(process.getgroups());
39 const real_groups = unique(stdout.match(/\d+/g).map(Number));
50 function unique(groups) { function
/third_party/alsa-utils/topology/
H A Dpre-process-class.c68 /* check if attribute is unique */
71 snd_config_t *unique; in tplg_class_is_attribute_unique() local
75 ret = snd_config_search(class_cfg, "attributes.unique", &unique); in tplg_class_is_attribute_unique()
79 if (snd_config_get_string(unique, &s) < 0) in tplg_class_is_attribute_unique()
154 /* get the name of the attribute that must have a unique value in the object instance */
158 snd_config_t *unique; in tplg_class_get_unique_attribute_name() local
165 ret = snd_config_search(class, "attributes.unique", &unique); in tplg_class_get_unique_attribute_name()
167 SNDERR("No unique attribut in tplg_class_get_unique_attribute_name()
[all...]
/third_party/eudev/src/libudev/
H A Dlibudev-list.c96 void udev_list_init(struct udev *udev, struct udev_list *list, bool unique) in udev_list_init() argument
100 list->unique = unique; in udev_list_init()
149 if (list->unique) { in udev_list_entry_add()
185 if (list->unique) { in udev_list_entry_add()
304 if (!list_entry->list->unique) in udev_list_entry_get_by_name()
/third_party/mesa3d/src/drm-shim/
H A Ddevice.c208 if (gu->unique && shim_device.unique) in drm_shim_ioctl_get_unique()
209 strncpy(gu->unique, shim_device.unique, gu->unique_len); in drm_shim_ioctl_get_unique()
210 gu->unique_len = shim_device.unique ? strlen(shim_device.unique) : 0; in drm_shim_ioctl_get_unique()
/third_party/libfuse/test/
H A Dstracedecode.c67 printf("unique: %llu, opcode: %s (%i), nodeid: %lu, len: %i, insize: %i\n", in process_buf()
68 (unsigned long long) in->unique, in process_buf()
88 prevuniq = in->unique; in process_buf()
94 printf(" unique: %llu, error: %i (%s), len: %i, outsize: %i\n", in process_buf()
95 (unsigned long long) out->unique, out->error, in process_buf()
98 if (out->unique == prevuniq) { in process_buf()
/third_party/skia/docs/examples/
H A DPaint_refShader.cpp9 SkDebugf("shader unique: %s\n", paint1.getShader()->unique() ? "true" : "false"); in REG_FIDDLE()
11 SkDebugf("shader unique: %s\n", paint1.getShader()->unique() ? "true" : "false"); in REG_FIDDLE()
H A DPixmap_setColorSpace.cpp11 SkDebugf("is %sunique\n", colorSpace1->unique() ? "" : "not "); in REG_FIDDLE()
13 SkDebugf("is %sunique\n", colorSpace1->unique() ? "" : "not "); in REG_FIDDLE()
H A DPaint_refColorFilter.cpp9 SkDebugf("color filter unique: %s\n", paint1.getColorFilter()->unique() ? "true" : "false"); in REG_FIDDLE()
11 SkDebugf("color filter unique: %s\n", paint1.getColorFilter()->unique() ? "true" : "false"); in REG_FIDDLE()
H A DPaint_refMaskFilter.cpp9 SkDebugf("mask filter unique: %s\n", paint1.getMaskFilter()->unique() ? "true" : "false"); in REG_FIDDLE()
11 SkDebugf("mask filter unique: %s\n", paint1.getMaskFilter()->unique() ? "true" : "false"); in REG_FIDDLE()
H A DPaint_refImageFilter.cpp9 SkDebugf("image filter unique: %s\n", paint1.getImageFilter()->unique() ? "true" : "false"); in REG_FIDDLE()
11 SkDebugf("image filter unique: %s\n", paint1.getImageFilter()->unique() ? "true" : "false"); in REG_FIDDLE()
H A DPaint_refPathEffect.cpp10 SkDebugf("path effect unique: %s\n", paint1.getPathEffect()->unique() ? "true" : "false"); in REG_FIDDLE()
12 SkDebugf("path effect unique: %s\n", paint1.getPathEffect()->unique() ? "true" : "false"); in REG_FIDDLE()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/
H A D3-1.c19 static struct unique { struct
46 struct unique *tst; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sched_h/
H A D10-1.c11 * The policies symbols shall have unique value
20 static struct unique { struct
39 struct unique *tst; in main()

Completed in 8 milliseconds

123456789