Home
last modified time | relevance | path

Searched refs:copied (Results 1 - 25 of 97) sorted by relevance

1234

/third_party/libfuse/lib/
H A Dbuffer.c47 size_t copied = 0; in fuse_buf_write() local
57 if (!copied) in fuse_buf_write()
64 copied += res; in fuse_buf_write()
73 return copied; in fuse_buf_write()
81 size_t copied = 0; in fuse_buf_read() local
91 if (!copied) in fuse_buf_read()
98 copied += res; in fuse_buf_read()
107 return copied; in fuse_buf_read()
120 size_t copied = 0; in fuse_buf_fd_to_fd() local
130 if (!copied) in fuse_buf_fd_to_fd()
171 size_t copied = 0; fuse_buf_splice() local
287 size_t copied = 0; fuse_buf_copy() local
[all...]
/third_party/python/Lib/test/
H A Dtest_xml_dom_minicompat.py107 copied = copy.copy(node_list)
108 self.assertIsNot(copied, node_list)
109 self.assertEqual(copied, node_list)
114 copied = copy.copy(node_list)
115 self.assertIsNot(copied, node_list)
116 self.assertEqual(copied, node_list)
117 for x, y in zip(copied, node_list):
123 copied = copy.deepcopy(node_list)
124 self.assertIsNot(copied, node_list)
125 self.assertEqual(copied, node_lis
[all...]
/third_party/rust/crates/clap/tests/builder/
H A Dmultiple_occurrences.rs12 assert_eq!(m.get_one::<bool>("multflag").copied(), Some(true)); in multiple_occurrences_of_flags_long()
14 assert_eq!(m.get_one::<bool>("flag").copied(), Some(true)); in multiple_occurrences_of_flags_long()
26 assert_eq!(m.get_one::<bool>("multflag").copied(), Some(true)); in multiple_occurrences_of_flags_short()
28 assert_eq!(m.get_one::<bool>("flag").copied(), Some(true)); in multiple_occurrences_of_flags_short()
80 assert_eq!(m.get_one::<u8>("multflag").copied(), Some(200)); in multiple_occurrences_of_flags_large_quantity()
88 assert_eq!(m.get_one::<u8>("multflag").copied(), Some(u8::MAX)); in multiple_occurrences_of_flags_large_quantity()
105 assert_eq!(m.get_one::<u8>("verbose").copied(), Some(0)); in multiple_occurrences_of_before_env()
110 assert_eq!(m.get_one::<u8>("verbose").copied(), Some(1)); in multiple_occurrences_of_before_env()
115 assert_eq!(m.get_one::<u8>("verbose").copied(), Some(2)); in multiple_occurrences_of_before_env()
120 assert_eq!(m.get_one::<u8>("verbose").copied(), Som in multiple_occurrences_of_before_env()
[all...]
H A Dpropagate_globals.rs59 && (m.get_one::<u8>("GLOBAL_FLAG").copied() == Some(occurrences)) in top_can_access_arg()
65 && (m.get_one::<u8>("GLOBAL_FLAG").copied() == Some(occurrences)) in inner_can_access_flag()
71 && (m.get_one::<u8>("GLOBAL_FLAG").copied() == Some(occurrences)) in outer_can_access_flag()
/third_party/node/test/js-native-api/test_string/
H A Dtest_string.c54 size_t copied; in TestOneByteImpl() local
56 NODE_API_CALL(env, get_api(env, args[0], buffer, buffer_size, &copied)); in TestOneByteImpl()
60 copied = NAPI_AUTO_LENGTH; in TestOneByteImpl()
62 NODE_API_CALL(env, create_api(env, buffer, copied, &output)); in TestOneByteImpl()
78 size_t copied; in TestTwoByteImpl() local
80 NODE_API_CALL(env, get_api(env, args[0], buffer, buffer_size, &copied)); in TestTwoByteImpl()
84 copied = NAPI_AUTO_LENGTH; in TestTwoByteImpl()
86 NODE_API_CALL(env, create_api(env, buffer, copied, &output)); in TestTwoByteImpl()
101 bool copied = true; in create_external_latin1() local
111 env, string_copy, length, free_string, NULL, result, &copied); in create_external_latin1()
141 bool copied = true; create_external_utf16() local
249 size_t copied; TestLatin1Insufficient() local
267 size_t copied; TestUtf8Insufficient() local
285 size_t copied; TestUtf16Insufficient() local
[all...]
/third_party/cJSON/fuzzing/
H A Dcjson_read_fuzzer.c17 unsigned char *copied; in LLVMFuzzerTestOneInput() local
59 copied = (unsigned char*)malloc(size); in LLVMFuzzerTestOneInput()
60 if(copied == NULL) return 0; in LLVMFuzzerTestOneInput()
62 memcpy(copied, data, size); in LLVMFuzzerTestOneInput()
64 cJSON_Minify((char*)copied + offset); in LLVMFuzzerTestOneInput()
66 free(copied); in LLVMFuzzerTestOneInput()
/third_party/ffmpeg/libavcodec/
H A Ddvd_nav_parser.c32 int copied; member
40 pc->copied = 0; in dvd_nav_parse_init()
73 pc1->copied = PCI_SIZE; in dvd_nav_parse()
80 if ((buf_size == DSI_SIZE) && (pc1->copied == PCI_SIZE)) { in dvd_nav_parse()
85 memcpy(pc1->buffer + pc1->copied, buf, DSI_SIZE); in dvd_nav_parse()
95 pc1->copied = 0; in dvd_nav_parse()
/third_party/libuv/src/unix/
H A Dhurd.c43 ssize_t copied; in uv_exepath() local
57 copied = uv__strscpy(buffer, exepath, *size); in uv_exepath()
60 *size = copied < 0 ? strlen(buffer) : (size_t) copied; in uv_exepath()
/third_party/icu/icu4c/source/test/intltest/
H A Dquantityformattertest.cpp87 QuantityFormatter copied(fmt); in TestBasic()
89 "copied getByVariant", in TestBasic()
90 copied.getByVariant("other")->getTextWithNoArguments(), in TestBasic()
93 "copied getByVariant", in TestBasic()
94 copied.getByVariant("one")->getTextWithNoArguments(), in TestBasic()
97 "copied getByVariant", in TestBasic()
98 copied.getByVariant("few")->getTextWithNoArguments(), in TestBasic()
/third_party/node/deps/uv/src/unix/
H A Dhurd.c43 ssize_t copied; in uv_exepath() local
57 copied = uv__strscpy(buffer, exepath, *size); in uv_exepath()
60 *size = copied < 0 ? strlen(buffer) : (size_t) copied; in uv_exepath()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DDiscardUnknownFieldsTest.java78 byte[] copied = new byte[messageSize * 2]; in assertReuseCodedInputStreamPreserve()
79 payload.copyTo(copied, 0); in assertReuseCodedInputStreamPreserve()
80 payload.copyTo(copied, messageSize); in assertReuseCodedInputStreamPreserve()
81 CodedInputStream input = CodedInputStream.newInstance(copied); in assertReuseCodedInputStreamPreserve()
/third_party/rust/crates/minimal-lexical/tests/
H A Dlibm_tests.rs20 for f in [0.0, -0.0].iter().copied() { in fabsf_spec_test()
23 for f in [f32::INFINITY, f32::NEG_INFINITY].iter().copied() { in fabsf_spec_test()
40 for f in [0.0, -0.0, f32::INFINITY].iter().copied() { in sqrtf_spec_test()
266 for f in [0.0, -0.0].iter().copied() { in fabsd_spec_test()
269 for f in [f64::INFINITY, f64::NEG_INFINITY].iter().copied() { in fabsd_spec_test()
286 for f in [0.0, -0.0, f64::INFINITY].iter().copied() { in sqrtd_spec_test()
/third_party/mesa3d/src/mesa/vbo/
H A Dvbo_exec_api.c67 exec->vtx.copied.nr = 0; in vbo_exec_wrap_buffers()
100 /* Execute the buffer and save copied vertices. in vbo_exec_wrap_buffers()
106 exec->vtx.copied.nr = 0; in vbo_exec_wrap_buffers()
119 if (exec->vtx.copied.nr == last_count) in vbo_exec_wrap_buffers()
136 * to exec->vtx.copied. in vbo_exec_vtx_wrap()
147 assert(exec->vtx.max_vert - exec->vtx.vert_count > exec->vtx.copied.nr); in vbo_exec_vtx_wrap()
149 numComponents = exec->vtx.copied.nr * exec->vtx.vertex_size; in vbo_exec_vtx_wrap()
151 exec->vtx.copied.buffer, in vbo_exec_vtx_wrap()
154 exec->vtx.vert_count += exec->vtx.copied.nr; in vbo_exec_vtx_wrap()
156 exec->vtx.copied in vbo_exec_vtx_wrap()
[all...]
H A Dvbo_save_api.c47 * commands through the Exec dispatch table, or fix up the copied
69 * except position are copied to vbo_save_context::attrptr (see ATTR_UNION).
73 * copied to the vertex_store (see the end of ATTR_UNION).
161 assert(save->copied.buffer == NULL); in copy_vertices()
162 save->copied.buffer = malloc(sizeof(fi_type) * sz * prim->count); in copy_vertices()
165 prim->begin, sz, true, save->copied.buffer, src); in copy_vertices()
167 free(save->copied.buffer); in copy_vertices()
168 save->copied.buffer = NULL; in copy_vertices()
534 node->cold->wrap_count = save->copied.nr; in compile_vertex_list()
573 save->copied in compile_vertex_list()
[all...]
H A Dvbo_save.c75 if (save->copied.buffer) in vbo_save_destroy()
76 free(save->copied.buffer); in vbo_save_destroy()
/third_party/rust/crates/cxx/gen/build/src/
H A Dvec.rs16 self.iter().copied().map(Element::unintern).collect() in vec()
24 elements.iter().copied().map(Element::intern).collect() in intern()
/third_party/rust/crates/rustix/tests/process/
H A Dmembarrier.rs15 .copied() in test_membarrier()
32 .copied() in test_membarrier()
/third_party/jerryscript/tests/unit-core/
H A Dtest-proxy.cpp78 jerry_size_t copied = jerry_string_to_char_buffer (args_p[1], (jerry_char_t *) buffer, 10); in handler_get() local
80 TEST_ASSERT (copied == 5); in handler_get()
107 jerry_size_t copied = jerry_string_to_char_buffer (args_p[1], (jerry_char_t *) buffer, 10); in handler_set() local
109 TEST_ASSERT (copied == 5); in handler_set()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DByteStringTest.cs241 var copied = byteString.Span.ToArray(); in GetContentsAsReadOnlySpan()
242 CollectionAssert.AreEqual(byteString, copied); in GetContentsAsReadOnlySpan()
249 var copied = byteString.Memory.ToArray(); in GetContentsAsReadOnlyMemory()
250 CollectionAssert.AreEqual(byteString, copied); in GetContentsAsReadOnlyMemory()
/third_party/rust/crates/serde/test_suite/tests/
H A Dtest_roundtrip.rs18 b"1234".iter().copied().map(Token::U8), in ip_addr_roundtrip()
35 b"1234567890123456".iter().copied().map(Token::U8), in socket_addr_roundtrip()
/third_party/rust/crates/cxx/gen/cmd/src/syntax/
H A Dset.rs49 self.set.get(value).copied() in get()
121 self.0.next().copied() in next()
/third_party/rust/crates/cxx/gen/lib/src/syntax/
H A Dset.rs49 self.set.get(value).copied() in get()
121 self.0.next().copied() in next()
/third_party/rust/crates/cxx/gen/build/src/syntax/
H A Dset.rs49 self.set.get(value).copied() in get()
121 self.0.next().copied() in next()
/third_party/rust/crates/cxx/macro/src/syntax/
H A Dset.rs49 self.set.get(value).copied() in get()
121 self.0.next().copied() in next()
/third_party/rust/crates/cxx/syntax/
H A Dset.rs49 self.set.get(value).copied() in get()
121 self.0.next().copied() in next()

Completed in 10 milliseconds

1234