Searched refs:from_pos (Results 1 – 4 of 4) sorted by relevance
/external/brotli/c/enc/ |
D | block_splitter.c | 57 size_t from_pos = offset & mask; in CopyLiteralsToByteArray() local 61 if (from_pos + insert_len > mask) { in CopyLiteralsToByteArray() 62 size_t head_size = mask + 1 - from_pos; in CopyLiteralsToByteArray() 63 memcpy(literals + pos, data + from_pos, head_size); in CopyLiteralsToByteArray() 64 from_pos = 0; in CopyLiteralsToByteArray() 69 memcpy(literals + pos, data + from_pos, insert_len); in CopyLiteralsToByteArray() 72 from_pos = (from_pos + insert_len + CommandCopyLen(&cmds[i])) & mask; in CopyLiteralsToByteArray()
|
/external/cronet/third_party/brotli/enc/ |
D | block_splitter.c | 58 size_t from_pos = offset & mask; in CopyLiteralsToByteArray() local 62 if (from_pos + insert_len > mask) { in CopyLiteralsToByteArray() 63 size_t head_size = mask + 1 - from_pos; in CopyLiteralsToByteArray() 64 memcpy(literals + pos, data + from_pos, head_size); in CopyLiteralsToByteArray() 65 from_pos = 0; in CopyLiteralsToByteArray() 70 memcpy(literals + pos, data + from_pos, insert_len); in CopyLiteralsToByteArray() 73 from_pos = (from_pos + insert_len + CommandCopyLen(&cmds[i])) & mask; in CopyLiteralsToByteArray()
|
/external/parameter-framework/upstream/test/functional-tests/include/ |
D | ConfigFiles.hpp | 87 auto from_pos = on.find(from); in replace() local 88 if (from_pos != std::string::npos) { in replace() 89 on.replace(from_pos, from.length(), to); in replace()
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | reference_ops.h | 613 int64_t from_pos = 0; in GatherNd() local 615 from_pos += indices_data[i * res.indices_nd + j] * res.dims_to_count[j]; in GatherNd() 617 if (from_pos < 0 || from_pos + res.slice_size > params_shape.FlatSize()) { in GatherNd() 620 std::memcpy(output_data + i * res.slice_size, params_data + from_pos, in GatherNd() 642 int64_t from_pos = 0; in GatherNdString() local 644 from_pos += indices_data[i * res.indices_nd + j] * res.dims_to_count[j]; in GatherNdString() 646 if (from_pos < 0 || from_pos + res.slice_size > params_shape.FlatSize()) { in GatherNdString() 650 buffer.AddString(GetString(params_data, from_pos + j)); in GatherNdString()
|