Home
last modified time | relevance | path

Searched refs:scope (Results 1 - 25 of 875) sorted by relevance

12345678910>>...35

/third_party/gn/src/gn/
H A Dfunction_rebase_path_unittest.cc13 std::string RebaseOne(Scope* scope, in RebaseOne() argument
24 Value result = functions::RunRebasePath(scope, &function, args, &err); in RebaseOne()
35 Scope* scope = setup.scope(); in TEST() local
36 scope->set_source_dir(SourceDir("//tools/gn/")); in TEST()
39 EXPECT_EQ("../../tools/gn", RebaseOne(scope, ".", "//out/Debug", ".")); in TEST()
40 EXPECT_EQ("../../tools/gn/", RebaseOne(scope, "./", "//out/Debug", ".")); in TEST()
41 EXPECT_EQ("../../tools/gn/foo", RebaseOne(scope, "foo", "//out/Debug", ".")); in TEST()
42 EXPECT_EQ("../..", RebaseOne(scope, "../..", "//out/Debug", ".")); in TEST()
43 EXPECT_EQ("../../", RebaseOne(scope, " in TEST()
97 Scope* scope = setup.scope(); TEST() local
[all...]
H A Dfunctions.h29 using SelfEvaluatingArgsFunction = Value (*)(Scope* scope,
35 using GenericBlockFunction = Value (*)(Scope* scope,
50 using NoBlockFunction = Value (*)(Scope* scope,
58 Value RunAction(Scope* scope,
67 Value RunActionForEach(Scope* scope,
76 Value RunAssert(Scope* scope,
84 Value RunBundleData(Scope* scope,
93 Value RunCreateBundle(Scope* scope,
118 Value RunDeclareArgs(Scope* scope,
127 Value RunDefined(Scope* scope,
[all...]
H A Dfunctions_target_rust_unittest.cc7 #include "gn/scope.h"
20 setup.scope()->set_item_collector(&item_collector); in TEST_F()
21 setup.scope()->set_source_dir(SourceDir("/")); in TEST_F()
30 exe_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
41 lib_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
54 setup.scope()->set_item_collector(&item_collector); in TEST_F()
55 setup.scope()->set_source_dir(SourceDir("/")); in TEST_F()
64 normal_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
78 normal_shlib_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
90 exe_input.parsed()->Execute(setup.scope(), in TEST_F()
[all...]
H A Dargs_unittest.cc20 setup1.scope()->SetValue("a", Value(nullptr, true), &assignment1); in TEST()
21 setup1.scope()->GetCurrentScopeValues(&key_value_map1); in TEST()
22 EXPECT_TRUE(args.DeclareArgs(key_value_map1, setup1.scope(), &err)); in TEST()
25 setup2.scope()->SetValue("b", Value(nullptr, true), &assignment2); in TEST()
27 setup2.scope()->GetCurrentScopeValues(&key_value_map2); in TEST()
28 EXPECT_TRUE(args.DeclareArgs(key_value_map2, setup2.scope(), &err)); in TEST()
55 args.SetupRootScope(setup.scope(), toolchain_overrides); in TEST()
58 EXPECT_EQ(nullptr, setup.scope()->GetValue("a")); in TEST()
59 EXPECT_EQ(nullptr, setup.scope()->GetValue("b")); in TEST()
63 ASSERT_NE(nullptr, setup.scope() in TEST()
[all...]
H A Dc_tool.cc106 bool CTool::ReadPrecompiledHeaderType(Scope* scope, Err* err) { in ReadPrecompiledHeaderType() argument
107 const Value* value = scope->GetValue("precompiled_header_type", true); in ReadPrecompiledHeaderType()
128 bool CTool::ReadDepsFormat(Scope* scope, Err* err) { in ReadDepsFormat() argument
129 const Value* value = scope->GetValue("depsformat", true); in ReadDepsFormat()
146 bool CTool::ReadOutputsPatternList(Scope* scope, in ReadOutputsPatternList() argument
152 const Value* value = scope->GetValue(var, true); in ReadOutputsPatternList()
183 bool CTool::InitTool(Scope* scope, Toolchain* toolchain, Err* err) { in InitTool() argument
185 if (!Tool::InitTool(scope, toolchain, err)) { in InitTool()
190 if (!ReadOutputsPatternList(scope, "outputs", /*required=*/true, &outputs_, in InitTool()
195 if (!ReadDepsFormat(scope, er in InitTool()
[all...]
H A Dfunctions_target_unittest.cc6 #include "gn/scope.h"
19 setup.scope()->set_item_collector(&item_collector); in TEST_F()
27 good_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
37 source_set_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
47 setup.scope()->set_item_collector(&item_collector); in TEST_F()
56 nonscoped_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
66 scoped_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
76 nonexistent_arg_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
87 exclusion_input.parsed()->Execute(setup.scope(), &err); in TEST_F()
98 error_input.parsed()->Execute(setup.scope(), in TEST_F()
[all...]
/third_party/jerryscript/jerry-ext/handle-scope/
H A Dhandle-scope.c17 #include "handle-scope-internal.h"
20 * Opens a new handle scope and attach it to current global scope as a child scope.
22 * @param result - [out value] opened scope.
33 * Release all jerry values attached to given scope
35 * @param scope - the scope of handles to be released.
38 jerryx_handle_scope_release_handles (jerryx_handle_scope scope) in jerryx_handle_scope_release_handles() argument
40 size_t prelist_handle_count = scope in jerryx_handle_scope_release_handles()
71 jerryx_close_handle_scope(jerryx_handle_scope scope) jerryx_close_handle_scope() argument
111 jerryx_close_escapable_handle_scope(jerryx_handle_scope scope) jerryx_close_escapable_handle_scope() argument
126 jerryx_hand_scope_escape_handle_from_prelist(jerryx_handle_scope scope, size_t idx) jerryx_hand_scope_escape_handle_from_prelist() argument
157 jerryx_escape_handle_internal(jerryx_escapable_handle_scope scope, jerry_value_t escapee, jerry_value_t *result, bool should_promote) jerryx_escape_handle_internal() argument
274 jerryx_escape_handle(jerryx_escapable_handle_scope scope, jerry_value_t escapee, jerry_value_t *result) jerryx_escape_handle() argument
291 jerryx_remove_handle(jerryx_escapable_handle_scope scope, jerry_value_t escapee, jerry_value_t *result) jerryx_remove_handle() argument
306 jerryx_handle_scope_add_handle_to(jerryx_handle_t *handle, jerryx_handle_scope scope) jerryx_handle_scope_add_handle_to() argument
331 jerryx_create_handle_in_scope(jerry_value_t jval, jerryx_handle_scope scope) jerryx_create_handle_in_scope() argument
[all...]
H A Dhandle-scope-allocator.c17 #include "handle-scope-internal.h"
34 #define JERRYX_HANDLE_SCOPE_PRELIST_IDX(scope) (scope - jerryx_handle_scope_pool.prelist)
37 * Get current handle scope top of stack.
46 * Get root handle scope.
55 * Determines if given handle scope is located in pre-allocated list.
57 * @param scope - the one to be determined.
60 jerryx_handle_scope_is_in_prelist (jerryx_handle_scope_t *scope) in jerryx_handle_scope_is_in_prelist() argument
62 return (jerryx_handle_scope_pool.prelist <= scope) in jerryx_handle_scope_is_in_prelist()
63 && (scope < in jerryx_handle_scope_is_in_prelist()
76 jerryx_handle_scope_get_parent(jerryx_handle_scope_t *scope) jerryx_handle_scope_get_parent() argument
109 jerryx_handle_scope_get_child(jerryx_handle_scope_t *scope) jerryx_handle_scope_get_child() argument
152 jerryx_handle_scope_t *scope; jerryx_handle_scope_alloc() local
194 jerryx_handle_scope_free(jerryx_handle_scope_t *scope) jerryx_handle_scope_free() argument
[all...]
/third_party/mesa3d/src/compiler/isaspec/
H A Ddecode.c55 * Decode scope. When parsing a field that is itself a bitset, we push a
56 * new scope to the stack. A nested bitset is allowed to resolve fields
57 * from an enclosing scope (needed, for example, to decode src register
73 * Enclosing scope
101 * would require re-evaluation. But for a given scope, each evaluation
108 * in a given scope to have overlapping cache lookup idx's.
150 * Current topmost/innermost level of scope used for decoding fields,
154 struct decode_scope *scope; member
195 static void display(struct decode_scope *scope);
253 struct decode_scope *scope in push_scope() local
266 pop_scope(struct decode_scope *scope) pop_scope() argument
278 evaluate_expr(struct decode_scope *scope, isa_expr_t expr) evaluate_expr() argument
361 find_field(struct decode_scope *scope, const struct isa_bitset *bitset, const char *name, size_t name_len) find_field() argument
401 extract_field(struct decode_scope *scope, const struct isa_field *field) extract_field() argument
420 find_display(struct decode_scope *scope, const struct isa_bitset *bitset) find_display() argument
462 display_bitset_field(struct decode_scope *scope, const struct isa_field *field, bitmask_t val) display_bitset_field() argument
479 display_enum_field(struct decode_scope *scope, const struct isa_field *field, bitmask_t val) display_enum_field() argument
495 resolve_field(struct decode_scope *scope, const char *field_name, size_t field_name_len, bitmask_t *valp) resolve_field() argument
533 isa_decode_field(struct decode_scope *scope, const char *field_name) isa_decode_field() argument
546 display_field(struct decode_scope *scope, const char *field_name) display_field() argument
676 display(struct decode_scope *scope) display() argument
746 struct decode_scope *scope = push_scope(state, b, instr); decode() local
[all...]
/third_party/ltp/tools/sparse/sparse-src/
H A Dscope.c34 #include "scope.h"
36 static struct scope builtin_scope = { .next = &builtin_scope };
38 struct scope *block_scope = &builtin_scope, // regular automatic variables etc
46 sym->scope = block_scope; in set_current_scope()
49 void bind_scope(struct symbol *sym, struct scope *scope) in bind_scope() argument
51 sym->scope = scope; in bind_scope()
52 add_symbol(&scope->symbols, sym); in bind_scope()
56 void rebind_scope(struct symbol *sym, struct scope *ne
71 struct scope *scope = __alloc_scope(0); start_scope() local
78 struct scope *scope = __alloc_scope(0); start_file_scope() local
111 struct scope *scope = *s; end_scope() local
166 is_outer_scope(struct scope *scope) is_outer_scope() argument
[all...]
H A Dscope.h30 struct scope { struct
31 struct symbol_list *symbols; /* List of symbols in this scope */
32 struct scope *next;
35 extern struct scope
42 static inline int toplevel(struct scope *scope) in toplevel() argument
44 return scope == file_scope || scope == global_scope; in toplevel()
61 extern void bind_scope(struct symbol *, struct scope *);
62 extern void rebind_scope(struct symbol *, struct scope *);
[all...]
/third_party/node/deps/v8/src/ast/
H A Dscopes.cc16 #include "src/logging/runtime-call-stats-scope.h"
19 #include "src/objects/scope-info.h"
49 Variable* VariableMap::Declare(Zone* zone, Scope* scope, in Declare() argument
66 zone->New<Variable>(scope, name, mode, kind, initialization_flag, in Declare()
253 // We don't really need to use the preparsed scope data; this is just to in Scope()
300 // scope_info, as the parser expects that a catch scope always has the catch in Scope()
385 DeclarationScope* scope = GetClosureScope(); in HasSimpleParameters() local
386 return !scope->is_function_scope() || scope->has_simple_parameters(); in HasSimpleParameters()
404 for (Scope* scope in ContainsAsmModule()
684 DeclarationScope* scope = info->literal()->scope(); Analyze() local
848 Scope* scope = inner_scope_; FinalizeBlockScope() local
1251 DeclarationScope* scope = GetClosureScope(); NewTemporary() local
1323 FindVariableDeclaredIn(Scope* scope, VariableMode mode_limit) FindVariableDeclaredIn() argument
1445 Scope* scope = this; GetDeclarationScope() local
1453 Scope* scope = this; GetNonEvalDeclarationScope() local
1461 const Scope* scope = this; GetClosureScope() local
1469 Scope* scope = this; GetClosureScope() local
1490 Scope* scope = this; GetReceiverScope() local
1500 Scope* scope = this; GetConstructorScope() local
1512 Scope* scope = this; GetHomeObjectScope() local
1535 Scope* scope = this; GetScriptScope() local
1543 Scope* scope = outer_scope_; GetOuterScopeWithContext() local
1551 WasLazilyParsed(Scope* scope) WasLazilyParsed() argument
1560 Scope* scope = this; ForEach() local
1584 Scope* scope = other; IsOuterScopeOf() local
1949 DeclarationScope* scope = AsDeclarationScope(); Print() local
2066 Lookup(VariableProxy* proxy, Scope* scope, Scope* outer_scope_end, Scope* cache_scope, bool force_context_allocation) Lookup() argument
2181 LookupWith(VariableProxy* proxy, Scope* scope, Scope* outer_scope_end, Scope* cache_scope, bool force_context_allocation) LookupWith() argument
2221 LookupSloppyEval(VariableProxy* proxy, Scope* scope, Scope* outer_scope_end, Scope* cache_scope, bool force_context_allocation) LookupSloppyEval() argument
2288 UpdateNeedsHoleCheck(Variable* var, VariableProxy* proxy, Scope* scope) UpdateNeedsHoleCheck() argument
2347 ResolvePreparsedVariable(VariableProxy* proxy, Scope* scope, Scope* end) ResolvePreparsedVariable() argument
2681 DeclarationScope* scope; RecordNeedsPrivateNameContextChainRecalc() local
2694 DeclarationScope* scope = info->literal()->scope(); AllocateScopeInfos() local
2946 ClassScope* scope = scope_iter.GetScope(); LookupPrivateName() local
3094 Scope* scope = inner->outer_scope(); Next() local
[all...]
/third_party/vixl/src/aarch64/
H A Dcpu-features-auditor-aarch64.cc75 // This scope makes that simple, and allows early returns in the decode logic.
117 RecordInstructionFeaturesScope scope(this); in LoadStoreHelper()
123 scope.Record(CPUFeatures::kNEON); in LoadStoreHelper()
131 scope.RecordOneOrBothOf(CPUFeatures::kFP, CPUFeatures::kNEON); in LoadStoreHelper()
140 RecordInstructionFeaturesScope scope(this); in LoadStorePairHelper()
144 scope.Record(CPUFeatures::kNEON); in LoadStorePairHelper()
150 scope.RecordOneOrBothOf(CPUFeatures::kFP, CPUFeatures::kNEON); in LoadStorePairHelper()
160 RecordInstructionFeaturesScope scope(this); in VisitAddSubExtended()
165 RecordInstructionFeaturesScope scope(this); in VisitAddSubImmediate()
170 RecordInstructionFeaturesScope scope(thi in VisitAddSubShifted()
[all...]
/third_party/node/deps/npm/node_modules/libnpmteam/lib/
H A Dindex.js11 const { scope, team } = splitEntity(entity)
12 validate('SSO', [scope, team, opts])
13 const uri = `/-/org/${eu(scope)}/team`
17 scope,
24 const { scope, team } = splitEntity(entity)
25 validate('SSO', [scope, team, opts])
26 const uri = `/-/team/${eu(scope)}/${eu(team)}`
30 scope,
37 const { scope, team } = splitEntity(entity)
38 validate('SSO', [scope, tea
[all...]
/third_party/vixl/test/
H A Dtest-code-generation-scopes.cc58 CodeBufferCheckScope scope(&masm, aarch32::kA32InstructionSizeInBytes); in TEST()
72 CodeBufferCheckScope scope(&masm, aarch64::kInstructionSize); in TEST()
86 CodeBufferCheckScope scope(&masm, 2 * aarch32::kA32InstructionSizeInBytes); in TEST()
101 CodeBufferCheckScope scope(&masm, 2 * aarch64::kInstructionSize); in TEST()
116 CodeBufferCheckScope scope; in TEST() local
118 scope.Open(&masm, aarch32::kA32InstructionSizeInBytes); in TEST()
132 CodeBufferCheckScope scope; in TEST() local
134 scope.Open(&masm, aarch64::kInstructionSize); in TEST()
148 CodeBufferCheckScope scope(&masm, aarch32::kA32InstructionSizeInBytes); in TEST()
150 scope in TEST()
180 CodeBufferCheckScope scope; TEST() local
198 CodeBufferCheckScope scope; TEST() local
244 EmissionCheckScope scope; TEST() local
260 EmissionCheckScope scope; TEST() local
308 EmissionCheckScope scope; TEST() local
326 EmissionCheckScope scope; TEST() local
474 EmissionCheckScope scope; TEST() local
483 EmissionCheckScope scope; TEST() local
528 ExactAssemblyScope scope; TEST_A32() local
544 ExactAssemblyScope scope; TEST() local
592 ExactAssemblyScope scope; TEST_A32() local
610 ExactAssemblyScope scope; TEST() local
[all...]
/third_party/typescript/tests/baselines/reference/
H A DparserRealSource9.js10 public resolveBaseTypeLinks(typeLinks: TypeLink[], scope: SymbolScope) {
17 this.checker.resolveTypeLink(scope, typeLink, true);
30 public resolveBases(scope: SymbolScope, type: Type) {
31 type.extendsList = this.resolveBaseTypeLinks(type.extendsTypeLinks, scope);
53 type.implementsList = this.resolveBaseTypeLinks(type.implementsTypeLinks, scope);
68 public resolveSignatureGroup(signatureGroup: SignatureGroup, scope: SymbolScope, instanceType: Type) {
76 this.checker.resolveTypeLink(scope, signature.returnType, supplyVar);
80 this.bindSymbol(scope, signature.parameters[j]);
95 public bindType(scope: SymbolScope, type: Type, instanceType: Type): void {
97 this.bindType(scope, instanceTyp
[all...]
/third_party/mesa3d/src/vulkan/util/
H A Dvk_alloc.h46 VkSystemAllocationScope scope) in vk_alloc()
48 return alloc->pfnAllocation(alloc->pUserData, size, align, scope); in vk_alloc()
54 VkSystemAllocationScope scope) in vk_zalloc()
56 void *mem = vk_alloc(alloc, size, align, scope); in vk_zalloc()
68 VkSystemAllocationScope scope) in vk_realloc()
70 return alloc->pfnReallocation(alloc->pUserData, ptr, size, align, scope); in vk_realloc()
84 VkSystemAllocationScope scope) in vk_strdup()
90 char *copy = (char *)vk_alloc(alloc, size, 1, scope); in vk_strdup()
101 VkSystemAllocationScope scope, in vk_vasprintf()
105 char *ptr = (char *)vk_alloc(alloc, size, 1, scope); in vk_vasprintf()
44 vk_alloc(const VkAllocationCallbacks *alloc, size_t size, size_t align, VkSystemAllocationScope scope) vk_alloc() argument
52 vk_zalloc(const VkAllocationCallbacks *alloc, size_t size, size_t align, VkSystemAllocationScope scope) vk_zalloc() argument
66 vk_realloc(const VkAllocationCallbacks *alloc, void *ptr, size_t size, size_t align, VkSystemAllocationScope scope) vk_realloc() argument
83 vk_strdup(const VkAllocationCallbacks *alloc, const char *s, VkSystemAllocationScope scope) vk_strdup() argument
100 vk_vasprintf(const VkAllocationCallbacks *alloc, VkSystemAllocationScope scope, const char *fmt, va_list args) vk_vasprintf() argument
113 vk_asprintf(const VkAllocationCallbacks *alloc, VkSystemAllocationScope scope, const char *fmt, ...) vk_asprintf() argument
126 vk_alloc2(const VkAllocationCallbacks *parent_alloc, const VkAllocationCallbacks *alloc, size_t size, size_t align, VkSystemAllocationScope scope) vk_alloc2() argument
138 vk_zalloc2(const VkAllocationCallbacks *parent_alloc, const VkAllocationCallbacks *alloc, size_t size, size_t align, VkSystemAllocationScope scope) vk_zalloc2() argument
230 vk_multialloc_alloc(struct vk_multialloc *ma, const VkAllocationCallbacks *alloc, VkSystemAllocationScope scope) vk_multialloc_alloc() argument
269 vk_multialloc_alloc2(struct vk_multialloc *ma, const VkAllocationCallbacks *parent_alloc, const VkAllocationCallbacks *alloc, VkSystemAllocationScope scope) vk_multialloc_alloc2() argument
278 vk_multialloc_zalloc(struct vk_multialloc *ma, const VkAllocationCallbacks *alloc, VkSystemAllocationScope scope) vk_multialloc_zalloc() argument
293 vk_multialloc_zalloc2(struct vk_multialloc *ma, const VkAllocationCallbacks *parent_alloc, const VkAllocationCallbacks *alloc, VkSystemAllocationScope scope) vk_multialloc_zalloc2() argument
[all...]
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-callsite.cc37 HandleScope scope(isolate); in BUILTIN()
43 HandleScope scope(isolate); in BUILTIN()
50 HandleScope scope(isolate); in BUILTIN()
57 HandleScope scope(isolate); in BUILTIN()
63 HandleScope scope(isolate); in BUILTIN()
69 HandleScope scope(isolate); in BUILTIN()
81 HandleScope scope(isolate); in BUILTIN()
87 HandleScope scope(isolate); in BUILTIN()
93 HandleScope scope(isolate); in BUILTIN()
99 HandleScope scope(isolat in BUILTIN()
[all...]
/third_party/node/deps/v8/src/inspector/
H A Dv8-runtime-agent-impl.cc116 V8InspectorSessionImpl* session, InjectedScript::Scope& scope, in innerCallFunctionOn()
133 Response response = scope.injectedScript()->resolveCallArgument( in innerCallFunctionOn()
143 if (silent) scope.ignoreExceptionsAndMuteConsole(); in innerCallFunctionOn()
144 if (userGesture) scope.pretendUserGesture(); in innerCallFunctionOn()
147 scope.allowCodeGenerationFromStrings(); in innerCallFunctionOn()
152 ->compileScript(scope.context(), "(" + expression + ")", String16()) in innerCallFunctionOn()
156 maybeFunctionValue = functionScript->Run(scope.context()); in innerCallFunctionOn()
160 Response response = scope.initialize(); in innerCallFunctionOn()
166 if (scope.tryCatch().HasCaught()) { in innerCallFunctionOn()
167 wrapEvaluateResultAsync(scope in innerCallFunctionOn()
115 innerCallFunctionOn( V8InspectorSessionImpl* session, InjectedScript::Scope& scope, v8::Local<v8::Value> recv, const String16& expression, Maybe<protocol::Array<protocol::Runtime::CallArgument>> optionalArguments, bool silent, WrapMode wrapMode, bool userGesture, bool awaitPromise, const String16& objectGroup, bool throw_on_side_effect, std::unique_ptr<V8RuntimeAgentImpl::CallFunctionOnCallback> callback) innerCallFunctionOn() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_liverangeevaluator_helpers.cpp112 bool ProgramScope::is_child_of_ifelse_id_sibling(const ProgramScope *scope) const in is_child_of_ifelse_id_sibling()
117 if (my_parent == scope) in is_child_of_ifelse_id_sibling()
120 if (my_parent->id() == scope->id()) in is_child_of_ifelse_id_sibling()
127 bool ProgramScope::is_child_of(const ProgramScope *scope) const in is_child_of()
131 if (my_parent == scope) in is_child_of()
276 void RegisterCompAccess::record_read(int line, ProgramScope *scope, LiveRangeEntry::EUse use) in record_read() argument
278 last_read_scope = scope; in record_read()
286 first_read_scope = scope; in record_read()
297 const ProgramScope *ifelse_scope = scope->in_ifelse_scope(); in record_read()
310 /* Has been written in this or a parent scope in record_read()
335 record_write(int line, ProgramScope *scope) record_write() argument
375 record_ifelse_write(const ProgramScope& scope) record_ifelse_write() argument
390 record_if_write(const ProgramScope& scope) record_if_write() argument
414 record_else_write(const ProgramScope& scope) record_else_write() argument
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_meter.c161 static int snd_pcm_scope_remove(snd_pcm_scope_t *scope) in snd_pcm_scope_remove() argument
163 free(scope->name); in snd_pcm_scope_remove()
164 scope->ops->close(scope); in snd_pcm_scope_remove()
165 list_del(&scope->list); in snd_pcm_scope_remove()
166 free(scope); in snd_pcm_scope_remove()
170 static int snd_pcm_scope_enable(snd_pcm_scope_t *scope) in snd_pcm_scope_enable() argument
173 assert(!scope->enabled); in snd_pcm_scope_enable()
174 err = scope->ops->enable(scope); in snd_pcm_scope_enable()
179 snd_pcm_scope_disable(snd_pcm_scope_t *scope) snd_pcm_scope_disable() argument
193 snd_pcm_scope_t *scope; snd_pcm_meter_thread() local
283 snd_pcm_scope_t *scope; snd_pcm_meter_close() local
848 snd_pcm_meter_add_scope(snd_pcm_t *pcm, snd_pcm_scope_t *scope) snd_pcm_meter_add_scope() argument
870 snd_pcm_scope_t *scope; snd_pcm_meter_search_scope() local
953 snd_pcm_scope_set_name(snd_pcm_scope_t *scope, const char *val) snd_pcm_scope_set_name() argument
963 snd_pcm_scope_get_name(snd_pcm_scope_t *scope) snd_pcm_scope_get_name() argument
973 snd_pcm_scope_set_ops(snd_pcm_scope_t *scope, const snd_pcm_scope_ops_t *val) snd_pcm_scope_set_ops() argument
983 snd_pcm_scope_get_callback_private(snd_pcm_scope_t *scope) snd_pcm_scope_get_callback_private() argument
993 snd_pcm_scope_set_callback_private(snd_pcm_scope_t *scope, void *val) snd_pcm_scope_set_callback_private() argument
1008 s16_enable(snd_pcm_scope_t *scope) s16_enable() argument
1072 s16_disable(snd_pcm_scope_t *scope) s16_disable() argument
1083 s16_close(snd_pcm_scope_t *scope) s16_close() argument
1097 s16_update(snd_pcm_scope_t *scope) s16_update() argument
1151 s16_reset(snd_pcm_scope_t *scope) s16_reset() argument
1185 snd_pcm_scope_t *scope; snd_pcm_scope_s16_open() local
1213 snd_pcm_scope_s16_get_channel_buffer(snd_pcm_scope_t *scope, unsigned int channel) snd_pcm_scope_s16_get_channel_buffer() argument
[all...]
/third_party/selinux/libsepol/src/
H A Davrule_block.c4 * or global scope) for a policy module.
69 ebitmap_init(&decl->required.scope[i]); in avrule_decl_create()
70 ebitmap_init(&decl->declared.scope[i]); in avrule_decl_create()
77 static void scope_index_destroy(scope_index_t * scope) in scope_index_destroy() argument
80 if (scope == NULL) { in scope_index_destroy()
84 ebitmap_destroy(scope->scope + i); in scope_index_destroy()
86 if (scope->class_perms_map) { in scope_index_destroy()
87 for (i = 0; i < scope->class_perms_len; i++) { in scope_index_destroy()
88 ebitmap_destroy(scope in scope_index_destroy()
157 scope_datum_t *scope = is_id_enabled() local
[all...]
/third_party/node/test/js-native-api/test_handle_scope/
H A Dtest_handle_scope.c6 // these tests validate the handle scope functions in the normal
12 napi_handle_scope scope; in NewScope() local
15 NODE_API_CALL(env, napi_open_handle_scope(env, &scope)); in NewScope()
17 NODE_API_CALL(env, napi_close_handle_scope(env, scope)); in NewScope()
22 napi_escapable_handle_scope scope; in NewScopeEscape() local
26 NODE_API_CALL(env, napi_open_escapable_handle_scope(env, &scope)); in NewScopeEscape()
28 NODE_API_CALL(env, napi_escape_handle(env, scope, output, &escapee)); in NewScopeEscape()
29 NODE_API_CALL(env, napi_close_escapable_handle_scope(env, scope)); in NewScopeEscape()
34 napi_escapable_handle_scope scope; in NewScopeEscapeTwice() local
39 NODE_API_CALL(env, napi_open_escapable_handle_scope(env, &scope)); in NewScopeEscapeTwice()
49 napi_handle_scope scope; NewScopeWithException() local
[all...]
/third_party/alsa-lib/src/pcm/scopes/
H A Dlevel.c49 static int level_enable(snd_pcm_scope_t *scope) in level_enable() argument
51 snd_pcm_scope_level_t *level = snd_pcm_scope_get_callback_private(scope); in level_enable()
58 snd_pcm_scope_set_callback_private(scope, level); in level_enable()
66 static void level_disable(snd_pcm_scope_t *scope) in level_disable() argument
68 snd_pcm_scope_level_t *level = snd_pcm_scope_get_callback_private(scope); in level_disable()
73 static void level_close(snd_pcm_scope_t *scope) in level_close() argument
75 snd_pcm_scope_level_t *level = snd_pcm_scope_get_callback_private(scope); in level_close()
79 static void level_start(snd_pcm_scope_t *scope ATTRIBUTE_UNUSED) in level_start()
83 static void level_stop(snd_pcm_scope_t *scope) in level_stop() argument
85 snd_pcm_scope_level_t *level = snd_pcm_scope_get_callback_private(scope); in level_stop()
95 level_update(snd_pcm_scope_t *scope) level_update() argument
164 level_reset(snd_pcm_scope_t *scope) level_reset() argument
187 snd_pcm_scope_t *scope, *s16; snd_pcm_scope_level_open() local
224 snd_pcm_scope_t *scope; _snd_pcm_scope_level_open() local
[all...]
/third_party/jerryscript/tests/unit-ext/
H A Dtest-ext-handle-scope-nested.c17 * Unit test for jerry-ext/handle-scope.
24 #include "jerryscript-ext/handle-scope.h"
44 jerryx_escapable_handle_scope scope; in create_object_nested() local
45 jerryx_open_escapable_handle_scope (&scope); in create_object_nested()
57 TEST_ASSERT (jerryx_handle_scope_get_current () == scope); in create_object_nested()
61 jerryx_handle_scope_status status = jerryx_escape_handle (scope, obj, &escaped); in create_object_nested()
63 TEST_ASSERT (scope->prelist_handle_count == 0); in create_object_nested()
64 TEST_ASSERT (scope->handle_ptr == NULL); in create_object_nested()
66 jerryx_close_handle_scope (scope); in create_object_nested()
73 jerryx_handle_scope scope; in test_handle_scope_val() local
[all...]

Completed in 236 milliseconds

12345678910>>...35