/external/libchrome/base/strings/ |
H A D | string_piece.h | 60 size_t pos); 64 size_t pos); 68 size_t pos); 71 size_t pos); 74 size_t pos); 77 size_t pos); 81 size_t pos); 84 size_t pos); 87 size_t pos); 90 size_t pos); 355 substr(size_type pos, size_type n = BasicStringPiece::npos) const argument [all...] |
/external/libcxx/test/std/strings/basic.string/string.cons/ |
H A D | substr.pass.cpp | 13 // size_type pos, size_type n, 17 // size_type pos, 33 test(S str, unsigned pos) argument 38 if (pos <= str.size()) 40 S s2(str, pos); 42 typename S::size_type rlen = str.size() - pos; 44 assert(T::compare(s2.data(), str.data() + pos, rlen) == 0); 53 S s2(str, pos); 58 assert(pos > str.size()); 66 test(S str, unsigned pos, unsigne argument 98 test(S str, unsigned pos, unsigned n, const typename S::allocator_type& a) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_peer/ |
H A D | tncc.c | 542 u8 * tncc_copy_send_buf(struct tncc_data *tncc, u8 *pos) argument 550 os_memcpy(pos, imc->imc_send, imc->imc_send_len); 551 pos += imc->imc_send_len; 557 return pos; 610 char *pos = os_strstr(start, "<Type>"); local 611 if (pos == NULL) 613 pos += 6; 614 *type = strtoul(pos, NULL, 16); 621 char *pos, *pos2; local 624 pos 647 char *pos, *pos2, saved; local 691 char *buf, *start, *end, *pos, *pos2, *payload; local 1010 char *pos, *pos2; local 1073 char *config, *end, *pos, *line_end; local 1287 const u8 *pos; local [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
H A D | tncc.c | 542 u8 * tncc_copy_send_buf(struct tncc_data *tncc, u8 *pos) argument 550 os_memcpy(pos, imc->imc_send, imc->imc_send_len); 551 pos += imc->imc_send_len; 557 return pos; 610 char *pos = os_strstr(start, "<Type>"); local 611 if (pos == NULL) 613 pos += 6; 614 *type = strtoul(pos, NULL, 16); 621 char *pos, *pos2; local 624 pos 647 char *pos, *pos2, saved; local 691 char *buf, *start, *end, *pos, *pos2, *payload; local 1010 char *pos, *pos2; local 1073 char *config, *end, *pos, *line_end; local 1287 const u8 *pos; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/ |
H A D | tncc.c | 542 u8 * tncc_copy_send_buf(struct tncc_data *tncc, u8 *pos) argument 550 os_memcpy(pos, imc->imc_send, imc->imc_send_len); 551 pos += imc->imc_send_len; 557 return pos; 610 char *pos = os_strstr(start, "<Type>"); local 611 if (pos == NULL) 613 pos += 6; 614 *type = strtoul(pos, NULL, 16); 621 char *pos, *pos2; local 624 pos 647 char *pos, *pos2, saved; local 691 char *buf, *start, *end, *pos, *pos2, *payload; local 1010 char *pos, *pos2; local 1073 char *config, *end, *pos, *line_end; local 1287 const u8 *pos; local [all...] |
/external/libchrome/crypto/ |
H A D | rsa_private_key.cc | 215 bool PrivateKeyInfoCodec::ReadInteger(uint8_t** pos, argument 218 return ReadIntegerImpl(pos, end, out, big_endian_); 222 uint8_t** pos, 227 if (!ReadIntegerImpl(pos, end, &temp, true)) // Big-Endian 249 bool PrivateKeyInfoCodec::ReadIntegerImpl(uint8_t** pos, argument 254 if (!ReadTypeHeaderAndLength(pos, end, kIntegerTag, &length) || !length) 258 if (**pos == 0x00) { 259 ++(*pos); 264 out->insert(out->end(), *pos, (*pos) 221 ReadIntegerWithExpectedSize( uint8_t** pos, uint8_t* end, size_t expected_size, std::vector<uint8_t>* out) argument 322 ReadLength(uint8_t** pos, uint8_t* end, uint32_t* result) argument [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
H A D | TreeWalker.java | 132 * @param pos Node in the tree where to start traversal 136 public void traverse(Node pos) throws org.xml.sax.SAXException argument 141 Node top = pos; 143 while (null != pos) 145 startNode(pos); 147 Node nextNode = pos.getFirstChild(); 151 endNode(pos); 153 if (top.equals(pos)) 156 nextNode = pos.getNextSibling(); 160 pos 192 traverse(Node pos, Node top) argument [all...] |
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
H A D | SeekableXZInputStream.java | 322 long pos = in.length(); 323 if ((pos & 3) != 0) 331 while (pos > 0) { 332 if (pos < DecoderUtil.STREAM_HEADER_SIZE) 336 in.seek(pos - DecoderUtil.STREAM_HEADER_SIZE); 345 pos -= 4; 349 // It's not Stream Padding. Update pos. 350 pos -= DecoderUtil.STREAM_HEADER_SIZE; 355 if (streamFooter.backwardSize >= pos) 367 in.seek(pos 600 getBlockNumber(long pos) argument 785 seek(long pos) argument 893 locateBlockByPos(BlockInfo info, long pos) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/tls/ |
H A D | tlsv1_record.c | 154 u8 *pos, *ct_start, *length, *cpayload; local 159 pos = buf; 160 if (pos + TLS_RECORD_HEADER_LEN > buf + buf_size) 164 ct_start = pos; 165 *pos++ = content_type; 167 WPA_PUT_BE16(pos, rl->tls_version); 168 pos += 2; 170 length = pos; 172 pos += 2; 174 cpayload = pos; [all...] |
/external/wpa_supplicant_8/src/tls/ |
H A D | tlsv1_record.c | 154 u8 *pos, *ct_start, *length, *cpayload; local 159 pos = buf; 160 if (pos + TLS_RECORD_HEADER_LEN > buf + buf_size) 164 ct_start = pos; 165 *pos++ = content_type; 167 WPA_PUT_BE16(pos, rl->tls_version); 168 pos += 2; 170 length = pos; 172 pos += 2; 174 cpayload = pos; [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/tls/ |
H A D | tlsv1_record.c | 154 u8 *pos, *ct_start, *length, *cpayload; local 159 pos = buf; 160 if (pos + TLS_RECORD_HEADER_LEN > buf + buf_size) 164 ct_start = pos; 165 *pos++ = content_type; 167 WPA_PUT_BE16(pos, rl->tls_version); 168 pos += 2; 170 length = pos; 172 pos += 2; 174 cpayload = pos; [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_procmaps_common.cc | 157 const char *pos = smaps; local 158 while (pos < smaps + smaps_len) { 159 if (IsHex(pos[0])) { 160 start = ParseHex(&pos); 161 for (; *pos != '/' && *pos > '\n'; pos++) {} 162 file = *pos == '/'; 163 } else if (internal_strncmp(pos, "Rss:", 4) == 0) { 164 while (!IsDecimal(*pos)) po [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
H A D | Trans.java | 29 int pos = 0; 36 while (pos < args.length) { 37 if (args[pos].equals("-html")) { 39 } else if (args[pos].equals("-i")) { 40 if (++pos == args.length) usage(); 41 inName = args[pos]; 42 } else if (args[pos].equals("-o")) { 43 if (++pos == args.length) usage(); 44 outName = args[pos]; 46 transName = args[pos]; [all...] |
/external/javassist/src/main/javassist/expr/ |
H A D | MethodCall.java | 29 protected MethodCall(int pos, CodeIterator i, CtClass declaring, argument 31 super(pos, i, declaring, m); 35 int pos = currentPos; 36 int c = iterator.byteAt(pos); 37 int index = iterator.u16bitAt(pos + 1); 86 int pos = currentPos; 87 int c = iterator.byteAt(pos); 88 int index = iterator.u16bitAt(pos + 1); 181 int pos = currentPos; 182 int index = iterator.u16bitAt(pos [all...] |
/external/sl4a/Common/src/org/apache/commons/codec/binary/ |
H A D | Base64Codec.java | 182 private int pos; field in class:Base64Codec 365 return buffer != null ? pos - readPos : 0; 372 pos = 0; 399 if (readPos >= pos) { 428 pos = outPos; 459 if (buffer == null || buffer.length - pos < encodeSize) { 464 buffer[pos++] = encodeTable[(x >> 2) & MASK_6BITS]; 465 buffer[pos++] = encodeTable[(x << 4) & MASK_6BITS]; 468 buffer[pos++] = PAD; 469 buffer[pos [all...] |
/external/toybox/toys/other/ |
H A D | xxd.c | 39 long long pos = 0; local 45 pos = TT.s; 50 (limit && limit-pos<TT.c)?limit-pos:TT.c))) { 51 if (!(toys.optflags&FLAG_p)) printf("%08llx: ", pos); 52 pos += len; 91 long long pos; local 93 if (fscanf(fp, "%llx: ", &pos) == 1) { 94 if (fseek(stdout, pos, SEEK_SET) != 0) {
|
/external/webrtc/webrtc/base/ |
H A D | stringutils.cc | 82 for (size_t pos = 0; pos < srclen; ++pos) 83 RTC_DCHECK_LT(static_cast<unsigned char>(source[pos]), 128); 97 size_t pos = 0; local 98 while ((pos = s->find(search, pos, search_len)) != std::string::npos) { 99 s->replace(pos, search_len, replace, replace_len); 100 pos += replace_len;
|
/external/ImageMagick/Magick++/demo/ |
H A D | analyze.cpp | 54 list<std::string>::iterator pos = attributes.begin(); local 55 while(pos != attributes.end()) 58 << *pos << " = " << image.attribute(*pos) << endl; 59 pos++;
|
/external/apache-http/src/org/apache/http/message/ |
H A D | BasicHeaderValueParser.java | 245 int pos = cursor.getPos(); 248 while (pos < indexTo) { 249 char ch = buffer.charAt(pos); 251 pos++; 256 cursor.updatePos(pos); 333 int pos = cursor.getPos(); 339 while (pos < indexTo) { 340 char ch = buffer.charAt(pos); 348 pos++; 351 if (pos [all...] |
/external/deqp/framework/delibs/deutil/ |
H A D | deCommandLine.c | 45 int pos; local 60 pos = 0; 71 while (commandLine[pos] != 0) 73 char c = commandLine[pos++]; 78 c = commandLine[pos++]; 112 DE_ASSERT(commandLine[pos] == 0);
|
/external/dtc/ |
H A D | srcpos.h | 105 extern void srcpos_update(struct srcpos *pos, const char *text, int len); 106 extern struct srcpos *srcpos_copy(struct srcpos *pos); 107 extern char *srcpos_string(struct srcpos *pos); 109 extern void srcpos_verror(struct srcpos *pos, const char *prefix, 112 extern void srcpos_error(struct srcpos *pos, const char *prefix,
|
/external/javassist/src/main/javassist/convert/ |
H A D | TransformFieldAccess.java | 56 public int transform(CtClass clazz, int pos, argument 59 int c = iterator.byteAt(pos); 62 int index = iterator.u16bitAt(pos + 1); 75 iterator.write16bit(newIndex, pos + 1); 79 return pos;
|
/external/libnl/python/netlink/ |
H A D | utils.h | 25 #define list_for_each_safe(pos, n, head) \ 26 for (n = (head), pos = (head)->next; pos != (head); \ 27 n = pos, pos = n->next)
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/simple/ |
H A D | ARMThumb.java | 15 private int pos; field in class:ARMThumb 19 pos = startPos + 4; 36 dest = src + (pos + i - off); 38 dest = src - (pos + i - off); 50 pos += i;
|
H A D | IA64.java | 21 private int pos; field in class:IA64 25 pos = startPos; 59 dest = src + (pos + i - off); 61 dest = src - (pos + i - off); 78 pos += i;
|