Home
last modified time | relevance | path

Searched refs:set (Results 76 - 100 of 6158) sorted by relevance

12345678910>>...247

/third_party/python/Lib/test/
H A Dtest_context.py56 t = c.set(1)
157 var.set('spam')
177 var.set('spam')
193 c.set(42)
216 t0 = c.set(42)
223 t = c.set('spam')
232 c.set('spam2')
267 t1 = v1.set(42)
285 t = c.set(1)
301 tok = ctx.run(c.set,
[all...]
H A Dtest_dictviews.py24 self.assertEqual(set(keys), {1, "a"})
44 self.assertEqual(set(items), {(1, 10), ("a", "ABC")})
72 self.assertEqual(set(values), {10, "ABC"})
97 class CustomSet(set):
103 self.assertEqual(d1.keys() & d3.keys(), set())
104 self.assertEqual(d1.keys() & set(d1.keys()), {'a', 'b'})
105 self.assertEqual(d1.keys() & set(d2.keys()), {'b'})
106 self.assertEqual(d1.keys() & set(d3.keys()), set())
110 self.assertEqual(d4.keys() & set(d
[all...]
/third_party/musl/libc-test/src/functional/
H A Dsearch_lsearch.c12 #define set(k) do{ \ macro
24 set(""); in main()
25 set("a"); in main()
26 set("b"); in main()
27 set("abc"); in main()
28 set("cd"); in main()
29 set("e"); in main()
30 set("ef"); in main()
31 set("g"); in main()
32 set(" in main()
[all...]
H A Dsearch_hsearch.c11 #define set(k,v) do{ \ macro
29 set("", 0); in main()
30 set("a", 1); in main()
31 set("b", 2); in main()
32 set("abc", 3); in main()
33 set("cd", 4); in main()
34 set("e", 5); in main()
35 set("ef", 6); in main()
36 set("g", 7); in main()
37 set(" in main()
[all...]
/third_party/python/Lib/venv/scripts/nt/
H A Dactivate.bat5 set _OLD_CODEPAGE=%%a
11 set VIRTUAL_ENV=__VENV_DIR__
13 if not defined PROMPT set PROMPT=$P$G
15 if defined _OLD_VIRTUAL_PROMPT set PROMPT=%_OLD_VIRTUAL_PROMPT%
16 if defined _OLD_VIRTUAL_PYTHONHOME set PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%
18 set _OLD_VIRTUAL_PROMPT=%PROMPT%
19 set PROMPT=__VENV_PROMPT__%PROMPT%
21 if defined PYTHONHOME set _OLD_VIRTUAL_PYTHONHOME=%PYTHONHOME%
22 set PYTHONHOME=
24 if defined _OLD_VIRTUAL_PATH set PAT
[all...]
/third_party/toybox/toys/pending/
H A Dtr.c41 for (; i; i--, k++) TT.map[set1[k]] = set1[k]|0x100; //set delete bit in map_translation()
130 char *set = xzalloc(size*sizeof(char)); in expand_set() local
136 set = xrealloc(set, size); in expand_set()
140 set[i++] = (int)handle_escape_char(&arg); in expand_set()
149 while (j <= k) set[i++] = j++; in expand_set()
158 for (k = 'A'; k <= 'Z'; k++) set[i++] = k; in expand_set()
161 for (k = 'a'; k <= 'z'; k++) set[i++] = k; in expand_set()
164 for (k = '0'; k <= '9'; k++) set[i++] = k; in expand_set()
167 set[ in expand_set()
231 do_complement(char **set) do_complement() argument
[all...]
/third_party/python/Tools/msi/
H A Dget_externals.bat5 set HERE=%~dp0
6 if "%PCBUILD%"=="" (set PCBUILD=%HERE%..\..\PCbuild\)
7 if "%EXTERNALS_DIR%"=="" (set EXTERNALS_DIR=%HERE%..\..\externals\windows-installer)
8 if "%NUGET%"=="" (set NUGET=%EXTERNALS_DIR%\..\nuget.exe)
9 if "%NUGET_URL%"=="" (set NUGET_URL=https://aka.ms/nugetclidl)
11 set DO_FETCH=true
12 set DO_CLEAN=false
15 if "%~1"=="--python" (set PYTHON=%2) & shift & shift & goto CheckOpts
16 if "%~1"=="--organization" (set ORG=%2) & shift & shift & goto CheckOpts
17 if "%~1"=="-c" (set DO_CLEA
[all...]
H A Dbuild.bat3 set D=%~dp0
4 set PCBUILD=%D%..\..\PCbuild\
6 set BUILDX86=
7 set BUILDX64=
8 set BUILDARM64=
9 set BUILDDOC=
10 set BUILDTEST=
11 set BUILDPACK=
12 set REBUILD=
16 if /I "%~1" EQU "-x86" (set BUILDX8
[all...]
/third_party/protobuf/js/experimental/runtime/kernel/
H A Dbinary_storage_test.js41 storage.set(1, field1);
42 storage.set(DEFAULT_PIVOT, field2);
52 storage.set(DEFAULT_PIVOT + 1, field1);
53 storage.set(100000, field2);
62 storage.set(0, field1);
63 storage.set(100000, field2);
73 storage.set(0, field1);
74 storage.set(DEFAULT_PIVOT, field2);
75 storage.set(DEFAULT_PIVOT + 1, field3);
95 storage.set(10000
[all...]
/third_party/curl/projects/
H A Dbuild-wolfssl.bat33 set SUCCESSFUL_BUILDS=
34 set VC_VER=
35 set BUILD_PLATFORM=
36 set DEFAULT_START_DIR=..\..\wolfssl
40 set "PF=%PROGRAMFILES%"
41 set OS_PLATFORM=x86
46 set "PF=%PROGRAMFILES%"
48 set "PF=%PROGRAMFILES(x86)%"
50 set OS_PLATFORM=x64
60 set VC_VE
[all...]
/third_party/skia/third_party/externals/angle2/src/common/
H A Dbitset_utils_unittest.cpp44 mBits.set(i); in TYPED_TEST()
81 // Test that flip, set and reset all bits at once work. in TYPED_TEST()
89 mBits.set(); in TYPED_TEST()
105 EXPECT_EQ(mBits.set(12).bits() & ~kMask, 0u); in TYPED_TEST()
106 EXPECT_EQ(mBits.set(13).bits() & ~kMask, 0u); in TYPED_TEST()
188 std::set<size_t> originalValues; in TYPED_TEST()
196 mStateBits.set(value); in TYPED_TEST()
199 std::set<size_t> readValues; in TYPED_TEST()
219 mStateBits.set(value); in TYPED_TEST()
253 mStateBits.set( in TYPED_TEST()
[all...]
/applications/standard/contacts_data/ability/merge/include/
H A Dmerger_contacts.h29 int ForceContactMerge(std::shared_ptr<OHOS::NativeRdb::RdbStore>, std::set<int>);
36 std::shared_ptr<OHOS::NativeRdb::RdbStore>, std::set<std::string>, std::set<int>, std::vector<std::set<int>> &);
37 std::vector<std::set<int>> SelectIdsByName(std::shared_ptr<OHOS::NativeRdb::RdbStore>, std::set<int>);
38 void UpdateCandidate(std::shared_ptr<OHOS::NativeRdb::RdbStore>, std::vector<int>, std::vector<std::set<int>> &);
39 int MergeCircle(std::shared_ptr<OHOS::NativeRdb::RdbStore>, std::vector<std::set<int>>);
40 std::vector<std::set<int>> QueryMergeContacts(std::shared_ptr<OHOS::NativeRdb::RdbStore>, int);
42 void UpdateRawContacts(std::shared_ptr<OHOS::NativeRdb::RdbStore>, int, std::set<in
[all...]
/third_party/node/lib/internal/util/
H A Ddebuglog.js38 function emitWarningIfNeeded(set) {
39 if ('HTTP' === set || 'HTTP2' === set) {
41 'to \'' + StringPrototypeToLowerCase(set) + '\' can expose sensitive ' +
55 function debuglogImpl(enabled, set) {
56 if (debugImpls[set] === undefined) {
59 emitWarningIfNeeded(set);
60 debugImpls[set] = function debug(...args) {
64 process.stderr.write(format('%s %s: %s\n', set, coloredPID, msg));
67 debugImpls[set]
[all...]
/third_party/node/test/parallel/
H A Dtest-internal-iterable-weak-map.js22 wm.set(_cache.moduleA, 'hello');
23 wm.set(_cache.moduleB, 'discard');
24 wm.set(_cache.moduleC, 'goodbye');
41 wm.set(_cache.moduleA, 'hello');
42 wm.set(_cache.moduleB, 'goodbye');
43 wm.set(_cache.moduleB, 'goodnight');
56 wm.set(_cache.moduleA, 'hello');
57 wm.set(_cache.moduleB, 'discard');
58 wm.set(_cache.moduleC, 'goodbye');
72 wm.set(_cach
[all...]
/third_party/vk-gl-cts/framework/delibs/depool/
H A DdePoolSet.c21 * \brief Memory pool set class.
34 deTestSet* set = deTestSet_create(pool); in dePoolSet_selfTest() local
37 /* Test exists() on empty set. */ in dePoolSet_selfTest()
38 DE_TEST_ASSERT(deTestSet_getNumElements(set) == 0); in dePoolSet_selfTest()
40 DE_TEST_ASSERT(!deTestSet_exists(set, (deInt16)i)); in dePoolSet_selfTest()
44 deTestSet_insert(set, (deInt16)i); in dePoolSet_selfTest()
46 DE_TEST_ASSERT(deTestSet_getNumElements(set) == 5000); in dePoolSet_selfTest()
50 deBool found = deTestSet_exists(set, (deInt16)i); in dePoolSet_selfTest()
56 deTestSet_delete(set, (deInt16)i); in dePoolSet_selfTest()
58 DE_TEST_ASSERT(deTestSet_getNumElements(set) in dePoolSet_selfTest()
[all...]
/third_party/python/Modules/_ctypes/libffi_osx/x86/
H A Dx86-darwin.S316 .set L$set$0,LECIE1-LSCIE1
317 .long L$set$0
337 .set L$set$1,LEFDE1-LASFDE1
338 .long L$set$1
342 .set L$set$2,LFE1-LFB1
343 .long L$set$2
346 .set
[all...]
/third_party/typescript/tests/baselines/reference/
H A DcommentsClassMembers.js15 public set p3(/** this is value*/value: number) {
29 private set pp3( /** this is value*/value: number) {
46 static set s3( /** this is value*/value: number) {
56 public set nc_p3(value: number) {
66 private set nc_pp3(value: number) {
76 static set nc_s3(value: number) {
91 public set a_p3(value: number) {
105 private set a_pp3(value: number) {
121 static set a_s3(value: number) {
136 public set b_p
[all...]
H A DreadonlyInDeclarationFile.js16 private set c1(value) { }
18 protected set c2(value) { }
20 public set c3(value) { }
28 private static set u1(value) { }
30 protected static set u2(value) { }
32 public static set u3(value) { }
44 set y(value) { }
77 set: function (value) { },
83 set: function (value) { },
89 set
[all...]
/third_party/python/PCbuild/
H A Dbuild.bat58 set platf=x64
59 set conf=Release
60 set target=Build
61 set dir=%~dp0
62 set parallel=/m
63 set verbose=/nologo /v:m /clp:summary
64 set kill=
65 set do_pgo=
66 set pgo_job=-m test --pgo
70 if "%~1"=="-c" (set con
[all...]
/third_party/musl/porting/linux/user/include/
H A Dsched.h95 #define __CPU_op_S(i, size, set, op) ( (i)/8U >= (size) ? 0 : \
96 (((unsigned long *)(set))[(i)/8/sizeof(long)] op (1UL<<((i)%(8*sizeof(long))))) )
98 #define CPU_SET_S(i, size, set) __CPU_op_S(i, size, set, |=)
99 #define CPU_CLR_S(i, size, set) __CPU_op_S(i, size, set, &=~)
100 #define CPU_ISSET_S(i, size, set) __CPU_op_S(i, size, set, &)
120 #define CPU_COUNT_S(size,set) __sched_cpucount(size,set)
[all...]
/third_party/musl/porting/liteos_m/user/include/
H A Dsched.h92 #define __CPU_op_S(i, size, set, op) ( (i)/8U >= (size) ? 0 : \
93 (((unsigned long *)(set))[(i)/8/sizeof(long)] op (1UL<<((i)%(8*sizeof(long))))) )
95 #define CPU_SET_S(i, size, set) __CPU_op_S(i, size, set, |=)
96 #define CPU_CLR_S(i, size, set) __CPU_op_S(i, size, set, &=~)
97 #define CPU_ISSET_S(i, size, set) __CPU_op_S(i, size, set, &)
117 #define CPU_COUNT_S(size,set) __sched_cpucount(size,set)
[all...]
/third_party/musl/include/
H A Dsched.h106 #define __CPU_op_S(i, size, set, op) ( (i)/8U >= (size) ? 0 : \
107 (((unsigned long *)(set))[(i)/8/sizeof(long)] op (1UL<<((i)%(8*sizeof(long))))) )
109 #define CPU_SET_S(i, size, set) __CPU_op_S(i, size, set, |=)
110 #define CPU_CLR_S(i, size, set) __CPU_op_S(i, size, set, &=~)
111 #define CPU_ISSET_S(i, size, set) __CPU_op_S(i, size, set, &)
131 #define CPU_COUNT_S(size,set) __sched_cpucount(size,set)
[all...]
/third_party/mesa3d/src/intel/perf/
H A Dgen_perf.py230 def resolve_variable(name, set, allow_counters):
239 if allow_counters and name in set.counter_vars:
240 return set.read_funcs[name[1:]] + "(perf, query, results)"
243 def output_rpn_equation_code(set, counter, equation):
259 resolved_variable = resolve_variable(operand, set, True)
261 raise Exception("Failed to resolve variable " + operand + " in equation " + equation + " for " + set.name + " :: " + counter.get('name'));
271 raise Exception("Spurious empty rpn code for " + set.name + " :: " +
278 resolved_variable = resolve_variable(value, set, True)
280 raise Exception("Failed to resolve variable " + operand + " in equation " + equation + " for " + set.name + " :: " + counter.get('name'));
285 def splice_rpn_expression(set, counte
[all...]
/third_party/skia/gm/
H A Dimagescalealigned.cpp29 auto& set = fSets.push_back(); variable
31 set.fVector = vectors[i];
32 set.fImages.push_back() = MakeImage(vectors[i], SK_ColorGREEN);
33 set.fScales.push_back() = 1;
34 set.fImages.push_back() = MakeImage(vectors[i], SK_ColorRED);
35 set.fScales.push_back() = kStretchFactor;
36 set.fImages.push_back() = MakeImage(vectors[i], SK_ColorGREEN);
37 set.fScales.push_back() = 1;
119 auto& set = fSets[i]; in drawSets() local
124 lastPt = drawSet(canvas, set, sampling in drawSets()
134 drawSet(SkCanvas* canvas, const ImageSet& set, const SkSamplingOptions& sampling, const SkPaint& paint) const drawSet() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
H A DTestCase.java41 protected void set(int field, int value) { in set() method in TestCase
101 set(Calendar.ERA, era); in TestCase()
102 set(Calendar.YEAR, year); in TestCase()
103 set(Calendar.MONTH, month - 1); in TestCase()
104 set(Calendar.DATE, day); in TestCase()
105 set(Calendar.DAY_OF_WEEK, dayOfWeek); in TestCase()
106 set(Calendar.HOUR, hour); in TestCase()
107 set(Calendar.MINUTE, min); in TestCase()
108 set(Calendar.SECOND, sec); in TestCase()
135 greg.set(gregYea in TestCase()
[all...]

Completed in 11 milliseconds

12345678910>>...247