/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...] |
/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...] |
/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...] |
H A D | h264cmc_neon.S | 58 dup v0.8B, w4 59 dup v1.8B, w12 61 dup v2.8B, w6 62 dup v3.8B, w7 100 dup v0.8B, w4 103 dup v1.8B, w12 228 dup v24.8B, w4 229 dup v25.8B, w12 231 dup v26.8B, w6 232 dup v2 [all...] |
/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...] |
/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/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()
|
/third_party/libuv/src/win/ |
H A D | process-stdio.c | 98 static int uv__duplicate_handle(uv_loop_t* loop, HANDLE handle, HANDLE* dup) { in uv__duplicate_handle() argument 110 *dup = INVALID_HANDLE_VALUE; in uv__duplicate_handle() 119 dup, in uv__duplicate_handle() 123 *dup = INVALID_HANDLE_VALUE; in uv__duplicate_handle() 131 static int uv__duplicate_fd(uv_loop_t* loop, int fd, HANDLE* dup) { in uv__duplicate_fd() argument 135 *dup = INVALID_HANDLE_VALUE; in uv__duplicate_fd() 140 return uv__duplicate_handle(loop, handle, dup); in uv__duplicate_fd()
|
/third_party/node/deps/uv/src/win/ |
H A D | process-stdio.c | 98 static int uv__duplicate_handle(uv_loop_t* loop, HANDLE handle, HANDLE* dup) { in uv__duplicate_handle() argument 110 *dup = INVALID_HANDLE_VALUE; in uv__duplicate_handle() 119 dup, in uv__duplicate_handle() 123 *dup = INVALID_HANDLE_VALUE; in uv__duplicate_handle() 131 static int uv__duplicate_fd(uv_loop_t* loop, int fd, HANDLE* dup) { in uv__duplicate_fd() argument 135 *dup = INVALID_HANDLE_VALUE; in uv__duplicate_fd() 140 return uv__duplicate_handle(loop, handle, dup); in uv__duplicate_fd()
|
/third_party/skia/third_party/externals/expat/expat/tests/ |
H A D | structdata.c | 59 XML_Char *dup = malloc(byte_count); in xmlstrdup() local 61 assert(dup != NULL); in xmlstrdup() 62 memcpy(dup, s, byte_count); in xmlstrdup() 63 return dup; in xmlstrdup()
|
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
H A D | RubyRepeatedField.java | 232 RubyRepeatedField dup = (RubyRepeatedField) dup(context); in plus() 235 dup.storage.addAll((RubyArray) list); in plus() 241 dup.storage.addAll((RubyArray) repeatedField.toArray(context)); in plus() 243 return dup; in plus() 315 * RepeatedField.dup => repeated_field 321 public IRubyObject dup(ThreadContext context) { in dup() method in RubyRepeatedField 322 RubyRepeatedField dup = new RubyRepeatedField(context.runtime, metaClass, fieldType, typeClass); in dup() 324 dup.push(context, this.storage.eltInternal(i)); in dup() 326 return dup; in dup() [all...] |
/third_party/ltp/testcases/kernel/syscalls/dup/ |
H A D | dup07.c | 27 HOW: Creat a file with each access mode; dup each file descriptor; 65 if ((duprdo = dup(rdoret)) == -1) { in main() 66 tst_resm(TFAIL, "Unable to dup '%s'", testfile); in main() 72 "rdonly and dup do not match"); in main() 87 if ((dupwro = dup(wroret)) == -1) { in main() 88 tst_resm(TFAIL, "Unable to dup '%s'", testfile); in main() 94 "wronly and dup do not match"); in main() 110 if ((duprdwr = dup(rdwret)) == -1) { in main() 111 tst_resm(TFAIL, "Unable to dup '%s'", testfile); in main() 117 "rdwr and dup d in main() [all...] |
H A D | dup04.c | 11 * Basic test for dup(2) of a system pipe descriptor. 24 TST_EXP_FD(dup(fd[0]), "dup(%d) read end of the pipe", fd[0]); in run() 27 TST_EXP_FD(dup(fd[1]), "dup(%d) write end of the pipe", fd[1]); in run()
|
/third_party/musl/libc-test/src/common/ |
H A D | fdfill.c | 9 if (dup(fd) == -1) { in t_fdfill() 14 while(dup(fd) != -1); in t_fdfill()
|
/third_party/musl/libc-test/src/regression/ |
H A D | rewind-clear-error.c | 14 fd = dup(0); in main() 21 if (dup(fd) != 0) in main() 22 t_error("dup failed\n"); in main()
|
/third_party/optimized-routines/string/aarch64/ |
H A D | strchr-mte.S | 48 dup vrepchr.16b, chrin 51 dup vrepmask.8h, wtmp2 55 dup vrepmask2.8h, wtmp2
|
/third_party/rust/crates/rustix/src/io/ |
H A D | mod.rs | 7 mod dup; modules 34 pub use dup::{dup, dup2, dup3, DupFlags};
|
H A D | dup.rs | 10 /// `dup(fd)`—Creates a new `OwnedFd` instance that shares the same 13 /// This function does not set the `O_CLOEXEC` flag. To do a `dup` that does 16 /// POSIX guarantees that `dup` will use the lowest unused file descriptor, 27 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/dup.html 28 /// [Linux]: https://man7.org/linux/man-pages/man2/dup.2.html 29 /// [Apple]: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/dup.2.html 32 pub fn dup<Fd: AsFd>(fd: Fd) -> io::Result<OwnedFd> { in dup() functions 33 backend::io::syscalls::dup(fd.as_fd()) in dup()
|
/third_party/node/deps/uvwasi/src/ |
H A D | poll_oneoff.c | 162 struct uvwasi__poll_fdevent_t* dup; in uvwasi__poll_oneoff_state_add_fdevent() local 194 dup = &state->fdevents[i]; in uvwasi__poll_oneoff_state_add_fdevent() 195 if (dup->wrap->id == fd) { in uvwasi__poll_oneoff_state_add_fdevent() 197 event->wrap = dup->wrap; in uvwasi__poll_oneoff_state_add_fdevent() 198 event->poll_handle = dup->poll_handle; in uvwasi__poll_oneoff_state_add_fdevent()
|
/third_party/ffmpeg/libavutil/ |
H A D | channel_layout.c | 408 const char *dup; in av_channel_layout_from_string() local 487 dup = chlist; in av_channel_layout_from_string() 488 while (*dup) { in av_channel_layout_from_string() 490 int ret = av_opt_get_key_value(&dup, "@", "+", AV_OPT_FLAG_IMPLICIT_KEY, &channel, &chname); in av_channel_layout_from_string() 495 if (*dup) in av_channel_layout_from_string() 496 dup++; // skip separator in av_channel_layout_from_string() 564 dup = chlist; in av_channel_layout_from_string() 565 while (*dup) { in av_channel_layout_from_string() 567 int ret = av_opt_get_key_value(&dup, "@", "+", AV_OPT_FLAG_IMPLICIT_KEY, &channel, &chname); in av_channel_layout_from_string() 573 if (*dup) in av_channel_layout_from_string() [all...] |