/external/mesa3d/src/mesa/main/ |
imports.h | 512 GLuint pos = 0; 513 if (n >= 1<<16) { n >>= 16; pos += 16; } 514 if (n >= 1<< 8) { n >>= 8; pos += 8; } 515 if (n >= 1<< 4) { n >>= 4; pos += 4; } 516 if (n >= 1<< 2) { n >>= 2; pos += 2; } 517 if (n >= 1<< 1) { pos += 1; } 518 return pos;
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
const-fst.h | 72 A *Arcs(StateId s) { return arcs_ + states_[s].pos; } 83 data->arcs = arcs_ + states_[s].pos; 92 uint32 pos; // Start of state's arcs in *arcs_ member in struct:fst::ConstFstImpl::State 139 size_t pos = 0; local 142 states_[s].pos = pos; 155 arcs_[pos++] = arc;
|
/external/valgrind/main/callgrind/ |
debug.c | 177 Int i, j, pos, off; local 200 pos = s; 201 pos += VG_(printf)("Cost [%p]: ", c); 210 if (pos > 70) { 213 pos = s+5; 216 pos += VG_(printf)(", "); 219 pos += VG_(printf)("%s %llu", eg->name[j], c[off++]);
|
/external/wpa_supplicant_8/src/wps/ |
wps_attr_build.c | 394 const u8 *pos, *end; local 402 pos = wpabuf_head(data); 403 end = pos + wpabuf_len(data); 405 while (end > pos) { 406 size_t frag_len = end - pos; 412 wpabuf_put_data(ie, pos, frag_len); 413 pos += frag_len;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
SwipeHelper.java | 147 float pos = getTranslation(view); local 148 if (pos >= viewSize * ALPHA_FADE_START) { 149 result = 1.0f - (pos - viewSize * ALPHA_FADE_START) / fadeSize; 150 } else if (pos < viewSize * (1.0f - ALPHA_FADE_START)) { 151 result = 1.0f + (viewSize * ALPHA_FADE_START + pos) / fadeSize; 242 float pos = getPos(ev); local 243 float delta = pos - mInitialTouchPos;
|
/frameworks/volley/src/com/android/volley/toolbox/ |
DiskBasedCache.java | 318 int pos = 0; local 319 while (pos < length && ((count = in.read(bytes, pos, length - pos)) != -1)) { 320 pos += count; 322 if (pos != length) { 323 throw new IOException("Expected " + length + " bytes, read " + pos + " bytes");
|
/ndk/sources/host-tools/make-3.81/ |
arscan.c | 764 long int pos = ar_scan (arname, ar_member_pos, (intptr_t) memname); 771 if (pos < 0) 772 return (int) pos; 773 if (!pos) 780 if (lseek (fd, pos, 0) < 0) 785 if (lseek (fd, pos, 0) < 0) 805 if (lseek (fd, pos, 0) < 0) 760 long int pos = ar_scan (arname, ar_member_pos, (intptr_t) memname); local
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
SwipeHelper.java | 176 float pos = view.getTranslationX(); local 177 if (pos >= viewSize * ALPHA_FADE_START) { 178 result = mStartAlpha - (pos - viewSize * ALPHA_FADE_START) / fadeSize; 179 } else if (pos < viewSize * (mStartAlpha - ALPHA_FADE_START)) { 180 result = mStartAlpha + (viewSize * ALPHA_FADE_START + pos) / fadeSize; 246 float pos = ev.getX(); local 247 float delta = pos - mInitialTouchPosX;
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationViewAdapter.java | 520 final int pos = mItems.size(); local 521 item.setPosition(pos); 523 return pos; 569 final int pos = mItems.indexOf(blockToRemove); local 570 if (pos == -1) { 574 mItems.remove(pos); 575 mItems.addAll(pos, replacements);
|
/packages/experimental/procstatlog/ |
procstatlog.c | 265 int pos = bad_count++; local 266 while (pos > 0 && bad[pos - 1] > pid) { 267 bad[pos] = bad[pos - 1]; 268 --pos; 270 bad[pos] = pid;
|
/external/bison/data/ |
location.cc | 137 ** \param pos a reference to the position to redirect 141 operator<< (std::basic_ostream<YYChar>& ostr, const position& pos) 143 if (pos.filename) 144 ostr << *pos.filename << ':'; 145 return ostr << pos.line << '.' << pos.column;
|
/external/chromium_org/content/browser/geolocation/ |
network_location_provider_unittest.cc | 190 Geoposition pos; local 191 pos.latitude = id; 192 pos.longitude = -(id + 1); 193 pos.altitude = 2 * id; 194 pos.timestamp = base::Time::Now(); 195 return pos; 546 Geoposition pos = CreateReferencePosition(i); local 547 bool ret = cache.CachePosition(CreateReferenceWifiScanData(i), pos); 552 EXPECT_EQ(pos.latitude, item->latitude) << i; 553 EXPECT_EQ(pos.longitude, item->longitude) << i [all...] |
/external/javassist/src/main/javassist/bytecode/ |
Descriptor.java | 744 int pos = 1; local 746 while (desc.charAt(pos) != ')') { 747 if (pos > 1) 750 pos = readType(sbuf, pos, desc); 761 static int readType(StringBuffer sbuf, int pos, String desc) { 762 char c = desc.charAt(pos); 766 c = desc.charAt(++pos); 771 c = desc.charAt(++pos); 788 return pos + 1 [all...] |
/external/libppp/src/ |
netgraph.c | 113 int pos, dpos; local 132 for (pos = len; pos >= 0; pos--) 133 if (data[pos] == '%') 145 for (pos = dpos = 0; pos < (int)len;) { 147 fmt[pos++] = '%'; 148 fmt[pos++] = data[dpos++]; 150 strcpy(fmt + pos, " %s") [all...] |
/external/llvm/lib/CodeGen/ |
StackColoring.cpp | 433 for (int pos = MBBLiveness.LiveIn.find_first(); pos != -1; 434 pos = MBBLiveness.LiveIn.find_next(pos)) { 435 Starts[pos] = Indexes->getMBBStartIdx(MBB); 437 for (int pos = MBBLiveness.LiveOut.find_first(); pos != -1; 438 pos = MBBLiveness.LiveOut.find_next(pos)) { 439 Finishes[pos] = Indexes->getMBBEndIdx(MBB) [all...] |
/external/qemu/audio/ |
coreaudio.c | 171 int pos; member in struct:coreAudioVoice 485 hw->rpos = core->pos; 530 rpos = core->pos; 551 core->pos = rpos; 619 D("%s: core.decr=%d core.pos=%d\n", __FUNCTION__, core->decr, core->pos); 622 hw->wpos = core->pos; 661 D("%s: enter avail=%d core.decr=%d core.pos=%d hw.samples=%d hw.total_samples_captured=%d frameCount=%d\n", 662 __FUNCTION__, avail, core->decr, core->pos, hw->samples, hw->total_samples_captured, (int)frameCount); 671 wpos = core->pos; [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
SDL_ph_video.c | 176 PhPoint_t pos = {0, 0}; local 229 PtSetArg(&args[nargs++], Pt_ARG_POS, &pos, 0); 258 pos.x = (desktop_mode.width - w)/2; 262 pos.y = (desktop_mode.height - h)/2; 265 pos.x+=desktopextent.ul.x; 266 pos.y+=desktopextent.ul.y; 267 PtSetArg(&args[nargs++], Pt_ARG_POS, &pos, 0); 278 pos.x=x+desktopextent.ul.x; 279 pos.y=y+desktopextent.ul.y; 281 PtSetArg(&args[nargs++], Pt_ARG_POS, &pos, 0) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
NavTabScroller.java | 111 protected NavTabView getTabView(int pos) { 112 return (NavTabView) mContentView.getChildAt(pos); 241 void snapToSelected(int pos, boolean smooth) { 242 if (pos < 0) return; 243 View v = mContentView.getChildAt(pos); 309 final int pos = newpos; local 354 handleDataChanged(pos); 379 private void adjustViewGap(View view, int pos) { 380 if ((mGap < 0 && pos > mGapPosition) 381 || (mGap > 0 && pos < mGapPosition)) [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
DebugEventSocketProxy.java | 184 public void location(int line, int pos) { 185 transmit("location\t"+line+"\t"+pos); 248 int pos = -1; local 251 pos = token.getCharPositionInLine(); 256 buf.append(pos);
|
/external/apache-http/src/org/apache/http/message/ |
BasicLineParser.java | 495 int pos = cursor.getPos(); local 497 while ((pos < indexTo) && 498 HTTP.isWhitespace(buffer.charAt(pos))) { 499 pos++; 501 cursor.updatePos(pos);
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemNumber.java | 846 * @param pos The current node 852 public int getPreviousNode(XPathContext xctxt, int pos) 856 XPath countMatchPattern = getCountMatchPattern(xctxt, pos); 857 DTM dtm = xctxt.getDTM(pos); 866 while (DTM.NULL != pos) 872 int next = dtm.getPreviousSibling(pos); 876 next = dtm.getParent(pos); 882 pos = DTM.NULL; // return null from function. 902 pos = next; 904 if ((DTM.NULL != pos) 2078 int pos = currentPosition; local [all...] |
/external/bison/lib/ |
bitset.c | 293 unsigned int pos; local 301 pos = 30; 304 if (pos > 70) 307 pos = 0; 311 pos += 1 + (i >= 10) + (i >= 100);
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
BidiTestHarness.h | 126 size_t pos = str.find_first_of(separators, lastPos); // find next space local 128 while (std::string::npos != pos || std::string::npos != lastPos) { 129 strings.push_back(str.substr(lastPos, pos - lastPos)); 130 lastPos = str.find_first_not_of(separators, pos); 131 pos = str.find_first_of(separators, lastPos);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
compute_memory_pool.c | 331 struct compute_memory_item *pos; local 333 pos = compute_memory_postalloc_chunk(pool, start_in_dw); 334 item->prev = pos; 335 item->next = pos->next; 336 pos->next = item;
|
/external/dropbear/ |
rsa.c | 109 if (buf->pos == buf->len) { 237 if (mp_read_unsigned_bin(&rsa_s, buf_getptr(buf, buf->len - buf->pos), 238 buf->len - buf->pos) != MP_OKAY) { 401 while(rsa_EM->pos != rsa_EM->size - RSA_ASN1_MAGIC_LEN - SHA1_HASH_SIZE) { 415 dropbear_assert(rsa_EM->pos == rsa_EM->size);
|