Home
last modified time | relevance | path

Searched refs:start_pos (Results 1 – 25 of 94) sorted by relevance

1234

/external/chromium_org/content/browser/renderer_host/p2p/
Dsocket_host_unittest.cc155 size_t start_pos = SIZE_MAX, rtp_length = SIZE_MAX; in TEST() local
159 &start_pos, &rtp_length)); in TEST()
160 EXPECT_EQ(SIZE_MAX, start_pos); in TEST()
166 &start_pos, &rtp_length)); in TEST()
167 EXPECT_EQ(SIZE_MAX, start_pos); in TEST()
175 size_t start_pos = SIZE_MAX, rtp_length = SIZE_MAX; in TEST() local
179 &start_pos, &rtp_length)); in TEST()
180 EXPECT_EQ(SIZE_MAX, start_pos); in TEST()
186 &start_pos, &rtp_length)); in TEST()
187 EXPECT_EQ(SIZE_MAX, start_pos); in TEST()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/
DLexer.java60 int start_pos = this.pos; in getToken() local
163 start_pos + 1); in getToken()
178 start_pos + 1); in getToken()
192 start_pos + 1); in getToken()
206 start_pos + 1); in getToken()
220 start_pos + 1); in getToken()
234 start_pos + 1); in getToken()
248 start_pos + 1); in getToken()
262 start_pos + 1); in getToken()
277 start_pos + 1); in getToken()
[all …]
/external/chromium_org/components/bookmarks/test/
Dbookmark_test_helpers.cc55 std::string::size_type start_pos) { in AddNodesFromString() argument
59 std::string::size_type end_pos = model_string.find(' ', start_pos); in AddNodesFromString()
61 std::string::size_type part_length = end_pos - start_pos; in AddNodesFromString()
62 std::string node_name = model_string.substr(start_pos, part_length); in AddNodesFromString()
84 start_pos = end_pos; in AddNodesFromString()
85 end_pos = model_string.find(' ', start_pos); in AddNodesFromString()
133 std::string::size_type start_pos = 0; in AddNodesFromModelString() local
135 AddNodesFromString(model, node, model_string, start_pos); in AddNodesFromModelString()
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
Ddecode_residual.c44 int16_t meml_gotten, Nfor, Nback, diff, start_pos; in WebRtcIlbcfix_DecodeResidual() local
53 start_pos = (iLBC_encbits->startIdx-1)*SUBL; in WebRtcIlbcfix_DecodeResidual()
55 start_pos = (iLBC_encbits->startIdx-1)*SUBL + diff; in WebRtcIlbcfix_DecodeResidual()
62 &decresidual[start_pos], iLBCdec_inst->state_short_len in WebRtcIlbcfix_DecodeResidual()
70 WEBRTC_SPL_MEMCPY_W16(mem+CB_MEML-iLBCdec_inst->state_short_len, decresidual+start_pos, in WebRtcIlbcfix_DecodeResidual()
76 &decresidual[start_pos+iLBCdec_inst->state_short_len], in WebRtcIlbcfix_DecodeResidual()
89 decresidual+start_pos, meml_gotten); in WebRtcIlbcfix_DecodeResidual()
103 WebRtcSpl_MemCpyReversedOrder(&decresidual[start_pos-1], in WebRtcIlbcfix_DecodeResidual()
Dencode.c52 int16_t diff, start_pos; in WebRtcIlbcfix_EncodeImpl() local
91 start_pos = iLBCenc_inst->start_pos; in WebRtcIlbcfix_EncodeImpl()
173 start_pos = (iLBCbits_inst->startIdx-1)*SUBL; in WebRtcIlbcfix_EncodeImpl()
176 start_pos = (iLBCbits_inst->startIdx-1)*SUBL + diff; in WebRtcIlbcfix_EncodeImpl()
181 WebRtcIlbcfix_StateSearch(iLBCenc_inst, iLBCbits_inst, &residual[start_pos], in WebRtcIlbcfix_EncodeImpl()
187 &decresidual[start_pos], iLBCenc_inst->state_short_len in WebRtcIlbcfix_EncodeImpl()
198 decresidual+start_pos, iLBCenc_inst->state_short_len); in WebRtcIlbcfix_EncodeImpl()
203 &residual[start_pos+iLBCenc_inst->state_short_len], in WebRtcIlbcfix_EncodeImpl()
209 WebRtcIlbcfix_CbConstruct(&decresidual[start_pos+iLBCenc_inst->state_short_len], in WebRtcIlbcfix_EncodeImpl()
226 WebRtcSpl_MemCpyReversedOrder(&mem[CB_MEML-1], &decresidual[start_pos], meml_gotten); in WebRtcIlbcfix_EncodeImpl()
[all …]
/external/chromium_org/win8/metro_driver/ime/
Dtext_store.cc309 const uint32 start_pos = acp_start - committed_size_; in GetTextExt() local
312 if (start_pos == end_pos) { in GetTextExt()
318 if (start_pos == 0) { in GetTextExt()
327 } else if (delegate_->GetCompositionCharacterBounds(start_pos - 1, in GetTextExt()
335 if (delegate_->GetCompositionCharacterBounds(start_pos, &tmp_rect)) { in GetTextExt()
348 if (start_pos == 0) in GetTextExt()
396 const LONG start_pos = selection_start_; in InsertTextAtSelection() local
398 const LONG new_end_pos = start_pos + text_buffer_size; in InsertTextAtSelection()
404 *acp_start = start_pos; in InsertTextAtSelection()
415 DCHECK_LE(start_pos, end_pos); in InsertTextAtSelection()
[all …]
/external/chromium_org/third_party/webrtc/system_wrappers/source/
Daligned_malloc.cc28 uintptr_t GetRightAlign(uintptr_t start_pos, size_t alignment) { in GetRightAlign() argument
31 return (start_pos + alignment - 1) & ~(alignment - 1); in GetRightAlign()
49 uintptr_t start_pos = reinterpret_cast<uintptr_t>(pointer); in GetRightAlign() local
50 return reinterpret_cast<void*>(GetRightAlign(start_pos, alignment)); in GetRightAlign()
/external/aac/libSBRdec/src/
Denv_calc.cpp163 int start_pos, int next_pos,
172 int start_pos, int next_pos,
612 …UCHAR start_pos = hHeaderData->timeStep * borders[i]; /* Start-position in time (subband sample) … in calculateSbrEnvelope() local
649 start_pos, stop_pos, in calculateSbrEnvelope()
658 start_pos, stop_pos, in calculateSbrEnvelope()
841 noise_e = (start_pos < no_cols) ? adj_e : final_e; in calculateSbrEnvelope()
907 sc_change = (start_pos<no_cols)? adj_e - input_e : final_e - input_e; in calculateSbrEnvelope()
927 for (j = start_pos; j < stop_pos; j++) in calculateSbrEnvelope()
936 if ( (j==no_cols) && (start_pos<no_cols) ) in calculateSbrEnvelope()
991 if (j-start_pos < smooth_length) in calculateSbrEnvelope()
[all …]
Denv_calc.h155 int start_pos, int next_pos,
162 int start_pos,
/external/chromium_org/content/renderer/android/
Daddress_detector.cc50 size_t* start_pos, in FindContent() argument
53 if (address_parser::FindAddress(begin, end, start_pos, end_pos)) { in FindContent()
55 GetContentText(base::string16(begin + *start_pos, begin + *end_pos))); in FindContent()
Dphone_number_detector.cc60 size_t* start_pos, in FindContent() argument
81 *start_pos = in FindContent()
83 *end_pos = *start_pos + base::UTF8ToUTF16(match.raw_string()).length(); in FindContent()
Demail_detector.cc47 size_t* start_pos, in FindContent() argument
60 *start_pos = matcher->start(status); in FindContent()
/external/chromium_org/pdf/
Ddocument_loader.cc322 uint32 start_pos, end_pos; in DidOpen() local
323 if (GetByteRange(headers, &start_pos, &end_pos)) { in DidOpen()
324 current_pos_ = start_pos; in DidOpen()
325 if (end_pos && end_pos > start_pos) in DidOpen()
326 current_chunk_size_ = end_pos - start_pos + 1; in DidOpen()
393 uint32 start_pos, end_pos; in DidRead() local
394 if (GetByteRange(std::string(buffer_, i), &start_pos, &end_pos)) { in DidRead()
395 current_pos_ = start_pos; in DidRead()
398 if (end_pos && end_pos > start_pos) in DidRead()
399 current_chunk_size_ = end_pos - start_pos + 1; in DidRead()
/external/libnfc-nxp/src/
DphLlcNfc_Frame.c761 ps_store_frame->start_pos) % PH_LLCNFC_MOD_NS_NR)) in phLlcNfc_H_SendUserIFrame()
865 ps_store_frame->start_pos)) in phLlcNfc_H_SendRejectedIFrame()
922 (((ns_rejected != ps_store_frame->start_pos) && in phLlcNfc_H_SendRejectedIFrame()
964 if (ps_frame_info->n_s < (ps_store_frame->start_pos + in phLlcNfc_H_SendRejectedIFrame()
1017 PH_LLCNFC_DEBUG("SEND TIMEOUT CALL START POS : 0x%02X\n", ps_store_frame->start_pos); in phLlcNfc_H_SendTimedOutIFrame()
1130 ps_store_frame->start_pos) % PH_LLCNFC_MOD_NS_NR)) in phLlcNfc_H_SendTimedOutIFrame()
1152 ps_store_frame->start_pos) % PH_LLCNFC_MOD_NS_NR)) in phLlcNfc_H_SendTimedOutIFrame()
1200 PH_LLCNFC_DEBUG("NS START POS BEFORE DEL : 0x%02X\n", ps_store_frame->start_pos); in phLlcNfc_H_ProcessIFrame()
1207 PH_LLCNFC_DEBUG("NS START POS AFTER DEL : 0x%02X\n", ps_store_frame->start_pos); in phLlcNfc_H_ProcessIFrame()
1290 ps_store_frame->start_pos) % PH_LLCNFC_MOD_NS_NR)) in phLlcNfc_H_ProcessIFrame()
[all …]
/external/chromium_org/third_party/cython/src/Cython/Plex/
DScanners.py88 self.start_pos = 0
135 self.start_pos = self.cur_pos
142 action, self.start_pos, self.cur_pos))
143 text = self.buffer[self.start_pos - self.buf_start_pos :
147 if self.cur_pos == self.start_pos:
200 discard = self.start_pos - buf_start_pos
/external/chromium_org/v8/src/
Dmessages.h47 int start_pos, in MessageLocation() argument
50 start_pos_(start_pos), in MessageLocation()
55 int start_pos() const { return start_pos_; } in start_pos() function
Dpreparse-data.cc33 void CompleteParserRecorder::LogMessage(int start_pos, in LogMessage() argument
42 function_store_.Add(start_pos); in LogMessage()
/external/chromium_org/content/common/gpu/media/
Dvideo_decode_accelerator_unittest.cc272 std::string GetBytesForFirstFragment(size_t start_pos, size_t* end_pos);
275 std::string GetBytesForNextFragment(size_t start_pos, size_t* end_pos);
277 void GetBytesForNextNALU(size_t start_pos, size_t* end_pos); // For h.264.
279 size_t start_pos, size_t* end_pos); // For VP8.
656 size_t start_pos, size_t* end_pos) { in GetBytesForFirstFragment() argument
658 *end_pos = start_pos; in GetBytesForFirstFragment()
665 *end_pos = start_pos; in GetBytesForFirstFragment()
669 return GetBytesForNextFragment(start_pos, end_pos); in GetBytesForFirstFragment()
673 size_t start_pos, size_t* end_pos) { in GetBytesForNextFragment() argument
675 *end_pos = start_pos; in GetBytesForNextFragment()
[all …]
/external/chromium_org/native_client_sdk/src/examples/api/video_decode/
Dvideo_decode.cc200 static void GetNextFrame(size_t* start_pos, size_t* end_pos) { in GetNextFrame() argument
201 size_t current_pos = *start_pos; in GetNextFrame()
208 *start_pos = current_pos; in GetNextFrame()
221 static void GetNextFrame(size_t* start_pos, size_t* end_pos) { in GetNextFrame() argument
222 assert(LookingAtNAL(kData, *start_pos)); in GetNextFrame()
223 *end_pos = *start_pos; in GetNextFrame()
308 size_t start_pos = encoded_data_next_pos_to_decode_; in DecodeNextFrame() local
310 GetNextFrame(&start_pos, &end_pos); in DecodeNextFrame()
314 uint32_t size = static_cast<uint32_t>(end_pos - start_pos); in DecodeNextFrame()
318 kData + start_pos, in DecodeNextFrame()
/external/chromium_org/ppapi/examples/video_decode/
Dvideo_decode.cc201 static void GetNextFrame(size_t* start_pos, size_t* end_pos) { in GetNextFrame() argument
202 size_t current_pos = *start_pos; in GetNextFrame()
209 *start_pos = current_pos; in GetNextFrame()
222 static void GetNextFrame(size_t* start_pos, size_t* end_pos) { in GetNextFrame() argument
223 assert(LookingAtNAL(kData, *start_pos)); in GetNextFrame()
224 *end_pos = *start_pos; in GetNextFrame()
309 size_t start_pos = encoded_data_next_pos_to_decode_; in DecodeNextFrame() local
311 GetNextFrame(&start_pos, &end_pos); in DecodeNextFrame()
315 uint32_t size = static_cast<uint32_t>(end_pos - start_pos); in DecodeNextFrame()
319 kData + start_pos, in DecodeNextFrame()
Dvideo_decode_dev.cc112 static void GetNextNALUBoundary(size_t start_pos, size_t* end_pos);
312 size_t start_pos, size_t* end_pos) { in GetNextNALUBoundary() argument
313 assert(LookingAtNAL(kData, start_pos)); in GetNextNALUBoundary()
314 *end_pos = start_pos; in GetNextNALUBoundary()
341 size_t start_pos = encoded_data_next_pos_to_decode_; in DecodeNextNALU() local
343 GetNextNALUBoundary(start_pos, &end_pos); in DecodeNextNALU()
344 pp::Buffer_Dev* buffer = new pp::Buffer_Dev(gles2_, end_pos - start_pos); in DecodeNextNALU()
348 bitstream_buffer.size = end_pos - start_pos; in DecodeNextNALU()
350 memcpy(buffer->data(), kData + start_pos, end_pos - start_pos); in DecodeNextNALU()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_fax.cpp11 int _FindBit(const FX_BYTE* data_buf, int max_pos, int start_pos, int bit) in _FindBit() argument
13 if (start_pos >= max_pos) { in _FindBit()
17 if (start_pos % 8) { in _FindBit()
18 FX_BYTE data = data_buf[start_pos / 8]; in _FindBit()
20 data &= 0xff >> (start_pos % 8); in _FindBit()
22 data |= 0xff << (8 - start_pos % 8); in _FindBit()
25 return start_pos / 8 * 8 + leading_pos[data]; in _FindBit()
27 start_pos += 7; in _FindBit()
30 int byte_pos = start_pos / 8; in _FindBit()
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/
Dunicodetext.cc319 const_iterator start_pos) const { in find()
320 assert(start_pos.utf8_data() >= utf8_data()); in find()
321 assert(start_pos.utf8_data() <= utf8_data() + utf8_length()); in find()
322 return UnsafeFind(look, start_pos); in find()
330 const UnicodeText& look, const_iterator start_pos) const { in UnsafeFind()
336 searching.find(look_piece, start_pos.utf8_data() - utf8_data()); in UnsafeFind()
/external/chromium_org/third_party/webrtc/base/
Dstringencode.cc589 size_t start_pos = remain_source.find(start_mark); in tokenize() local
590 if (std::string::npos == start_pos) break; in tokenize()
592 if (start_pos > 0) { in tokenize()
593 pre_mark = remain_source.substr(0, start_pos - 1); in tokenize()
596 ++start_pos; in tokenize()
597 size_t end_pos = remain_source.find(end_mark, start_pos); in tokenize()
603 fields->push_back(remain_source.substr(start_pos, end_pos - start_pos)); in tokenize()
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
Dstringutil.cc83 size_t start_pos = 0; in SplitStringUsing() local
88 while ((find_pos = s.find(delimiter, start_pos)) != string::npos) { in SplitStringUsing()
89 const string substring = s.substr(start_pos, find_pos - start_pos); in SplitStringUsing()
93 start_pos = find_pos + delimiter.length(); in SplitStringUsing()
95 if (start_pos != s.length()) { in SplitStringUsing()
96 result->push_back(s.substr(start_pos)); in SplitStringUsing()

1234