/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | triangular_solve_test.cc | 107 auto b_data = in XLA_TEST_F() local 115 {a_data.get(), b_data.get()}); in XLA_TEST_F() 123 auto b_data = CreateR2Parameter<float>(BValsRight(), 1, "b", &builder, &b); in XLA_TEST_F() local 135 ComputeAndCompareR2<float>(&builder, expected, {a_data.get(), b_data.get()}, in XLA_TEST_F() 144 auto b_data = CreateR2Parameter<float>(BValsRight(), 1, "b", &builder, &b); in XLA_TEST_F() local 156 ComputeAndCompareR2<float>(&builder, expected, {a_data.get(), b_data.get()}, in XLA_TEST_F() 165 auto b_data = CreateR2Parameter<float>(BValsRight(), 1, "b", &builder, &b); in XLA_TEST_F() local 177 ComputeAndCompareR2<float>(&builder, expected, {a_data.get(), b_data.get()}, in XLA_TEST_F() 186 auto b_data = CreateR2Parameter<float>(BValsRight(), 1, "b", &builder, &b); in XLA_TEST_F() local 198 ComputeAndCompareR2<float>(&builder, expected, {a_data.get(), b_data.get()}, in XLA_TEST_F() [all …]
|
/external/curl/lib/ |
D | ftplistparser.c | 283 char *str = finfo->b_data; in ftp_pl_insert_finfo() 364 parser->file_data->info.b_data = malloc(FTP_BUFFER_ALLOCSIZE); in Curl_ftp_parselist() 365 if(!parser->file_data->info.b_data) { in Curl_ftp_parselist() 376 finfo->b_data[finfo->b_used++] = c; in Curl_ftp_parselist() 380 char *tmp = realloc(finfo->b_data, in Curl_ftp_parselist() 384 finfo->b_data = tmp; in Curl_ftp_parselist() 418 finfo->b_data[parser->item_length - 1] = 0; in Curl_ftp_parselist() 419 if(strncmp("total ", finfo->b_data, 6) == 0) { in Curl_ftp_parselist() 420 char *endptr = finfo->b_data + 6; in Curl_ftp_parselist() 490 finfo->b_data[10] = 0; /* terminate permissions */ in Curl_ftp_parselist() [all …]
|
D | fileinfo.c | 41 Curl_safefree(finfo->info.b_data); in Curl_fileinfo_cleanup()
|
/external/e2fsprogs/e2fsck/ |
D | recovery.c | 232 tagp = &bh->b_data[sizeof(journal_header_t)]; in count_tags() 234 while ((tagp - bh->b_data + tag_bytes) <= size) { in count_tags() 384 *crc32_sum = crc32_be(*crc32_sum, (void *)bh->b_data, bh->b_size); in calc_chksums() 395 *crc32_sum = crc32_be(*crc32_sum, (void *)obh->b_data, in calc_chksums() 518 tmp = (journal_header_t *)bh->b_data; in do_one_pass() 547 bh->b_data)) { in do_one_pass() 580 tagp = &bh->b_data[sizeof(journal_header_t)]; in do_one_pass() 581 while ((tagp - bh->b_data + tag_bytes) in do_one_pass() 619 journal, tag, obh->b_data, in do_one_pass() 647 memcpy(nbh->b_data, obh->b_data, in do_one_pass() [all …]
|
D | revoke.c | 616 header = (journal_header_t *)descriptor->b_data; 630 * ((__be64 *)(&descriptor->b_data[offset])) = 633 * ((__be32 *)(&descriptor->b_data[offset])) = 648 tail = (struct journal_revoke_tail *)(bh->b_data + j->j_blocksize - 651 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize); 673 header = (journal_revoke_header_t *)descriptor->b_data;
|
D | journal.c | 123 sizeof(bh->b_data); in getblk() 171 1, bh->b_data); in ll_rw_block() 186 1, bh->b_data); in ll_rw_block() 460 memcpy(&jsuper, start ? bh->b_data : bh->b_data + SUPERBLOCK_OFFSET, in e2fsck_get_journal() 488 p = start ? bh->b_data : bh->b_data + SUPERBLOCK_OFFSET; in e2fsck_get_journal() 513 journal->j_superblock = (journal_superblock_t *)bh->b_data; in e2fsck_get_journal()
|
/external/e2fsprogs/debugfs/ |
D | recovery.c | 232 tagp = &bh->b_data[sizeof(journal_header_t)]; in count_tags() 234 while ((tagp - bh->b_data + tag_bytes) <= size) { in count_tags() 384 *crc32_sum = crc32_be(*crc32_sum, (void *)bh->b_data, bh->b_size); in calc_chksums() 395 *crc32_sum = crc32_be(*crc32_sum, (void *)obh->b_data, in calc_chksums() 518 tmp = (journal_header_t *)bh->b_data; in do_one_pass() 547 bh->b_data)) { in do_one_pass() 580 tagp = &bh->b_data[sizeof(journal_header_t)]; in do_one_pass() 581 while ((tagp - bh->b_data + tag_bytes) in do_one_pass() 619 journal, tag, obh->b_data, in do_one_pass() 647 memcpy(nbh->b_data, obh->b_data, in do_one_pass() [all …]
|
D | journal.c | 128 sizeof(bh->b_data); in getblk() 177 1, bh->b_data); in ll_rw_block() 192 1, bh->b_data); in ll_rw_block() 452 memcpy(&jsuper, start ? bh->b_data : in ext2fs_get_journal() 453 bh->b_data + SUPERBLOCK_OFFSET, in ext2fs_get_journal() 479 p = start ? bh->b_data : bh->b_data + SUPERBLOCK_OFFSET; in ext2fs_get_journal() 505 journal->j_superblock = (journal_superblock_t *)bh->b_data; in ext2fs_get_journal() 881 h = (struct commit_header *)(bh->b_data); in jbd2_commit_block_csum_set() 885 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize); in jbd2_commit_block_csum_set() 897 tail = (struct journal_revoke_tail *)(bh->b_data + j->j_blocksize - in jbd2_revoke_csum_set() [all …]
|
D | revoke.c | 616 header = (journal_header_t *)descriptor->b_data; 630 * ((__be64 *)(&descriptor->b_data[offset])) = 633 * ((__be32 *)(&descriptor->b_data[offset])) = 648 tail = (struct journal_revoke_tail *)(bh->b_data + j->j_blocksize - 651 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize); 673 header = (journal_revoke_header_t *)descriptor->b_data;
|
D | do_journal.c | 87 commit = (struct commit_header *)bh->b_data; in journal_commit_trans() 113 (unsigned char const *)cbh->b_data, in journal_commit_trans() 192 jrb = buf = bh->b_data; in journal_add_revoke_to_trans() 296 buf = data_bh->b_data; in journal_add_blocks_to_trans() 305 jdb = jdb_buf = bh->b_data; in journal_add_blocks_to_trans() 313 j = fread(data_bh->b_data, trans->journal->j_blocksize, 1, fp); in journal_add_blocks_to_trans() 708 tmp = (journal_header_t *)bh->b_data; in journal_find_head() 732 next_log_block += count_tags(journal, bh->b_data); in journal_find_head()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | transform_utils_test.cc | 42 Tensor b_data(DT_FLOAT, TensorShape({width})); in TestMapNamesToNodes() local 43 test::FillIota<float>(&b_data, 1.0f); in TestMapNamesToNodes() 44 Output b_const = Const(root.WithOpName("b"), Input::Initializer(b_data)); in TestMapNamesToNodes() 75 Tensor b_data(DT_FLOAT, TensorShape({width})); in TestMapNodesToOutputs() local 76 test::FillIota<float>(&b_data, 1.0f); in TestMapNodesToOutputs() 77 Output b_const = Const(root.WithOpName("b"), Input::Initializer(b_data)); in TestMapNodesToOutputs() 229 Tensor b_data(DT_FLOAT, TensorShape({width})); in TestFilterGraphDef() local 230 test::FillIota<float>(&b_data, 1.0f); in TestFilterGraphDef() 231 Output b_const = Const(root.WithOpName("b"), Input::Initializer(b_data)); in TestFilterGraphDef() 289 Tensor b_data(DT_FLOAT, TensorShape({width})); in TestGetOpTypeMatches() local [all …]
|
D | fold_constants_test.cc | 57 Tensor b_data(DT_FLOAT, TensorShape({width})); in TestSimpleAdd() local 58 test::FillIota<float>(&b_data, 1.0f); in TestSimpleAdd() 60 Const(root.WithOpName("b_expect_removed"), Input::Initializer(b_data)); in TestSimpleAdd() 94 Tensor b_data(DT_FLOAT, TensorShape({width})); in TestOpExclusionAdd() local 95 test::FillIota<float>(&b_data, 1.0f); in TestOpExclusionAdd() 97 Const(root.WithOpName("b_expect_remains"), Input::Initializer(b_data)); in TestOpExclusionAdd() 304 Tensor b_data(DT_FLOAT, TensorShape({width})); in TestRemoveUnusedNodes() local 305 test::FillIota<float>(&b_data, 1.0f); in TestRemoveUnusedNodes() 306 Output b_const = Const(root.WithOpName("b"), Input::Initializer(b_data)); in TestRemoveUnusedNodes() 343 Tensor b_data(DT_FLOAT, TensorShape({width})); in TestMaxConstantSizeInBytes() local [all …]
|
D | transform_graph_test.cc | 63 Tensor b_data(DT_FLOAT, TensorShape({width})); in TestConstantFolding() local 64 test::FillIota<float>(&b_data, 1.0f); in TestConstantFolding() 66 Const(root.WithOpName("b_expect_removed"), Input::Initializer(b_data)); in TestConstantFolding()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_matmul_op.cc | 36 const quint8* b_data, qint32* c_data, int m, int n, int k, in GemmlowpMultiply() argument 39 const uint8* b_data_as_uint8 = &(b_data->value); in GemmlowpMultiply() 124 const T2* b_data = b.flat<T2>().data(); in Compute() local 141 meta::QuantizedGemm(context, transpose_a_, transpose_b_, a_data, b_data, in Compute() 151 GemmlowpMultiply<true, true, false>(context, a_data, b_data, c_data, in Compute() 155 GemmlowpMultiply<true, false, false>(context, a_data, b_data, c_data, in Compute() 161 GemmlowpMultiply<false, true, false>(context, a_data, b_data, c_data, in Compute() 165 GemmlowpMultiply<false, false, false>(context, a_data, b_data, c_data, in Compute() 173 lda, b_data, offset_b, ldb, c_data, shift_c, offset_c, mult_c, ldc); in Compute()
|
D | meta_support.cc | 119 const quint8* b_data, qint32* c_data, int m, int n, in QuantizedGemmImpl() argument 134 params.rhs = reinterpret_cast<const uint8_t*>(&(b_data->value)); in QuantizedGemmImpl() 221 bool transpose_b, const quint8* a_data, const quint8* b_data, in QuantizedGemm() argument 230 tf_context, a_data, b_data, c_data, m, n, k, offset_a, offset_b, lda, in QuantizedGemm() 235 tf_context, a_data, b_data, c_data, m, n, k, offset_a, offset_b, lda, in QuantizedGemm() 242 tf_context, a_data, b_data, c_data, m, n, k, offset_a, offset_b, lda, in QuantizedGemm() 247 tf_context, a_data, b_data, c_data, m, n, k, offset_a, offset_b, lda, in QuantizedGemm()
|
D | remote_fused_graph_execute_op_test_utils.cc | 63 Tensor b_data(DT_FLOAT, TensorShape({1, 1, 1, 1})); in BuildMultipleAddGraph() local 64 test::FillIota<float>(&b_data, 1.0f); in BuildMultipleAddGraph() 65 Output b_const = ops::Const(root.WithOpName("B"), Input::Initializer(b_data)); in BuildMultipleAddGraph()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | triangular_solve_thunk.cc | 92 se::DeviceMemoryBase b_data = in ExecuteOnStream() local 96 se::DeviceMemory<float> b_data_typed(b_data); in ExecuteOnStream() 106 se::DeviceMemory<double> b_data_typed(b_data); in ExecuteOnStream() 116 se::DeviceMemory<std::complex<float>> b_data_typed(b_data); in ExecuteOnStream() 127 se::DeviceMemory<std::complex<double>> b_data_typed(b_data); in ExecuteOnStream()
|
/external/squashfs-tools/kernel/fs/squashfs/ |
D | block.c | 57 *length = (unsigned char) bh->b_data[*offset]; in get_block_length() 62 *length |= (unsigned char) bh->b_data[0] << 8; in get_block_length() 65 *length = (unsigned char) bh->b_data[*offset] | in get_block_length() 66 (unsigned char) bh->b_data[*offset + 1] << 8; in get_block_length() 182 msblk->stream.next_in = bh[k]->b_data + offset; in squashfs_read_data() 250 bh[k]->b_data + offset, avail); in squashfs_read_data()
|
/external/tensorflow/tensorflow/core/kernels/hexagon/ |
D | hexagon_rewriter_transform_test.cc | 49 Tensor b_data(DT_FLOAT, TensorShape({1, 1, 1, 1})); in TEST() local 50 test::FillIota<float>(&b_data, 1.0f); in TEST() 51 Output b_const = ops::Const(root.WithOpName("b"), Input::Initializer(b_data)); in TEST()
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | slicing_test.cc | 91 auto b_data = CreateR2Parameter<float>({{9, 1, -10}}, 1, "b", &builder, &b); in XLA_TEST_F() local 102 {a_data.get(), b_data.get(), x_data.get(), y_data.get()}); in XLA_TEST_F()
|
/external/tensorflow/tensorflow/lite/c/ |
D | c_api_internal.c | 34 int TfLiteIntArrayEqualsArray(TfLiteIntArray* a, int b_size, int b_data[]) { in TfLiteIntArrayEqualsArray() argument 39 if (a->data[i] != b_data[i]) return 0; in TfLiteIntArrayEqualsArray()
|
/external/gemmlowp/test/ |
D | test_data.h | 38 extern unsigned char b_data[];
|
D | test_data.cc | 22157 unsigned char b_data[b_count] = { variable
|
D | test.cc | 748 const std::uint8_t b_data[] = { in TestWithSmallDataPerChannelQuantization() local 759 MatrixMap<const std::uint8_t, MapOrder::ColMajor> rhs(b_data, k, n, ldb); in TestWithSmallDataPerChannelQuantization() 858 const std::uint8_t b_data[] = { in TestWithLargeDataPerChannelQuantization() local 910 MatrixMap<const std::uint8_t, MapOrder::ColMajor> rhs(b_data, k, n, ldb); in TestWithLargeDataPerChannelQuantization() 1046 std::vector<std::uint8_t> b_data(k * n, 0); in TestMultithreadedPerChannelQuantization() local 1047 b_data[0] = 128; in TestMultithreadedPerChannelQuantization() 1048 b_data[1] = 255; in TestMultithreadedPerChannelQuantization() 1052 MatrixMap<const std::uint8_t, MapOrder::ColMajor> rhs(&b_data[0], k, n, ldb); in TestMultithreadedPerChannelQuantization() 1121 const std::uint8_t b_data[] = {1, 2, 3, 4, 5, 6}; in TestWithSmallData() local 1154 a_offset, lda, b_data, b_offset, ldb, output_data.get(), c_offset, c_mult, in TestWithSmallData() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_gzip.py | 35 b_data = memoryview(data).tobytes() 38 self.assertEqual(l, len(b_data)) 40 self.assertEqual(f.read(), b_data)
|