/third_party/mesa3d/src/panfrost/midgard/ |
H A D | midgard_derivatives.c | 141 midgard_instruction dup; in midgard_lower_derivatives() local 142 memcpy(&dup, ins, sizeof(dup)); in midgard_lower_derivatives() 147 dup.mask &= 0b1100; in midgard_lower_derivatives() 150 dup.swizzle[0][0] = dup.swizzle[0][1] = dup.swizzle[0][2] = COMPONENT_X; in midgard_lower_derivatives() 151 dup.swizzle[0][3] = COMPONENT_Y; in midgard_lower_derivatives() 153 dup.swizzle[1][0] = COMPONENT_Z; in midgard_lower_derivatives() 154 dup in midgard_lower_derivatives() [all...] |
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_dir2_data.c | 24 struct xfs_dir2_data_unused *dup, 178 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; in __xfs_dir3_data_check() local 186 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in __xfs_dir3_data_check() 191 if (offset + be16_to_cpu(dup->length) > end) in __xfs_dir3_data_check() 193 if (be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) != in __xfs_dir3_data_check() 196 fa = xfs_dir2_data_freefind_verify(hdr, bf, dup, &dfp); in __xfs_dir3_data_check() 205 if (be16_to_cpu(dup->length) > in __xfs_dir3_data_check() 209 offset += be16_to_cpu(dup->length); in __xfs_dir3_data_check() 461 struct xfs_dir2_data_unused *dup, in xfs_dir2_data_freefind_verify() 470 off = (xfs_dir2_data_aoff_t)((char *)dup in xfs_dir2_data_freefind_verify() 458 xfs_dir2_data_freefind_verify( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup, struct xfs_dir2_data_free **bf_ent) xfs_dir2_data_freefind_verify() argument 517 xfs_dir2_data_freefind( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup) xfs_dir2_data_freefind() argument 553 xfs_dir2_data_freeinsert( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *dfp, struct xfs_dir2_data_unused *dup, int *loghead) xfs_dir2_data_freeinsert() argument 662 struct xfs_dir2_data_unused *dup = addr + offset; xfs_dir2_data_freescan() local 701 struct xfs_dir2_data_unused *dup; xfs_dir3_data_init() local 803 xfs_dir2_data_log_unused( struct xfs_da_args *args, struct xfs_buf *bp, xfs_dir2_data_unused_t *dup) xfs_dir2_data_log_unused() argument 1010 xfs_dir2_data_check_free( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_unused *dup, xfs_dir2_data_aoff_t offset, xfs_dir2_data_aoff_t len) xfs_dir2_data_check_free() argument 1053 xfs_dir2_data_use_free( struct xfs_da_args *args, struct xfs_buf *bp, xfs_dir2_data_unused_t *dup, xfs_dir2_data_aoff_t offset, xfs_dir2_data_aoff_t len, int *needlogp, int *needscanp) xfs_dir2_data_use_free() argument [all...] |
H A D | xfs_dir2_block.c | 200 struct xfs_dir2_data_unused *dup = NULL; in xfs_dir2_block_need_space() local 214 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space() 227 dup = (xfs_dir2_data_unused_t *)((char *)hdr + be16_to_cpu(*tagp)); in xfs_dir2_block_need_space() 233 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_need_space() 234 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space() 236 dup = NULL; in xfs_dir2_block_need_space() 238 dup = NULL; in xfs_dir2_block_need_space() 240 dup = (xfs_dir2_data_unused_t *)blp; in xfs_dir2_block_need_space() 262 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space() 264 if (dup ! in xfs_dir2_block_need_space() 360 xfs_dir2_data_unused_t *dup; /* block unused entry */ xfs_dir2_block_addname() local 931 xfs_dir2_data_unused_t *dup; /* unused data entry */ xfs_dir2_leaf_to_block() local 1083 xfs_dir2_data_unused_t *dup; /* unused entry pointer */ xfs_dir2_sf_to_block() local [all...] |
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_dir2_data.c | 24 struct xfs_dir2_data_unused *dup, 178 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; in __xfs_dir3_data_check() local 186 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in __xfs_dir3_data_check() 191 if (offset + be16_to_cpu(dup->length) > end) in __xfs_dir3_data_check() 193 if (be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) != in __xfs_dir3_data_check() 196 fa = xfs_dir2_data_freefind_verify(hdr, bf, dup, &dfp); in __xfs_dir3_data_check() 205 if (be16_to_cpu(dup->length) > in __xfs_dir3_data_check() 209 offset += be16_to_cpu(dup->length); in __xfs_dir3_data_check() 461 struct xfs_dir2_data_unused *dup, in xfs_dir2_data_freefind_verify() 470 off = (xfs_dir2_data_aoff_t)((char *)dup in xfs_dir2_data_freefind_verify() 458 xfs_dir2_data_freefind_verify( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup, struct xfs_dir2_data_free **bf_ent) xfs_dir2_data_freefind_verify() argument 517 xfs_dir2_data_freefind( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup) xfs_dir2_data_freefind() argument 553 xfs_dir2_data_freeinsert( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *dfp, struct xfs_dir2_data_unused *dup, int *loghead) xfs_dir2_data_freeinsert() argument 662 struct xfs_dir2_data_unused *dup = addr + offset; xfs_dir2_data_freescan() local 701 struct xfs_dir2_data_unused *dup; xfs_dir3_data_init() local 803 xfs_dir2_data_log_unused( struct xfs_da_args *args, struct xfs_buf *bp, xfs_dir2_data_unused_t *dup) xfs_dir2_data_log_unused() argument 1010 xfs_dir2_data_check_free( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_unused *dup, xfs_dir2_data_aoff_t offset, xfs_dir2_data_aoff_t len) xfs_dir2_data_check_free() argument 1053 xfs_dir2_data_use_free( struct xfs_da_args *args, struct xfs_buf *bp, xfs_dir2_data_unused_t *dup, xfs_dir2_data_aoff_t offset, xfs_dir2_data_aoff_t len, int *needlogp, int *needscanp) xfs_dir2_data_use_free() argument [all...] |
H A D | xfs_dir2_block.c | 200 struct xfs_dir2_data_unused *dup = NULL; in xfs_dir2_block_need_space() local 214 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space() 227 dup = (xfs_dir2_data_unused_t *)((char *)hdr + be16_to_cpu(*tagp)); in xfs_dir2_block_need_space() 233 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_need_space() 234 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space() 236 dup = NULL; in xfs_dir2_block_need_space() 238 dup = NULL; in xfs_dir2_block_need_space() 240 dup = (xfs_dir2_data_unused_t *)blp; in xfs_dir2_block_need_space() 262 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space() 264 if (dup ! in xfs_dir2_block_need_space() 360 xfs_dir2_data_unused_t *dup; /* block unused entry */ xfs_dir2_block_addname() local 931 xfs_dir2_data_unused_t *dup; /* unused data entry */ xfs_dir2_leaf_to_block() local 1083 xfs_dir2_data_unused_t *dup; /* unused entry pointer */ xfs_dir2_sf_to_block() local [all...] |
/kernel/linux/linux-5.10/kernel/gcov/ |
H A D | gcc_4_7.c | 283 struct gcov_info *dup; in gcov_info_dup() local 292 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup() 293 if (!dup) in gcov_info_dup() 296 dup->next = NULL; in gcov_info_dup() 297 dup->filename = NULL; in gcov_info_dup() 298 dup->functions = NULL; in gcov_info_dup() 300 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup() 301 if (!dup->filename) in gcov_info_dup() 304 dup in gcov_info_dup() [all...] |
H A D | clang.c | 394 struct gcov_info *dup; in gcov_info_dup() local 397 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup() 398 if (!dup) in gcov_info_dup() 400 INIT_LIST_HEAD(&dup->head); in gcov_info_dup() 401 INIT_LIST_HEAD(&dup->functions); in gcov_info_dup() 402 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup() 403 if (!dup->filename) in gcov_info_dup() 411 list_add_tail(&fn_dup->head, &dup->functions); in gcov_info_dup() 414 return dup; in gcov_info_dup() [all...] |
/kernel/linux/linux-6.6/kernel/gcov/ |
H A D | gcc_4_7.c | 280 struct gcov_info *dup; in gcov_info_dup() local 289 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup() 290 if (!dup) in gcov_info_dup() 293 dup->next = NULL; in gcov_info_dup() 294 dup->filename = NULL; in gcov_info_dup() 295 dup->functions = NULL; in gcov_info_dup() 297 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup() 298 if (!dup->filename) in gcov_info_dup() 301 dup in gcov_info_dup() [all...] |
H A D | clang.c | 317 struct gcov_info *dup; in gcov_info_dup() local 320 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup() 321 if (!dup) in gcov_info_dup() 323 INIT_LIST_HEAD(&dup->head); in gcov_info_dup() 324 INIT_LIST_HEAD(&dup->functions); in gcov_info_dup() 325 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup() 326 if (!dup->filename) in gcov_info_dup() 334 list_add_tail(&fn_dup->head, &dup->functions); in gcov_info_dup() 337 return dup; in gcov_info_dup() [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | cstring.cpp | 317 char *dup = (char *) uprv_malloc(len); in uprv_strdup() local 319 if (dup) { in uprv_strdup() 320 uprv_memcpy(dup, src, len); in uprv_strdup() 323 return dup; in uprv_strdup() 328 char *dup; in uprv_strndup() local 331 dup = uprv_strdup(src); in uprv_strndup() 333 dup = (char*)uprv_malloc(n+1); in uprv_strndup() 334 if (dup) { in uprv_strndup() 335 uprv_memcpy(dup, src, n); in uprv_strndup() 336 dup[ in uprv_strndup() [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | cstring.cpp | 317 char *dup = (char *) uprv_malloc(len); in uprv_strdup() local 319 if (dup) { in uprv_strdup() 320 uprv_memcpy(dup, src, len); in uprv_strdup() 323 return dup; in uprv_strdup() 328 char *dup; in uprv_strndup() local 331 dup = uprv_strdup(src); in uprv_strndup() 333 dup = (char*)uprv_malloc(n+1); in uprv_strndup() 334 if (dup) { in uprv_strndup() 335 uprv_memcpy(dup, src, n); in uprv_strndup() 336 dup[ in uprv_strndup() [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | cstring.cpp | 317 char *dup = (char *) uprv_malloc(len); in uprv_strdup() local 319 if (dup) { in uprv_strdup() 320 uprv_memcpy(dup, src, len); in uprv_strdup() 323 return dup; in uprv_strdup() 328 char *dup; in uprv_strndup() local 331 dup = uprv_strdup(src); in uprv_strndup() 333 dup = (char*)uprv_malloc(n+1); in uprv_strndup() 334 if (dup) { in uprv_strndup() 335 uprv_memcpy(dup, src, n); in uprv_strndup() 336 dup[ in uprv_strndup() [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_nir_lower_mem_access_bit_sizes.c | 37 nir_intrinsic_instr *dup = in dup_mem_intrinsic() local 46 dup->src[i] = nir_src_for_ssa(store_src); in dup_mem_intrinsic() 48 dup->src[i] = nir_src_for_ssa(nir_iadd_imm(b, intrin->src[i].ssa, in dup_mem_intrinsic() 51 dup->src[i] = nir_src_for_ssa(intrin->src[i].ssa); in dup_mem_intrinsic() 55 dup->num_components = num_components; in dup_mem_intrinsic() 61 dup->const_index[i] = intrin->const_index[i]; in dup_mem_intrinsic() 64 nir_intrinsic_set_access(dup, nir_intrinsic_access(intrin)); in dup_mem_intrinsic() 66 nir_intrinsic_set_align(dup, align, 0); in dup_mem_intrinsic() 70 nir_ssa_dest_init(&dup->instr, &dup in dup_mem_intrinsic() [all...] |
/third_party/mesa3d/src/compiler/nir/tests/ |
H A D | serialize_tests.cpp | 42 nir_shader *dup; member in __anon7315::nir_serialize_test 47 : dup(NULL), options() in nir_serialize_test() 62 nir_print_shader(dup, stdout); in ~nir_serialize_test() 82 dup = cloned; in serialize() 137 nir_alu_instr *fmax_alu_dup = get_last_alu(dup); in TEST_P() 160 nir_alu_instr *vec_alu_dup = get_last_alu(dup); in TEST_P() 180 nir_alu_instr *fma_alu_dup = get_last_alu(dup); in TEST_P() 206 nir_alu_instr *fma_alu_dup = get_last_alu(dup); in TEST_P() 234 nir_alu_instr *fma_alu_dup = get_last_alu(dup); in TEST_P() 263 nir_alu_instr *fma_alu_dup = get_last_alu(dup); in TEST_P() [all...] |
/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
H A D | dsp_hwec.c | 54 char *dup, *tok, *name, *val; in dsp_hwec_enable() local 57 dup = kstrdup(arg, GFP_ATOMIC); in dsp_hwec_enable() 58 if (!dup) in dsp_hwec_enable() 61 while ((tok = strsep(&dup, ","))) { in dsp_hwec_enable() 76 kfree(dup); in dsp_hwec_enable()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
H A D | osdep_service.c | 69 u8 *dup = NULL; in rtw_buf_update() local 78 dup = rtw_malloc(src_len); in rtw_buf_update() 79 if (dup) { in rtw_buf_update() 81 memcpy(dup, src, dup_len); in rtw_buf_update() 87 /* replace buf with dup */ in rtw_buf_update() 89 *buf = dup; in rtw_buf_update()
|
/kernel/linux/linux-6.6/drivers/isdn/mISDN/ |
H A D | dsp_hwec.c | 54 char *dup, *tok, *name, *val; in dsp_hwec_enable() local 57 dup = kstrdup(arg, GFP_ATOMIC); in dsp_hwec_enable() 58 if (!dup) in dsp_hwec_enable() 61 while ((tok = strsep(&dup, ","))) { in dsp_hwec_enable() 76 kfree(dup); in dsp_hwec_enable()
|
/third_party/ffmpeg/libavcodec/aarch64/ |
H A D | h264pred_neon.S | 58 dup v0.16b, v0.b[0] 67 dup v0.16b, v0.b[0] 80 dup v0.16b, v0.b[0] 149 dup v1.8h, v2.h[0] 150 dup v2.8h, v4.h[0] 151 dup v3.8h, v6.h[0] 229 dup v1.8h, v2.h[0] 230 dup v2.8h, v5.h[1] 266 dup v1.8b, v2.b[1] 267 dup v [all...] |
/third_party/mesa3d/src/util/ |
H A D | u_memory.h | 80 void *dup = MALLOC(size); in mem_dup() local 81 if (dup) in mem_dup() 82 memcpy(dup, src, size); in mem_dup() 83 return dup; in mem_dup()
|
/third_party/python/Lib/test/ |
H A D | test_ordered_dict.py | 292 def check(dup): 293 msg = "\ncopy: %s\nod: %s" % (dup, od) 294 self.assertIsNot(dup, od, msg) 295 self.assertEqual(dup, od) 296 self.assertEqual(list(dup.items()), list(od.items())) 297 self.assertEqual(len(dup), len(od)) 298 self.assertEqual(type(dup), type(od)) 300 dup = copy.copy(od) 301 check(dup) 302 self.assertIs(dup [all...] |
H A D | test_weakset.py | 215 dup = self.s.copy() 216 self.assertEqual(self.s, dup) 217 self.assertNotEqual(id(self.s), id(dup)) 223 dup = self.s.copy() 225 self.assertEqual(self.s, dup) 463 dup = copy.copy(s) 464 self.assertIsInstance(dup, cls) 465 self.assertEqual(dup, s) 466 self.assertIsNot(dup, s) 467 self.assertIs(dup [all...] |
/kernel/linux/linux-5.10/drivers/hyperhold/ |
H A D | hp_iotab.c | 67 struct hpio *dup = NULL; in iotab_insert() local 71 dup = __iotab_search_get(iotab, hpio->eid); in iotab_insert() 72 if (dup) { in iotab_insert() 74 dup, hpio->eid, hpio); in iotab_insert() 83 return dup; in iotab_insert() 190 struct hpio *dup = NULL; in hpio_get_alloc() local 204 dup = iotab_insert(&iotab, hpio); in hpio_get_alloc() 205 if (dup) { in hpio_get_alloc() 207 hpio = dup; in hpio_get_alloc()
|
/kernel/linux/linux-6.6/drivers/hyperhold/ |
H A D | hp_iotab.c | 67 struct hpio *dup = NULL; in iotab_insert() local 71 dup = __iotab_search_get(iotab, hpio->eid); in iotab_insert() 72 if (dup) { in iotab_insert() 74 dup, hpio->eid, hpio); in iotab_insert() 83 return dup; in iotab_insert() 190 struct hpio *dup = NULL; in hpio_get_alloc() local 204 dup = iotab_insert(&iotab, hpio); in hpio_get_alloc() 205 if (dup) { in hpio_get_alloc() 207 hpio = dup; in hpio_get_alloc()
|
/third_party/curl/tests/libtest/ |
H A D | lib1502.c | 45 CURL *dup; in test() local 78 dup = curl_easy_duphandle(easy); in test() 79 if(dup) { in test() 81 easy = dup; in test()
|
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/os_dep/ |
H A D | osdep_service.c | 127 u8 *dup = NULL; in rtw_buf_update() local 136 dup = rtw_malloc(src_len); in rtw_buf_update() 137 if (dup) { in rtw_buf_update() 139 memcpy(dup, src, dup_len); in rtw_buf_update() 146 /* replace buf with dup */ in rtw_buf_update() 148 *buf = dup; in rtw_buf_update()
|