Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 3693) sorted by relevance

12345678910>>...148

/third_party/ltp/testcases/kernel/fs/fs_bind/cloneNS/
Dfs_bind_cloneNS05.sh15 fs_bind_makedir rshared parent
16 fs_bind_makedir rshared parent/child1
17 fs_bind_makedir rshared parent/child2
19 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" parent/child1
20 EXPECT_PASS mount --rbind parent parent/child2
24 EXPECT_PASS mount --bind "$FS_BIND_DISK2" parent/child1/a
25 fs_bind_check parent/child1/a parent/child2/child1/a
27 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent/child2/child1/b
28 fs_bind_check parent/child1/b parent/child2/child1/b
31 fs_bind_check -s "$FS_BIND_DISK2" parent/child1/a parent/child2/child1/a
[all …]
/third_party/ltp/testcases/kernel/fs/fs_bind/rbind/
Dfs_bind_rbind35.sh15 fs_bind_makedir rshared parent
16 fs_bind_makedir private parent/child1
17 fs_bind_makedir rshared parent/child2
19 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent/child1
21 EXPECT_PASS mount --rbind parent parent/child2/
22 fs_bind_check parent parent/child2/
23 fs_bind_check parent/child1 parent/child2/child1
25 EXPECT_PASS umount parent/child2/child1
27 fs_bind_check -n parent/child1 parent/child2/child1
29 EXPECT_PASS umount parent/child1
[all …]
Dfs_bind_rbind34.sh15 fs_bind_makedir rshared parent
16 fs_bind_makedir rshared parent/child1
17 fs_bind_makedir rshared parent/child2
19 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent/child1
21 EXPECT_PASS mount --rbind parent parent/child2/
22 fs_bind_check parent parent/child2/
23 fs_bind_check parent/child1 parent/child2/child1
25 EXPECT_PASS umount parent/child2/child1
26 fs_bind_check parent/child1 parent/child2/child1
28 EXPECT_PASS umount parent/child1
[all …]
Dfs_bind_rbind36.sh15 fs_bind_makedir rshared parent
16 fs_bind_makedir runbindable parent/child1
17 fs_bind_makedir rshared parent/child2
19 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent/child1
21 EXPECT_PASS mount --rbind parent parent/child2/
22 fs_bind_check parent parent/child2/
23 fs_bind_check -n parent/child1 parent/child2/child1
25 EXPECT_PASS umount parent/child1
26 fs_bind_check parent/child1 parent/child2/child1
28 EXPECT_PASS mount --rbind "$FS_BIND_DISK4" parent/child2/child1
[all …]
/third_party/typescript/src/services/codefixes/
DfixUnusedIdentifier.ts45 if (isObjectBindingPattern(token.parent) || isArrayBindingPattern(token.parent)) {
46 if (isParameter(token.parent.parent)) {
47 const elements = token.parent.elements;
54 …deleteDestructuringElements(t, sourceFile, token.parent as ObjectBindingPattern | ArrayBindingPatt…
59 … t.delete(sourceFile, token.parent.parent)), Diagnostics.Remove_unused_destructuring_declaration)
66 …deleteEntireVariableStatement(t, sourceFile, token.parent as VariableDeclarationList)), Diagnostic…
73 const name = cast(token.parent, isInferTypeNode).typeParameter.name.text;
80 const name = isComputedPropertyName(token.parent) ? token.parent : token;
123 else if (isObjectBindingPattern(token.parent)) {
124 if (token.parent.parent.initializer) {
[all …]
/third_party/node/deps/uv/src/
Dheap-inl.h30 struct heap_node* parent; member
73 struct heap_node* parent, in heap_node_swap() argument
78 t = *parent; in heap_node_swap()
79 *parent = *child; in heap_node_swap()
82 parent->parent = child; in heap_node_swap()
84 child->left = parent; in heap_node_swap()
87 child->right = parent; in heap_node_swap()
91 sibling->parent = child; in heap_node_swap()
93 if (parent->left != NULL) in heap_node_swap()
94 parent->left->parent = parent; in heap_node_swap()
[all …]
/third_party/libuv/src/
Dheap-inl.h30 struct heap_node* parent; member
73 struct heap_node* parent, in heap_node_swap() argument
78 t = *parent; in heap_node_swap()
79 *parent = *child; in heap_node_swap()
82 parent->parent = child; in heap_node_swap()
84 child->left = parent; in heap_node_swap()
87 child->right = parent; in heap_node_swap()
91 sibling->parent = child; in heap_node_swap()
93 if (parent->left != NULL) in heap_node_swap()
94 parent->left->parent = parent; in heap_node_swap()
[all …]
/third_party/ltp/testcases/kernel/fs/fs_bind/bind/
Dfs_bind22.sh15 fs_bind_makedir rshared parent
16 fs_bind_makedir rshared parent/child1
17 fs_bind_makedir rshared parent/child2
19 EXPECT_PASS mount --bind parent parent/child2/
20 fs_bind_check parent parent/child2/
22 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent/child2/child1
23 fs_bind_check parent/child1 parent/child2/child1
25 EXPECT_PASS umount parent/child2/child1
26 fs_bind_check parent/child1 parent/child2/child1
28 EXPECT_PASS mount --bind "$FS_BIND_DISK4" parent/child2/child1
[all …]
/third_party/typescript/src/services/
Dbreakpoints.ts46 …indNextToken(previousTokenToFindNextEndToken, previousTokenToFindNextEndToken.parent, sourceFile));
75 return spanInNode(findNextToken(node, node.parent, sourceFile));
80 const { parent } = node; constant
211 … return spanInNodeArray((parent as HasDecorators).modifiers, node, isDecorator);
279 isArrayLiteralOrObjectLiteralDestructuringPattern(parent)) {
294 …ind === SyntaxKind.EqualsToken && isArrayLiteralOrObjectLiteralDestructuringPattern(node.parent)) {
308 switch (parent.kind) {
315 return spanInNode(node.parent);
322 … if ((node.parent as BinaryExpression).operatorToken.kind === SyntaxKind.CommaToken) {
329 if ((node.parent as FunctionLikeDeclaration).body === node) {
[all …]
DimportTracker.ts94 const parent = direct.parent; constant
95 … if (exportKind === ExportKind.ExportEquals && parent.kind === SyntaxKind.VariableDeclaration) {
96 const { name } = parent as VariableDeclaration;
467 const { parent } = node; constant
468 const grandparent = parent.parent;
470 if (parent.kind === SyntaxKind.PropertyAccessExpression) {
473 … return symbol.declarations?.some(d => d === parent) && isBinaryExpression(grandparent)
478 return exportInfo(symbol.exportSymbol, getExportKindForDeclaration(parent));
482 const exportNode = getExportNode(parent, node);
497 else if (isNamespaceExport(parent)) {
[all …]
DfindAllReferences.ts52 if (!node.parent) return undefined;
54 if (!isDeclaration(node.parent) && !isExportAssignment(node.parent)) {
57 const binaryExpression = isBinaryExpression(node.parent) ?
58 node.parent :
59 isAccessExpression(node.parent) &&
60 isBinaryExpression(node.parent.parent) &&
61 node.parent.parent.left === node.parent ?
62 node.parent.parent :
70 if (isJsxOpeningElement(node.parent) || isJsxClosingElement(node.parent)) {
71 return node.parent.parent;
[all …]
/third_party/typescript/tests/baselines/reference/
DrecursiveFieldSetting.types7 constructor(private readonly parent?: Recursive1) {}
8 >parent : Recursive1
10 private depth: number = this.parent ? this.parent.depth + 1 : 0;
12 >this.parent ? this.parent.depth + 1 : 0 : number
13 >this.parent : Recursive1
15 >parent : Recursive1
16 >this.parent.depth + 1 : number
17 >this.parent.depth : number
18 >this.parent : Recursive1
20 >parent : Recursive1
[all …]
DrecursiveFieldSetting.symbols7 constructor(private readonly parent?: Recursive1) {}
8 >parent : Symbol(Recursive1.parent, Decl(recursiveFieldSetting.ts, 3, 16))
11 private depth: number = this.parent ? this.parent.depth + 1 : 0;
13 >this.parent : Symbol(Recursive1.parent, Decl(recursiveFieldSetting.ts, 3, 16))
15 >parent : Symbol(Recursive1.parent, Decl(recursiveFieldSetting.ts, 3, 16))
16 >this.parent.depth : Symbol(Recursive1.depth, Decl(recursiveFieldSetting.ts, 3, 56))
17 >this.parent : Symbol(Recursive1.parent, Decl(recursiveFieldSetting.ts, 3, 16))
19 >parent : Symbol(Recursive1.parent, Decl(recursiveFieldSetting.ts, 3, 16))
26 parent!: Recursive2;
27 >parent : Symbol(Recursive2.parent, Decl(recursiveFieldSetting.ts, 7, 18))
[all …]
DparserRealSource12.types11 walk(ast: AST, parent: AST): AST;
12 >walk : (ast: AST, parent: AST) => AST
14 >parent : AST
62 (ast: AST, parent: AST, walker: IAstWalker): AST;
64 >parent : AST
69 (preAst: AST, parent: AST, walker: IAstWalker): void;
71 >parent : AST
95 public walk(ast: AST, parent: AST): AST {
96 >walk : (ast: AST, parent: AST) => AST
98 >parent : AST
[all …]
DrecursiveFieldSetting.js5 constructor(private readonly parent?: Recursive1) {}
6 private depth: number = this.parent ? this.parent.depth + 1 : 0; field in Recursive1
10 parent!: Recursive2; field in Recursive2
11 depth: number = this.parent.depth; field in Recursive2
15 parent!: Recursive3; field in Recursive3
16 depth: number = this.parent.alpha; field in Recursive3
24 function Recursive1(parent) { argument
25 this.parent = parent;
26 this.depth = this.parent ? this.parent.depth + 1 : 0;
32 this.depth = this.parent.depth;
[all …]
/third_party/node/deps/npm/node_modules/clone/
Dclone.js22 function clone(parent, circular, depth, prototype) { argument
44 function _clone(parent, depth) { argument
46 if (parent === null)
50 return parent;
54 if (typeof parent != 'object') {
55 return parent;
58 if (clone.__isArray(parent)) {
60 } else if (clone.__isRegExp(parent)) {
61 child = new RegExp(parent.source, __getRegExpFlags(parent));
62 if (parent.lastIndex) child.lastIndex = parent.lastIndex;
[all …]
/third_party/mesa3d/src/util/
Dslab.c75 slab_get_element(struct slab_parent_pool *parent, in slab_get_element() argument
79 ((uint8_t*)&page[1] + (parent->element_size * index)); in slab_get_element()
105 slab_create_parent(struct slab_parent_pool *parent, in slab_create_parent() argument
109 simple_mtx_init(&parent->mutex, mtx_plain); in slab_create_parent()
110 parent->element_size = ALIGN_POT(sizeof(struct slab_element_header) + item_size, in slab_create_parent()
112 parent->num_elements = num_items; in slab_create_parent()
113 parent->item_size = item_size; in slab_create_parent()
117 slab_destroy_parent(struct slab_parent_pool *parent) in slab_destroy_parent() argument
119 simple_mtx_destroy(&parent->mutex); in slab_destroy_parent()
126 struct slab_parent_pool *parent) in slab_create_child() argument
[all …]
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Dusb_obj.c56 obj->parent = NULL; in usbobj_init()
68 int usbobj_add(struct usb_obj *obj, struct usb_obj *parent) in usbobj_add() argument
72 if (!obj || !parent) in usbobj_add()
77 usbobj_get(parent); in usbobj_add()
78 spin_lock_irqsave(&parent->lock, flags); in usbobj_add()
79 list_add_tail(&obj->entry, &parent->children); in usbobj_add()
80 obj->parent = parent; in usbobj_add()
81 spin_unlock_irqrestore(&parent->lock, flags); in usbobj_add()
88 struct usb_obj *parent; in usbobj_remove() local
91 if (!obj || !obj->parent) in usbobj_remove()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_deref.c32 nir_deref_instr *parent = nir_src_as_deref(cast->parent); in is_trivial_deref_cast() local
33 if (!parent) in is_trivial_deref_cast()
36 return cast->modes == parent->modes && in is_trivial_deref_cast()
37 cast->type == parent->type && in is_trivial_deref_cast()
38 cast->dest.ssa.num_components == parent->dest.ssa.num_components && in is_trivial_deref_cast()
39 cast->dest.ssa.bit_size == parent->dest.ssa.bit_size; in is_trivial_deref_cast()
173 if (use_src != &use_deref->parent) in nir_deref_instr_has_complex_use()
319 nir_deref_instr *parent = *(p - 1); in nir_deref_instr_get_const_offset() local
320 offset += struct_type_get_field_offset(parent->type, size_align, in nir_deref_instr_get_const_offset()
356 nir_deref_instr *parent = *(p - 1); in nir_build_deref_offset() local
[all …]
/third_party/f2fs-tools/fsck/
Ddict.c54 #define parent dict_parent macro
89 lowleft->parent = upper; in rotate_left()
91 lower->parent = upparent = upper->parent; in rotate_left()
104 upper->parent = lower; in rotate_left()
117 lowright->parent = upper; in rotate_right()
119 lower->parent = upparent = upper->parent; in rotate_right()
129 upper->parent = lower; in rotate_right()
261 new->nilnode.parent = &new->nilnode; in dict_create()
334 dict->nilnode.parent = &dict->nilnode; in dict_init()
354 dict->nilnode.parent = &dict->nilnode; in dict_init_like()
[all …]
/third_party/vk-gl-cts/framework/delibs/depool/
DdeMemPool.c89 deMemPool* parent; /*!< Pointer to parent (null for root pools). */ member
169 static deMemPool* createPoolInternal (deMemPool* parent) in createPoolInternal() argument
175 if (parent && parent->allowFailing) in createPoolInternal()
177 if ((deRandom_getUint32(&parent->failRandom) & 16383) <= 15) in createPoolInternal()
196 pool->parent = parent; in createPoolInternal()
197 if (parent) in createPoolInternal()
199 parent->numChildren++; in createPoolInternal()
200 if (parent->firstChild) parent->firstChild->prevPool = pool; in createPoolInternal()
201 pool->nextPool = parent->firstChild; in createPoolInternal()
202 parent->firstChild = pool; in createPoolInternal()
[all …]
/third_party/node/lib/internal/test_runner/
Dtest.js172 let { fn, name, parent, skip } = options;
183 if (!(parent instanceof Test)) {
184 parent = null;
187 if (parent === null) {
204 const nesting = parent.parent === null ? parent.nesting :
205 parent.nesting + 1;
207 this.concurrency = parent.concurrency;
209 this.only = only ?? !parent.runOnlySubtests;
210 this.reporter = parent.reporter;
212 this.testNumber = parent.subtests.length + 1;
[all …]
/third_party/typescript/src/harness/
DtypeWriter.ts83 …if (ts.isImportSpecifier(node.parent) && (node.parent.name === node || node.parent.propertyName ==…
84 if (ts.isImportClause(node.parent) && node.parent.name === node) return true;
85 if (ts.isImportEqualsDeclaration(node.parent) && node.parent.name === node) return true;
90 if (ts.isExportAssignment(node.parent) && node.parent.expression === node) return true;
91 …if (ts.isExportSpecifier(node.parent) && (node.parent.name === node || node.parent.propertyName ==…
96 const p = node.parent;
110 …tMeaningFromDeclaration(node.parent) & ts.SemanticMeaning.Value) && !(ts.isTypeAliasDeclaration(no…
116 …ressionWithTypeArgumentsInClassExtendsClause(node.parent) ? this.checker.getTypeAtLocation(node.pa…
133 !ts.isBindingElement(node.parent) &&
134 !ts.isPropertyAccessOrQualifiedName(node.parent) &&
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderIsolines.cpp71 glcts::Context& context = test_result.parent->parent->getContext(); in checkFirstOuterTessellationLevelEffect()
88 TESSELLATION_SHADER_VERTEX_SPACING_EQUAL, test_result.parent->outer_tess_levels[0], in checkFirstOuterTessellationLevelEffect()
96 tcu::TestContext& test = test_result.parent->parent->getTestContext(); in checkFirstOuterTessellationLevelEffect()
102 << " (" << test_result.parent->inner_tess_levels[0] << ", " in checkFirstOuterTessellationLevelEffect()
103 << test_result.parent->inner_tess_levels[1] << ")" in checkFirstOuterTessellationLevelEffect()
105 << " (" << test_result.parent->outer_tess_levels[0] << ", " in checkFirstOuterTessellationLevelEffect()
106 << test_result.parent->outer_tess_levels[1] << ", " in checkFirstOuterTessellationLevelEffect()
107 << test_result.parent->outer_tess_levels[2] << ", " in checkFirstOuterTessellationLevelEffect()
108 << test_result.parent->outer_tess_levels[3] << ")" << tcu::TestLog::EndMessage; in checkFirstOuterTessellationLevelEffect()
184 tcu::TestContext& test = test_result_iterator->parent->parent->getTestContext(); in checkIrrelevantTessellationLevelsHaveNoEffect()
[all …]
/third_party/typescript/src/services/refactors/
DconvertExport.ts63 …portNode = !!(token.parent && getSyntacticModifierFlags(token.parent) & ModifierFlags.Export) && c…
64 …de || (!isSourceFile(exportNode.parent) && !(isModuleBlock(exportNode.parent) && isAmbientModule(e…
179 const { parent } = ref; constant
180 switch (parent.kind) {
187 const spec = parent as ImportSpecifier | ExportSpecifier;
193 const clause = parent as ImportClause;
204 …st quotePreference = isStringLiteral(clause.parent.moduleSpecifier) ? quotePreferenceFromString(cl…
205 …default*/ undefined, [makeImportSpecifier(exportName, ref.text)], clause.parent.moduleSpecifier, q…
206 changes.insertNodeAfter(importingSourceFile, clause.parent, newImport);
216 const importTypeNode = parent as ImportTypeNode;
[all …]

12345678910>>...148