Home
last modified time | relevance | path

Searched refs:active (Results 1 - 25 of 242) sorted by relevance

12345678910

/third_party/node/test/parallel/
H A Dtest-performance-eventlooputil.js18 assert.deepStrictEqual(elu, { idle: 0, active: 0, utilization: 0 });
20 { idle: 0, active: 0, utilization: 0 });
22 { idle: 0, active: 0, utilization: 0 });
50 assert.strictEqual(elu3.active - elu1.active, elu4.active);
51 assert.ok(elu2.active > SPIN_DUR - 10, `${elu2.active} <= ${SPIN_DUR - 10}`);
52 assert.ok(elu2.active < elu4.active, `
[all...]
/third_party/node/lib/internal/perf/
H A Devent_loop_utilization.js11 return { idle: 0, active: 0, utilization: 0 };
16 const active = util1.active - util2.active;
17 return { idle, active, utilization: active / (idle + active) };
21 const active = now() - ls - idle;
24 return { idle, active, utilization: active / (idl
[all...]
/third_party/mbedtls/scripts/
H A Dconfig.py29 * active: True if name is defined, False if a #define for name is
34 def __init__(self, active, name, value='', section=None):
35 self.active = active
43 In the documentation of this class, a symbol is said to be *active*
48 * `name in config` is `True` if the symbol `name` is active, `False`
61 """True if the given symbol is active (i.e. set).
66 return name in self.settings and self.settings[name].active
69 """True if all the elements of names are active (i.e. set)."""
73 """True if at least one symbol in names are active (
[all...]
/third_party/ltp/pan/
H A Dltp-bump.c48 char *active = NULL; in main() local
56 active = malloc(strlen(optarg) + 1); in main()
57 strcpy(active, optarg); in main()
71 if (active == NULL) { in main()
72 active = zoo_getname(); in main()
73 if (active == NULL) { in main()
86 if ((zoo = zoo_open(active)) == NULL) { in main()
/third_party/node/lib/
H A Ddomain.js156 if (exports.active && domain)
209 exports.active = process.domain = null;
233 // The active domain is always the one that we're currently in.
234 exports.active = null;
251 // Pop all adjacent duplicates of the currently active domain from the stack.
255 while (exports.active === this) {
275 // the top-level domain is not active anymore, it would be ok to abort on
302 exports.active = process.domain = stack[stack.length - 1];
323 exports.active = process.domain = this;
337 exports.active
[all...]
/third_party/selinux/libselinux/utils/
H A Dgetsebool.c17 int i, get_all = 0, rc = 0, active, pending, len = 0, opt; in main() local
75 active = security_get_boolean_active(names[i]); in main()
76 if (active < 0) { in main()
79 fprintf(stderr, "Error getting active value for %s\n", in main()
98 if (pending != active) { in main()
100 (active ? "on" : "off"), in main()
104 (active ? "on" : "off")); in main()
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pt_fetch_shade_emit.c61 struct draw_vs_variant *active; member
146 fse->active = draw_vs_lookup_variant(draw->vs.vertex_shader, &fse->key); in fse_prepare()
148 if (!fse->active) { in fse_prepare()
154 fse->active->key.const_vbuffers); in fse_prepare()
159 fse->active->set_buffer(fse->active, in fse_prepare()
214 fse->active->run_linear(fse->active, start, count, hw_verts); in fse_run_linear()
273 fse->active->run_elts(fse->active, fetch_elt in fse_run()
[all...]
/third_party/libinput/test/
H A Dlitest-device-protocol-a-touch-screen.c33 bool active; member
68 assert(!s->active); in protocolA_down()
69 s->active = true; in protocolA_down()
74 if (!s->active) in protocolA_down()
112 assert(s->active); in protocolA_move()
116 if (!s->active) in protocolA_move()
149 assert(s->active); in protocolA_up()
150 s->active = false; in protocolA_up()
154 if (!s->active) in protocolA_up()
/third_party/node/lib/internal/
H A Dworker.js503 return { idle: 0, active: 0, utilization: 0 };
510 return { idle: 0, active: 0, utilization: 0 };
515 const active = util1.active - util2.active;
516 return { idle, active, utilization: active / (idle + active) };
525 const active = now() - this[kLoopStartTime] - idle;
528 return { idle, active, utilizatio
[all...]
/third_party/node/test/sequential/
H A Dtest-worker-eventlooputil.js67 { idle: 0, active: 0, utilization: 0 });
103 assert.ok(w2.active >= 50, `${w2.active} < 50`);
104 assert.ok(wElu.active >= 50, `${wElu.active} < 50`);
113 return elu.idle + elu.active;
/third_party/python/Modules/_decimal/tests/
H A Dformathelper.py239 active = sorted(random.sample(range(7), random.randrange(8)))
242 for elem in active:
259 if 4 in active: c = typespec.replace('n', '')
296 active = sorted(random.sample(range(5), random.randrange(6)))
300 for elem in active:
311 if 2 in active: c = 'EeGgFf%'
324 active = sorted(random.sample(range(5), random.randrange(6)))
327 for elem in active:
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSpirvShaderGroup.cpp41 auto mask = As<SIMD::UInt>(state->activeLaneMask()); // Considers helper invocations active. See b/151137030 in BinaryOperation()
94 // Result is true only in the active invocation with the lowest id in EmitGroupNonUniform()
96 SIMD::Int active = state->activeLaneMask(); // Considers helper invocations active. See b/151137030 in EmitGroupNonUniform() local
98 // elect = active & ~(active.Oxyz | active.OOxy | active.OOOx) in EmitGroupNonUniform()
100 auto elect = active & ~(v0111 & (active in EmitGroupNonUniform()
123 SIMD::UInt active = As<SIMD::UInt>(state->activeLaneMask()); // Considers helper invocations active. See b/151137030 EmitGroupNonUniform() local
160 SIMD::UInt active = As<SIMD::UInt>(state->activeLaneMask()); // Considers helper invocations active. See b/151137030 EmitGroupNonUniform() local
185 SIMD::Int active = state->activeLaneMask(); // Considers helper invocations active. See b/151137030 EmitGroupNonUniform() local
[all...]
/third_party/typescript/tests/baselines/reference/
H A DunusedLocalsAndObjectSpread2.js5 active: _a, // here!
12 active: _a,
35 _a = props.active, // here!
36 rest = __rest(props, ["children", "active"]);
38 var children = props.children, _a = props.active, rest = __rest(props, ["children", "active"]);
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
H A DCollectVariables_test.cpp118 EXPECT_TRUE(outputVariable.active); in validateOutputVariableForShader()
139 EXPECT_FALSE(uniform.active); in checkUniformStaticallyUsedButNotActive()
261 EXPECT_TRUE(outputVariable.active); in TEST_F()
287 EXPECT_TRUE(outputVariable.active); in TEST_F()
312 EXPECT_TRUE(attribute.active); in TEST_F()
339 EXPECT_TRUE(interfaceBlock.active); in TEST_F()
347 EXPECT_TRUE(field.active); in TEST_F()
377 EXPECT_TRUE(interfaceBlock.active); in TEST_F()
385 EXPECT_TRUE(field.active); in TEST_F()
416 EXPECT_TRUE(interfaceBlock.active); in TEST_F()
[all...]
/third_party/musl/src/malloc/mallocng/
H A Dfree.c79 // any multi-slot group is necessarily on an active list in nontrivial_free()
83 int activate_new = (ctx.active[sc]==g); in nontrivial_free()
84 dequeue(&ctx.active[sc], g); in nontrivial_free()
85 if (activate_new && ctx.active[sc]) in nontrivial_free()
86 activate_group(ctx.active[sc]); in nontrivial_free()
91 // might still be active if there were no allocations in nontrivial_free()
93 if (ctx.active[sc] != g) { in nontrivial_free()
94 queue(&ctx.active[sc], g); in nontrivial_free()
H A Dmalloc.c203 // activate more slots in a not-fully-active group in try_avail()
336 struct meta *g = ctx.active[j]; in alloc_group()
358 uint32_t first = try_avail(&ctx.active[sc]); in alloc_slot()
365 queue(&ctx.active[sc], g); in alloc_slot()
411 g = ctx.active[sc]; in malloc()
421 if (!ctx.active[sc|1] || (!ctx.active[sc|1]->avail_mask in malloc()
422 && !ctx.active[sc|1]->freed_mask)) in malloc()
426 g = ctx.active[sc]; in malloc()
458 g = ctx.active[s in malloc()
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DShaderVars.cpp40 active(false), in ShaderVariable()
75 active(other.active), in ShaderVariable()
106 active = other.active; in operator =()
134 staticUse != other.staticUse || active != other.active || in operator ==()
478 active(false), in InterfaceBlock()
493 active(other.active), in InterfaceBlock()
[all...]
/third_party/skia/third_party/externals/angle2/src/gpu_info_util/
H A DSystemInfo.cpp270 // applies test expectations on dual-GPU systems when the Intel GPU is active. in GetDualGPUInfo()
272 int active = 0; in GetDualGPUInfo() local
280 if (IsIntel(info->gpus[active].vendorId)) in GetDualGPUInfo()
282 active = static_cast<int>(i); in GetDualGPUInfo()
287 info->activeGPUIndex = active; in GetDualGPUInfo()
288 info->isOptimus = hasIntel && IsNVIDIA(info->gpus[active].vendorId); in GetDualGPUInfo()
289 info->isAMDSwitchable = hasIntel && IsAMD(info->gpus[active].vendorId); in GetDualGPUInfo()
/third_party/toybox/toys/other/
H A Dwatch.c70 unsigned width, height, i, cmdlen, len, xx QUIET, yy QUIET, active QUIET; in watch_main()
131 active = 1; in watch_main()
136 xpoll(pfd, 1+(active && yy<height), then-now); in watch_main()
145 if (active) { in watch_main()
147 if (pfd[1].revents&POLLHUP) active = 0; in watch_main()
/third_party/libwebsockets/lib/drivers/button/
H A Dlws-button.c103 * observed on any active button into context and either discard it or arrive at
144 * active level briefly in LWS_PLAT_TIMER_CB()
212 char active; in LWS_PLAT_TIMER_CB() local
232 active = bc->gpio_ops->read(bc->button_map[n].gpio) ^ in LWS_PLAT_TIMER_CB()
257 if (!active) { in LWS_PLAT_TIMER_CB()
293 if (!active) { in LWS_PLAT_TIMER_CB()
328 if (active) { in LWS_PLAT_TIMER_CB()
352 if (!active) { in LWS_PLAT_TIMER_CB()
383 if (!active) { in LWS_PLAT_TIMER_CB()
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/
H A Dlws-button.c141 * active level briefly in LWS_PLAT_TIMER_CB()
210 char active; in LWS_PLAT_TIMER_CB() local
228 active = bc->gpio_ops->read(bc->button_map[n].gpio) ^ in LWS_PLAT_TIMER_CB()
253 if (!active) { in LWS_PLAT_TIMER_CB()
286 if (!active) { in LWS_PLAT_TIMER_CB()
317 if (active) { in LWS_PLAT_TIMER_CB()
341 if (!active) { in LWS_PLAT_TIMER_CB()
366 if (!active) { in LWS_PLAT_TIMER_CB()
/third_party/jsframework/runtime/main/reactivity/
H A Dwatcher.js41 this.active = true;
127 if (this.active) {
164 if (this.active) {
177 this.active = false;
/third_party/musl/porting/linux/user/src/malloc/mallocng/
H A Dmalloc.c199 // activate more slots in a not-fully-active group in try_avail()
331 struct meta *g = ctx.active[j]; in alloc_group()
353 uint32_t first = try_avail(&ctx.active[sc]); in alloc_slot()
360 queue(&ctx.active[sc], g); in alloc_slot()
404 g = ctx.active[sc]; in malloc()
414 if (!ctx.active[sc|1] || (!ctx.active[sc|1]->avail_mask in malloc()
415 && !ctx.active[sc|1]->freed_mask)) in malloc()
419 g = ctx.active[sc]; in malloc()
451 g = ctx.active[s in malloc()
[all...]
/third_party/selinux/libselinux/src/
H A Daudit2why.c35 int active; member
59 boollist[boolcnt]->active = sepol_bool_get_value(boolean); in load_booleans()
81 int active = boollist[i]->active; in check_booleans() local
99 sepol_bool_set_value(boolean, !active); in check_booleans()
126 sepol_bool_set_value(boolean, active); in check_booleans()
156 b[i].active = !boollist[ctr]->active; in check_booleans()
411 PyObject *bool_ = Py_BuildValue("(si)", b->name, b->active); in analyze()
/third_party/ltp/tools/sparse/sparse-src/
H A Dlinearize.c649 struct basic_block *src = ep->active; in finish_block()
651 ep->active = NULL; in finish_block()
656 struct basic_block *src = ep->active; in add_goto()
664 ep->active = NULL; in add_goto()
670 struct basic_block *bb = ep->active; in add_one_insn()
682 ep->active = NULL; in add_unreachable()
687 if (!bb_terminated(ep->active)) in set_activeblock()
690 ep->active = bb; in set_activeblock()
721 /* Add a label to the currently active block, return new active bloc
2018 struct basic_block *active = ep->active; linearize_fn_statement() local
2217 struct basic_block *active; linearize_return() local
2232 struct basic_block *active, *default_case; linearize_switch() local
2397 struct basic_block *active; linearize_statement() local
[all...]

Completed in 14 milliseconds

12345678910