Home
last modified time | relevance | path

Searched refs:capture_index (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/osx/
Daudio_provider.cc52 const int capture_index = (sample_offset + i) % kAudioCaptureBufferSize; in OnAudioBufferFilledCallback() local
53 g_audio_capture_buffer[capture_index] = float_samples[i] * ((1 << 15) - 1); in OnAudioBufferFilledCallback()
130 const int capture_index = (start_offset + i) % kAudioCaptureBufferSize; in GetAudioSamples() local
131 g_audio_output_buffer[i] = g_audio_capture_buffer[capture_index]; in GetAudioSamples()
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/disco_f746ng/
Daudio_provider.cc119 const int capture_index = in CaptureSamples() local
121 g_audio_capture_buffer[capture_index] = in CaptureSamples()
173 const int capture_index = (start_offset + i) % kAudioCaptureBufferSize; in GetAudioSamples() local
174 g_audio_output_buffer[i] = g_audio_capture_buffer[capture_index]; in GetAudioSamples()
/external/v8/src/runtime/
Druntime-regexp.cc98 static inline ReplacementPart SubjectCapture(int capture_index) { in SubjectCapture()
99 return ReplacementPart(SUBJECT_CAPTURE, capture_index); in SubjectCapture()
267 const int capture_index = LookupNamedCapture( in ParseReplacementPattern() local
278 DCHECK(capture_index == -1 || in ParseReplacementPattern()
279 (1 <= capture_index && capture_index <= capture_count)); in ParseReplacementPattern()
285 (capture_index == -1) in ParseReplacementPattern()
287 : ReplacementPart::SubjectCapture(capture_index)); in ParseReplacementPattern()
981 const int capture_index = LookupNamedCapture( in GetNamedCapture() local
985 if (capture_index == -1) { in GetNamedCapture()
990 DCHECK(1 <= capture_index && capture_index <= CaptureCount()); in GetNamedCapture()
[all …]
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/sparkfun_edge/
Daudio_provider.cc340 const int capture_index = (start_offset + i) % kAudioCaptureBufferSize; in GetAudioSamples() local
341 const int32_t capture_value = g_audio_capture_buffer[capture_index]; in GetAudioSamples()
/external/v8/src/regexp/
Dregexp-parser.cc212 int capture_index = state->capture_index(); in ParseDisjunction() local
219 capture_index CHECK_FAILED); in ParseDisjunction()
221 RegExpCapture* capture = GetCapture(capture_index); in ParseDisjunction()
231 body, is_positive, end_capture_index - capture_index, in ParseDisjunction()
232 capture_index, state->lookaround_type()); in ParseDisjunction()
1007 if (index == s->capture_index()) return true; in IsInsideCaptureGroup()
1009 if (index > s->capture_index()) return false; in IsInsideCaptureGroup()
Dregexp-parser.h257 int capture_index() const { return disjunction_capture_index_; } in capture_index() function