HomeSort by relevance Sort by last modified time
    Searched refs:pos (Results 2001 - 2025 of 4804) sorted by null

<<81828384858687888990>>

  /packages/apps/Gallery2/src/com/android/gallery3d/app/
AlbumSetDataLoader.java 296 int pos = info.index % mCoverItem.length; local
297 mSetVersion[pos] = info.version;
299 if (mItemVersion[pos] == itemVersion) return null;
300 mItemVersion[pos] = itemVersion;
301 mData[pos] = info.item;
302 mCoverItem[pos] = info.cover;
303 mTotalCount[pos] = info.totalCount;
  /external/chromium_org/third_party/WebKit/Source/wtf/text/
WTFString.h 255 unsigned copyTo(UChar* buffer, unsigned pos, unsigned maxLength) const;
258 void appendTo(Vector<UChar, inlineCapacity>&, unsigned pos = 0, unsigned len = UINT_MAX) const;
261 void appendTo(BufferType&, unsigned pos = 0, unsigned len = UINT_MAX) const;
264 void prependTo(Vector<UChar, inlineCapacity>&, unsigned pos = 0, unsigned len = UINT_MAX) const;
294 void insert(const String&, unsigned pos);
295 void insert(const LChar*, unsigned length, unsigned pos);
296 void insert(const UChar*, unsigned length, unsigned pos);
317 void remove(unsigned pos, int len = 1);
319 String substring(unsigned pos, unsigned len = UINT_MAX) const;
622 inline void String::appendTo(Vector<UChar, inlineCapacity>& result, unsigned pos, unsigned len) cons
    [all...]
  /external/lzma/CPP/7zip/UI/Common/
ArchiveCommandLine.cpp 386 int pos = 0; local
389 if (::MyCharUpper(name[pos]) == kRecursedIDChar)
391 pos++;
392 int index = UString(kRecursedPostCharSet).Find(name[pos]);
395 pos++;
399 if (name.Length() < pos + kSomeCludeAfterRecursedPostStringMinSize)
401 UString tail = name.Mid(pos + 1);
402 if (name[pos] == kImmediateNameID)
404 else if (name[pos] == kFileListID)
407 else if (name[pos] == kMapNameID)
1007 int pos = 1; local
1019 int pos = 2; local
1028 int pos = 2; local
    [all...]
LoadCodecs.cpp 41 int pos = path.ReverseFind(TEXT(CHAR_PATH_SEPARATOR)); local
42 return path.Left(pos + 1);
303 int pos = s.Find(L':'); local
306 if (pos < 0)
307 pos = s.Length();
310 UString num = s.Mid(pos + 1);
319 iconPair.Ext = s.Left(pos);
496 for (int pos = 0; pos < arcType.Length();)
498 int pos2 = arcType.Find('.', pos);
    [all...]
  /external/lzma/CS/7zip/Compress/LZMA/
LzmaEncoder.cs 35 static UInt32 GetPosSlot(UInt32 pos)
37 if (pos < (1 << 11))
38 return g_FastPos[pos];
39 if (pos < (1 << 21))
40 return (UInt32)(g_FastPos[pos >> 10] + 20);
41 return (UInt32)(g_FastPos[pos >> 20] + 40);
44 static UInt32 GetPosSlot2(UInt32 pos)
46 if (pos < (1 << 17))
47 return (UInt32)(g_FastPos[pos >> 6] + 12);
48 if (pos < (1 << 27))
    [all...]
  /external/speex/libspeex/
jitter.c 99 int pos; local
108 pos = 0;
110 while (pos<tb->filled && timing >= tb->timing[pos])
112 pos++;
115 speex_assert(pos <= tb->filled && pos < MAX_TIMINGS);
118 if (pos < tb->filled)
120 int move_size = tb->filled-pos;
123 SPEEX_MOVE(&tb->timing[pos+1], &tb->timing[pos], move_size)
181 int pos[MAX_BUFFERS]; local
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
eap_sim.c 100 char *pos = os_strstr(config->phase1, "sim_min_num_chal="); local
101 if (pos) {
102 data->min_num_chal = atoi(pos + 17);
175 const char *pos; local
184 pos = (const char *) conf->password;
185 if (hexstr2bin(pos, k, 16))
187 pos += 32;
188 if (*pos != ':')
190 pos++;
192 if (hexstr2bin(pos, opc, 16)
529 u8 *pos; local
925 const u8 *pos; local
    [all...]
eap_tls_common.c 825 const u8 *pos; local
836 pos = eap_hdr_validate(EAP_VENDOR_UNAUTH_TLS,
840 pos = eap_hdr_validate(EAP_VENDOR_IETF, eap_type, reqData,
842 if (pos == NULL) {
858 *flags = *pos++;
871 tls_msg_len = WPA_GET_BE32(pos);
880 pos += 4;
898 return pos;
1011 char *start, *pos, *buf; local
1027 pos = os_strstr(start, prefix)
1092 u8 *pos = (u8 *) (hdr + 1); local
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_codeccallbacks.py 8 self.pos = 0
11 oldpos = self.pos
18 self.pos = len(exc.object)
239 l = [u"<%d>" % ord(exc.object[pos]) for pos in xrange(exc.start, exc.end)]
247 l = [u"<%d>" % ord(exc.object[pos]) for pos in xrange(exc.start, exc.end)]
688 handler.pos = -1
692 handler.pos = -2
696 handler.pos = -
    [all...]
test_index.py 249 self.pos = 2**100
250 self.neg = -self.pos
253 self.assertEqual(self.pos.__index__(), self.pos)
263 self.assertEqual(x[self.pos], self.pos)
265 self.assertEqual(x[self.neg:self.pos].indices(maxsize),
267 self.assertEqual(x[self.neg:self.pos:1].indices(maxsize),
279 self.assertEqual(x[self.pos], self.pos)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_codeccallbacks.py 8 self.pos = 0
11 oldpos = self.pos
18 self.pos = len(exc.object)
239 l = [u"<%d>" % ord(exc.object[pos]) for pos in xrange(exc.start, exc.end)]
247 l = [u"<%d>" % ord(exc.object[pos]) for pos in xrange(exc.start, exc.end)]
688 handler.pos = -1
692 handler.pos = -2
696 handler.pos = -
    [all...]
test_index.py 249 self.pos = 2**100
250 self.neg = -self.pos
253 self.assertEqual(self.pos.__index__(), self.pos)
263 self.assertEqual(x[self.pos], self.pos)
265 self.assertEqual(x[self.neg:self.pos].indices(maxsize),
267 self.assertEqual(x[self.neg:self.pos:1].indices(maxsize),
279 self.assertEqual(x[self.pos], self.pos)
    [all...]
  /external/linux-tools-perf/util/
header.c 133 #define dsos__for_each_with_build_id(pos, head) \
134 list_for_each_entry(pos, head, node) \
135 if (!pos->has_build_id) \
142 struct dso *pos; local
144 dsos__for_each_with_build_id(pos, head) {
149 if (!pos->hit)
151 len = pos->long_name_len + 1;
160 memcpy(&b.build_id, pos->build_id, sizeof(pos->build_id));
167 err = write_padded(fd, pos->long_name
206 struct machine *pos = rb_entry(nd, struct machine, rb_node); local
328 struct dso *pos; local
359 struct machine *pos = rb_entry(nd, struct machine, rb_node); local
378 struct machine *pos = rb_entry(nd, struct machine, rb_node); local
    [all...]
  /bootable/recovery/applypatch/
bsdiff.c 170 u_char *new,off_t newsize,off_t st,off_t en,off_t *pos)
179 *pos=I[st];
182 *pos=I[en];
189 return search(I,old,oldsize,new,newsize,x,en,pos);
191 return search(I,old,oldsize,new,newsize,st,x,pos);
229 off_t scan,pos,len; local
288 0,oldsize,&pos);
314 for(i=1;(scan>=lastscan+i)&&(pos>=i);i++) {
315 if(old[pos-i]==new[scan-i]) s++;
327 old[pos-lenb+i]) s--
    [all...]
  /bootable/recovery/
screen_ui.cpp 180 int pos = (int) (p * width); local
184 if (pos > 0) {
185 gr_blit(progressBarFill, width-pos, 0, pos, height, dx+width-pos, dy);
187 if (pos < width-1) {
188 gr_blit(progressBarEmpty, 0, 0, width-pos, height, dx, dy);
192 if (pos > 0) {
193 gr_blit(progressBarFill, 0, 0, pos, height, dx, dy);
195 if (pos < width-1)
    [all...]
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DecimalFormatTest.java 308 ParsePosition pos = new ParsePosition(0); local
310 pos = new ParsePosition(0);
311 Number nb = df.parse("" + Long.MIN_VALUE, pos);
316 pos = new ParsePosition(0);
318 pos = new ParsePosition(0);
319 nb = df.parse("" + Long.MAX_VALUE, pos);
325 pos = new ParsePosition(0);
328 nb = df.parse("invalid", pos);
499 FieldPosition pos; local
505 pos = new FieldPosition(0)
1276 ParsePosition pos = new ParsePosition(0); local
    [all...]
ChoiceFormatTest.java 362 ParsePosition pos = new ParsePosition(0); local
363 Number result = f1.parse("Greater than two", pos);
367 assertEquals("Wrong position ~16", 16, pos.getIndex());
368 pos = new ParsePosition(0);
369 assertTrue("Incorrect result", Double.isNaN(f1.parse("12one", pos)
371 assertEquals("Wrong position ~0", 0, pos.getIndex());
372 pos = new ParsePosition(2);
373 result = f1.parse("12one and two", pos);
376 assertEquals("Wrong position ~5", 5, pos.getIndex());
  /external/bsdiff/
bsdiff.c 153 u_char *new,off_t newsize,off_t st,off_t en,off_t *pos)
162 *pos=I[st];
165 *pos=I[en];
172 return search(I,old,oldsize,new,newsize,x,en,pos);
174 return search(I,old,oldsize,new,newsize,st,x,pos);
202 off_t scan,pos,len; local
279 0,oldsize,&pos);
305 for(i=1;(scan>=lastscan+i)&&(pos>=i);i++) {
306 if(old[pos-i]==new[scan-i]) s++;
318 old[pos-lenb+i]) s--
    [all...]
  /external/chromium_org/chrome/installer/mac/third_party/bsdiff/
goobsdiff.c 168 u_char *new,off_t newsize,off_t st,off_t en,off_t *pos)
177 *pos=I[st];
180 *pos=I[en];
187 return search(I,old,oldsize,new,newsize,x,en,pos);
189 return search(I,old,oldsize,new,newsize,st,x,pos);
338 off_t scan,pos,len; local
423 0,oldsize,&pos);
449 for(i=1;(scan>=lastscan+i)&&(pos>=i);i++) {
450 if(old[pos-i]==new[scan-i]) s++;
462 old[pos-lenb+i]) s--
    [all...]
  /external/chromium_org/third_party/libphonenumber/src/phonenumbers/
stringutil.cc 69 size_t pos = string::npos; local
72 pos = s.find_first_of(c, pos + 1);
73 if (pos == string::npos) {
77 return pos;
163 int pos = 0; local
164 for (size_t match_pos = s->find(substring.data(), pos, substring.length());
166 pos = match_pos + substring.length(),
167 match_pos = s->find(substring.data(), pos, substring.length())) {
170 tmp.append(*s, pos, match_pos - pos)
    [all...]
  /external/svox/pico/lib/
picotrns.c 189 outSeq[j].pos = inSeq[i].pos;
200 static void insertSym(picotrns_possym_t inSeq[], picoos_uint16 pos, picoos_int16 sym) {
201 inSeq[pos].sym = sym;
202 inSeq[pos].pos = PICOTRNS_POS_INSERT;
318 (*outRefPos) = inSeq[altDesc->inPos].pos;
346 (*outRefPos) = inSeq[altDesc->inPos].pos;
396 outSeq[i].pos = ap->altOutRefPos;
541 outSeq[i].pos = inSeq[i].pos
    [all...]
  /external/v8/src/
assembler.h 107 int pos() const;
114 // pos_ < 0 bound label, pos() returns the jump target position
116 // pos_ > 0 linked label, pos() returns the last reference position
122 void bind_to(int pos) {
123 pos_ = -pos - 1;
126 void link_to(int pos, Distance distance = kFar) {
128 near_link_pos_ = pos + 1;
131 pos_ = pos + 1;
390 RelocInfoWriter(byte* pos, byte* pc) : pos_(pos),
395 byte* pos() const { return pos_; } function in class:v8::internal::BASE_EMBEDDED
    [all...]
  /external/wpa_supplicant_8/src/ap/
ap_config.c 199 char buf[128], *pos; local
218 pos = buf;
219 while (*pos != '\0') {
220 if (*pos == '\n') {
221 *pos = '\0';
224 pos++;
247 pos = buf + 17;
248 if (*pos == '\0') {
255 pos++;
258 len = os_strlen(pos);
    [all...]
  /external/chromium_org/skia/ext/
lazy_pixel_ref_utils.cc 229 const SkScalar pos[],
246 min_point.set(pos[0], const_y);
247 max_point.set(pos[0], const_y);
249 min_point.set(pos[0], const_y + pos[1]);
250 max_point.set(pos[0], const_y + pos[1]);
254 SkScalar x = pos[i * scalars_per_pos];
257 y += pos[i * scalars_per_pos + 1];
  /external/chromium_org/third_party/zlib/
gzlib.c 84 state->pos = 0; /* no uncompressed data yet */
303 offset -= state->pos;
310 state->pos + offset >= state->raw) {
319 state->pos += offset;
320 return state->pos;
327 offset += state->pos;
340 state->pos += n;
349 return state->pos + offset;
378 return state->pos + (state->seek ? state->skip : 0);

Completed in 1923 milliseconds

<<81828384858687888990>>