/external/dropbear/ |
packet.c | 61 len = writebuf->len - writebuf->pos; 122 maxlen = ses.readbuf->len - ses.readbuf->pos; 169 maxlen = blocksize - ses.readbuf->pos; 255 while (ses.readbuf->pos < ses.readbuf->len - macsize) { 379 zstream->avail_out = ret->size - ret->pos; 488 while (clearwritebuf->pos < clearwritebuf->len) { 570 unsigned int endpos = src->pos + len; 577 ses.keys->trans_zstream->avail_in = endpos - src->pos; 581 ses.keys->trans_zstream->avail_out = dest->size - dest->pos;
|
/external/grub/stage2/ |
stage2.c | 767 int pos = 0, literal = 0, comment = 0; local 800 if (pos > 0) 801 pos--; 816 else if (! pos) 821 cmdline[pos++] = c; 828 if (pos < maxlen) 829 cmdline[pos++] = c; 833 cmdline[pos] = 0; 835 return pos;
|
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
GeometryBatchFactory.java | 26 Vector3f pos = new Vector3f(); local 33 pos.x = inBuf.get(i * 3 + 0); 34 pos.y = inBuf.get(i * 3 + 1); 35 pos.z = inBuf.get(i * 3 + 2); 37 transform.mult(pos, pos); 39 outBuf.put(offset + i * 3 + 0, pos.x); 40 outBuf.put(offset + i * 3 + 1, pos.y); 41 outBuf.put(offset + i * 3 + 2, pos.z);
|
/external/libvpx/libvpx/vp9/common/mips/dspr2/ |
vp9_itrans32_dspr2.c | 875 uint32_t pos = 45; local 896 uint32_t pos = 45; local 960 uint32_t pos = 45; local [all...] |
/external/wpa_supplicant_8/src/utils/ |
wpa_debug.c | 394 const u8 *pos = buf; local 442 fprintf(out_file, " %02x", pos[i]); 447 if (isprint(pos[i])) 448 fprintf(out_file, "%c", pos[i]); 455 pos += llen; 475 printf(" %02x", pos[i]); 480 if (isprint(pos[i])) 481 printf("%c", pos[i]); 488 pos += llen;
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
GalleryThumbnailView.java | 507 private int fillRight(int pos, int overhang) { 511 while (nextLeft < end && pos < mItemCount) { 512 pos += makeAndAddColumn(pos, nextLeft, true); 519 private int fillLeft(int pos, int overhang) { 523 while (nextRight > end && pos >= 0) { 524 pos -= makeAndAddColumn(pos, nextRight, false); 528 mFirstPosition = pos + 1;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
BinaryDictDecoderUtils.java | 340 * @param pos the position to seek. 345 final int headerSize, final int pos, final FormatOptions formatOptions) { 348 dictDecoder.setPosition(pos); 351 result = getWordAtPositionWithParentAddress(dictDecoder, pos, formatOptions); 353 result = getWordAtPositionWithoutParentAddress(dictDecoder, headerSize, pos, 363 final int pos, final FormatOptions options) { 364 int currentPos = pos; 391 final DictDecoder dictDecoder, final int headerSize, final int pos, 403 if (info.mOriginalAddress == pos) { 409 if (info.mChildrenAddress > pos) { [all...] |
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/ |
drag_selector.js | 151 var pos = DragSelector.getScrolledPosition(this.target_, event); 153 left: Math.max(Math.min(this.startX_, pos.x), 0), 154 top: Math.max(Math.min(this.startY_, pos.y), 0), 155 right: Math.min(Math.max(this.startX_, pos.x), this.target_.scrollWidth), 156 bottom: Math.min(Math.max(this.startY_, pos.y), this.target_.scrollHeight) 167 var pointedElements = this.target_.getHitElements(pos.x, pos.y);
|
/external/chromium_org/third_party/icu/source/common/ |
rbbi.cpp | 488 int32_t pos = (int32_t)utext_nativeLength(fText); local 489 utext_setNativeIndex(fText, pos); 490 return pos; 525 int32_t pos = fCachedBreakPositions[fPositionInCache]; local 526 utext_setNativeIndex(fText, pos); 527 return pos; 560 int32_t pos = fCachedBreakPositions[fPositionInCache]; local 561 utext_setNativeIndex(fText, pos); 562 return pos; 656 int32_t pos = fCachedBreakPositions[fPositionInCache] local 898 int32_t pos = (int32_t)UTEXT_GETNATIVEINDEX(fText); local [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cdtrgtst.c | 274 int32_t pos; local 289 pos=0; 290 myDate = udat_parse(formatter, dateString, u_strlen(dateString), &pos, &status); 322 int32_t pos; local 338 pos=0; 345 myDate = udat_parse(df, dateString, u_strlen(dateString), &pos, &status); 372 int32_t pos,i; local 401 pos=0; 402 d = udat_parse(fmt, datestr, u_strlen(datestr), &pos, &status); 411 pos=0 441 int32_t pos; local [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/ |
command_line_interface.cc | 501 string::size_type pos = target->find(magic_string); local 503 if (pos == string::npos) { 515 pos = target->find_last_of('\n', pos); 516 if (pos == string::npos) { 518 pos = 0; 521 ++pos; 525 string indent_(*target, pos, target->find_first_not_of(" \t", pos) - pos); [all...] |
/external/chromium_org/v8/src/mips/ |
assembler-mips.h | 744 void ins_(Register rt, Register rs, uint16_t pos, uint16_t size); 745 void ext_(Register rt, Register rs, uint16_t pos, uint16_t size); 816 return pc_offset() - label->pos(); 904 inline bool overflow() const { return pc_ >= reloc_info_writer.pos() - kGap; } 907 inline int available_space() const { return reloc_info_writer.pos() - pc_; } 914 Instr instr_at(int pos) { return *reinterpret_cast<Instr*>(buffer_ + pos); } 915 void instr_at_put(int pos, Instr instr) { 916 *reinterpret_cast<Instr*>(buffer_ + pos) = instr; [all...] |
/external/icu4c/test/cintltst/ |
cdtrgtst.c | 274 int32_t pos; local 289 pos=0; 290 myDate = udat_parse(formatter, dateString, u_strlen(dateString), &pos, &status); 322 int32_t pos; local 338 pos=0; 345 myDate = udat_parse(df, dateString, u_strlen(dateString), &pos, &status); 372 int32_t pos,i; local 401 pos=0; 402 d = udat_parse(fmt, datestr, u_strlen(datestr), &pos, &status); 411 pos=0 441 int32_t pos; local [all...] |
/external/protobuf/src/google/protobuf/compiler/ |
command_line_interface.cc | 482 string::size_type pos = target->find(magic_string); local 484 if (pos == string::npos) { 496 pos = target->find_last_of('\n', pos); 497 if (pos == string::npos) { 499 pos = 0; 502 ++pos; 506 string indent_(*target, pos, target->find_first_not_of(" \t", pos) - pos); [all...] |
/external/v8/src/mips/ |
assembler-mips.h | 788 void ins_(Register rt, Register rs, uint16_t pos, uint16_t size); 789 void ext_(Register rt, Register rs, uint16_t pos, uint16_t size); 859 return pc_offset() - label->pos(); 946 inline bool overflow() const { return pc_ >= reloc_info_writer.pos() - kGap; } 949 inline int available_space() const { return reloc_info_writer.pos() - pc_; } 956 Instr instr_at(int pos) { return *reinterpret_cast<Instr*>(buffer_ + pos); } 957 void instr_at_put(int pos, Instr instr) { 958 *reinterpret_cast<Instr*>(buffer_ + pos) = instr; [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_pwd.c | 673 const u8 *pos, *buf; local 678 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PWD, reqData, &len); 679 if ((pos == NULL) || (len < 1)) { 680 wpa_printf(MSG_DEBUG, "EAP-pwd: Got a frame but pos is %s and " 682 pos == NULL ? "NULL" : "not NULL", (int) len); 692 lm_exch = *pos; 693 pos++; /* skip over the bits and the exch */ 748 tot_len = WPA_GET_BE16(pos); 757 pos += sizeof(u16); 774 wpabuf_put_data(data->inbuf, pos, len) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
StringUtil.java | 685 for (int pos = fromIndex; pos >= 0; pos--) { 686 if (chars.indexOf(str.charAt(pos)) < 0) { 687 return pos; 1314 int pos = index; local 1513 int pos = 0; \/\/ Index just past the last char in plainText written to out. local 2037 int pos = entry.indexOf(delimKey); local [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
StringUtil.java | 686 for (int pos = fromIndex; pos >= 0; pos--) { 687 if (chars.indexOf(str.charAt(pos)) < 0) { 688 return pos; 1315 int pos = index; local 1514 int pos = 0; \/\/ Index just past the last char in plainText written to out. local 2038 int pos = entry.indexOf(delimKey); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
DescriptorsUtils.java | 520 int pos = url.lastIndexOf('#'); 521 if (pos < 0) { 523 } else if (pos < url.length() - 1) { 524 url = url.substring(0, pos + 1); 644 int pos = s.indexOf(' ', JAVADOC_BREAK_LENGTH - currentLength); 645 if (pos <= 0) { 648 spans.add(s.substring(0, pos + 1)); 651 s = s.substring(pos + 1); [all...] |
/device/lge/mako/camera/QCamera/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 1210 struct cam_list *pos = NULL; local 1240 struct cam_list *pos = NULL; local 1271 struct cam_list *pos = NULL; local [all...] |
/external/chromium_org/ui/gfx/ |
render_text_win.cc | 629 size_t pos; 631 pos = std::min(selection.caret_pos() + 1, text().length()); 633 pos = iter.pos(); 634 if (iter.IsWord() && pos > selection.caret_pos()) 642 pos = std::max<int>(selection.caret_pos() - 1, 0); 645 size_t begin = iter.pos() - iter.GetString().length(); 650 } else if (iter.pos() >= selection.caret_pos()) { 653 pos = begin; 656 pos = iter.pos() - iter.GetString().length() 791 std::vector<SkPoint> pos; local [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_madwifi.c | 580 char buf[1024], line[128], *pos; 600 pos = strchr(line, '='); 601 if (!pos) 603 *pos++ = '\0'; 604 val = strtoul(pos, NULL, 10); 879 char *pos; local 881 pos = strstr(custom, "addr="); 882 if (pos == NULL) { 888 pos += 5; 889 if (hwaddr_aton(pos, addr) == 0) 932 char *pos, *end, *custom, *buf; local [all...] |
/external/chromium/chrome/browser/safe_browsing/ |
protocol_parser.cc | 33 const char* pos = input; local 34 while (pos && (pos - input < input_len)) { 35 if (*pos == '\n') { 36 line->assign(input, pos - input); 39 ++pos;
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest-death-test.cc | 689 ::std::string::size_type pos = 0; local 691 const ::std::string::size_type colon = str.find(delimiter, pos); 693 parsed.push_back(str.substr(pos)); 696 parsed.push_back(str.substr(pos, colon - pos)); 697 pos = colon + 1;
|
/external/chromium_org/cc/base/ |
tiling_data.cc | 203 int pos = (max_texture_size_.width() - 2 * border_texels_) * x_index; local 205 pos += border_texels_; 207 return pos; 214 int pos = (max_texture_size_.height() - 2 * border_texels_) * y_index; local 216 pos += border_texels_; 218 return pos;
|