/hardware/qcom/camera/QCamera2/stack/common/ |
cam_queue.h | 75 struct cam_list *pos = NULL; local 79 pos = head->next; 80 if (pos != head) { 81 node = member_of(pos, cam_node_t, list); 99 struct cam_list *pos = NULL; local 103 pos = head->next; 105 while(pos != head) { 106 node = member_of(pos, cam_node_t, list); 107 pos = pos->next [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
hevc_utils.cpp | 139 uint32 pos = 0; local 147 coef2 = buffer[pos++]; 148 coef3 = buffer[pos++]; 151 if (pos >= buffer_length) { 158 coef3 = buffer[pos++]; 167 nal_len |= buffer[pos++]<<(size_of_nal_length_field<<3); 181 if (pos + 2 > (nal_len + sizeofNalLengthField)) { 186 nalu_type = (buffer[pos] & 0x7E)>>1 ; //=== nal_unit_type 188 DEBUG_PRINT_LOW("\n@#@# Pos = %x NalType = %x buflen = %d", pos-1, nalu_type, buffer_length) [all...] |
/prebuilts/gcc/linux-x86/host/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_8/src/eap_common/ |
eap_gpsk_common.c | 115 u8 mk[32], *pos, *data; local 143 pos = data; 144 WPA_PUT_BE16(pos, psk_len); 145 pos += 2; 146 os_memcpy(pos, psk, psk_len); 147 pos += psk_len; 148 WPA_PUT_BE32(pos, EAP_GPSK_VENDOR_IETF); /* CSuite/Vendor = IETF */ 149 pos += 4; 150 WPA_PUT_BE16(pos, csuite_specifier); /* CSuite/Specifier */ 151 pos += 2 286 u8 *seed, *pos; local 348 u8 *pos, *data; local 424 u8 *seed, *pos; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_tile_cache.c | 46 * Return the position in the cache for the tile that contains win pos (x,y). 62 int pos, bit; local 63 pos = addr.bits.y * (MAX_WIDTH / TILE_SIZE) + addr.bits.x; 64 assert(pos / 32 < (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE) / 32); 65 bit = bitvec[pos / 32] & (1 << (pos & 31)); 76 int pos; local 77 pos = addr.bits.y * (MAX_WIDTH / TILE_SIZE) + addr.bits.x; 78 assert(pos / 32 < (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE) / 32); 79 bitvec[pos / 32] &= ~(1 << (pos & 31)) 87 uint pos; local 135 uint pos; local 434 int inuse = 0, pos; local 470 unsigned pos; local 504 const int pos = CACHE_POS(addr.bits.x, local 618 uint pos; local [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_tile_cache.c | 46 * Return the position in the cache for the tile that contains win pos (x,y). 62 int pos, bit; local 63 pos = addr.bits.y * (MAX_WIDTH / TILE_SIZE) + addr.bits.x; 64 assert(pos / 32 < (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE) / 32); 65 bit = bitvec[pos / 32] & (1 << (pos & 31)); 76 int pos; local 77 pos = addr.bits.y * (MAX_WIDTH / TILE_SIZE) + addr.bits.x; 78 assert(pos / 32 < (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE) / 32); 79 bitvec[pos / 32] &= ~(1 << (pos & 31)) 87 uint pos; local 135 uint pos; local 434 int inuse = 0, pos; local 470 unsigned pos; local 504 const int pos = CACHE_POS(addr.bits.x, local 618 uint pos; local [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_gpsk.c | 145 u8 *pos, *start; local 178 pos = wpabuf_put(req, miclen); 180 data->specifier, start, pos - start, pos) < 0) 213 const u8 *pos; local 216 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GPSK, respData, &len); 217 if (pos == NULL || len < 1) { 222 wpa_printf(MSG_DEBUG, "EAP-GPSK: Received frame: opcode=%d", *pos); 224 if (data->state == GPSK_1 && *pos == EAP_GPSK_OPCODE_GPSK_2) 227 if (data->state == GPSK_3 && *pos == EAP_GPSK_OPCODE_GPSK_4 241 const u8 *pos, *end; local 459 const u8 *pos, *end; local 528 const u8 *pos; local [all...] |
/external/chromium_org/base/strings/ |
string_piece.cc | 48 StringPiece::size_type pos) { 49 StringPiece::size_type ret = std::min(self.size() - pos, n); 50 memcpy(buf, self.data() + pos, ret); 56 StringPiece::size_type pos) { 57 if (pos > self.size()) 61 std::search(self.begin() + pos, self.end(), s.begin(), s.end()); 69 StringPiece::size_type pos) { 70 if (pos >= self.size()) 74 std::find(self.begin() + pos, self.end(), c); 81 StringPiece::size_type pos) { [all...] |
/frameworks/base/core/java/android/util/ |
TimeUtils.java | 266 static private int printField(char[] formatStr, int amt, char suffix, int pos, 269 final int startPos = pos; 272 formatStr[pos] = (char)(dig + '0'); 273 pos++; 276 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { 278 formatStr[pos] = (char)(dig + '0'); 279 pos++; 282 formatStr[pos] = (char)(amt + '0'); 283 pos++; 284 formatStr[pos] = suffix 298 int pos = 0; local 336 int pos = 0; local [all...] |
/external/wpa_supplicant_8/src/rsn_supp/ |
pmksa_cache.c | 127 struct rsn_pmksa_cache_entry *entry, *pos, *prev; local 150 pos = pmksa->pmksa; 152 while (pos) { 153 if (os_memcmp(aa, pos->aa, ETH_ALEN) == 0) { 154 if (pos->pmk_len == pmk_len && 155 os_memcmp(pos->pmk, pmk, pmk_len) == 0 && 156 os_memcmp(pos->pmkid, entry->pmkid, PMKID_LEN) == 161 return pos; 164 pmksa->pmksa = pos->next; 166 prev->next = pos->next 467 char *pos = buf; local [all...] |
/external/wpa_supplicant_8/src/tls/ |
pkcs8.c | 22 const u8 *pos, *end; local 37 pos = hdr.payload; 38 end = pos + hdr.length; 41 if (asn1_get_next(pos, end - pos, &hdr) < 0 || 58 pos = hdr.payload + hdr.length; 71 if (asn1_get_next(pos, len, &hdr) < 0 || 81 if (asn1_get_oid(hdr.payload, hdr.length, &oid, &pos)) { 103 pos = hdr.payload + hdr.length; 106 if (asn1_get_next(pos, end - pos, &hdr) < 0 | 125 const u8 *pos, *end, *enc_alg; local [all...] |
tlsv1_client_read.c | 33 const u8 *pos, *end; local 46 pos = in_data; 53 if (*pos != TLS_HANDSHAKE_TYPE_SERVER_HELLO) { 55 "message %d (expected ServerHello)", *pos); 61 pos++; 63 len = WPA_GET_BE24(pos); 64 pos += 3; 72 wpa_hexdump(MSG_MSGDUMP, "TLSv1: ServerHello", pos, len); 73 end = pos + len; 76 if (end - pos < 2 217 const u8 *pos, *end; local 415 const u8 *pos, *end; local 481 const u8 *pos, *end; local 570 const u8 *pos, *end; local 634 const u8 *pos, *end; local 692 const u8 *pos; local 762 const u8 *pos, *end; local 894 const u8 *pos; local [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
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/android-clat/ |
ipv4.c | 34 int icmp_packet(clat_packet out, int pos, const struct icmphdr *icmp, uint32_t checksum, 47 return icmp_to_icmp6(out, pos, icmp, checksum, payload, payload_size); 57 int ipv4_packet(clat_packet out, int pos, const char *packet, size_t len) { 59 struct ip6_hdr *ip6_targ = (struct ip6_hdr *) out[pos].iov_base; 107 out[pos].iov_len = sizeof(struct ip6_hdr); 118 frag_hdr = (struct ip6_frag *) out[pos + 1].iov_base; 120 out[pos + 1].iov_len = frag_hdr_len; 124 iov_len = generic_packet(out, pos + 2, next_header, len_left); 126 iov_len = icmp_packet(out, pos + 2, (const struct icmphdr *) next_header, new_sum, len_left); 128 iov_len = tcp_packet(out, pos + 2, (const struct tcphdr *) next_header, old_sum, new_sum [all...] |
/external/bouncycastle/bcprov/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/chromium_org/third_party/icu/source/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/icu4c/common/ |
ruleiter.cpp | 26 pos(thePos), 33 return buf == 0 && pos.getIndex() == text.length(); 48 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...] |
bytestrieiterator.cpp | 104 const uint8_t *pos=pos_; local 105 if(pos==NULL) { 113 pos=bytes_+stack_->elementAti(stackSize-2); 118 pos=branchNext(pos, length, errorCode); 119 if(pos==NULL) { 123 str_->append((char)*pos++, errorCode); 132 int32_t node=*pos++; 136 value_=readValue(pos, node>>1); 140 pos_=skipValue(pos, node) [all...] |
/external/openssh/ |
atomicio.c | 55 size_t pos = 0; local 61 while (n > pos) { 62 res = (f) (fd, s + pos, n - pos); 74 return pos; 76 pos += (size_t)res; 79 return pos; 83 return pos; 100 size_t pos = 0, rem; local 131 return pos; [all...] |
/external/wpa_supplicant_8/src/utils/ |
edit_readline.c | 21 static char ** (*edit_completion_cb)(void *ctx, const char *cmd, int pos) = 41 static int pos = 0; local 50 pos = 0; 53 for (; pending_completions[pos]; pos++) { 54 if (strncmp(pending_completions[pos], text, len) == 0) 55 return strdup(pending_completions[pos++]); 81 char *pos = str; local 82 while (*pos != '\0') { 83 if (*pos == '\n') [all...] |
/external/qemu/android/ |
async-utils.c | 27 ar->pos = 0; 38 if (ar->pos >= ar->buffsize) { 43 ret = socket_recv(ar->io->fd, ar->buffer + ar->pos, ar->buffsize - ar->pos); 58 ar->pos += ret; 60 } while (ar->pos < ar->buffsize); 74 aw->pos = 0; 85 if (aw->pos >= aw->buffsize) { 90 ret = socket_send(aw->io->fd, aw->buffer + aw->pos, aw->buffsize - aw->pos); 184 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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
HyperParser.py | 149 # Given a string and pos, return the number of chars in the identifier 150 # which ends at pos, or 0 if there is no such one. Saved words are not 152 def _eat_identifier(self, str, limit, pos): 153 i = pos 156 if i < pos and (str[i] not in self._id_first_chars or \ 157 keyword.iskeyword(str[i:pos])): 158 i = pos 159 return pos - i 174 pos = self.indexinrawtext 176 last_identifier_pos = pos [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
HyperParser.py | 149 # Given a string and pos, return the number of chars in the identifier 150 # which ends at pos, or 0 if there is no such one. Saved words are not 152 def _eat_identifier(self, str, limit, pos): 153 i = pos 156 if i < pos and (str[i] not in self._id_first_chars or \ 157 keyword.iskeyword(str[i:pos])): 158 i = pos 159 return pos - i 174 pos = self.indexinrawtext 176 last_identifier_pos = pos [all...] |
/external/bison/build-aux/ |
update-b4-copyright | 54 my $start = pos() - length ($1); 116 pos () = $start + length ("$b4_copyright_line$year_lines_new"); 122 my $start = pos () - length ($1); 123 my $end = pos (); 125 pos () = $start; 133 pos () = $end; 138 my $start = pos () - length ($1); 139 my $end = pos (); 144 # The substr operation blows away pos (), so restoring pos () [all...] |