/external/adhd/cras/src/tests/ |
utf8_unittest.cc | 18 size_t pos; local 22 "\xbc\xce\xb5", &pos)); 23 EXPECT_EQ(35, pos); 25 EXPECT_EQ(1, valid_utf8_string("Playback", &pos)); 26 EXPECT_EQ(8, pos); 28 EXPECT_EQ(1, valid_utf8_string("The Euro sign: \xe2\x82\xac", &pos)); 29 EXPECT_EQ(18, pos); 32 EXPECT_EQ(1, valid_utf8_string("\x01", &pos)); 33 EXPECT_EQ(1, pos); 34 EXPECT_EQ(1, valid_utf8_string("\xc2\x80", &pos)); 80 size_t pos; local [all...] |
/external/clang/test/CodeGen/ |
2003-08-17-DeadCodeShortCircuit.c | 3 int test(_Bool pos, _Bool color) { 5 return (pos && color);
|
/external/wpa_supplicant_8/src/rsn_supp/ |
wpa_ie.c | 45 u8 *pos; local 57 pos = (u8 *) (hdr + 1); 65 RSN_SELECTOR_PUT(pos, suite); 66 pos += WPA_SELECTOR_LEN; 68 *pos++ = 1; 69 *pos++ = 0; 78 RSN_SELECTOR_PUT(pos, suite); 79 pos += WPA_SELECTOR_LEN; 81 *pos++ = 1; 82 *pos++ = 0 113 u8 *pos; local 258 u8 *pos, *len; local 472 const u8 *pos, *end; local [all...] |
/external/annotation-tools/asmx/src/org/objectweb/asm/signature/ |
SignatureReader.java | 74 int pos; local 78 pos = 2; 80 int end = signature.indexOf(':', pos); 81 v.visitFormalTypeParameter(signature.substring(pos - 1, end)); 82 pos = end + 1; 84 c = signature.charAt(pos); 86 pos = parseType(signature, pos, v.visitClassBound()); 90 if ((c = signature.charAt(pos++)) == ':') { 91 pos = parseType(signature, pos, v.visitInterfaceBound()) [all...] |
/external/icu/icu4c/source/common/ |
bytestrie.cpp | 32 BytesTrie::readValue(const uint8_t *pos, int32_t leadByte) { 37 value=((leadByte-kMinTwoByteValueLead)<<8)|*pos; 39 value=((leadByte-kMinThreeByteValueLead)<<16)|(pos[0]<<8)|pos[1]; 41 value=(pos[0]<<16)|(pos[1]<<8)|pos[2]; 43 value=(pos[0]<<24)|(pos[1]<<16)|(pos[2]<<8)|pos[3] 70 const uint8_t *pos=pos_; local [all...] |
ucharstrie.cpp | 33 const UChar *pos=pos_; local 34 if(pos==NULL) { 38 return (remainingMatchLength_<0 && (node=*pos)>=kMinValueLead) ? 62 UCharsTrie::branchNext(const UChar *pos, int32_t length, int32_t uchar) { 65 length=*pos++; 71 if(uchar<*pos++) { 73 pos=jumpByDelta(pos); 76 pos=skipDelta(pos); 156 const UChar *pos=pos_; local 184 const UChar *pos=pos_; local 368 const UChar *pos=pos_; local [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
lsf_check.c | 31 int k,n,m, Nit=2, change=0,pos; local 41 pos=m*dim+k; 44 if ((lsf[pos+1]-lsf[pos])<eps) { 46 if (lsf[pos+1]<lsf[pos]) { 47 lsf[pos+1]= lsf[pos]+eps2; 48 lsf[pos]= lsf[pos+1]-eps2 [all...] |
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
ver4_patricia_trie_reading_utils.cpp | 24 const uint8_t *const buffer, int *pos) { 25 return ByteArrayUtils::readUint32AndAdvancePosition(buffer, pos);
|
/external/syslinux/gpxe/src/hci/mucurses/ |
cursor.h | 20 * @v *pos pointer to struct in which original cursor position is stored 22 static inline void _restore_curs_pos ( WINDOW *win, struct cursor_pos *pos ) { 23 wmove ( win, pos->y, pos->x ); 30 * @v *pos pointer to struct in which to store cursor position 32 static inline void _store_curs_pos ( WINDOW *win, struct cursor_pos *pos ) { 33 pos->y = win->curs_y; 34 pos->x = win->curs_x;
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
AndroidDistinguishedNameParser.java | 35 private int pos; field in class:AndroidDistinguishedNameParser 57 for (; pos < length && chars[pos] == ' '; pos++) { 59 if (pos == length) { 64 beg = pos; 67 pos++; 68 for (; pos < length && chars[pos] != '=' && chars[pos] != ' '; pos++) [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/ |
CharCache.java | 25 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/ |
HeaderParser.java | 21 * Returns the next index in {@code input} at or after {@code pos} that 25 public static int skipUntil(String input, int pos, String characters) { 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) { 39 for (; pos < input.length(); pos++) { 40 char c = input.charAt(pos); [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/ |
DistinguishedNameParser.java | 29 private int pos; field in class:DistinguishedNameParser 51 for (; pos < length && chars[pos] == ' '; pos++) { 53 if (pos == length) { 58 beg = pos; 61 pos++; 62 for (; pos < length && chars[pos] != '=' && chars[pos] != ' '; pos++) [all...] |
/external/ltp/utils/ffsb-6.0-rc2/ |
list.h | 26 #define list_for_each(pos, head) \ 27 for (pos = (head)->next; pos->next, pos != (head); pos = pos->next) 38 #define list_for_each_entry(pos, head, member) \ 39 for (pos = list_entry((head)->next, typeof(*pos), member); \ 40 pos->member.next, &pos->member != (head); [all...] |
/libcore/ojluni/src/main/java/java/text/ |
StringCharacterIterator.java | 57 // invariant: begin <= pos <= end 58 private int pos; field in class:StringCharacterIterator 74 * @param pos Initial iterator position 76 public StringCharacterIterator(String text, int pos) 78 this(text, 0, text.length(), pos); 88 * @param pos Initial iterator position 90 public StringCharacterIterator(String text, int begin, int end, int pos) { 98 if (pos < begin || pos > end) 103 this.pos = pos [all...] |
/external/iptables/libiptc/ |
linux_list.h | 335 * @pos: the &struct list_head to use as a loop counter. 338 #define list_for_each(pos, head) \ 339 for (pos = (head)->next, prefetch(pos->next); pos != (head); \ 340 pos = pos->next, prefetch(pos->next)) 344 * @pos: the &struct list_head to use as a loop counter. 352 #define __list_for_each(pos, head) [all...] |
/external/libnetfilter_conntrack/include/internal/ |
linux_list.h | 340 * @pos: the &struct list_head to use as a loop counter. 343 #define list_for_each(pos, head) \ 344 for (pos = (head)->next, prefetch(pos->next); pos != (head); \ 345 pos = pos->next, prefetch(pos->next)) 349 * @pos: the &struct list_head to use as a loop counter. 357 #define __list_for_each(pos, head) [all...] |
/external/libnfnetlink/include/ |
linux_list.h | 339 * @pos: the &struct list_head to use as a loop counter. 342 #define list_for_each(pos, head) \ 343 for (pos = (head)->next, prefetch(pos->next); pos != (head); \ 344 pos = pos->next, prefetch(pos->next)) 348 * @pos: the &struct list_head to use as a loop counter. 356 #define __list_for_each(pos, head) [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/xpath/ |
XMPPathParser.java | 92 PathPosition pos = new PathPosition(); local 93 pos.path = path; 97 parseRootNode(schemaNS, pos, expandedXPath); 100 while (pos.stepEnd < path.length()) 102 pos.stepBegin = pos.stepEnd; 104 skipPathDelimiter(path, pos); 106 pos.stepEnd = pos.stepBegin; 110 if (path.charAt(pos.stepBegin) != '[' [all...] |
/device/google/contexthub/contexthubhal/ |
message_buf.h | 43 size_t pos; member in class:android::nanohub::MessageBuf 48 pos = 0; 54 pos = 0; 58 void reset() { pos = 0; } 61 size_t getPos() const { return pos; } 62 size_t getRoom() const { return size - pos; } 64 if (pos == size) { 67 return data[pos++]; 70 if (pos == size || readOnly) 72 data[pos++] = val [all...] |
/external/syslinux/com32/include/linux/ |
list.h | 267 * @pos: the &struct list_head to use as a loop cursor. 270 #define list_for_each(pos, head) \ 271 for (pos = (head)->next; pos != (head); \ 272 pos = pos->next) 276 * @pos: the &struct list_head to use as a loop cursor. 284 #define __list_for_each(pos, head) \ 285 for (pos = (head)->next; pos != (head); pos = pos->next [all...] |
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/ |
dictionary_shortcuts_structure_policy.h | 31 virtual int getStartPos(const int pos) const = 0; 35 int *const pos) const = 0; 37 virtual void skipAllShortcuts(int *const pos) const = 0;
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
SeekableInputStream.java | 46 long pos = position(); local 47 if (pos >= size) 50 if (size - pos < n) 51 n = size - pos; 53 seek(pos + n); 75 * @param pos new read position in the stream 77 * @throws IOException if <code>pos</code> is negative or if 80 public abstract void seek(long pos) throws IOException;
|
/frameworks/base/core/java/com/android/internal/util/ |
RingBufferIndices.java | 44 final int pos = mSize; local 46 return pos; 48 int pos = mStart; local 53 return pos; 75 public int indexOf(int pos) { 76 int index = mStart + pos;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
UTF16CollationIterator.java | 35 pos = p; 44 return (pos - start) == (o.pos - o.start); 56 pos = start + newOffset; 61 return pos - start; 68 pos = p; 74 if(pos == limit) { 77 char c = seq.charAt(pos++); 79 if(Character.isHighSurrogate(c) && pos != limit && 80 Character.isLowSurrogate(trail = seq.charAt(pos))) { 149 protected int pos; field in class:UTF16CollationIterator [all...] |