/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/ |
Token.java | 10 private int pos; field in class:Token 34 return this.pos; 37 public void setPos(@SuppressWarnings("hiding") int pos) 39 this.pos = pos;
|
/external/regex-re2/util/ |
stringpiece.cc | 36 int StringPiece::copy(char* buf, size_type n, size_type pos) const { 37 int ret = min(length_ - pos, n); 38 memcpy(buf, ptr_ + pos, ret); 42 int StringPiece::find(const StringPiece& s, size_type pos) const { 43 if (length_ < 0 || pos > static_cast<size_type>(length_)) 46 const char* result = std::search(ptr_ + pos, ptr_ + length_, 52 int StringPiece::find(char c, size_type pos) const { 53 if (length_ <= 0 || pos >= static_cast<size_type>(length_)) { 56 const char* result = std::find(ptr_ + pos, ptr_ + length_, c); 60 int StringPiece::rfind(const StringPiece& s, size_type pos) const [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
d2_11pf.cpp | 160 Word16 pos[NB_PULSE]; local 170 pos[0] = i * 5 + j * 2 + 1; 185 pos[1] = i * 5 + 4; 189 pos[1] = i * 5 + j; 210 * cod[pos[j]] = 8191; 214 * cod[pos[j]] = -8192; 218 cod[pos[j]] = i * 16383 - 8192;
|
/libcore/luni/src/main/java/java/sql/ |
Blob.java | 47 * offset {@code pos}, and returns them as a binary stream. 54 public InputStream getBinaryStream(long pos, long length) throws SQLException; 59 * @param pos 65 * at {@code pos} and is up to {@code length} bytes long. 69 public byte[] getBytes(long pos, int length) throws SQLException; 120 * @param pos 129 public OutputStream setBinaryStream(long pos) throws SQLException; 135 * @param pos 146 public int setBytes(long pos, byte[] theBytes) throws SQLException; 152 * @param pos [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/ |
Lexer.java | 16 private int pos; field in class:Lexer 60 int start_pos = this.pos; 89 this.pos = 0; 94 this.pos = 0; 98 this.pos++; 148 accept_pos = this.pos; 165 this.pos = accept_pos; 180 this.pos = accept_pos; 194 this.pos = accept_pos; 208 this.pos = accept_pos [all...] |
/external/wpa_supplicant_8/src/common/ |
wpa_common.c | 139 u8 *buf, *pos; local 147 pos = buf; 148 os_memcpy(pos, sta_addr, ETH_ALEN); 149 pos += ETH_ALEN; 150 os_memcpy(pos, ap_addr, ETH_ALEN); 151 pos += ETH_ALEN; 152 *pos++ = transaction_seqnum; 154 os_memcpy(pos, rsnie, rsnie_len); 155 pos += rsnie_len; 158 os_memcpy(pos, mdie, mdie_len) 192 const u8 *end, *pos; local 241 const u8 *end, *pos; local 399 const u8 *pos; local 586 const u8 *pos; local 706 u8 *pos, r0_key_data[48], hash[32]; local 789 u8 *pos; local 815 u8 *pos, hash[32]; local 1312 char *pos = start; local [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
tokiter.cpp | 19 pos = lastpos = -1; 37 pos = 0; 39 lastpos = pos; 65 ICU_Utility::skipWhitespace(line, pos, TRUE); 66 if (pos == line.length()) { 69 UChar c = line.charAt(pos++); 82 while (pos < line.length()) { 83 c = line.charAt(pos); // 16-bit ok 85 UChar32 c32 = line.unescapeAt(pos); 93 ++pos; [all...] |
/external/icu4c/test/intltest/ |
tokiter.cpp | 20 pos = lastpos = -1; 38 pos = 0; 40 lastpos = pos; 66 ICU_Utility::skipWhitespace(line, pos, TRUE); 67 if (pos == line.length()) { 70 UChar c = line.charAt(pos++); 83 while (pos < line.length()) { 84 c = line.charAt(pos); // 16-bit ok 86 UChar32 c32 = line.unescapeAt(pos); 94 ++pos; [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/functions/escape/ |
SimpleEscapingFunction.java | 87 int pos = 0; local 88 int start = pos; 89 while (pos < len) { 92 final char chr = in.charAt(pos); 97 if (pos > start) { 98 out.append(in, start, pos); 101 pos += 1; 102 start = pos; 105 pos += 1; 107 if (pos > start) [all...] |
/external/marisa-trie/lib/marisa/ |
range.h | 11 Range(UInt32 begin, UInt32 end, UInt32 pos) 12 : begin_(begin), end_(end), pos_(pos) {} 20 void set_pos(UInt32 pos) { 21 pos_ = pos; 30 UInt32 pos() const { function in class:marisa::Range 45 WRange(UInt32 begin, UInt32 end, UInt32 pos, double weight) 46 : range_(begin, end, pos), weight_(weight) {} 54 void set_pos(UInt32 pos) { 55 range_.set_pos(pos); 70 UInt32 pos() const function in class:marisa::WRange [all...] |
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
range.h | 11 Range(UInt32 begin, UInt32 end, UInt32 pos) 12 : begin_(begin), end_(end), pos_(pos) {} 20 void set_pos(UInt32 pos) { 21 pos_ = pos; 30 UInt32 pos() const { function in class:marisa_alpha::Range 45 WRange(UInt32 begin, UInt32 end, UInt32 pos, double weight) 46 : range_(begin, end, pos), weight_(weight) {} 54 void set_pos(UInt32 pos) { 55 range_.set_pos(pos); 70 UInt32 pos() const function in class:marisa_alpha::WRange [all...] |
/external/smack/src/org/xbill/DNS/ |
Compression.java | 17 int pos; field in class:Compression.Entry 36 * @param pos The position at which the name is added. 40 add(int pos, Name name) { 41 if (pos > MAX_POINTER) 46 entry.pos = pos; 50 System.err.println("Adding " + name + " at " + pos); 62 int pos = -1; local 65 pos = entry.pos; [all...] |
/frameworks/compile/mclinker/unittests/ |
BinTreeTest.cpp | 50 BinaryTree<int>::iterator pos = m_pTestee->root(); local 51 m_pTestee->join<TreeIteratorBase::Rightward>(pos,0); 52 --pos; 53 m_pTestee->join<TreeIteratorBase::Rightward>(pos,1); 54 m_pTestee->join<TreeIteratorBase::Leftward>(pos,1); 55 --pos; 56 m_pTestee->join<TreeIteratorBase::Rightward>(pos,2); 57 m_pTestee->join<TreeIteratorBase::Leftward>(pos,2); 66 m_pTestee->merge<TreeIteratorBase::Rightward>(pos,*mergeTree); 74 BinaryTree<int>::iterator pos = m_pTestee->root() local 93 BinaryTree<int>::iterator pos = m_pTestee->root(); local 113 BinaryTree<int>::iterator pos = m_pTestee->root(); local 128 BinaryTree<int>::iterator pos = m_pTestee->root(); local 158 BinaryTree<int>::iterator pos = m_pTestee->root(); local 188 BinaryTree<int>::iterator pos = m_pTestee->root(); local 203 BinaryTree<int>::iterator pos = m_pTestee->root(); local 233 BinaryTree<int>::iterator pos = m_pTestee->root(); local 263 BinaryTree<int>::iterator pos = m_pTestee->root(); local 277 BinaryTree<int>::iterator pos = m_pTestee->root(); local [all...] |
/external/javassist/src/main/javassist/convert/ |
TransformAfter.java | 30 protected int match2(int pos, CodeIterator iterator) throws BadBytecode { 31 iterator.move(pos); 37 pos = iterator.next(); 39 iterator.writeByte(iterator.byteAt(pos), p); 40 iterator.write16bit(iterator.u16bitAt(pos + 1), p + 1); 41 iterator.writeByte(INVOKESTATIC, pos); 42 iterator.write16bit(newIndex, pos + 1);
|
TransformNew.java | 50 public int transform(CtClass clazz, int pos, CodeIterator iterator, 54 int c = iterator.byteAt(pos); 56 index = iterator.u16bitAt(pos + 1); 58 if (iterator.byteAt(pos + 3) != DUP) 62 iterator.writeByte(NOP, pos); 63 iterator.writeByte(NOP, pos + 1); 64 iterator.writeByte(NOP, pos + 2); 65 iterator.writeByte(NOP, pos + 3); 71 smt.removeNew(pos); 76 sm.removeNew(pos); [all...] |
/external/netcat/ |
atomicio.c | 44 size_t pos = 0; local 50 while (n > pos) { 51 res = (f) (fd, s + pos, n - pos); 63 return pos; 65 pos += (size_t)res; 68 return (pos);
|
/external/wpa_supplicant_8/src/crypto/ |
sha1-prf.c | 34 size_t pos, plen; local 47 pos = 0; 48 while (pos < buf_len) { 49 plen = buf_len - pos; 52 &buf[pos])) 54 pos += SHA1_MAC_LEN; 59 os_memcpy(&buf[pos], hash, plen);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
wpa_passphrase.c | 19 char *ssid, *passphrase, buf[64], *pos; local 39 pos = buf; 40 while (*pos != '\0') { 41 if (*pos == '\r' || *pos == '\n') { 42 *pos = '\0'; 45 pos++;
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
q_pulse.h | 66 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]); 67 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]); 68 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]); 69 void dec_4p_4N1(int32 index, int16 N, int16 offset, int16 pos[]); 70 void dec_4p_4N(int32 index, int16 N, int16 offset, int16 pos[]); 71 void dec_5p_5N(int32 index, int16 N, int16 offset, int16 pos[]); 72 void dec_6p_6N_2(int32 index, int16 N, int16 offset, int16 pos[]);
|
/libcore/support/src/test/java/tests/support/ |
Support_ASimpleInputStream.java | 18 public int pos; field in class:Support_ASimpleInputStream 36 pos = 0; 41 pos = 0; 59 return len - pos; 67 if (pos < len) { 68 int res = buf[pos]; 69 pos++;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.access/ |
at.pass.cpp | 12 // const_reference at(size_type pos) const; 13 // reference at(size_type pos); 23 test(S s, typename S::size_type pos) 28 assert(s.at(pos) == s[pos]); 29 assert(cs.at(pos) == cs[pos]); 30 assert(pos < cs.size()); 34 assert(pos >= s.size());
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/ |
dynamic_patricia_trie_reading_utils.cpp | 38 const int pos) { 39 int linkAddressPos = pos; 44 const uint8_t *const buffer, int *const pos) { 45 return ByteArrayUtils::readSint24AndAdvancePosition(buffer, pos); 59 const uint8_t *const buffer, int *const pos) { 60 const int base = *pos; 61 const int offset = ByteArrayUtils::readSint24AndAdvancePosition(buffer, pos);
|
/external/chromium_org/tools/traceline/traceline/ |
main.cc | 1027 int pos = kOffLogAreaPtr; local [all...] |
/external/icu4c/i18n/ |
fpositer.cpp | 24 pos = -1; 28 : data(NULL), pos(-1) { 32 : UObject(rhs), data(NULL), pos(rhs.pos) { 41 pos = -1; 50 if (pos != rhs.pos) { 99 pos = adopt == NULL ? -1 : 0; 103 if (pos == -1) { 107 fp.setField(data->elementAti(pos++)) [all...] |
/libcore/json/src/main/java/org/json/ |
JSONTokener.java | 71 private int pos; field in class:JSONTokener 110 pos--; 116 while (pos < in.length()) { 117 int c = in.charAt(pos++); 126 if (pos == in.length()) { 130 char peek = in.charAt(pos); 134 pos++; 135 int commentEnd = in.indexOf("*/", pos); 139 pos = commentEnd + 2; 144 pos++ [all...] |