/external/adhd/cras/src/tests/ |
D | linear_resampler_unittest.cc | 17 static uint8_t out_buf[BUF_SIZE]; variable 27 memset(out_buf, 0, BUF_SIZE); in TEST() 37 out_buf + 4 * out_offset, 50); in TEST() 45 out_buf + 4 * out_offset, 15); in TEST() 51 EXPECT_GE(*(int16_t*)(in_buf + 4 * i), *(int16_t*)(out_buf + 4 * i)); in TEST() 52 EXPECT_LE(*(int16_t*)(in_buf + 4 * i), *(int16_t*)(out_buf + 4 * (i + 1))); in TEST() 65 memset(out_buf, 0, BUF_SIZE); in TEST() 76 out_buf + 4 * out_offset, 10); in TEST() 86 out_buf + 4 * out_offset, 10); in TEST() 94 out_buf + 4 * out_offset, 100); in TEST() [all …]
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_stacktrace_libcdep.cpp | 113 void __sanitizer_symbolize_pc(uptr pc, const char *fmt, char *out_buf, in __sanitizer_symbolize_pc() argument 124 internal_strncpy(out_buf, "<can't symbolize>", out_buf_size); in __sanitizer_symbolize_pc() 125 out_buf[out_buf_size - 1] = 0; in __sanitizer_symbolize_pc() 131 char *out_end = out_buf + out_buf_size - 1; in __sanitizer_symbolize_pc() 132 for (SymbolizedStack *cur = frame; cur && out_buf < out_end; in __sanitizer_symbolize_pc() 142 uptr n = out_end - out_buf - 1; in __sanitizer_symbolize_pc() 143 internal_strncpy(out_buf, frame_desc.data(), n); in __sanitizer_symbolize_pc() 144 out_buf += __sanitizer::Min<uptr>(n, frame_desc.length()); in __sanitizer_symbolize_pc() 145 *out_buf++ = 0; in __sanitizer_symbolize_pc() 147 CHECK(out_buf <= out_end); in __sanitizer_symbolize_pc() [all …]
|
/external/deqp-deps/amber/tests/cases/ |
D | opencl_read_and_write_image3d_rgba32i.amber | 40 BUFFER out_buf DATA_TYPE vec4<int32> SIZE 8 FILL 15 61 BIND BUFFER out_buf KERNEL ARG_NAME out 67 EXPECT out_buf IDX 0 EQ 1 1 1 0 68 EXPECT out_buf IDX 16 EQ 2 1 1 0 69 EXPECT out_buf IDX 32 EQ 1 2 1 0 70 EXPECT out_buf IDX 48 EQ 2 2 1 0 71 EXPECT out_buf IDX 64 EQ 1 1 2 0 72 EXPECT out_buf IDX 80 EQ 2 1 2 0 73 EXPECT out_buf IDX 96 EQ 1 2 2 0 74 EXPECT out_buf IDX 112 EQ 2 2 2 0
|
D | glsl_read_and_write_image3d_rgba32i.amber | 42 BUFFER out_buf DATA_TYPE vec4<int32> SIZE 8 FILL 15 63 BIND BUFFER out_buf AS storage DESCRIPTOR_SET 0 BINDING 2 69 EXPECT out_buf IDX 0 EQ 1 1 1 0 70 EXPECT out_buf IDX 16 EQ 2 1 1 0 71 EXPECT out_buf IDX 32 EQ 1 2 1 0 72 EXPECT out_buf IDX 48 EQ 2 2 1 0 73 EXPECT out_buf IDX 64 EQ 1 1 2 0 74 EXPECT out_buf IDX 80 EQ 2 1 2 0 75 EXPECT out_buf IDX 96 EQ 1 2 2 0 76 EXPECT out_buf IDX 112 EQ 2 2 2 0
|
D | opencl_read_image.amber | 37 BUFFER out_buf DATA_TYPE vec4<float> DATA 47 BIND BUFFER out_buf KERNEL ARG_NAME out 65 EXPECT out_buf IDX 0 EQ 1.0 0.0 0.0 1.0 66 EXPECT out_buf IDX 16 EQ 1.0 0.0 0.0 1.0 67 EXPECT out_buf IDX 32 EQ 1.0 0.0 0.0 1.0 68 EXPECT out_buf IDX 48 EQ 1.0 0.0 0.0 1.0
|
D | opencl_read_image_literal_sampler.amber | 38 BUFFER out_buf DATA_TYPE vec4<float> DATA 48 BIND BUFFER out_buf KERNEL ARG_NAME out 65 EXPECT out_buf IDX 0 EQ 1.0 0.0 0.0 1.0 66 EXPECT out_buf IDX 16 EQ 1.0 0.0 0.0 1.0 67 EXPECT out_buf IDX 32 EQ 1.0 0.0 0.0 1.0 68 EXPECT out_buf IDX 48 EQ 1.0 0.0 0.0 1.0
|
D | opencl_c_copy.amber | 25 BUFFER out_buf DATA_TYPE uint32 SIZE 1 FILL 0 30 BIND BUFFER out_buf AS storage DESCRIPTOR_SET 0 BINDING 1 35 EXPECT out_buf EQ_BUFFER in_buf
|
D | opencl_bind_buffer.amber | 45 BUFFER out_buf DATA_TYPE uint32 SIZE 64 FILL 0 54 BIND BUFFER out_buf KERNEL ARG_NUMBER 1 59 EXPECT out_buf EQ_BUFFER in_buf
|
D | non_default_entry_point.amber | 64 BUFFER out_buf DATA_TYPE uint32 SIZE 1 FILL 0 69 BIND BUFFER out_buf AS storage DESCRIPTOR_SET 0 BINDING 1 74 EXPECT out_buf EQ_BUFFER in_buf
|
D | buffer_rmse_tolerance_too_large.expect_fail.amber | 17 BUFFER out_buf DATA_TYPE float DATA 1.0 2.1 3.2 4.3 END 19 EXPECT in_buf RMSE_BUFFER out_buf TOLERANCE 0.01
|
D | buffer_rmse.amber | 17 BUFFER out_buf DATA_TYPE float DATA 1.0 2.1 3.2 4.3 END 19 EXPECT in_buf RMSE_BUFFER out_buf TOLERANCE 0.1
|
/external/mesa3d/src/imgui/ |
D | imgui_memory_editor.h | 609 static char out_buf[64 + 8 + 1]; in FormatBinary() local 614 out_buf[out_n++] = (buf[j] & (1 << (7 - i))) ? '1' : '0'; in FormatBinary() 615 out_buf[out_n++] = ' '; in FormatBinary() 617 IM_ASSERT(out_n < IM_ARRAYSIZE(out_buf)); in FormatBinary() 618 out_buf[out_n] = 0; in FormatBinary() 619 return out_buf; in FormatBinary() 622 …data, size_t mem_size, DataType data_type, DataFormat data_format, char* out_buf, size_t out_buf_s… in DisplayPreviewData() 637 ImSnprintf(out_buf, out_buf_size, "%s", FormatBinary(binbuf, (int)size * 8)); in DisplayPreviewData() 641 out_buf[0] = 0; in DisplayPreviewData() 648 … if (data_format == DataFormat_Dec) { ImSnprintf(out_buf, out_buf_size, "%hhd", int8); return; } in DisplayPreviewData() [all …]
|
/external/elfutils/libelf/ |
D | elf_compress.c | 46 do_deflate_cleanup (void *result, z_stream *z, void *out_buf, in do_deflate_cleanup() argument 50 free (out_buf); in do_deflate_cleanup() 57 do_deflate_cleanup(result, &z, out_buf, cdata) 99 void *out_buf = malloc (out_size); in __libelf_compress() local 100 if (out_buf == NULL) in __libelf_compress() 162 z.next_out = out_buf + used; in __libelf_compress() 179 void *bigger = realloc (out_buf, out_size + block); in __libelf_compress() 185 out_buf = bigger; in __libelf_compress() 207 return out_buf; in __libelf_compress() 411 void *out_buf = __libelf_compress (scn, hsize, elfdata, in elf_compress() local [all …]
|
D | elf_compress_gnu.c | 104 void *out_buf = __libelf_compress (scn, hsize, elfdata, in elf_compress_gnu() local 109 if (out_buf == (void *) -1) in elf_compress_gnu() 113 if (out_buf == NULL) in elf_compress_gnu() 117 memmove (out_buf, "ZLIB", 4); in elf_compress_gnu() 118 memmove (out_buf + 4, &be64_size, sizeof (be64_size)); in elf_compress_gnu() 134 __libelf_reset_rawdata (scn, out_buf, new_size, 1, ELF_T_BYTE); in elf_compress_gnu()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_tnc.c | 24 struct wpabuf *out_buf; member 98 wpabuf_free(data->out_buf); in eap_tnc_reset() 227 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_tnc_build_msg() 247 wpabuf_put_be32(req, wpabuf_len(data->out_buf)); in eap_tnc_build_msg() 249 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_tnc_build_msg() 253 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_tnc_build_msg() 257 wpabuf_free(data->out_buf); in eap_tnc_build_msg() 258 data->out_buf = NULL; in eap_tnc_build_msg() 267 (unsigned long) wpabuf_len(data->out_buf) - in eap_tnc_build_msg() 289 if (data->out_buf == NULL) { in eap_tnc_buildReq() [all …]
|
D | eap_server_wsc.c | 23 struct wpabuf *out_buf; member 159 wpabuf_free(data->out_buf); in eap_wsc_reset() 193 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_wsc_build_msg() 216 wpabuf_put_be16(req, wpabuf_len(data->out_buf)); in eap_wsc_build_msg() 218 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_wsc_build_msg() 222 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_wsc_build_msg() 226 wpabuf_free(data->out_buf); in eap_wsc_build_msg() 227 data->out_buf = NULL; in eap_wsc_build_msg() 233 (unsigned long) wpabuf_len(data->out_buf) - in eap_wsc_build_msg() 250 if (data->out_buf == NULL) { in eap_wsc_buildReq() [all …]
|
D | eap_server_ikev2.c | 21 struct wpabuf *out_buf; member 127 wpabuf_free(data->out_buf); in eap_ikev2_reset() 142 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_ikev2_build_msg() 177 wpabuf_put_be32(req, wpabuf_len(data->out_buf)); in eap_ikev2_build_msg() 179 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_ikev2_build_msg() 192 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_ikev2_build_msg() 196 wpabuf_free(data->out_buf); in eap_ikev2_build_msg() 197 data->out_buf = NULL; in eap_ikev2_build_msg() 202 (unsigned long) wpabuf_len(data->out_buf) - in eap_ikev2_build_msg() 217 if (data->out_buf == NULL) { in eap_ikev2_buildReq() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | lsh_projection.cc | 146 const TfLiteTensor* weight, int32_t* out_buf) { in SparseLshProjection() argument 156 *out_buf++ = hash_signature + i * (1 << num_bits); in SparseLshProjection() 161 const TfLiteTensor* weight, int32_t* out_buf) { in DenseLshProjection() argument 168 *out_buf++ = bit; in DenseLshProjection() 179 int32_t* out_buf = out_tensor->data.i32; in Eval() local 189 DenseLshProjection(hash, input, weight, out_buf); in Eval() 192 SparseLshProjection(hash, input, weight, out_buf); in Eval()
|
/external/deqp-deps/amber/samples/ |
D | ppm_test.cc | 84 std::vector<uint8_t> out_buf; in TEST_F() local 85 ppm::ConvertToPPM(width, height, data, &out_buf); in TEST_F() 87 EXPECT_EQ(out_buf.size(), sizeof(kExpectedPPM)); in TEST_F() 88 EXPECT_EQ(std::memcmp(out_buf.data(), kExpectedPPM, sizeof(kExpectedPPM)), 0); in TEST_F()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_tnc.c | 21 struct wpabuf *out_buf; member 64 wpabuf_free(data->out_buf); in eap_tnc_deinit() 100 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_tnc_build_msg() 120 wpabuf_put_be32(resp, wpabuf_len(data->out_buf)); in eap_tnc_build_msg() 122 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_tnc_build_msg() 129 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_tnc_build_msg() 133 wpabuf_free(data->out_buf); in eap_tnc_build_msg() 134 data->out_buf = NULL; in eap_tnc_build_msg() 139 (unsigned long) wpabuf_len(data->out_buf) - in eap_tnc_build_msg() 399 data->out_buf = resp; in eap_tnc_process()
|
D | eap_ikev2.c | 21 struct wpabuf *out_buf; member 112 wpabuf_free(data->out_buf); in eap_ikev2_deinit() 146 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_ikev2_build_msg() 181 wpabuf_put_be32(resp, wpabuf_len(data->out_buf)); in eap_ikev2_build_msg() 183 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_ikev2_build_msg() 199 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_ikev2_build_msg() 203 wpabuf_free(data->out_buf); in eap_ikev2_build_msg() 204 data->out_buf = NULL; in eap_ikev2_build_msg() 235 (unsigned long) wpabuf_len(data->out_buf) - in eap_ikev2_build_msg() 423 if (data->out_buf == NULL) { in eap_ikev2_process() [all …]
|
D | eap_wsc.c | 23 struct wpabuf *out_buf; member 292 wpabuf_free(data->out_buf); in eap_wsc_deinit() 312 send_len = wpabuf_len(data->out_buf) - data->out_used; in eap_wsc_build_msg() 332 wpabuf_put_be16(resp, wpabuf_len(data->out_buf)); in eap_wsc_build_msg() 334 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used, in eap_wsc_build_msg() 341 if (data->out_used == wpabuf_len(data->out_buf)) { in eap_wsc_build_msg() 345 wpabuf_free(data->out_buf); in eap_wsc_build_msg() 346 data->out_buf = NULL; in eap_wsc_build_msg() 358 (unsigned long) wpabuf_len(data->out_buf) - in eap_wsc_build_msg() 554 if (data->out_buf == NULL) { in eap_wsc_process() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_draw_arrays.c | 46 u_generate_func generate, struct pipe_resource **out_buf) in generate_indices() argument 67 *out_buf = dst; in generate_indices() 98 struct pipe_resource **out_buf) in retrieve_or_generate_indices() argument 109 pipe_resource_reference(out_buf, in retrieve_or_generate_indices() 157 ret = generate_indices(hwtnl, gen_nr, gen_size, generate, out_buf); in retrieve_or_generate_indices() 163 pipe_resource_reference(&hwtnl->index_cache[prim][i].buffer, *out_buf); in retrieve_or_generate_indices()
|
/external/arm-trusted-firmware/lib/zlib/ |
D | tf_gunzip.c | 59 int gunzip(uintptr_t *in_buf, size_t in_len, uintptr_t *out_buf, in gunzip() argument 71 stream.next_out = (typeof(stream.next_out))*out_buf; in gunzip() 97 *out_buf = (uintptr_t)stream.next_out; in gunzip()
|
/external/libxaac/decoder/ |
D | ixheaacd_hbe_trans.c | 788 FLOAT32 *out_buf = &ptr_hbe_txposer->qmf_out_buf[2][2 * qmf_band_idx]; in ixheaacd_hbe_post_anal_prod3() local 866 out_buf[0] += (temp_r * 0.4714045f); in ixheaacd_hbe_post_anal_prod3() 867 out_buf[1] += (temp_i * 0.4714045f); in ixheaacd_hbe_post_anal_prod3() 870 out_buf += 128; in ixheaacd_hbe_post_anal_prod3() 874 out_buf -= 128 * 6; in ixheaacd_hbe_post_anal_prod3() 999 out_buf[0] += (temp_r1 * 0.23570225f); in ixheaacd_hbe_post_anal_prod3() 1000 out_buf[1] += (temp_i1 * 0.23570225f); in ixheaacd_hbe_post_anal_prod3() 1002 out_buf += 128; in ixheaacd_hbe_post_anal_prod3() 1009 out_buf -= 128 * 6; in ixheaacd_hbe_post_anal_prod3() 1013 out_buf -= (256 * qmf_voc_columns) - 2; in ixheaacd_hbe_post_anal_prod3() [all …]
|