/external/brotli/java/org/brotli/wrapper/dec/ |
D | decoder_jni.cc | 19 size_t input_offset; member 57 handle->input_offset = 0; in Java_org_brotli_wrapper_dec_DecoderJNI_nativeCreate() 118 if (handle->input_offset < handle->input_length) { in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() 121 handle->input_offset = 0; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() 126 const uint8_t* in = handle->input_start + handle->input_offset; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() 127 size_t in_size = handle->input_length - handle->input_offset; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() 131 handle->input_offset = handle->input_length - in_size; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() 135 context[1] = (handle->input_offset == handle->input_length) ? 1 : 0; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() 174 context[1] = (handle->input_offset == handle->input_length) ? 1 : 0; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePull() 177 context[1] = (handle->input_offset == handle->input_length) ? 2 : 4; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePull()
|
/external/brotli/java/org/brotli/wrapper/enc/ |
D | encoder_jni.cc | 19 size_t input_offset; member 56 handle->input_offset = 0; in Java_org_brotli_wrapper_enc_EncoderJNI_nativeCreate() 130 if (handle->input_offset < handle->input_last) { in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush() 133 handle->input_offset = 0; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush() 138 const uint8_t* in = handle->input_start + handle->input_offset; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush() 139 size_t in_size = handle->input_last - handle->input_offset; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush() 143 handle->input_offset = handle->input_last - in_size; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush() 147 context[3] = (handle->input_offset != handle->input_last) ? 1 : 0; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush() 171 context[3] = (handle->input_offset != handle->input_last) ? 1 : 0; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePull()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | logsoftmax_quantized_test.cc | 39 int32 input_offset, const double input_scale, in RunLogSoftmaxFloatReference() argument 49 dq_params.zero_point = input_offset; in RunLogSoftmaxFloatReference() 72 int32 input_offset, const double input_scale, in RunLogSoftmaxFloatReference() argument 82 dq_params.zero_point = input_offset; in RunLogSoftmaxFloatReference() 147 const RuntimeShape& shape_common, int32 input_offset, in RunOneLogSoftmaxTest() argument 154 RunLogSoftmaxFloatReference(input_data, shape_common, input_offset, in RunOneLogSoftmaxTest() 199 const RuntimeShape& shape_common, int32 input_offset, in RunOneLogSoftmaxTest() argument 205 RunLogSoftmaxFloatReference(input_data, shape_common, input_offset, in RunOneLogSoftmaxTest() 255 const int32 input_offset = UniformRandomInt(-256, 0); in TryOneUniformLogSoftmax() local 264 RunOneLogSoftmaxTest(input_data.data(), shape_common, input_offset, in TryOneUniformLogSoftmax() [all …]
|
D | softmax_quantized_test.cc | 37 int32 input_offset, const double input_scale, in RunSoftmaxFloatReference() argument 47 dq_params.zero_point = input_offset; in RunSoftmaxFloatReference() 102 const RuntimeShape& shape_common, int32 input_offset, in RunOneSoftmaxTest() argument 109 RunSoftmaxFloatReference(input_data, shape_common, input_offset, input_scale, in RunOneSoftmaxTest() 159 const int32 input_offset = UniformRandomInt(-256, 0); in TryOneUniformSoftmax() local 168 RunOneSoftmaxTest(input_data.data(), shape_common, input_offset, input_scale, in TryOneUniformSoftmax() 192 const int32 input_offset = UniformRandomInt(-256, 0); in TryOneSkyscraperSoftmax() local 207 RunOneSoftmaxTest(input_data.data(), shape_common, input_offset, input_scale, in TryOneSkyscraperSoftmax()
|
D | depthwiseconv_quantized_test.cc | 195 << " input_offset = " << params.input_offset; in DispatchDepthwiseConv() 268 << " input_offset = " << params.input_offset; in DispatchDepthwiseConv() 290 const RuntimeShape& input_shape, std::int32_t input_offset, in TestOneDepthwiseConvWithGivenOutputShift() argument 313 op_params.input_offset = input_offset; in TestOneDepthwiseConvWithGivenOutputShift() 423 const RuntimeShape& input_shape, std::int32_t input_offset, in TestOneDepthwiseConvBisectOutputShift() argument 437 test_param, input_data, input_shape, input_offset, filter_data, in TestOneDepthwiseConvBisectOutputShift() 464 test_param, input_data, input_shape, input_offset, filter_data, in TestOneDepthwiseConvBisectOutputShift() 473 const RuntimeShape& input_shape, std::int32_t input_offset, in TestOneDepthwiseConv() argument 482 test_param, input_data, input_shape, input_offset, filter_data, in TestOneDepthwiseConv() 518 const std::int32_t input_offset = UniformRandomInt(-255, 0); in TryTestDepthwiseConv() local [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | depthwiseconv_uint8.h | 38 const uint8* input_ptr, int16 input_offset, 62 const int16x8_t input = vaddq_s16(input_s16, vdupq_n_s16(input_offset)); 85 const uint8* input_ptr, int16 input_offset, 112 input[i] = vaddq_s16(input[i], vdupq_n_s16(input_offset)); 138 const int16x8_t input = vaddq_s16(input_s16, vdupq_n_s16(input_offset)); 153 const uint8* input_ptr, int16 input_offset, 173 const int16x8_t input = vaddq_s16(input_s16, vdupq_n_s16(input_offset)); 205 const int16x4_t input = vadd_s16(input_s16, vdup_n_s16(input_offset)); 223 const uint8* input_ptr, int16 input_offset, 250 const int16x4_t input = vadd_s16(input_s16, vdup_n_s16(input_offset)); [all …]
|
D | legacy_optimized_ops.h | 208 int32 input_offset, const uint8* filter_data, in DepthwiseConv() argument 230 op_params.input_offset = input_offset; in DepthwiseConv() 243 int32 input_offset, const uint8* filter_data, in DepthwiseConv() argument 252 DepthwiseConv(input_data, input_dims, input_offset, filter_data, filter_dims, in DepthwiseConv() 263 int32 input_offset, const uint8* filter_data, in DepthwiseConv() argument 275 DepthwiseConv(input_data, input_dims, input_offset, filter_data, filter_dims, in DepthwiseConv() 286 int32 input_offset, const uint8* filter_data, in DepthwiseConv() argument 294 DepthwiseConv<Ac>(input_data, input_dims, input_offset, filter_data, in DepthwiseConv() 357 int32 input_offset, const uint8* filter_data, in FullyConnected() argument 366 op_params.input_offset = input_offset; in FullyConnected() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_conv_ops.cc | 56 int input_depth, int input_offset, const T2* filter_data, in operator ()() argument 151 static_cast<int32>(input_source_value) - input_offset; in operator ()() 202 int input_depth, int input_offset, const T2* filter_data, in operator ()() argument 207 if (input_offset < 0) { in operator ()() 223 input_width, input_depth, input_offset, filter_data, in operator ()() 321 memset(im2col_row_start, input_offset, in operator ()() 350 memset(im2col_left_start, input_offset, in operator ()() 366 memset(im2col_right_start, input_offset, in operator ()() 393 -input_offset, -filter_offset, lda, ldb, ldc); in operator ()() 432 &context, lhs, rhs, &result, -input_offset, -filter_offset, in operator ()() [all …]
|
/external/u-boot/drivers/net/ |
D | netconsole.c | 18 static int input_offset; /* offset to valid chars in input buffer */ variable 152 end = input_offset + input_size; in nc_input_packet() 288 c = input_buffer[input_offset++]; in nc_stdio_getc() 290 if (input_offset >= sizeof(input_buffer)) in nc_stdio_getc() 291 input_offset -= sizeof(input_buffer); in nc_stdio_getc()
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/ |
D | fully_connected.h | 30 const int32 input_offset = params.input_offset; in FullyConnected() local 52 acc += (filter_val + filter_offset) * (input_val + input_offset); in FullyConnected()
|
D | conv.h | 32 const int32 input_offset = params.input_offset; // r = s(q - Z) in ConvPerChannel() local 103 acc += filter_val * (input_val - input_offset); in ConvPerChannel()
|
D | depthwise_conv.h | 37 const int32 input_offset = params.input_offset; in DepthwiseConvPerChannel() local 101 acc += filter_val * (input_val - input_offset); in DepthwiseConvPerChannel()
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | fully_connected.h | 72 const int32 input_offset = params.input_offset; in FullyConnected() local 100 acc += (filter_val + filter_offset) * (input_val + input_offset); in FullyConnected() 121 const int32 input_offset = params.input_offset; in FullyConnected() local 149 int16 input_val = input_data[b * accum_depth + d] + input_offset; in FullyConnected()
|
D | depthwiseconv_uint8.h | 108 const int32 input_offset = params.input_offset; in Run() local 154 (input_val + input_offset); in Run()
|
D | legacy_reference_ops.h | 109 int32 input_offset, const uint8* filter_data, in DepthwiseConv() argument 131 op_params.input_offset = input_offset; in DepthwiseConv() 144 int32 input_offset, const uint8* filter_data, in DepthwiseConv() argument 153 DepthwiseConv(input_data, input_dims, input_offset, filter_data, filter_dims, in DepthwiseConv() 164 int32 input_offset, const uint8* filter_data, in DepthwiseConv() argument 176 DepthwiseConv(input_data, input_dims, input_offset, filter_data, filter_dims, in DepthwiseConv() 187 int32 input_offset, const uint8* filter_data, in DepthwiseConv() argument 195 DepthwiseConv<Ac>(input_data, input_dims, input_offset, filter_data, in DepthwiseConv() 275 int32 input_offset, const uint8* filter_data, in Conv() argument 294 op_params.input_offset = input_offset; in Conv() [all …]
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | resolve_constant_unary.cc | 65 for (int input_offset = 0; input_offset < input.size(); ++input_offset) { in ReduceGeneric() local 66 std::vector<int> input_indices = ReverseOffset(input_shape, input_offset); in ReduceGeneric() 75 output->at(output_offset) = input.at(input_offset); in ReduceGeneric() 79 reducer(output->at(output_offset), input.at(input_offset)); in ReduceGeneric()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_prim_assembler.c | 103 unsigned input_offset = asmblr->input_verts->stride * idx; in copy_verts() local 104 memcpy(output + output_offset, input + input_offset, in copy_verts() 119 unsigned input_offset = asmblr->input_verts->stride * idx; in inject_primid() local 120 struct vertex_header *v = (struct vertex_header*)(input + input_offset); in inject_primid()
|
D | draw_pt_fetch_emit.c | 122 unsigned input_offset = src->src_offset; in fetch_emit_prepare() local 134 input_offset = 0; in fetch_emit_prepare() 140 key.element[i].input_offset = input_offset; in fetch_emit_prepare()
|
D | draw_vs_variant.c | 328 fetch.element[i].input_offset = key->element[i].in.offset; in draw_vs_create_variant_generic() 344 emit.element[i].input_offset = key->element[i].out.vs_output * 4 * sizeof(float); in draw_vs_create_variant_generic() 348 assert(emit.element[i].input_offset <= fetch.output_stride); in draw_vs_create_variant_generic() 354 emit.element[i].input_offset = 0; in draw_vs_create_variant_generic()
|
D | draw_pt_fetch.c | 99 key.element[nr].input_offset = draw->pt.vertex_element[ei].src_offset; in draw_pt_fetch_prepare() 110 key.element[nr].input_offset = draw->pt.vertex_element[ei].src_offset; in draw_pt_fetch_prepare() 121 key.element[nr].input_offset = draw->pt.vertex_element[ei].src_offset; in draw_pt_fetch_prepare()
|
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/portable_optimized/ |
D | depthwise_conv.cc | 108 const int32 input_offset = params.input_offset; in DepthwiseConvOptimizedForFilterWidthEight() local 251 (filter_val + filter_offset) * (input_val + input_offset); in DepthwiseConvOptimizedForFilterWidthEight() 317 const int32_t input_offset = -input->params.zero_point; in EvalQuantized() local 333 op_params.input_offset = input_offset; in EvalQuantized() 348 if ((filter_width == 8) && (input_offset == 0) && (filter_offset == -127) && in EvalQuantized()
|
/external/u-boot/tools/patman/ |
D | cros_subprocess.py | 165 input_offset = 0 181 chunk = input[input_offset : input_offset + 512] 183 input_offset += bytes_written 184 if input_offset >= len(input):
|
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/ |
D | fully_connected.cc | 86 const int32_t input_offset = -input->params.zero_point; in EvalQuantized() local 91 op_params.input_offset = input_offset; in EvalQuantized()
|
D | depthwise_conv.cc | 126 const int32_t input_offset = -input->params.zero_point; in EvalQuantized() local 142 op_params.input_offset = input_offset; in EvalQuantized()
|
/external/python/cpython2/Lib/ |
D | subprocess.py | 1175 input_offset = 0 1186 chunk = input[input_offset : input_offset + _PIPE_BUF] 1188 input_offset += os.write(fd, chunk) 1195 if input_offset >= len(input): 1224 input_offset = 0 1234 chunk = input[input_offset : input_offset + _PIPE_BUF] 1244 input_offset += bytes_written 1245 if input_offset >= len(input):
|