Home
last modified time | relevance | path

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

123

/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_file_part.py34 start_pos = 50
35 fp = FilePart(fpath, start_pos, part_length)
36 self.assertEqual(start_pos, fp._fp.tell())
44 start_pos = 50
46 fp = FilePart(fpath, start_pos, part_length)
51 self.assertEqual(start_pos + offset, fp._fp.tell())
56 self.assertEqual(start_pos + 2 * offset, fp._fp.tell())
61 self.assertEqual(start_pos + part_length - offset, fp._fp.tell())
66 self.assertEqual(start_pos + part_length + 1, fp._fp.tell())
76 start_pos = 50
[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/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Ddecode_residual.c44 size_t meml_gotten, 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()
88 decresidual+start_pos, meml_gotten); in WebRtcIlbcfix_DecodeResidual()
102 WebRtcSpl_MemCpyReversedOrder(&decresidual[start_pos-1], in WebRtcIlbcfix_DecodeResidual()
Dencode.c52 size_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/webrtc/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/opencv3/3rdparty/libtiff/
Dtif_stream.cxx101 ios::pos_type start_pos; member
107 ios::pos_type start_pos; member
168 uint64 new_offset = static_cast<uint64>(data->start_pos) + off; in _tiffosSeekProc()
218 origin = data->start_pos; in _tiffosSeekProc()
232 if( (static_cast<uint64>(origin) + off) > static_cast<uint64>(data->start_pos) ) { in _tiffosSeekProc()
261 uint64 new_offset = static_cast<uint64>(data->start_pos) + off; in _tiffisSeekProc()
293 return (uint64) (data->stream->tellg() - data->start_pos); in _tiffisSeekProc()
363 data->start_pos = data->stream->tellp(); in _tiffStreamOpen()
378 data->start_pos = data->stream->tellg(); in _tiffStreamOpen()
/external/aac/libSBRdec/src/
Denv_calc.cpp163 int start_pos, int next_pos,
172 int start_pos, int next_pos,
621 …UCHAR start_pos = hHeaderData->timeStep * borders[i]; /* Start-position in time (subband sample) … in calculateSbrEnvelope() local
658 start_pos, stop_pos, in calculateSbrEnvelope()
667 start_pos, stop_pos, in calculateSbrEnvelope()
850 noise_e = (start_pos < no_cols) ? adj_e : final_e; in calculateSbrEnvelope()
916 sc_change = (start_pos<no_cols)? adj_e - input_e : final_e - input_e; in calculateSbrEnvelope()
936 for (j = start_pos; j < stop_pos; j++) in calculateSbrEnvelope()
945 if ( (j==no_cols) && (start_pos<no_cols) ) in calculateSbrEnvelope()
1000 if (j-start_pos < smooth_length) in calculateSbrEnvelope()
[all …]
Denv_calc.h155 int start_pos, int next_pos,
162 int start_pos,
/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/dbus/dbus/
Ddbus-marshal-recursive.c207 sub->u.array.start_pos = _DBUS_INT_MAX; in array_types_only_reader_recurse()
214 ((reader)->u.array.start_pos - ((int)(reader)->array_len_offset) - 4)
233 _dbus_assert (reader->u.array.start_pos - len_pos - 4 < 8); in array_reader_get_array_len()
258 sub->u.array.start_pos = sub->value_pos; in array_reader_recurse()
259 _dbus_assert ((sub->u.array.start_pos - (len_pos + 4)) < 8); /* only 3 bits in array_len_offset */ in array_reader_recurse()
260 sub->array_len_offset = sub->u.array.start_pos - (len_pos + 4); in array_reader_recurse()
265 sub->u.array.start_pos, in array_reader_recurse()
315 end_pos = reader->u.array.start_pos + array_reader_get_array_len (reader); in array_reader_check_finished()
318 _dbus_assert (reader->value_pos >= reader->u.array.start_pos); in array_reader_check_finished()
562 end_pos = reader->u.array.start_pos + array_reader_get_array_len (reader); in array_reader_next()
[all …]
Ddbus-marshal-recursive.h56 int start_pos; /**< for array readers, the start of the array values */ member
82 int start_pos; /**< position of first element in the array */ member
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_fax.cpp39 int FindBit(const uint8_t* data_buf, int max_pos, int start_pos, int bit) { in FindBit() argument
40 if (start_pos >= max_pos) { in FindBit()
44 if (start_pos % 8) { in FindBit()
45 uint8_t data = data_buf[start_pos / 8]; in FindBit()
47 data &= 0xff >> (start_pos % 8); in FindBit()
49 data |= 0xff << (8 - start_pos % 8); in FindBit()
52 return start_pos / 8 * 8 + leading_pos[data]; in FindBit()
54 start_pos += 7; in FindBit()
57 int byte_pos = start_pos / 8; in FindBit()
/external/webrtc/webrtc/base/
Dstringencode.cc607 size_t start_pos = remain_source.find(start_mark); in tokenize() local
608 if (std::string::npos == start_pos) break; in tokenize()
610 if (start_pos > 0) { in tokenize()
611 pre_mark = remain_source.substr(0, start_pos - 1); in tokenize()
614 ++start_pos; in tokenize()
615 size_t end_pos = remain_source.find(end_mark, start_pos); in tokenize()
621 fields->push_back(remain_source.substr(start_pos, end_pos - start_pos)); in tokenize()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_utility.cpp102 FX_DWORD start_pos = m_dwCurPos - 1; in ParseWord() local
103 pStart = m_pData + start_pos; in ParseWord()
112 dwSize = m_dwCurPos - start_pos; in ParseWord()
230 FX_DWORD& start_pos, in FindTagPair() argument
236 start_pos = m_dwCurPos; in FindTagPair()
/external/pdfium/core/src/fxcrt/
Dfx_basic_bstring.cpp1023 FX_DWORD CFX_ByteString::GetID(FX_STRSIZE start_pos) const { in GetID()
1024 return CFX_ByteStringC(*this).GetID(start_pos); in GetID()
1026 FX_DWORD CFX_ByteStringC::GetID(FX_STRSIZE start_pos) const { in GetID()
1030 if (start_pos < 0 || start_pos >= m_Length) { in GetID()
1034 if (start_pos + 4 > m_Length) { in GetID()
1035 for (FX_STRSIZE i = 0; i < m_Length - start_pos; i++) { in GetID()
1036 strid = strid * 256 + m_Ptr[start_pos + i]; in GetID()
1038 strid = strid << ((4 - m_Length + start_pos) * 8); in GetID()
1041 strid = strid * 256 + m_Ptr[start_pos + i]; in GetID()
/external/v8/src/parsing/
Dpreparse-data.cc31 void CompleteParserRecorder::LogMessage(int start_pos, int end_pos, in LogMessage() argument
39 function_store_.Add(start_pos); in LogMessage()
/external/pdfium/third_party/libopenjpeg20/
Dt2.c312 … info_PK->start_pos = info_TL->end_header + 1; in opj_t2_encode_packets()
314 …info_PK->start_pos = ((l_cp->m_specific_param.m_enc.m_tp_on | l_tcp->POC)&& info_PK->start_pos) ? … in opj_t2_encode_packets()
316 … info_PK->end_pos = info_PK->start_pos + l_nb_bytes - 1; in opj_t2_encode_packets()
317 …info_PK->end_ph_pos += info_PK->start_pos - 1; /* End of packet header which now only represents … in opj_t2_encode_packets()
456 info_PK->start_pos = info_TL->end_header + 1; in opj_t2_decode_packets()
461 … info_PK->start_pos = p_cstr_info->tile[p_tile_no].tp[curtp].tp_end_header+1; in opj_t2_decode_packets()
463 …info_PK->start_pos = (l_cp->m_specific_param.m_enc.m_tp_on && info_PK->start_pos) ? info_PK->start… in opj_t2_decode_packets()
465 info_PK->end_pos = info_PK->start_pos + l_nb_bytes_read - 1; in opj_t2_decode_packets()
466 …info_PK->end_ph_pos += info_PK->start_pos - 1; /* End of packet header which now only represents … in opj_t2_decode_packets()
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.cc112 string::size_type start_pos = 0; in StringReplace() local
115 pos = s.find(oldsub, start_pos); in StringReplace()
119 res->append(s, start_pos, pos - start_pos); in StringReplace()
121 start_pos = pos + oldsub.size(); // start searching again after the "old" in StringReplace()
123 res->append(s, start_pos, s.length() - start_pos); in StringReplace()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_logging.cc106 size_t start_pos = label.find(receiver); in Plot() local
107 if (start_pos != std::string::npos) { in Plot()
108 label.replace(start_pos, receiver.length(), "Sender"); in Plot()
/external/v8/src/
Dflags.cc409 int start_pos = (value == NULL) ? i : i - 1; in SetFlagsFromCommandLine() local
410 int js_argc = *argc - start_pos; in SetFlagsFromCommandLine()
416 js_argv[k - start_pos] = StrDup(argv[k]); in SetFlagsFromCommandLine()
Dmessages.h27 MessageLocation(Handle<Script> script, int start_pos, int end_pos,
30 start_pos_(start_pos), in script_()
36 int start_pos() const { return start_pos_; } in start_pos() function
Dpending-compilation-error-handler.cc53 handle(Smi::FromInt(location.start_pos()), isolate), in ThrowPendingError()
/external/aac/libSBRenc/src/
Denv_est.cpp558 INT start_pos, /*! start slot */ in getEnvSfbEnergy() argument
584 for (l = start_pos; l < border_pos; l++) { in getEnvSfbEnergy()
690 INT no_of_bands, start_pos, stop_pos, li, ui; in calculateSbrEnvelope() local
735 start_pos = timeStep * frame_info->borders[i]; in calculateSbrEnvelope()
804 count[j] = stop_pos - start_pos; in calculateSbrEnvelope()
811 start_pos, in calculateSbrEnvelope()
833 start_pos, in calculateSbrEnvelope()
849 count[j] = (stop_pos - start_pos) * (ui - li); in calculateSbrEnvelope()
853 start_pos, in calculateSbrEnvelope()
864 start_pos, in calculateSbrEnvelope()
/external/webrtc/webrtc/modules/audio_coding/neteq/test/delay_tool/
Dparse_delay_file.m19 start_pos = ftell(fid); variable
28 fseek(fid, start_pos, 'bof');
/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c1334 FIRSTPASS_STATS *start_pos; in vp8_init_second_pass() local
1374 start_pos = cpi->twopass.stats_in; /* Note starting "file" position */ in vp8_init_second_pass()
1386 reset_fpf_position(cpi, start_pos); in vp8_init_second_pass()
1393 start_pos = cpi->twopass.stats_in; /* Note starting "file" position */ in vp8_init_second_pass()
1404 reset_fpf_position(cpi, start_pos); /* Reset file position */ in vp8_init_second_pass()
1743 FIRSTPASS_STATS *start_pos; in define_gf_group() local
1777 start_pos = cpi->twopass.stats_in; in define_gf_group()
2146 reset_fpf_position(cpi, start_pos); in define_gf_group()
2334 reset_fpf_position(cpi, start_pos); in define_gf_group()
2354 reset_fpf_position(cpi, start_pos); in define_gf_group()
[all …]

123