Home
last modified time | relevance | path

Searched refs:bytes_copied (Results 1 – 17 of 17) sorted by relevance

/third_party/jerryscript/tests/unit-ext/
Dtest-ext-module-empty.c28 jerry_size_t bytes_copied; in main() local
49 bytes_copied = jerry_substring_to_utf8_char_buffer (prop, 0, 254, buffer, 256); in main()
50 buffer[bytes_copied] = 0; in main()
64 bytes_copied = jerry_substring_to_utf8_char_buffer (prop, 0, 254, buffer, 256); in main()
65 buffer[bytes_copied] = 0; in main()
/third_party/mindspore/tests/ut/cpp/dataset/
Ddata_helper_test.cc160 auto bytes_copied = dh.DumpData(t->GetBuffer(), t->SizeInBytes(), data, t->SizeInBytes()); in TEST_F() local
161 if (bytes_copied != t->SizeInBytes()) { in TEST_F()
188 auto bytes_copied = dh.DumpData(t->GetBuffer(), t->SizeInBytes(), data, t->SizeInBytes()); in TEST_F() local
189 if (bytes_copied != t->SizeInBytes()) { in TEST_F()
/third_party/boost/boost/asio/
Dbuffer.hpp2219 std::size_t bytes_copied = (buffer_copy_1)(target_buffer, source_buffer); in buffer_copy() local
2220 total_bytes_copied += bytes_copied; in buffer_copy()
2221 target_buffer += bytes_copied; in buffer_copy()
2242 std::size_t bytes_copied = (buffer_copy_1)(target_buffer, source_buffer); in buffer_copy() local
2243 total_bytes_copied += bytes_copied; in buffer_copy()
2244 source_buffer += bytes_copied; in buffer_copy()
2271 std::size_t bytes_copied = (buffer_copy_1)(target_buffer, source_buffer); in buffer_copy() local
2272 total_bytes_copied += bytes_copied; in buffer_copy()
2274 if (bytes_copied == target_buffer.size()) in buffer_copy()
2280 target_buffer_offset += bytes_copied; in buffer_copy()
[all …]
Dbuffered_read_stream.hpp226 std::size_t bytes_copied = boost::asio::buffer_copy( in copy() local
228 storage_.consume(bytes_copied); in copy()
229 return bytes_copied; in copy()
/third_party/boost/libs/asio/include/boost/asio/
Dbuffer.hpp2219 std::size_t bytes_copied = (buffer_copy_1)(target_buffer, source_buffer); in buffer_copy() local
2220 total_bytes_copied += bytes_copied; in buffer_copy()
2221 target_buffer += bytes_copied; in buffer_copy()
2242 std::size_t bytes_copied = (buffer_copy_1)(target_buffer, source_buffer); in buffer_copy() local
2243 total_bytes_copied += bytes_copied; in buffer_copy()
2244 source_buffer += bytes_copied; in buffer_copy()
2271 std::size_t bytes_copied = (buffer_copy_1)(target_buffer, source_buffer); in buffer_copy() local
2272 total_bytes_copied += bytes_copied; in buffer_copy()
2274 if (bytes_copied == target_buffer.size()) in buffer_copy()
2280 target_buffer_offset += bytes_copied; in buffer_copy()
[all …]
Dbuffered_read_stream.hpp226 std::size_t bytes_copied = boost::asio::buffer_copy( in copy() local
228 storage_.consume(bytes_copied); in copy()
229 return bytes_copied; in copy()
/third_party/ffmpeg/libavformat/
Dbethsoftvid.c109 int bytes_copied = 0; in read_frame() local
177 bytes_copied += code & 0x7F; in read_frame()
178 …if(bytes_copied == npixels){ // sometimes no stop character is given, need to keep track of bytes … in read_frame()
184 if (bytes_copied > npixels) { in read_frame()
/third_party/glib/gio/
Dgoutputstream.c728 gssize bytes_copied; in g_output_stream_splice() local
748 bytes_copied = class->splice (stream, source, flags, cancellable, error); in g_output_stream_splice()
755 return bytes_copied; in g_output_stream_splice()
767 gsize bytes_copied; in g_output_stream_real_splice() local
771 bytes_copied = 0; in g_output_stream_real_splice()
805 bytes_copied += n_written; in g_output_stream_real_splice()
808 if (bytes_copied > G_MAXSSIZE) in g_output_stream_real_splice()
809 bytes_copied = G_MAXSSIZE; in g_output_stream_real_splice()
831 return bytes_copied; in g_output_stream_real_splice()
2650 gsize bytes_copied; member
[all …]
/third_party/jerryscript/jerry-core/lit/
Dlit-magic-strings.c429 lit_utf8_size_t bytes_copied = 0; in lit_copy_magic_string_to_buffer() local
433 bytes_copied ++; in lit_copy_magic_string_to_buffer()
434 JERRY_ASSERT (bytes_copied <= buffer_size); in lit_copy_magic_string_to_buffer()
/third_party/boost/libs/asio/include/boost/asio/impl/
Dbuffered_read_stream.hpp321 const std::size_t bytes_copied = boost::asio::buffer_copy( in operator ()() local
323 storage_.consume(bytes_copied); in operator ()()
324 handler_(ec, bytes_copied); in operator ()()
Dbuffered_write_stream.hpp308 const std::size_t bytes_copied = boost::asio::buffer_copy( in operator ()() local
310 handler_(ec, bytes_copied); in operator ()()
/third_party/boost/boost/asio/impl/
Dbuffered_read_stream.hpp321 const std::size_t bytes_copied = boost::asio::buffer_copy( in operator ()() local
323 storage_.consume(bytes_copied); in operator ()()
324 handler_(ec, bytes_copied); in operator ()()
Dbuffered_write_stream.hpp308 const std::size_t bytes_copied = boost::asio::buffer_copy( in operator ()() local
310 handler_(ec, bytes_copied); in operator ()()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-conversion.c741 lit_utf8_size_t bytes_copied = (lit_utf8_size_t) (out_buffer_p + buffer_size - buf_p); in ecma_uint32_to_utf8_string() local
745 memmove (out_buffer_p, buf_p, bytes_copied); in ecma_uint32_to_utf8_string()
748 return bytes_copied; in ecma_uint32_to_utf8_string()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_meta_common.c1281 const uint32_t bytes_copied = items_copied * item_size; in v3dX() local
1283 src_offset += bytes_copied; in v3dX()
1284 dst_offset += bytes_copied; in v3dX()
1326 const uint32_t bytes_copied = items_copied * 4; in v3dX() local
1328 offset += bytes_copied; in v3dX()
/third_party/jerryscript/jerry-core/parser/js/
Djs-parser.c389 size_t bytes_copied = 0; in parse_update_branches() local
402 uint8_t *bytes_p = byte_code_p + bytes_copied; in parse_update_branches()
488 bytes_copied += page_p->bytes[PARSER_CBC_STREAM_PAGE_SIZE - 1] & CBC_LOWER_SEVEN_BIT_MASK; in parse_update_branches()
/third_party/jerryscript/docs/
D02.API-REFERENCE.md3011 jerry_size_t bytes_copied = jerry_string_to_utf8_char_buffer (value, str_buf_p, req_sz);