Home
last modified time | relevance | path

Searched refs:cur_pos (Results 1 – 25 of 29) sorted by relevance

12

/external/google-breakpad/src/tools/linux/symupload/
Dsym_upload.cc69 string::size_type cur_pos = 0, next_pos = 0; in TokenizeByChar() local
70 while ((next_pos = source_string.find(c, cur_pos)) != string::npos) { in TokenizeByChar()
71 if (next_pos != cur_pos) in TokenizeByChar()
72 results->push_back(source_string.substr(cur_pos, next_pos - cur_pos)); in TokenizeByChar()
73 cur_pos = next_pos + 1; in TokenizeByChar()
75 if (cur_pos < source_string.size() && next_pos != cur_pos) in TokenizeByChar()
76 results->push_back(source_string.substr(cur_pos)); in TokenizeByChar()
/external/compiler-rt/lib/profile/
DGCDAProfiling.c73 static uint64_t cur_pos = 0; variable
106 size += cur_pos; in resize_write_buffer()
116 memcpy(&write_buffer[cur_pos], s, len); in write_bytes()
117 cur_pos += len; in write_bytes()
145 val = *(uint32_t*)&write_buffer[cur_pos]; in read_32bit_value()
146 cur_pos += 4; in read_32bit_value()
156 val = *(uint64_t*)&write_buffer[cur_pos]; in read_64bit_value()
157 cur_pos += 8; in read_64bit_value()
286 cur_pos = 0; in llvm_gcda_start_file()
367 uint64_t save_cur_pos = cur_pos; in llvm_gcda_emit_arcs()
[all …]
/external/openssh/
Dprogressmeter.c71 static off_t cur_pos; /* transfer position as of last refresh */ variable
133 transferred = *counter - (cur_pos ? cur_pos : start_pos); in refresh_progress_meter()
134 cur_pos = *counter; in refresh_progress_meter()
136 bytes_left = end_pos - cur_pos; in refresh_progress_meter()
176 percent = ((float)cur_pos / end_pos) * 100; in refresh_progress_meter()
184 cur_pos); in refresh_progress_meter()
257 cur_pos = 0; in start_progress_meter()
280 if (cur_pos != end_pos) in stop_progress_meter()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_packet_history_unittest.cc43 uint32_t timestamp, uint8_t* array, size_t* cur_pos) { in CreateRtpPacket() argument
44 array[(*cur_pos)++] = 0x80; in CreateRtpPacket()
45 array[(*cur_pos)++] = payload; in CreateRtpPacket()
46 array[(*cur_pos)++] = seq_num >> 8; in CreateRtpPacket()
47 array[(*cur_pos)++] = seq_num; in CreateRtpPacket()
48 array[(*cur_pos)++] = timestamp >> 24; in CreateRtpPacket()
49 array[(*cur_pos)++] = timestamp >> 16; in CreateRtpPacket()
50 array[(*cur_pos)++] = timestamp >> 8; in CreateRtpPacket()
51 array[(*cur_pos)++] = timestamp; in CreateRtpPacket()
52 array[(*cur_pos)++] = ssrc >> 24; in CreateRtpPacket()
[all …]
/external/lldb/tools/driver/
DIOChannel.cpp153 int cur_pos = 1; in HandleCompletion() local
156 while (cur_pos < num_elements) in HandleCompletion()
158 int endpoint = cur_pos + page_size; in HandleCompletion()
161 for (; cur_pos < endpoint; cur_pos++) in HandleCompletion()
163 completion_str = completions.GetStringAtIndex(cur_pos); in HandleCompletion()
168 if (cur_pos >= num_elements) in HandleCompletion()
180 page_size = num_elements - cur_pos; in HandleCompletion()
/external/pdfium/third_party/freetype/src/pshinter/
Dpshalgo.c410 hint->cur_pos = FT_MulFix( hint->org_pos, scale ) + delta; in ps_simple_scale()
461 hint->cur_pos = pos; in psh_hint_align()
490 hint->cur_pos = align.align_top - fit_len; in psh_hint_align()
495 hint->cur_pos = align.align_bot; in psh_hint_align()
500 hint->cur_pos = align.align_bot; in psh_hint_align()
523 par_cur_center = parent->cur_pos + ( parent->cur_len >> 1 ); in psh_hint_align()
530 hint->cur_pos = pos; in psh_hint_align()
605 hint->cur_pos = pos + psh_hint_snap_stem_side_delta( pos, len ); in psh_hint_align()
612 pos = hint->cur_pos; in psh_hint_align()
623 hint->cur_pos = align.align_top - len; in psh_hint_align()
[all …]
Dpshalgo.h55 FT_Pos cur_pos; member
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pshinter/
Dpshalgo.c410 hint->cur_pos = FT_MulFix( hint->org_pos, scale ) + delta; in ps_simple_scale()
461 hint->cur_pos = pos; in psh_hint_align()
490 hint->cur_pos = align.align_top - fit_len; in psh_hint_align()
495 hint->cur_pos = align.align_bot; in psh_hint_align()
500 hint->cur_pos = align.align_bot; in psh_hint_align()
523 par_cur_center = parent->cur_pos + ( parent->cur_len >> 1 ); in psh_hint_align()
530 hint->cur_pos = pos; in psh_hint_align()
605 hint->cur_pos = pos + psh_hint_snap_stem_side_delta( pos, len ); in psh_hint_align()
612 pos = hint->cur_pos; in psh_hint_align()
623 hint->cur_pos = align.align_top - len; in psh_hint_align()
[all …]
Dpshalgo.h55 FT_Pos cur_pos; member
/external/freetype/src/pshinter/
Dpshalgo.c410 hint->cur_pos = FT_MulFix( hint->org_pos, scale ) + delta; in ps_simple_scale()
461 hint->cur_pos = pos; in psh_hint_align()
490 hint->cur_pos = align.align_top - fit_len; in psh_hint_align()
495 hint->cur_pos = align.align_bot; in psh_hint_align()
500 hint->cur_pos = align.align_bot; in psh_hint_align()
523 par_cur_center = parent->cur_pos + ( parent->cur_len >> 1 ); in psh_hint_align()
530 hint->cur_pos = pos; in psh_hint_align()
605 hint->cur_pos = pos + psh_hint_snap_stem_side_delta( pos, len ); in psh_hint_align()
612 pos = hint->cur_pos; in psh_hint_align()
623 hint->cur_pos = align.align_top - len; in psh_hint_align()
[all …]
Dpshalgo.h55 FT_Pos cur_pos; member
/external/webp/src/enc/
Dbackward_references.h163 PixOrCopy* cur_pos; // current position member
173 return (c->cur_pos != NULL); in VP8LRefsCursorOk()
181 if (++c->cur_pos == c->last_pos_) VP8LRefsCursorNextBlock(c); in VP8LRefsCursorNext()
Dbackward_references.c130 c.cur_pos = c.cur_block_->start_; in VP8LRefsCursorInit()
131 c.last_pos_ = c.cur_pos + c.cur_block_->size_; in VP8LRefsCursorInit()
133 c.cur_pos = NULL; in VP8LRefsCursorInit()
141 c->cur_pos = (b == NULL) ? NULL : b->start_; in VP8LRefsCursorNextBlock()
825 if (PixOrCopyIsCopy(c.cur_pos)) { in BackwardReferences2DLocality()
826 const int dist = c.cur_pos->argb_or_distance; in BackwardReferences2DLocality()
828 c.cur_pos->argb_or_distance = transformed_dist; in BackwardReferences2DLocality()
853 VP8LHistogramAddSinglePixOrCopy(histo, c.cur_pos); in ComputeCacheEntropy()
858 const PixOrCopy* const v = c.cur_pos; in ComputeCacheEntropy()
961 PixOrCopy* const v = c.cur_pos; in BackwardRefsWithLocalCache()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/gs/
Dcb_test_harness.py69 cur_pos = self.fp_to_change.tell()
72 self.fp_to_change.seek(cur_pos)
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DRTPjitter.cc47 fpos_t cur_pos; in filelen() local
50 if (!fid || fgetpos(fid, &cur_pos)) { in filelen()
57 fsetpos(fid, &cur_pos); in filelen()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
Dresumable_download_handler.py80 cur_pos = fp.tell()
84 fp.seek(cur_pos, os.SEEK_SET)
/external/harfbuzz_ng/src/
Dhb-buffer-private.hh105 inline hb_glyph_position_t &cur_pos (unsigned int i = 0) { return pos[idx + i]; } in cur_pos() function
106 inline hb_glyph_position_t cur_pos (unsigned int i = 0) const { return pos[idx + i]; } in cur_pos() function
Dhb-ot-layout-gpos-table.hh434 hb_glyph_position_t &o = buffer->cur_pos(); in apply()
476 values, buffer->cur_pos()); in apply()
528 buffer->cur_pos()); in apply()
644 &record->values[0], buffer->cur_pos()); in apply()
794 v, buffer->cur_pos()); in apply()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_gif.cpp55 FX_DWORD cur_pos, in _gif_get_record_position() argument
70 p->child_ptr, cur_pos, FX_RECT(left, top, left + width, top + height), in _gif_get_record_position()
Dfx_codec_progress.h128 FX_DWORD& cur_pos);
/external/curl/lib/
Dftp.c4251 const char *cur_pos; in ftp_parse_url_path() local
4254 cur_pos = path_to_use; /* current position in path. point at the begin in ftp_parse_url_path()
4291 slash_pos=strrchr(cur_pos, '/'); in ftp_parse_url_path()
4292 if(slash_pos || !*cur_pos) { in ftp_parse_url_path()
4293 size_t dirlen = slash_pos-cur_pos; in ftp_parse_url_path()
4302 ftpc->dirs[0] = curl_easy_unescape(conn->data, slash_pos ? cur_pos : "/", in ftp_parse_url_path()
4310 filename = slash_pos ? slash_pos+1 : cur_pos; /* rest is file name */ in ftp_parse_url_path()
4313 filename = cur_pos; /* this is a file name only */ in ftp_parse_url_path()
4326 cur_pos++; /* make it point to the zero byte */ in ftp_parse_url_path()
4332 while((slash_pos = strchr(cur_pos, '/')) != NULL) { in ftp_parse_url_path()
[all …]
/external/pdfium/core/src/fxcodec/lbmp/
Dfx_bmp.h102 FX_BOOL (*_bmp_get_data_position_fn)(bmp_decompress_struct_p bmp_ptr, FX_DWORD cur_pos);
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp653 FX_FLOAT cur_pos = 0; in DrawTextString() local
657 pCharPos[i - 1] = cur_pos; in DrawTextString()
659 cur_pos += pFont->GetCharWidthF(pCharCodes[i]) * font_size / 1000; in DrawTextString()
/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dutil.py891 cur_pos = fp.tell()
895 fp.seek(cur_pos)
/external/pdfium/core/src/fxcodec/lgif/
Dfx_gif.h240 FX_BOOL (*_gif_get_record_position_fn)(gif_decompress_struct_p gif_ptr, FX_DWORD cur_pos,

12