Searched refs:begin_index (Results 1 – 11 of 11) sorted by relevance
/external/tensorflow/tensorflow/lite/micro/examples/magic_wand/arduino/ |
D | accelerometer_handler.cc | 26 int begin_index = 0; variable 60 begin_index = 0; in ReadAccelerometer() 82 save_data[begin_index++] = y * 1000; in ReadAccelerometer() 83 save_data[begin_index++] = x * 1000; in ReadAccelerometer() 84 save_data[begin_index++] = z * 1000; in ReadAccelerometer() 88 if (begin_index >= 600) { in ReadAccelerometer() 89 begin_index = 0; in ReadAccelerometer() 100 if (pending_initial_data && begin_index >= 200) { in ReadAccelerometer() 111 int ring_array_index = begin_index + i - length; in ReadAccelerometer()
|
/external/tensorflow/tensorflow/lite/micro/examples/magic_wand/sparkfun_edge/ |
D | accelerometer_handler.cc | 35 int begin_index = 0; variable 153 begin_index = 0; in ReadAccelerometer() 187 save_data[begin_index++] = in ReadAccelerometer() 189 save_data[begin_index++] = in ReadAccelerometer() 191 save_data[begin_index++] = in ReadAccelerometer() 194 if (begin_index >= 600) begin_index = 0; in ReadAccelerometer() 199 if (pending_initial_data && begin_index >= 200) { in ReadAccelerometer() 210 int ring_array_index = begin_index + i - length; in ReadAccelerometer()
|
/external/tensorflow/tensorflow/lite/micro/examples/magic_wand/ |
D | accelerometer_handler.cc | 18 int begin_index = 0; variable 26 begin_index += 3; in ReadAccelerometer() 28 if (begin_index >= 600) begin_index = 0; in ReadAccelerometer() 32 if (begin_index > 300) { in ReadAccelerometer()
|
D | accelerometer_handler.h | 24 extern int begin_index;
|
D | main_functions.cc | 120 error_reporter->Report("Invoke failed on index: %d\n", begin_index); in loop()
|
/external/libchrome/base/strings/ |
D | string_split.cc | 143 for (size_type begin_index = 0, end_index = 0; end_index != Piece::npos; in SplitStringUsingSubstrT() local 144 begin_index = end_index + delimiter.size()) { in SplitStringUsingSubstrT() 145 end_index = input.find(delimiter, begin_index); in SplitStringUsingSubstrT() 147 ? input.substr(begin_index) in SplitStringUsingSubstrT() 148 : input.substr(begin_index, end_index - begin_index); in SplitStringUsingSubstrT()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | strutil.cc | 216 string::size_type begin_index, end_index; in SplitStringToIteratorUsing() local 217 begin_index = full.find_first_not_of(delim); in SplitStringToIteratorUsing() 218 while (begin_index != string::npos) { in SplitStringToIteratorUsing() 219 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorUsing() 221 *result++ = full.substr(begin_index); in SplitStringToIteratorUsing() 224 *result++ = full.substr(begin_index, (end_index - begin_index)); in SplitStringToIteratorUsing() 225 begin_index = full.find_first_not_of(delim, end_index); in SplitStringToIteratorUsing() 253 string::size_type begin_index, end_index; in SplitStringToIteratorAllowEmpty() local 254 begin_index = 0; in SplitStringToIteratorAllowEmpty() 257 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorAllowEmpty() [all …]
|
/external/flatbuffers/grpc/src/compiler/ |
D | java_generator.cc | 150 string::size_type begin_index, end_index; in GrpcSplitStringToIteratorUsing() local 151 begin_index = full.find_first_not_of(delim); in GrpcSplitStringToIteratorUsing() 152 while (begin_index != string::npos) { in GrpcSplitStringToIteratorUsing() 153 end_index = full.find_first_of(delim, begin_index); in GrpcSplitStringToIteratorUsing() 155 *result++ = full.substr(begin_index); in GrpcSplitStringToIteratorUsing() 158 *result++ = full.substr(begin_index, (end_index - begin_index)); in GrpcSplitStringToIteratorUsing() 159 begin_index = full.find_first_not_of(delim, end_index); in GrpcSplitStringToIteratorUsing()
|
/external/grpc-grpc-java/compiler/src/java_plugin/cpp/ |
D | java_generator.cpp | 192 string::size_type begin_index, end_index; in GrpcSplitStringToIteratorUsing() local 193 begin_index = full.find_first_not_of(delim); in GrpcSplitStringToIteratorUsing() 194 while (begin_index != string::npos) { in GrpcSplitStringToIteratorUsing() 195 end_index = full.find_first_of(delim, begin_index); in GrpcSplitStringToIteratorUsing() 197 *result++ = full.substr(begin_index); in GrpcSplitStringToIteratorUsing() 200 *result++ = full.substr(begin_index, (end_index - begin_index)); in GrpcSplitStringToIteratorUsing() 201 begin_index = full.find_first_not_of(delim, end_index); in GrpcSplitStringToIteratorUsing()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | arithmetic_optimizer.cc | 3236 int begin_index = -1; in GetSliceAxis() local 3241 if (begin_index != -1) { in GetSliceAxis() 3245 begin_index = i; in GetSliceAxis() 3264 if (begin_index == -1 && end_index == -1) return Status::OK(); in GetSliceAxis() 3265 if (begin_index != -1 && end_index != -1 && begin_index != end_index) { in GetSliceAxis() 3269 const int slice_axis = (begin_index == -1) ? end_index : begin_index; in GetSliceAxis() 3274 *slice_start_value = (begin_index == -1) ? 0 : begin_value; in GetSliceAxis()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/ |
D | tf_ops.cc | 1958 int64_t begin_index = raw_begin_index.getSExtValue(); in Verify() local 1964 slice_size = input_size - begin_index; in Verify() 1966 if (begin_index < 0 || in Verify() 1967 (input_size != -1 && begin_index + slice_size > input_size)) { in Verify()
|