Searched defs:pos (Results 226 - 250 of 2792) sorted by relevance

1234567891011>>

/external/lzma/Java/Tukaani/src/org/tukaani/xz/simple/
H A DSPARC.java15 private int pos; field in class:SPARC
19 pos = startPos;
37 dest = src + (pos + i - off);
39 dest = src - (pos + i - off);
53 pos += i;
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/
H A DCharCache.java25 private int pos; field in class:CharCache
33 int available = cache.length - pos;
35 System.arraycopy(chars, 0, cache, pos, toWrite);
36 pos += toWrite;
40 return new String(cache, 0, pos);
44 pos = 0;
48 if (pos < cache.length - 1) {
49 cache[pos] = c;
50 pos++;
55 return pos;
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DHeaderParser.java21 * Returns the next index in {@code input} at or after {@code pos} that
25 public static int skipUntil(String input, int pos, String characters) { argument
26 for (; pos < input.length(); pos++) {
27 if (characters.indexOf(input.charAt(pos)) != -1) {
31 return pos;
38 public static int skipWhitespace(String input, int pos) { argument
39 for (; pos < input.length(); pos++) {
40 char c = input.charAt(pos);
[all...]
/external/pdfium/core/fpdfapi/page/
H A Dcpdf_textobject.h54 void SetPosition(CFX_PointF pos) { m_Pos = pos; } argument
/external/pdfium/core/fpdfapi/render/
H A Dcpdf_type3glyphs.cpp18 static int _AdjustBlue(float pos, int& count, int blues[]) { argument
22 float distance = fabs(pos - static_cast<float>(blues[i]));
30 int new_pos = FXSYS_round(pos);
/external/perfetto/src/protozero/
H A Dproto_utils.cc43 const uint8_t* pos = start; local
47 if (PERFETTO_UNLIKELY(pos >= end)) {
52 *value |= static_cast<uint64_t>(*pos & 0x7f) << shift;
54 } while (*pos++ & 0x80);
55 return pos;
70 const uint8_t* pos = start;
71 PERFETTO_CHECK_PTR_LE(pos, end - 1);
72 *field_type = static_cast<FieldType>(*pos & kFieldTypeMask);
75 pos = ParseVarInt(pos, en
[all...]
/external/ppp/pppd/plugins/pppoatm/
H A Dmisc.c20 int __atmlib_fetch(const char **pos,...) argument
27 va_start(ap,pos);
28 ref_len = strlen(*pos);
34 !strncasecmp(*pos,value,len)) {
40 if (best > -1) (*pos) += best_len;
/external/python/cpython2/Objects/stringlib/
H A Dpartition.h17 Py_ssize_t pos; local
28 pos = fastsearch(str, str_len, sep, sep_len, -1, FAST_SEARCH);
30 if (pos < 0) {
46 PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(str, pos));
49 pos += sep_len;
50 PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(str + pos, str_len - pos));
67 Py_ssize_t pos; local
78 pos = fastsearch(str, str_len, sep, sep_len, -1, FAST_RSEARCH);
80 if (pos <
[all...]
/external/python/cpython3/Tools/scripts/
H A Dabitype.py38 pos = start
40 if tokens[pos][1] == 'static':
41 pos += 2
43 pos += 2
45 name = tokens[pos][1]
46 pos += 1
47 while tokens[pos][1] != '{':
48 pos += 1
49 pos += 1
51 while tokens[pos][
171 pos = 0 variable
[all...]
/external/selinux/libsepol/cil/src/
H A Dcil_stack.c45 new_stack->pos = -1;
62 stack->pos = -1;
67 return (stack->pos == -1);
72 stack->pos++;
74 if (stack->pos == stack->size) {
79 stack->stack[stack->pos].flavor = flavor;
80 stack->stack[stack->pos].data = data;
85 if (stack->pos == -1) {
89 stack->pos--;
90 return &stack->stack[stack->pos
102 cil_stack_peek_at(struct cil_stack *stack, int pos) argument
[all...]
/external/skia/gm/
H A Dtextblobshader.cpp50 run->pos[i] = p.getTextSize() * i * .75f;
56 run->pos[i * 2] = p.getTextSize() * i * .75f;
57 run->pos[i * 2 + 1] = 150 + 5 * sinf((float)i * 8 / glyphCount);
66 SkScalar pos[SK_ARRAY_COUNT(colors)]; variable
67 for (unsigned i = 0; i < SK_ARRAY_COUNT(pos); ++i) {
68 pos[i] = (float)i / (SK_ARRAY_COUNT(pos) - 1);
74 sz.width() * .66f, colors, pos,
/external/skia/src/core/
H A DSkBuffer.cpp16 const void* pos = fPos; local
18 return pos;
33 intptr_t pos = reinterpret_cast<intptr_t>(fPos); local
34 size_t n = SkAlign4(pos) - pos;
61 size_t pos = this->pos(); local
62 size_t n = SkAlign4(pos) - pos;
/external/skia/tests/
H A DShaderOpacityTest.cpp55 SkScalar pos[2] = {SkIntToScalar(0), SkIntToScalar(1)}; local
62 auto grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode);
69 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode);
76 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode);
83 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode);
/external/skqp/gm/
H A Dtextblobshader.cpp50 run->pos[i] = p.getTextSize() * i * .75f;
56 run->pos[i * 2] = p.getTextSize() * i * .75f;
57 run->pos[i * 2 + 1] = 150 + 5 * sinf((float)i * 8 / glyphCount);
66 SkScalar pos[SK_ARRAY_COUNT(colors)]; variable
67 for (unsigned i = 0; i < SK_ARRAY_COUNT(pos); ++i) {
68 pos[i] = (float)i / (SK_ARRAY_COUNT(pos) - 1);
74 sz.width() * .66f, colors, pos,
/external/skqp/src/core/
H A DSkBuffer.cpp28 intptr_t pos = reinterpret_cast<intptr_t>(fPos); local
29 size_t n = SkAlign4(pos) - pos;
55 size_t pos = this->pos(); local
56 size_t n = SkAlign4(pos) - pos;
/external/skqp/tests/
H A DShaderOpacityTest.cpp55 SkScalar pos[2] = {SkIntToScalar(0), SkIntToScalar(1)}; local
62 auto grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode);
69 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode);
76 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode);
83 grad = SkGradientShader::MakeLinear(pts, colors, pos, count, mode);
/external/strace/
H A Dxstring.h68 get_pos_diff_(char *str, size_t size, char *pos, const char *func, argument
75 if (pos > (str + size))
78 func, pos, str, size, call);
80 if (pos < str)
82 func, pos, str, call);
84 return pos - str;
/external/syslinux/gpxe/src/drivers/bus/
H A Dpciextra.c20 uint8_t pos, id; local
33 pci_read_config_byte ( pci, PCI_CAPABILITY_LIST, &pos );
36 pci_read_config_byte ( pci, PCI_CB_CAPABILITY_LIST, &pos );
39 while ( ttl-- && pos >= 0x40 ) {
40 pos &= ~3;
41 pci_read_config_byte ( pci, pos + PCI_CAP_LIST_ID, &id );
46 return pos;
47 pci_read_config_byte ( pci, pos + PCI_CAP_LIST_NEXT, &pos );
/external/syslinux/gpxe/src/hci/mucurses/
H A Dedging.c44 struct cursor_pos pos; local
46 _store_curs_pos( win, &pos );
67 _restore_curs_pos( win, &pos );
81 struct cursor_pos pos; local
83 _store_curs_pos ( win, &pos );
87 _restore_curs_pos ( win, &pos );
101 struct cursor_pos pos; local
103 _store_curs_pos ( win, &pos );
106 wmove( win, ++(win->curs_y), pos.x);
108 _restore_curs_pos ( win, &pos );
[all...]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/
H A Dutils.cc57 auto pos = filename.rfind('.'); local
59 pos == tensorflow::StringPiece::npos
61 : tensorflow::StringPiece(filename.data(), pos);
/external/tensorflow/tensorflow/core/lib/core/
H A Dbitmap_test.cc83 size_t pos = 0; local
85 pos = bitmap.FirstUnset(pos);
86 if (pos == n) break;
87 ASSERT_FALSE(bitmap.get(pos)) << pos << " " << bitmap.ToString();
89 pos++;
113 size_t pos = 0; local
115 pos = bitmap.FirstUnset(pos);
[all...]
H A Dstringpiece.cc37 size_t StringPiece::find(char c, size_t pos) const {
38 if (pos >= size_) {
42 reinterpret_cast<const char*>(memchr(data_ + pos, c, size_ - pos));
46 // Search range is [0..pos] inclusive. If pos == npos, search everything.
47 size_t StringPiece::rfind(char c, size_t pos) const {
49 for (const char* p = data_ + std::min(pos, size_ - 1); p >= data_; p--) {
57 StringPiece StringPiece::substr(size_t pos, size_t n) const { argument
58 if (pos > size
[all...]
/external/toybox/toys/pending/
H A Dfold.c42 int pos = 0, split = -1; local
44 while (pos < bufsz) {
45 switch (buf[pos]) {
48 if ((toys.optflags & FLAG_u) && buf[pos-1] != '\n'
49 && buf[pos+1] != '\n') {
50 xwrite(1, buf, pos);
51 bufsz -= pos + 1;
52 buf += pos + 1;
53 pos = 0;
73 split = pos;
[all...]
/external/toybox/toys/posix/
H A Dsplit.c40 unsigned long bytesleft, linesleft, filenum, len, pos; local
48 len = pos = filenum = bytesleft = linesleft = 0;
53 if (len == pos) {
55 pos = 0;
76 for (i = pos; i < len; ) {
80 j = i - pos;
82 j = len - pos;
86 xwrite(outfd, toybuf+pos, j);
87 pos += j;
/external/v8/src/wasm/
H A Dsignature-map.cc12 auto pos = map_.find(sig); local
13 if (pos != map_.end()) {
14 return pos->second;
23 auto pos = map_.find(sig); local
24 if (pos != map_.end()) {
25 return static_cast<int32_t>(pos->second);

Completed in 2036 milliseconds

1234567891011>>