/third_party/jerryscript/jerry-debugger/ |
D | jerry_client_websocket.py | 26 self.data_buffer = b"" 44 while len(self.data_buffer) < len_expected: 45 self.data_buffer += self.protocol.receive_data() 47 if self.data_buffer[0:len_expected] != expected: 50 if len(self.data_buffer) > len_expected: 51 self.data_buffer = self.data_buffer[len_expected:] 53 self.data_buffer = b"" 58 self.data_buffer = b"" 66 while len(self.data_buffer) < len_expected: 67 self.data_buffer += self.protocol.receive_data() [all …]
|
D | jerry_client_rawpacket.py | 25 self.data_buffer = b"" 30 self.data_buffer = b"" 37 while len(self.data_buffer) < len_expected: 38 self.data_buffer += self.protocol.receive_data() 42 if self.data_buffer[0:1] != expected: 45 result = self.data_buffer[1:len_expected] 46 self.data_buffer = self.data_buffer[len_expected:] 68 if self.data_buffer is None: 72 if len(self.data_buffer) >= 1: 73 size = ord(self.data_buffer[0]) [all …]
|
/third_party/grpc/test/core/tsi/alts/frame_protector/ |
D | alts_crypter_test.cc | 36 uint8_t* data_buffer = static_cast<uint8_t*>(gpr_malloc(protected_data_size)); in alts_crypter_test_random_seal_unseal() local 37 gsec_test_random_bytes(data_buffer, data_size); in alts_crypter_test_random_seal_unseal() 39 gsec_test_copy(data_buffer, &duplicate_buffer, data_size); in alts_crypter_test_random_seal_unseal() 44 client_seal, data_buffer, protected_data_size, size, &size, nullptr); in alts_crypter_test_random_seal_unseal() 48 server_unseal, data_buffer, protected_data_size, size, &size, nullptr); in alts_crypter_test_random_seal_unseal() 50 GPR_ASSERT(memcmp(data_buffer, duplicate_buffer, data_size) == 0); in alts_crypter_test_random_seal_unseal() 54 server_seal, data_buffer, protected_data_size, size, &size, nullptr); in alts_crypter_test_random_seal_unseal() 58 client_unseal, data_buffer, protected_data_size, size, &size, nullptr); in alts_crypter_test_random_seal_unseal() 60 GPR_ASSERT(memcmp(data_buffer, duplicate_buffer, data_size) == 0); in alts_crypter_test_random_seal_unseal() 62 gpr_free(data_buffer); in alts_crypter_test_random_seal_unseal() [all …]
|
/third_party/wayland_standard/cursor/ |
D | convert_font.c | 269 } data_buffer; variable 274 data_buffer.data = malloc(sizeof(uint32_t) * 10); in init_data_buffer() 275 data_buffer.capacity = 10; in init_data_buffer() 276 data_buffer.size = 0; in init_data_buffer() 282 if (data_buffer.size == data_buffer.capacity) { in add_pixel() 283 data_buffer.capacity *= 2; in add_pixel() 284 data_buffer.data = in add_pixel() 285 realloc(data_buffer.data, in add_pixel() 286 sizeof(uint32_t) * data_buffer.capacity); in add_pixel() 288 data_buffer.data[data_buffer.size++] = pixel; in add_pixel() [all …]
|
/third_party/mindspore/mindspore/lite/tools/converter/preprocess/ |
D | image_preprocess.cc | 125 char *data_buffer = nullptr; in PreProcess() local 127 …s(data_pre_process_param, input_name, image_index, reinterpret_cast<void **>(&data_buffer), &size); in PreProcess() 128 if (data_buffer == nullptr || size == 0) { in PreProcess() 134 delete[] data_buffer; in PreProcess() 140 delete[] data_buffer; in PreProcess() 146 delete[] data_buffer; in PreProcess() 149 if (memcpy_s(data, tensor->Size(), data_buffer, size) != EOK) { in PreProcess() 151 delete[] data_buffer; in PreProcess() 154 delete[] data_buffer; in PreProcess()
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | udpsink.c | 74 GstBuffer *data_buffer; in create_buffer_list() local 85 data_buffer = gst_buffer_new_allocate (NULL, RTP_PAYLOAD_SIZE, NULL); in create_buffer_list() 86 gst_buffer_memset (data_buffer, 0, 0, RTP_PAYLOAD_SIZE); in create_buffer_list() 89 gst_buffer_list_add (list, gst_buffer_append (rtp_buffer, data_buffer)); in create_buffer_list() 98 data_buffer = gst_buffer_new_allocate (NULL, RTP_PAYLOAD_SIZE, NULL); in create_buffer_list() 99 gst_buffer_memset (data_buffer, 0, 0, RTP_PAYLOAD_SIZE); in create_buffer_list() 102 gst_buffer_list_add (list, gst_buffer_append (rtp_buffer, data_buffer)); in create_buffer_list()
|
/third_party/e2fsprogs/tests/progs/ |
D | random_exercise.c | 39 char data_buffer[DATA_SIZE]; variable 90 write(fd, data_buffer, size); in create_random_file() 147 memset(data_buffer, 0, sizeof(data_buffer)); in main() 148 sprintf(data_buffer, "This is a test file created by the " in main()
|
/third_party/NuttX/drivers/usbdev/gadget/ |
D | cdcacm.c | 80 char *data_buffer; /* Ringbuffer starting address ,this is data buffer yet */ member 265 const size_t length = RING_BUFFER_SIZE - (wrcontainer->receive_buffer - wrcontainer->data_buffer); in cdcacm_receive_buf() 291 ret = usbd_copy_from_user(wrcontainer->data_buffer, RING_BUFFER_SIZE, in cdcacm_receive_buf() 298 wrcontainer->receive_buffer = wrcontainer->data_buffer + buflen - length; in cdcacm_receive_buf() 378 length = RING_BUFFER_SIZE - (wrcontainer->send_buffer - wrcontainer->data_buffer); in cdcacm_sndpacket() 395 ret = memcpy_s(req->buf + length, reqlen, wrcontainer->data_buffer, data_size - length); in cdcacm_sndpacket() 401 wrcontainer->send_buffer = wrcontainer->data_buffer + data_size - length; in cdcacm_sndpacket() 1211 wrcontainer->data_buffer = malloc(RING_BUFFER_SIZE); in cdcacm_bind() 1212 if (wrcontainer->data_buffer == NULL) in cdcacm_bind() 1217 (void)memset_s(wrcontainer->data_buffer, RING_BUFFER_SIZE, 0, RING_BUFFER_SIZE); in cdcacm_bind() [all …]
|
/third_party/mindspore/mindspore/ccsrc/cxx_api/graph/acl/ |
D | model_process.cc | 205 auto data_buffer = aclCreateDataBuffer(*data_mem_buffer, buffer_size); in CreateDataBuffer() local 206 if (data_buffer == nullptr) { in CreateDataBuffer() 211 ret = aclmdlAddDatasetBuffer(dataset, data_buffer); in CreateDataBuffer() 215 (void)aclDestroyDataBuffer(data_buffer); in CreateDataBuffer() 415 auto data_buffer = aclCreateDataBuffer(input_buffer, info.buffer_size); in CheckAndInitInput() local 416 if (data_buffer == nullptr) { in CheckAndInitInput() 420 ret = aclmdlAddDatasetBuffer(inputs_, data_buffer); in CheckAndInitInput() 423 (void)aclDestroyDataBuffer(data_buffer); in CheckAndInitInput()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/ |
D | esextcTextureBufferAtomicFunctions.cpp | 79 std::vector<glw::GLuint> data_buffer(m_n_texels_in_texture_buffer); in initTest() local 83 data_buffer[i] = i; in initTest() 93 …(m_glExtTokens.TEXTURE_BUFFER, m_n_texels_in_texture_buffer * sizeof(glw::GLuint), &data_buffer[0], in initTest()
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/ascend310/src/ |
D | model_process.cc | 184 auto data_buffer = aclCreateDataBuffer(*data_mem_buffer, buffer_size); in CreateDataBuffer() local 185 if (data_buffer == nullptr) { in CreateDataBuffer() 190 ret = aclmdlAddDatasetBuffer(dataset, data_buffer); in CreateDataBuffer() 194 aclDestroyDataBuffer(data_buffer); in CreateDataBuffer() 417 auto data_buffer = aclCreateDataBuffer(input_buffer, info.buffer_size); in CheckAndInitInput() local 418 if (data_buffer == nullptr) { in CheckAndInitInput() 422 ret = aclmdlAddDatasetBuffer(inputs_, data_buffer); in CheckAndInitInput() 425 aclDestroyDataBuffer(data_buffer); in CheckAndInitInput()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArraySubImage3D.cpp | 334 DataBufferVec data_buffer(width * height * depth * m_n_components, clear_value); in configureCubeMapArrayTexture() local 337 GL_UNSIGNED_INT, &data_buffer[0]); in configureCubeMapArrayTexture() 362 DataBufferVec data_buffer(width * height * depth * m_n_components, clear_value); in clearCubeMapArrayTexture() local 365 &data_buffer[0]); in clearCubeMapArrayTexture()
|
/third_party/libsnd/tests/ |
D | fix_this.c | 59 static BUFFER data_buffer ; variable 93 data = data_buffer.i ; in lcomp_test_int()
|
D | lossy_comp_test.c | 87 static BUFFER data_buffer ; variable 658 data = data_buffer.s ; in lcomp_test_short() 854 data = data_buffer.i ; in lcomp_test_int() 1042 data = data_buffer.f ; in lcomp_test_float() 1236 data = data_buffer.d ; in lcomp_test_double() 1432 data = data_buffer.s ; in sdlcomp_test_short() 1652 data = data_buffer.i ; in sdlcomp_test_int() 1896 data = data_buffer.f ; in sdlcomp_test_float() 2139 data = data_buffer.d ; in sdlcomp_test_double() 2356 data = data_buffer.s ; in read_raw_test()
|
/third_party/jinja2/ |
D | parser.py | 889 data_buffer = [] 890 add_data = data_buffer.append 896 if data_buffer: 897 lineno = data_buffer[0].lineno 898 body.append(nodes.Output(data_buffer[:], lineno=lineno)) 899 del data_buffer[:]
|
/third_party/skia/third_party/externals/jinja2/ |
D | parser.py | 889 data_buffer = [] 890 add_data = data_buffer.append 896 if data_buffer: 897 lineno = data_buffer[0].lineno 898 body.append(nodes.Output(data_buffer[:], lineno=lineno)) 899 del data_buffer[:]
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | parser.py | 853 data_buffer = [] 854 add_data = data_buffer.append 860 if data_buffer: 861 lineno = data_buffer[0].lineno 862 body.append(nodes.Output(data_buffer[:], lineno=lineno)) 863 del data_buffer[:]
|
/third_party/flatbuffers/src/ |
D | idl_gen_java.cpp | 381 const std::string &data_buffer, in GenGetterForLookupByKey() argument 386 auto getter = data_buffer + ".get"; in GenGetterForLookupByKey() 541 auto data_buffer = "_bb"; in GenKeyGetter() local 547 key_getter += GenOffsetGetter(key_field, "o2") + ", " + data_buffer + ")"; in GenKeyGetter() 550 auto field_getter = GenGetterForLookupByKey(key_field, data_buffer, "o1"); in GenKeyGetter() 556 field_getter = GenGetterForLookupByKey(key_field, data_buffer, "o2"); in GenKeyGetter()
|
D | idl_gen_csharp.cpp | 346 const std::string &data_buffer, in GenGetterForLookupByKey() argument 351 auto getter = data_buffer + ".Get"; in GenGetterForLookupByKey() 507 auto data_buffer = "builder.DataBuffer"; in GenKeyGetter() local 511 key_getter += GenOffsetGetter(key_field, "o2") + ", " + data_buffer + ")"; in GenKeyGetter() 513 auto field_getter = GenGetterForLookupByKey(key_field, data_buffer, "o1"); in GenKeyGetter() 515 field_getter = GenGetterForLookupByKey(key_field, data_buffer, "o2"); in GenKeyGetter()
|
/third_party/flutter/skia/third_party/externals/piex/src/ |
D | piex.cc | 646 RangeCheckedBytePtr data_buffer(file_header.data(), file_header.size()); in IsRaw() local 648 return image_type_recognition::IsRawLite(data_buffer); in IsRaw()
|
/third_party/skia/third_party/externals/piex/src/ |
D | piex.cc | 646 RangeCheckedBytePtr data_buffer(file_header.data(), file_header.size()); in IsRaw() local 648 return image_type_recognition::IsRawLite(data_buffer); in IsRaw()
|
/third_party/mindspore/mindspore/ccsrc/debug/ |
D | debug_services.cc | 558 … std::vector<int64_t> *const shape, std::vector<char> **const data_buffer, in ReadTensorFromNpy() argument 628 *data_buffer = new std::vector<char>(data_size); in ReadTensorFromNpy() 629 if ((*data_buffer) == nullptr || !infile.read((*data_buffer)->data(), data_size)) { in ReadTensorFromNpy()
|
/third_party/ffmpeg/libavcodec/ |
D | vaapi_encode.c | 45 VABufferID param_buffer, data_buffer; in vaapi_encode_make_packed_header() local 71 (bit_len + 7) / 8, 1, data, &data_buffer); in vaapi_encode_make_packed_header() 78 pic->param_buffers[pic->nb_param_buffers++] = data_buffer; in vaapi_encode_make_packed_header() 81 "(%zu bits).\n", type, param_buffer, data_buffer, bit_len); in vaapi_encode_make_packed_header()
|
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/ |
D | rtpsession.c | 2698 GstBuffer *data_buffer = NULL; in rtp_session_process_app() local 2705 data_buffer = gst_buffer_copy_region (packet->rtcp->buffer, in rtp_session_process_app() 2707 GST_BUFFER_PTS (data_buffer) = pinfo->running_time; in rtp_session_process_app() 2716 gst_rtcp_packet_app_get_ssrc (packet), name, data_buffer); in rtp_session_process_app() 2719 if (data_buffer) in rtp_session_process_app() 2720 gst_buffer_unref (data_buffer); in rtp_session_process_app()
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/ |
D | media.gyp | 147 'base/data_buffer.cc', 148 'base/data_buffer.h',
|