Searched refs:end_pos (Results 1 - 25 of 60) sorted by relevance

123

/external/pdfium/core/fxge/
H A Dcfx_pathdata.cpp16 const CFX_PointF& end_pos,
18 if (start_pos.x == end_pos.x) {
19 if (start_pos.y == end_pos.y) {
20 rect->UpdateRect(end_pos + CFX_PointF(hw, hw));
21 rect->UpdateRect(end_pos - CFX_PointF(hw, hw));
26 if (end_pos.y < start_pos.y)
27 point_y = end_pos.y - hw;
29 point_y = end_pos.y + hw;
31 rect->UpdateRect(CFX_PointF(end_pos.x + hw, point_y));
32 rect->UpdateRect(CFX_PointF(end_pos
14 UpdateLineEndPoints(CFX_FloatRect* rect, const CFX_PointF& start_pos, const CFX_PointF& end_pos, float hw) argument
58 UpdateLineJoinPoints(CFX_FloatRect* rect, const CFX_PointF& start_pos, const CFX_PointF& mid_pos, const CFX_PointF& end_pos, float half_width, float miter_limit) argument
[all...]
/external/v8/src/parsing/
H A Dscanner-character-streams.h23 int end_pos);
H A Dpreparser.cc128 int formals_end_position = scanner()->location().end_pos;
160 inner_scope->set_end_position(scanner()->peek_location().end_pos);
199 int end_pos = scanner()->location().end_pos; local
200 CheckStrictOctalLiteral(function_scope->start_position(), end_pos, ok);
249 int formals_end_position = scanner()->location().end_pos;
278 int end_position = scanner()->location().end_pos;
303 int body_end = scanner()->peek_location().end_pos;
H A Dscanner-character-streams.cc476 size_t end_pos =
483 while (!out_of_data && end_pos <= position + 1) {
487 chunks.push_back({chunk, len, end_pos});
488 end_pos += len;
495 // end_pos are current (and designate whether we have exhausted the stream,
498 DCHECK_EQ(end_pos, chunks.back().byte_pos + chunks.back().byte_length);
500 DCHECK(position < end_pos || out_of_data);
504 if (position >= end_pos) {
817 int end_pos) {
819 DCHECK(end_pos <
[all...]
H A Dparser-base.h831 // Checks whether an octal literal was last seen between beg_pos and end_pos.
833 void CheckStrictOctalLiteral(int beg_pos, int end_pos, bool* ok) { argument
836 octal.end_pos <= end_pos) {
867 void CheckDestructuringElement(ExpressionT element, int beg_pos, int end_pos);
1291 ExpressionT expression, int beg_pos, int end_pos,
1294 ExpressionT expression, int beg_pos, int end_pos,
1975 Scanner::Location(start_pos, scanner()->location().end_pos),
1979 scanner()->location().end_pos);
1984 Scanner::Location(start_pos, scanner()->location().end_pos),
3896 int end_pos = position(); local
4513 CheckAndRewriteReferenceExpression( ExpressionT expression, int beg_pos, int end_pos, MessageTemplate::Template message, bool* ok) argument
4522 CheckAndRewriteReferenceExpression( ExpressionT expression, int beg_pos, int end_pos, MessageTemplate::Template message, ParseErrorType type, bool* ok) argument
[all...]
H A Dscanner.h181 Location(int b, int e) : beg_pos(b), end_pos(e) { }
182 Location() : beg_pos(0), end_pos(0) { }
185 return beg_pos >= 0 && end_pos >= beg_pos;
191 int end_pos; member in struct:v8::internal::Scanner::Location
720 int source_length = (location.end_pos - location.beg_pos);
H A Dscanner.cc380 next_.location.end_pos = current_.location.end_pos;
397 next_.location.end_pos = pos + 1;
874 next_.location.end_pos = source_pos();
926 DCHECK_EQ(next_.location.end_pos, current_pos);
1146 next_.location.end_pos = source_pos();
1602 next_.location.end_pos = source_pos() - (seen_equal ? 1 : 0);
1677 next_.location.end_pos = source_pos();
/external/libbrillo/brillo/streams/
H A Dstream_utils_unittest.cc103 const uint64_t end_pos = 2000; local
107 FROM_HERE, 0, Whence::FROM_BEGIN, current_pos, end_pos, &pos, nullptr));
111 FROM_HERE, 0, Whence::FROM_CURRENT, current_pos, end_pos, &pos, nullptr));
115 FROM_HERE, 0, Whence::FROM_END, current_pos, end_pos, &pos, nullptr));
116 EXPECT_EQ(end_pos, pos);
119 FROM_HERE, 10, Whence::FROM_BEGIN, current_pos, end_pos, &pos, nullptr));
123 FROM_HERE, 10, Whence::FROM_CURRENT, current_pos, end_pos, &pos,
128 FROM_HERE, 10, Whence::FROM_END, current_pos, end_pos, &pos, nullptr));
129 EXPECT_EQ(end_pos + 10, pos);
132 FROM_HERE, -10, Whence::FROM_CURRENT, current_pos, end_pos,
[all...]
/external/bsdiff/
H A Dfile.cc113 off_t end_pos = lseek(fd_, 0, SEEK_END);
114 if (end_pos == -1)
116 *size = end_pos;
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
H A Dbwe_test_fileutils.cc38 int32_t end_pos = ftell(file_); local
40 return current_pos == end_pos;
/external/llvm/lib/Support/
H A DPath.cpp136 size_t end_pos = filename_pos(path); local
138 bool filename_was_sep = path.size() > 0 && is_separator(path[end_pos]);
141 size_t root_dir_pos = root_dir_start(path.substr(0, end_pos));
143 while(end_pos > 0 &&
144 (end_pos - 1) != root_dir_pos &&
145 is_separator(path[end_pos - 1]))
146 --end_pos;
148 if (end_pos == 1 && root_dir_pos == 0 && filename_was_sep)
151 return end_pos;
295 size_t end_pos
[all...]
/external/swiftshader/third_party/LLVM/lib/Support/
H A DPathV2.cpp131 size_t end_pos = filename_pos(path); local
133 bool filename_was_sep = path.size() > 0 && is_separator(path[end_pos]);
136 size_t root_dir_pos = root_dir_start(path.substr(0, end_pos));
138 while(end_pos > 0 &&
139 (end_pos - 1) != root_dir_pos &&
140 is_separator(path[end_pos - 1]))
141 --end_pos;
143 if (end_pos == 1 && root_dir_pos == 0 && filename_was_sep)
146 return end_pos;
216 size_t end_pos
[all...]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
H A DPath.cpp136 size_t end_pos = filename_pos(path); local
138 bool filename_was_sep = path.size() > 0 && is_separator(path[end_pos]);
141 size_t root_dir_pos = root_dir_start(path.substr(0, end_pos));
143 while(end_pos > 0 &&
144 (end_pos - 1) != root_dir_pos &&
145 is_separator(path[end_pos - 1]))
146 --end_pos;
148 if (end_pos == 1 && root_dir_pos == 0 && filename_was_sep)
151 return end_pos;
295 size_t end_pos
[all...]
/external/v8/src/objects/
H A Dmodule-info.h102 DECL_INT_ACCESSORS(end_pos)
109 int beg_pos, int end_pos);
/external/tensorflow/tensorflow/contrib/lite/testing/
H A Dgenerated_examples_zip_test.cc172 size_t end_pos = manifest.find("\n", pos); local
173 if (end_pos == string::npos) break;
174 string filename = manifest.substr(pos, end_pos - pos);
176 pos = end_pos + 1;
/external/toolchain-utils/cros_utils/
H A Dbuildbot_utils.py61 end_pos = l.find('@https://storage')
62 trybot_image = l[start_pos:end_pos]
192 end_pos = out.find('/chromiumos_test_image')
193 trybot_image = out[start_pos:end_pos]
/external/v8/src/
H A Dpending-compilation-error-handler.cc68 handle(Smi::FromInt(location.end_pos()), isolate),
/external/webrtc/webrtc/base/
H A Dwin32.cc174 char* end_pos; local
175 long value = strtol(src_pos, &end_pos, 10);
176 if (value < 0 || value > 255 || src_pos == end_pos) {
184 src_pos = end_pos;
/external/curl/lib/vtls/
H A Dvtls.c747 char *stripped_pem, *begin_pos, *end_pos; local
768 end_pos = strstr(pem + pem_count, "\n-----END PUBLIC KEY-----");
769 if(!end_pos)
772 pem_len = end_pos - pem;
814 char *encoded, *pinkeycopy, *begin_pos, *end_pos; local
857 end_pos = strstr(begin_pos, ";sha256//");
859 * if there is an end_pos, null terminate,
862 if(end_pos)
863 end_pos[0] = '\0';
876 if(end_pos) {
[all...]
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
H A DDWARFDebugLine.cpp453 iterator end_pos = Rows.end(); local
454 iterator pos = std::lower_bound(begin_pos, end_pos, row,
456 if (pos == end_pos) {
/external/libxaac/decoder/
H A Dixheaacd_env_calc.h106 WORD start_pos, WORD end_pos,
112 WORD start_pos, WORD end_pos,
H A Dixheaacd_drc_freq_dec.c874 WORD32 drc_band, spec_pos, start_pos, end_pos; local
981 end_pos = pstr_drc_data->n_mdct_bands[drc_band];
984 for (spec_pos = start_pos; spec_pos < end_pos; spec_pos++) {
1055 qmf_stop_pos = ixheaacd_drc_ceil(end_pos, frame_size);
1069 start_pos = end_pos;
/external/curl/src/
H A Dtool_formparse.c55 static char *get_param_word(char **str, char **end_pos, char endchar) argument
78 *end_pos = ptr;
87 while(ptr < *end_pos);
88 *end_pos = ptr2;
103 *str = *end_pos = ptr;
/external/v8/src/ast/
H A Dmodules.cc94 location.beg_pos, location.end_pos);
302 entry->location.beg_pos, entry->location.end_pos,
314 entry->location.beg_pos, entry->location.end_pos,
/external/google-styleguide/cpplint/
H A Dcpplint.py1619 (end_pos, stack) = FindEndOfExpressionInLine(line, pos, [])
1620 if end_pos > -1:
1621 return (line, linenum, end_pos)
1627 (end_pos, stack) = FindEndOfExpressionInLine(line, 0, stack)
1628 if end_pos > -1:
1629 return (line, linenum, end_pos)
2511 (_, end_line, end_pos) = CloseExpression(clean_lines, linenum, pos - 1)
2512 if end_pos < 0:
2516 pos = end_pos
3356 (_, _, end_pos)
[all...]

Completed in 1651 milliseconds

123