/third_party/eudev/src/udev/ |
H A D | udev-builtin-path_id.c | 78 struct udev_device *parent = dev; in skip_subsystem() local 80 while (parent != NULL) { in skip_subsystem() 83 subsystem = udev_device_get_subsystem(parent); in skip_subsystem() 86 dev = parent; in skip_subsystem() 87 parent = udev_device_get_parent(parent); in skip_subsystem() 92 static struct udev_device *handle_scsi_fibre_channel(struct udev_device *parent, char **path) { in handle_scsi_fibre_channel() argument 93 struct udev *udev = udev_device_get_udev(parent); in handle_scsi_fibre_channel() 99 targetdev = udev_device_get_parent_with_subsystem_devtype(parent, "scsi", "scsi_target"); in handle_scsi_fibre_channel() 108 parent in handle_scsi_fibre_channel() 121 handle_scsi_sas_wide_port(struct udev_device *parent, char **path) handle_scsi_sas_wide_port() argument 157 handle_scsi_sas(struct udev_device *parent, char **path) handle_scsi_sas() argument 251 handle_scsi_iscsi(struct udev_device *parent, char **path) handle_scsi_iscsi() argument 309 handle_scsi_default(struct udev_device *parent, char **path) handle_scsi_default() argument 393 handle_scsi_hyperv(struct udev_device *parent, char **path) handle_scsi_hyperv() argument 429 handle_scsi(struct udev_device *parent, char **path, bool *supported_parent) handle_scsi() argument 494 handle_cciss(struct udev_device *parent, char **path) handle_cciss() argument 521 handle_usb(struct udev_device *parent, char **path) handle_usb() argument 543 handle_bcma(struct udev_device *parent, char **path) handle_bcma() argument 555 handle_ccw(struct udev_device *parent, struct udev_device *dev, char **path) handle_ccw() argument 580 struct udev_device *parent; builtin_path_id() local [all...] |
/third_party/ltp/testcases/kernel/fs/fs_bind/rbind/ |
H A D | fs_bind_rbind35.sh | 14 fs_bind_makedir rshared parent 15 fs_bind_makedir private parent/child1 16 fs_bind_makedir rshared parent/child2 18 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent/child1 20 EXPECT_PASS mount --rbind parent parent/child2/ 21 fs_bind_check parent parent/child2/ 22 fs_bind_check parent/child1 parent/child [all...] |
H A D | fs_bind_rbind34.sh | 14 fs_bind_makedir rshared parent 15 fs_bind_makedir rshared parent/child1 16 fs_bind_makedir rshared parent/child2 18 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent/child1 20 EXPECT_PASS mount --rbind parent parent/child2/ 21 fs_bind_check parent parent/child2/ 22 fs_bind_check parent/child1 parent/child [all...] |
H A D | fs_bind_rbind36.sh | 14 fs_bind_makedir rshared parent 15 fs_bind_makedir runbindable parent/child1 16 fs_bind_makedir rshared parent/child2 18 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent/child1 20 EXPECT_PASS mount --rbind parent parent/child2/ 21 fs_bind_check parent parent/child2/ 22 fs_bind_check -n parent/child1 parent/child [all...] |
/third_party/ltp/testcases/kernel/fs/fs_bind/cloneNS/ |
H A D | fs_bind_cloneNS05.sh | 14 fs_bind_makedir rshared parent 15 fs_bind_makedir rshared parent/child1 16 fs_bind_makedir rshared parent/child2 18 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" parent/child1 19 EXPECT_PASS mount --rbind parent parent/child2 23 EXPECT_PASS mount --bind "$FS_BIND_DISK2" parent/child1/a 24 fs_bind_check parent/child1/a parent/child2/child1/a 26 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent/child [all...] |
/third_party/libuv/src/ |
H A D | heap-inl.h | 31 struct heap_node* parent; member 72 /* Swap parent with child. Child moves closer to the root, parent moves away. */ 74 struct heap_node* parent, in heap_node_swap() 79 t = *parent; in heap_node_swap() 80 *parent = *child; in heap_node_swap() 83 parent->parent = child; in heap_node_swap() 85 child->left = parent; in heap_node_swap() 88 child->right = parent; in heap_node_swap() 73 heap_node_swap(struct heap* heap, struct heap_node* parent, struct heap_node* child) heap_node_swap() argument 110 struct heap_node** parent; HEAP_EXPORT() local [all...] |
/third_party/node/deps/uv/src/ |
H A D | heap-inl.h | 30 struct heap_node* parent; member 71 /* Swap parent with child. Child moves closer to the root, parent moves away. */ 73 struct heap_node* parent, in heap_node_swap() 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() 72 heap_node_swap(struct heap* heap, struct heap_node* parent, struct heap_node* child) heap_node_swap() argument 109 struct heap_node** parent; HEAP_EXPORT() local [all...] |
/third_party/ltp/testcases/kernel/fs/fs_bind/bind/ |
H A D | fs_bind22.sh | 14 fs_bind_makedir rshared parent 15 fs_bind_makedir rshared parent/child1 16 fs_bind_makedir rshared parent/child2 18 EXPECT_PASS mount --bind parent parent/child2/ 19 fs_bind_check parent parent/child2/ 21 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent/child2/child1 22 fs_bind_check parent/child1 parent/child [all...] |
/third_party/mesa3d/src/util/ |
H A D | slab.c | 75 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() 99 * Create a parent pool for the allocation of same-sized objects. 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 in slab_destroy_parent() 125 slab_create_child(struct slab_child_pool *pool, struct slab_parent_pool *parent) slab_create_child() argument [all...] |
H A D | ralloc.c | 57 struct ralloc_header *parent; member 86 add_child(ralloc_header *parent, ralloc_header *info) in add_child() argument 88 if (parent != NULL) { in add_child() 89 info->parent = parent; in add_child() 90 info->next = parent->child; in add_child() 91 parent->child = info; in add_child() 117 ralloc_header *parent; in ralloc_size() local 127 info->parent = NULL; in ralloc_size() 133 parent in ralloc_size() 302 ralloc_header *info, *parent; ralloc_steal() local 622 linear_alloc_child(void *parent, unsigned size) linear_alloc_child() argument 676 linear_zalloc_child(void *parent, unsigned size) linear_zalloc_child() argument 686 linear_zalloc_parent(void *parent, unsigned size) linear_zalloc_parent() argument 741 linear_realloc(void *parent, void *old, unsigned new_size) linear_realloc() argument 764 linear_strdup(void *parent, const char *str) linear_strdup() argument 783 linear_asprintf(void *parent, const char *fmt, ...) linear_asprintf() argument 794 linear_vasprintf(void *parent, const char *fmt, va_list args) linear_vasprintf() argument 806 linear_asprintf_append(void *parent, char **str, const char *fmt, ...) linear_asprintf_append() argument 817 linear_vasprintf_append(void *parent, char **str, const char *fmt, va_list args) linear_vasprintf_append() argument 826 linear_asprintf_rewrite_tail(void *parent, char **str, size_t *start, const char *fmt, ...) linear_asprintf_rewrite_tail() argument 838 linear_vasprintf_rewrite_tail(void *parent, char **str, size_t *start, const char *fmt, va_list args) linear_vasprintf_rewrite_tail() argument 866 linear_cat(void *parent, char **dest, const char *str, unsigned n) linear_cat() argument 885 linear_strcat(void *parent, char **dest, const char *str) linear_strcat() argument [all...] |
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
H A D | usb_obj.c | 56 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 147 struct usb_obj *parent = obj->parent; usbobj_release() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/ |
H A D | esextcTessellationShaderIsolines.cpp | 71 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 in checkFirstOuterTessellationLevelEffect() [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_deref.c | 32 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 in nir_deref_instr_get_const_offset() 356 nir_deref_instr *parent = *(p - 1); nir_build_deref_offset() local 432 nir_deref_instr *parent = nir_fixup_deref_modes() local 755 nir_deref_instr *parent = nir_src_as_deref(deref->parent); rematerialize_deref_in_block() local 867 nir_deref_instr_fixup_child_types(nir_deref_instr *parent) nir_deref_instr_fixup_child_types() argument 931 nir_deref_instr *parent = nir_src_as_deref(cast->parent); is_trivial_array_deref_cast() local 1030 nir_deref_instr *parent = nir_deref_instr_parent(first_cast); opt_remove_cast_cast() local 1058 nir_deref_instr *parent = nir_src_as_deref(deref->parent); opt_restrict_deref_modes() local 1071 nir_deref_instr *parent = nir_src_as_deref(cast->parent); opt_remove_sampler_cast() local 1120 nir_deref_instr *parent = nir_src_as_deref(cast->parent); opt_replace_struct_wrapper_cast() local 1200 nir_deref_instr *parent = nir_deref_instr_parent(deref); opt_deref_ptr_as_array() local 1319 nir_deref_instr *parent = nir_src_as_deref(deref->parent); opt_load_vec_deref() local 1361 nir_deref_instr *parent = nir_src_as_deref(deref->parent); opt_store_vec_deref() local [all...] |
H A D | nir_lower_to_source_mods.c | 72 nir_alu_instr *parent = nir_instr_as_alu(alu->src[i].src.ssa->parent_instr); in nir_lower_to_source_mods_block() local 74 if (parent->dest.saturate) in nir_lower_to_source_mods_block() 81 if (!(parent->op == nir_op_fabs && (options & nir_lower_fabs_source_mods)) && in nir_lower_to_source_mods_block() 82 !(parent->op == nir_op_fneg && (options & nir_lower_fneg_source_mods))) { in nir_lower_to_source_mods_block() 89 if (parent->op != nir_op_iabs && parent->op != nir_op_ineg) in nir_lower_to_source_mods_block() 105 if (!parent->src[0].src.is_ssa) in nir_lower_to_source_mods_block() 108 if (!lower_abs && (parent->op == nir_op_fabs || in nir_lower_to_source_mods_block() 109 parent->op == nir_op_iabs || in nir_lower_to_source_mods_block() 110 parent in nir_lower_to_source_mods_block() [all...] |
/third_party/f2fs-tools/fsck/ |
H A D | dict.c | 43 * program which uses dict to define, for instance, a macro called ``parent''. 53 #define parent dict_parent macro 88 lowleft->parent = upper; in rotate_left() 90 lower->parent = upparent = upper->parent; in rotate_left() 92 /* don't need to check for root node here because root->parent is in rotate_left() 93 the sentinel nil node, and root->parent->left points back to root */ in rotate_left() 103 upper->parent = lower; in rotate_left() 116 lowright->parent = upper; in rotate_right() 118 lower->parent in rotate_right() 545 dnode_t *parent = nil, *uncle, *grandpa; dict_insert() local 731 dnode_t *parent, *sister; dict_delete() local 871 dnode_t *nil = dict_nil(dict), *parent, *left; dict_next() local 896 dnode_t *nil = dict_nil(dict), *parent, *right; dict_prev() local [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/ |
H A D | node.js | 1 // inventory, path, realpath, root, and parent 20 // Setting node.parent will set the node's root to the parent's root, as well 22 // and setting node.path to parent.path/node_modules/name. 80 parent, 200 // have to set the internal package ref before assigning the parent, 229 // call the parent setter 232 // will also assign root if present on the parent 234 this.parent = parent || nul [all...] |
/third_party/node/lib/internal/test_runner/ |
H A D | test.js | 211 let { fn, name, parent, skip } = options; 222 if (!(parent instanceof Test)) { 223 parent = null; 226 if (parent === null) { 243 const nesting = parent.parent === null ? parent.nesting : 244 parent.nesting + 1; 246 this.concurrency = parent.concurrency; 248 this.only = only ?? !parent [all...] |
/third_party/vk-gl-cts/framework/delibs/depool/ |
H A D | deMemPool.c | 89 deMemPool* parent; /*!< Pointer to parent (null for root pools). */ member 93 deMemPool* prevPool; /*!< Previous pool in parent's linked list. */ 94 deMemPool* nextPool; /*!< Next pool in parent's linked list. */ 166 * \param parent Parent pool (may be null). 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() 195 /* Register to parent in createPoolInternal() 281 deMemPool_create(deMemPool* parent) deMemPool_create() argument 332 deMemPool* parent = pool->parent; deMemPool_destroy() local [all...] |
/third_party/python/Tools/peg_generator/pegen/ |
H A D | build.py | 17 MOD_DIR = pathlib.Path(__file__).resolve().parent 82 str(MOD_DIR.parent.parent.parent / "Python" / "Python-ast.c"), 83 str(MOD_DIR.parent.parent.parent / "Python" / "asdl.c"), 84 str(MOD_DIR.parent.parent.parent / "Parse [all...] |
/third_party/libwebsockets/lib/core-net/ |
H A D | dummy-callback.c | 121 if (!wsi->h1_ws_proxied || !wsi->parent) in lws_callback_ws_proxy() 124 if (lws_process_ws_upgrade2(wsi->parent)) in lws_callback_ws_proxy() 128 if (wsi->parent->mux_substream) in lws_callback_ws_proxy() 138 lwsl_wsi_info(wsi, "client closed: parent %s", in lws_callback_ws_proxy() 139 lws_wsi_tag(wsi->parent)); in lws_callback_ws_proxy() 140 if (wsi->parent) in lws_callback_ws_proxy() 141 lws_set_timeout(wsi->parent, 1, LWS_TO_KILL_ASYNC); in lws_callback_ws_proxy() 149 proxy_header(wsi, wsi->parent, tmp, sizeof(tmp), in lws_callback_ws_proxy() 152 proxy_header(wsi, wsi->parent, tmp, sizeof(tmp), in lws_callback_ws_proxy() 155 proxy_header(wsi, wsi->parent, tm in lws_callback_ws_proxy() 279 struct lws *parent; lws_callback_http_dummy() local [all...] |
/third_party/elfutils/libelf/ |
H A D | elf_next.c | 44 Elf *parent; in elf_next() local 48 if (elf == NULL || elf->parent == NULL) in elf_next() 51 /* We can be sure the parent is an archive. */ in elf_next() 52 parent = elf->parent; in elf_next() 53 assert (parent->kind == ELF_K_AR); in elf_next() 55 rwlock_wrlock (parent->lock); in elf_next() 58 parent->state.ar.offset += (sizeof (struct ar_hdr) in elf_next() 59 + ((parent->state.ar.elf_ar_hdr.ar_size + 1) in elf_next() 63 ret = __libelf_next_arhdr_wrlock (parent) ! in elf_next() [all...] |
H A D | elf_getarhdr.c | 47 Elf *parent = elf->parent; in elf_getarhdr() 50 if (parent == NULL) in elf_getarhdr() 57 if (parent->state.ar.elf_ar_hdr.ar_name == NULL in elf_getarhdr() 58 && __libelf_next_arhdr_wrlock (parent) != 0) in elf_getarhdr() 60 rwlock_wrlock (parent->lock); in elf_getarhdr() 61 int st = __libelf_next_arhdr_wrlock (parent); in elf_getarhdr() 62 rwlock_unlock (parent->lock); in elf_getarhdr() 69 /* We can be sure the parent is an archive. */ in elf_getarhdr() 70 assert (parent in elf_getarhdr() [all...] |
/third_party/alsa-utils/topology/ |
H A D | pre-processor.h | 37 snd_config_t *parent); 40 snd_config_t *obj, snd_config_t *parent); 62 snd_config_t *parent); 64 snd_config_t *parent); 66 snd_config_t *parent); 68 snd_config_t *parent); 70 snd_config_t *parent); 72 snd_config_t *parent); 74 snd_config_t *parent); 76 snd_config_t *parent); [all...] |
/third_party/FreeBSD/sys/sys/ |
H A D | tree.h | 61 * - each red node (except for the root) has a black parent, 320 struct type *rbe_parent; /* parent element */ \ 331 #define RB_SET(elm, parent, field) do { \ 332 RB_PARENT(elm, field) = parent; \ 455 struct type *parent, *gparent, *tmp; \ 456 while ((parent = RB_PARENT(elm, field)) != NULL && \ 457 RB_COLOR(parent, field) == RB_RED) { \ 458 gparent = RB_PARENT(parent, field); \ 459 if (parent == RB_LEFT(gparent, field)) { \ 463 RB_SET_BLACKRED(parent, gparen [all...] |
/third_party/rust/crates/memoffset/src/ |
H A D | span_of.rs | 103 (@helper $root:ident, $parent:path, [] ..) => {{ 107 (@helper $root:ident, $parent:path, [] ..= $end:tt) => {{ 108 let end = raw_field!($root, $parent, $end); 111 (@helper $root:ident, $parent:path, [] .. $end:tt) => {{ 112 ($root as usize, raw_field!($root, $parent, $end) as usize) 115 (@helper $root:ident, $parent:path, # $begin:tt [] ..= $end:tt) => {{ 116 let begin = raw_field!($root, $parent, $begin); 117 let end = raw_field!($root, $parent, $end); 120 (@helper $root:ident, $parent:path, # $begin:tt [] .. $end:tt) => {{ 121 (raw_field!($root, $parent, [all...] |