HomeSort by relevance Sort by last modified time
    Searched refs:pos (Results 251 - 275 of 2626) sorted by null

<<11121314151617181920>>

  /frameworks/base/core/java/android/widget/
AlphabetIndexer.java 167 int pos; local
173 if (Integer.MIN_VALUE != (pos = alphaMap.get(key, Integer.MIN_VALUE))) {
177 if (pos < 0) {
178 pos = -pos;
179 end = pos;
182 return pos;
198 pos = (end + start) / 2;
200 while (pos < end) {
201 // Get letter at pos
    [all...]
  /frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
d3_14pf.cpp 165 Word16 pos[NB_PULSE]; local
171 pos[0] = i * 5;
185 pos[1] = i * 5 + j * 2 + 1;
199 pos[2] = i * 5 + j * 2 + 2;
218 * cod[pos[j]] = 8191;
222 * cod[pos[j]] = -8192;
226 cod[pos[j]] = i * 16383 - 8192;
  /system/media/mca/filterfw/java/android/filterfw/core/
RoundRobinScheduler.java 45 int pos = 0; local
50 if (pos <= mLastPos) {
54 firstNdx = pos;
58 mLastPos = pos;
62 pos ++;
  /libcore/luni/src/main/java/java/io/
BufferedInputStream.java 63 protected int pos; field in class:BufferedInputStream
114 return count - pos + localIn.available();
140 if (markpos == -1 || (pos - markpos >= marklimit)) {
145 pos = 0;
166 pos -= markpos;
168 int bytesread = localIn.read(localBuf, pos, localBuf.length - pos);
169 count = bytesread <= 0 ? pos : pos + bytesread;
189 markpos = pos;
    [all...]
  /external/svox/pico/lib/
picokfst.c 78 /* Converts 'nrBytes' bytes starting at position '*pos' in byte stream 'stream' into unsigned number 'num'.
79 '*pos' is modified to the position right after the number */
80 static void FixedBytesToUnsignedNum (picoos_uint8 * stream, picoos_uint8 nrBytes, picoos_uint32 * pos, picoos_uint32 * num)
86 (*num) = ((*num) << 8) + (picoos_uint32)stream[*pos];
87 (*pos)++;
92 /* Converts 'nrBytes' bytes starting at position '*pos' in byte stream 'stream' into signed number 'num'.
93 '*pos' is modified to the position right after the number */
94 static void FixedBytesToSignedNum (picoos_uint8 * stream, picoos_uint8 nrBytes, picoos_uint32 * pos, picoos_int32 * num)
101 val = (val << 8) + (picoos_uint32)stream[*pos];
102 (*pos)++
275 picoos_uint32 pos; local
313 picoos_uint32 pos; local
346 picoos_uint32 pos; local
368 picoos_uint32 pos; local
390 picoos_uint32 pos; local
421 picoos_uint32 pos; local
    [all...]
  /frameworks/base/tools/localize/
res_check.cpp 9 static int check_value(const SourcePos& pos, const XMLNode* value);
10 static int scan_for_unguarded_format(const SourcePos& pos, const XMLNode* value, int depth = 0);
43 err |= check_value(it->pos, value);
63 check_value(const SourcePos& pos, const XMLNode* value)
66 err |= scan_for_unguarded_format(pos, value);
81 scan_for_unguarded_format(const SourcePos& pos, const string& string)
85 pos.Error("unguarded percent: '%s'\n", string.c_str());
91 scan_for_unguarded_format(const SourcePos& pos, const XMLNode* value, int depth)
98 err |= scan_for_unguarded_format(pos, children[i], depth+1);
103 return scan_for_unguarded_format(pos, value->Text())
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/
checkers.h 140 for (InputIterator pos(begin + 1); pos != end; pos++)
142 if (comp(*pos, *recent))
144 printf("%ld: %d %d %d %d\n", pos - begin, *(pos - 2),
145 *(pos- 1), *pos, *(pos + 1));
148 recent = pos;
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
eap_gpsk.c 158 u8 *pos, *start; local
191 pos = wpabuf_put(req, miclen);
193 data->specifier, start, pos - start, pos) < 0)
226 const u8 *pos; local
229 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GPSK, respData, &len);
230 if (pos == NULL || len < 1) {
235 wpa_printf(MSG_DEBUG, "EAP-GPSK: Received frame: opcode=%d", *pos);
237 if (data->state == GPSK_1 && *pos == EAP_GPSK_OPCODE_GPSK_2)
240 if (data->state == GPSK_3 && *pos == EAP_GPSK_OPCODE_GPSK_4
254 const u8 *pos, *end; local
472 const u8 *pos, *end; local
541 const u8 *pos; local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/
wpa_ft.c 124 u8 *buf, *pos, *ftie_len, *ftie_pos; local
137 pos = buf;
140 rsnie = (struct rsn_ie_hdr *) pos;
143 pos = (u8 *) (rsnie + 1);
147 RSN_SELECTOR_PUT(pos, RSN_CIPHER_SUITE_CCMP);
149 RSN_SELECTOR_PUT(pos, RSN_CIPHER_SUITE_TKIP);
156 pos += RSN_SELECTOR_LEN;
159 WPA_PUT_LE16(pos, 1);
160 pos += 2;
164 RSN_SELECTOR_PUT(pos, RSN_CIPHER_SUITE_CCMP)
297 const u8 *end, *pos; local
346 const u8 *end, *pos; local
    [all...]
  /external/wpa_supplicant_8/src/eap_server/
eap_server_gpsk.c 159 u8 *pos, *start; local
192 pos = wpabuf_put(req, miclen);
194 data->specifier, start, pos - start, pos) < 0)
227 const u8 *pos; local
230 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GPSK, respData, &len);
231 if (pos == NULL || len < 1) {
236 wpa_printf(MSG_DEBUG, "EAP-GPSK: Received frame: opcode=%d", *pos);
238 if (data->state == GPSK_1 && *pos == EAP_GPSK_OPCODE_GPSK_2)
241 if (data->state == GPSK_3 && *pos == EAP_GPSK_OPCODE_GPSK_4
255 const u8 *pos, *end; local
473 const u8 *pos, *end; local
542 const u8 *pos; local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/utils/
common.c 110 int pos = len - 1; local
111 while (pos >= 0) {
112 counter[pos]++;
113 if (counter[pos] != 0)
115 pos--;
143 char *pos = buf, *end = buf + buf_size; local
148 ret = os_snprintf(pos, end - pos, uppercase ? "%02X" : "%02x",
150 if (ret < 0 || ret >= end - pos) {
152 return pos - buf
316 char *pos; local
    [all...]
  /external/wpa_supplicant_8/src/tls/
pkcs8.c 28 const u8 *pos, *end; local
43 pos = hdr.payload;
44 end = pos + hdr.length;
47 if (asn1_get_next(pos, end - pos, &hdr) < 0 ||
64 pos = hdr.payload + hdr.length;
77 if (asn1_get_next(pos, len, &hdr) < 0 ||
87 if (asn1_get_oid(hdr.payload, hdr.length, &oid, &pos)) {
109 pos = hdr.payload + hdr.length;
112 if (asn1_get_next(pos, end - pos, &hdr) < 0 |
131 const u8 *pos, *end, *enc_alg; local
    [all...]
tlsv1_client_read.c 38 const u8 *pos, *end; local
50 pos = in_data;
57 if (*pos != TLS_HANDSHAKE_TYPE_SERVER_HELLO) {
59 "message %d (expected ServerHello)", *pos);
65 pos++;
67 len = WPA_GET_BE24(pos);
68 pos += 3;
76 wpa_hexdump(MSG_MSGDUMP, "TLSv1: ServerHello", pos, len);
77 end = pos + len;
80 if (end - pos < 2
216 const u8 *pos, *end; local
414 const u8 *pos, *end; local
480 const u8 *pos, *end; local
569 const u8 *pos, *end; local
633 const u8 *pos, *end; local
691 const u8 *pos; local
761 const u8 *pos, *end; local
872 const u8 *pos; local
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
PRF.java 75 int pos = 0; local
78 while (pos < out.length) {
87 if (pos + 16 > out.length) {
88 System.arraycopy(digest, 0, out, pos, out.length - pos);
89 pos = out.length;
91 System.arraycopy(digest, 0, out, pos, 16);
92 pos += 16;
155 int pos = 0; local
158 while (pos < out.length)
167 pos, out.length - pos); local
    [all...]
  /external/wpa_supplicant/
wpa_cli.c 468 char cmd[256], *pos, *end; local
478 pos = cmd;
479 ret = os_snprintf(pos, end - pos, WPA_CTRL_RSP "IDENTITY-%s:%s",
481 if (ret < 0 || ret >= end - pos) {
485 pos += ret;
487 ret = os_snprintf(pos, end - pos, " %s", argv[i]);
488 if (ret < 0 || ret >= end - pos) {
492 pos += ret
501 char cmd[256], *pos, *end; local
535 char cmd[256], *pos, *end; local
568 char cmd[256], *pos, *end; local
600 char cmd[256], *pos, *end; local
634 char cmd[256], *pos, *end; local
667 char cmd[256], *pos, *end; local
699 char cmd[256], *pos, *end; local
1185 const char *pos; local
1343 char cmdbuf[256], *cmd, *argv[max_args], *pos; local
1576 char buf[4096], *pos; local
    [all...]
tlsv1_client.c 130 u8 *alert, *pos, *length; local
139 pos = alert;
143 *pos++ = TLS_CONTENT_TYPE_ALERT;
145 WPA_PUT_BE16(pos, TLS_VERSION);
146 pos += 2;
148 length = pos;
149 pos += 2;
154 *pos++ = level;
156 *pos++ = description;
158 WPA_PUT_BE16(length, pos - length - 2)
168 u8 *hello, *end, *pos, *hs_length, *hs_start, *rhdr; local
252 const u8 *pos, *end; local
432 const u8 *pos, *end; local
637 const u8 *pos, *end; local
699 const u8 *pos, *end; local
788 const u8 *pos, *end; local
852 const u8 *pos, *end; local
910 const u8 *pos; local
958 const u8 *pos, *end; local
1081 u8 *pos; local
1144 u8 *pos, *rhdr, *hs_start, *hs_length, *cert_start; local
1378 u8 *pos, *rhdr, *hs_start, *hs_length; local
1435 u8 *pos, *rhdr, *hs_start, *hs_length, *signed_start; local
1556 u8 *pos, *rhdr; local
1590 u8 *pos, *rhdr, *hs_start, *hs_length; local
1685 u8 *msg, *end, *pos; local
1728 u8 *msg, *end, *pos; local
1827 const u8 *pos, *end; local
1962 const u8 *in_end, *pos; local
2263 u8 *pos; local
2437 const u8 *pos, *end; local
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/util/
IPAddress.java 51 int pos; local
54 && (pos = temp.indexOf('.', start)) > start)
62 octet = Integer.parseInt(temp.substring(start, pos));
72 start = pos + 1;
133 int pos; local
136 && (pos = temp.indexOf(':', start)) >= start)
143 if (start != pos)
145 String value = temp.substring(start, pos);
147 if (pos == (temp.length() - 1) && value.indexOf('.') > 0)
160 octet = Integer.parseInt(temp.substring(start, pos), 16)
    [all...]
  /external/icu4c/common/
ruleiter.cpp 25 pos(thePos),
32 return buf == 0 && pos.getIndex() == text.length();
47 UnicodeString name = sym->parseReference(text, pos, text.length());
89 void RuleCharacterIterator::getPos(RuleCharacterIterator::Pos& p) const {
91 p.pos = pos.getIndex();
95 void RuleCharacterIterator::setPos(const RuleCharacterIterator::Pos& p) {
97 pos.setIndex(p.pos);
118 text.extract(pos.getIndex(), maxLookAhead, result)
    [all...]
  /external/wpa_supplicant_8/src/utils/
edit_readline.c 27 static char ** (*edit_completion_cb)(void *ctx, const char *cmd, int pos) =
47 static int pos = 0; local
56 pos = 0;
59 for (; pending_completions[pos]; pos++) {
60 if (strncmp(pending_completions[pos], text, len) == 0)
61 return strdup(pending_completions[pos++]);
87 char *pos = str; local
88 while (*pos != '\0') {
89 if (*pos == '\n')
    [all...]
  /external/qemu/android/
async-utils.c 27 ar->pos = 0;
37 if (ar->pos >= ar->buffsize) {
42 ret = socket_recv(ar->io->fd, ar->buffer + ar->pos, ar->buffsize - ar->pos);
57 ar->pos += ret;
59 } while (ar->pos < ar->buffsize);
73 aw->pos = 0;
83 if (aw->pos >= aw->buffsize) {
88 ret = socket_send(aw->io->fd, aw->buffer + aw->pos, aw->buffsize - aw->pos);
181 size_t pos = alr->pos; local
    [all...]
  /packages/inputmethods/PinyinIME/jni/share/
spellingtable.cpp 82 for (size_t pos = 0; pos < spelling_size_; pos++) {
83 if ('\0' == spelling_str[pos])
85 hash_pos += (size_t)spelling_str[pos];
141 for (size_t pos = 0; pos < kNotSupportNum; pos++) {
142 if (strcmp(spelling_str, kNotSupportList[pos]) == 0) {
227 for (size_t pos = 0; pos < spelling_num_; pos++)
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/tls/
tlsv1_client_read.c 38 const u8 *pos, *end; local
50 pos = in_data;
57 if (*pos != TLS_HANDSHAKE_TYPE_SERVER_HELLO) {
59 "message %d (expected ServerHello)", *pos);
65 pos++;
67 len = WPA_GET_BE24(pos);
68 pos += 3;
76 wpa_hexdump(MSG_MSGDUMP, "TLSv1: ServerHello", pos, len);
77 end = pos + len;
80 if (end - pos < 2
216 const u8 *pos, *end; local
413 const u8 *pos, *end; local
479 const u8 *pos, *end; local
568 const u8 *pos, *end; local
632 const u8 *pos, *end; local
690 const u8 *pos; local
760 const u8 *pos, *end; local
871 const u8 *pos; local
    [all...]
  /external/wpa_supplicant_8/src/p2p/
p2p_sd.c 306 const u8 *pos = data; local
330 dialog_token = *pos++;
336 if (*pos != WLAN_EID_ADV_PROTO) {
338 "P2P: Unexpected IE in GAS Initial Request: %u", *pos);
341 pos++;
343 slen = *pos++;
344 next = pos + slen;
350 pos++; /* skip QueryRespLenLimit and PAME-BI */
352 if (*pos != NATIVE_QUERY_PROTOCOL) {
355 *pos);
470 const u8 *pos = data; local
708 const u8 *pos = data; local
    [all...]
  /external/wpa_supplicant_8/src/wps/
wps.c 280 const u8 *pos; local
297 pos = attr.authorized_macs;
299 if (os_memcmp(pos, addr, ETH_ALEN) == 0 ||
300 os_memcmp(pos, bcast, ETH_ALEN) == 0)
302 pos += ETH_ALEN;
532 char *pos = buf; local
540 ret = os_snprintf(pos, end - pos,
543 ret = os_snprintf(pos, end - pos,
    [all...]
  /bionic/linker/
linker_environ.c 41 int pos = 0; local
54 if (str[pos] == '\0')
56 if (str[pos] == '=' && first_equal_pos < 0)
57 first_equal_pos = pos;
58 pos++;
59 } while (pos < MAX_ENV_LEN);
61 if (pos >= MAX_ENV_LEN) /* Too large */

Completed in 730 milliseconds

<<11121314151617181920>>