Home
last modified time | relevance | path

Searched refs:b_data (Results 1 – 25 of 41) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/tests/
Dtriangular_solve_test.cc107 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/
Dftplistparser.c283 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 …]
Dfileinfo.c41 Curl_safefree(finfo->info.b_data); in Curl_fileinfo_cleanup()
/external/e2fsprogs/e2fsck/
Drecovery.c232 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 …]
Drevoke.c616 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;
Djournal.c123 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/
Drecovery.c232 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 …]
Djournal.c128 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 …]
Drevoke.c616 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;
Ddo_journal.c87 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/
Dtransform_utils_test.cc42 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 …]
Dfold_constants_test.cc57 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 …]
Dtransform_graph_test.cc63 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/
Dquantized_matmul_op.cc36 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()
Dmeta_support.cc119 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()
Dremote_fused_graph_execute_op_test_utils.cc63 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/
Dtriangular_solve_thunk.cc92 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/
Dblock.c57 *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/
Dhexagon_rewriter_transform_test.cc49 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/
Dslicing_test.cc91 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/
Dc_api_internal.c34 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/
Dtest_data.h38 extern unsigned char b_data[];
Dtest_data.cc22157 unsigned char b_data[b_count] = { variable
Dtest.cc748 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/
Dtest_gzip.py35 b_data = memoryview(data).tobytes()
38 self.assertEqual(l, len(b_data))
40 self.assertEqual(f.read(), b_data)

12