/external/wpa_supplicant/ |
rsa.c | 38 static const u8 * crypto_rsa_parse_integer(const u8 *pos, const u8 *end, 43 if (pos == NULL) 46 if (asn1_get_next(pos, end - pos, &hdr) < 0 || 73 const u8 *pos, *end; local 102 pos = hdr.payload; 103 end = pos + hdr.length; 105 pos = crypto_rsa_parse_integer(pos, end, key->n); 106 pos = crypto_rsa_parse_integer(pos, end, key->e) 138 const u8 *pos, *end; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
rsa.c | 39 static const u8 * crypto_rsa_parse_integer(const u8 *pos, const u8 *end, 44 if (pos == NULL) 47 if (asn1_get_next(pos, end - pos, &hdr) < 0 || 74 const u8 *pos, *end; local 103 pos = hdr.payload; 104 end = pos + hdr.length; 106 pos = crypto_rsa_parse_integer(pos, end, key->n); 107 pos = crypto_rsa_parse_integer(pos, end, key->e) 139 const u8 *pos, *end; local [all...] |
/external/wpa_supplicant_8/src/tls/ |
rsa.c | 37 static const u8 * crypto_rsa_parse_integer(const u8 *pos, const u8 *end, 42 if (pos == NULL) 45 if (asn1_get_next(pos, end - pos, &hdr) < 0 || 72 const u8 *pos, *end; local 101 pos = hdr.payload; 102 end = pos + hdr.length; 104 pos = crypto_rsa_parse_integer(pos, end, key->n); 105 pos = crypto_rsa_parse_integer(pos, end, key->e) 137 const u8 *pos, *end; local [all...] |
/external/jhead/ |
iptc.c | 58 unsigned char * pos = Data + sizeof(short); // position data pointer after length field local 65 if (memcmp(pos, IptcSig1, sizeof(IptcSig1)-1) != 0) goto badsig; 66 pos += sizeof(IptcSig1); // move data pointer to the next field 68 if (memcmp(pos, IptcSig2, sizeof(IptcSig2)-1) != 0) goto badsig; 69 pos += sizeof(IptcSig2)-1; // move data pointer to the next field 71 if (memcmp(pos, IptcSig3, sizeof(IptcSig3)) != 0){ 78 pos += sizeof(IptcSig3); // move data pointer to the next field 80 if (pos >= maxpos) goto corrupt; 85 headerLen = *pos++; // get header length and move data pointer to the next field 86 pos += headerLen + 1 - (headerLen % 2); // move data pointer to the next field (Header is padded to ev (…) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Gradient_Delegate.java | 123 * <var>pos</var> can be anything, even < 0 or > > 1, as the gradient 126 protected int getGradientColor(float pos) { 127 if (pos < 0.f) { 131 pos = 0.f; 136 pos = pos - (float)Math.floor(pos); 141 pos = Math.abs(pos); 144 int intPart = (int)Math.floor(pos); [all...] |
/external/wpa_supplicant_8/src/ap/ |
peerkey_auth.c | 62 u8 *pos; local 68 pos = kde; 71 pos = wpa_add_kde(pos, RSN_KEY_DATA_MAC_ADDR, peer, ETH_ALEN, 77 pos = wpa_add_kde(pos, RSN_KEY_DATA_ERROR, 83 NULL, NULL, kde, pos - kde, 0, 0, 0); 92 u8 *buf, *pos; local 129 pos = buf + kde.rsn_ie_len; 131 pos = wpa_add_kde(pos, RSN_KEY_DATA_MAC_ADDR, sm->addr, ETH_ALEN 157 u8 *buf, *pos; local 210 u8 *buf, *pos; local 266 u8 smk[32], buf[ETH_ALEN + 8 + 2 * WPA_NONCE_LEN], *pos; local 378 struct wpa_stsl_negotiation *pos, *prev; local [all...] |
/external/libnl-headers/netlink/ |
list.h | 67 #define nl_list_at_tail(pos, head, member) \ 68 ((pos)->member.next == (head)) 70 #define nl_list_at_head(pos, head, member) \ 71 ((pos)->member.prev == (head)) 79 #define nl_list_for_each_entry(pos, head, member) \ 80 for (pos = nl_list_entry((head)->next, typeof(*pos), member); \ 81 &(pos)->member != (head); \ 82 (pos) = nl_list_entry((pos)->member.next, typeof(*(pos)), member) [all...] |
/external/webkit/Source/WebCore/dom/ |
ChildNodeList.cpp | 52 unsigned int pos = 0; local 63 pos = m_caches->lastItemOffset; 71 int diff = index - pos; 75 pos = m_caches->cachedLength - 1; 79 if (pos <= index) { 80 while (n && pos < index) { 82 ++pos; 85 while (n && pos > index) { 87 --pos; 93 m_caches->lastItemOffset = pos; [all...] |
/external/webkit/Source/WebCore/platform/text/qt/ |
TextBoundariesQt.cpp | 49 int pos = iterator.toNextBoundary(); local 50 while (pos > 0) { 51 if (QChar(buffer[pos-1]).isLetterOrNumber()) 52 return pos; 53 pos = iterator.toNextBoundary(); 57 int pos = iterator.toPreviousBoundary(); local 58 while (pos > 0) { 59 if (QChar(buffer[pos]).isLetterOrNumber()) 60 return pos; 61 pos = iterator.toPreviousBoundary() [all...] |
/external/wpa_supplicant_8/src/crypto/ |
aes-cbc.c | 34 u8 *pos = data; local 45 cbc[j] ^= pos[j]; 47 os_memcpy(pos, cbc, AES_BLOCK_SIZE); 48 pos += AES_BLOCK_SIZE; 67 u8 *pos = data; local 77 os_memcpy(tmp, pos, AES_BLOCK_SIZE); 78 aes_decrypt(ctx, pos, pos); 80 pos[j] ^= cbc[j]; 82 pos += AES_BLOCK_SIZE [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
lpicache.cpp | 62 for (uint16 pos = 0; pos < num; pos++) 63 lpi_cache_this[pos] = lpi_items[pos]; 75 for (uint16 pos = 0; pos < lpi_max; pos++) { 76 lpi_items[pos] = lpi_cache_this[pos]; [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/gp_hash_table_map_/ |
insert_no_store_hash_fn_imps.hpp | 57 const size_type pos = ranged_probe_fn_base::operator()(r_key, hash, i); local 58 _GLIBCXX_DEBUG_ASSERT(pos < m_num_e); 59 entry* const p_e = m_entries + pos; 66 return (ins_pos == m_num_e) ? pos : ins_pos; 71 ins_pos = pos; 78 return pos; 99 const size_type pos = find_ins_pos(r_key, local 102 if (m_entries[pos].m_stat == valid_entry_status) 105 return std::make_pair(&(m_entries + pos)->m_value, false); 109 return std::make_pair(insert_new_imp(r_val, pos), true) [all...] |
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/gp_hash_table_map_/ |
insert_no_store_hash_fn_imps.hpp | 57 const size_type pos = ranged_probe_fn_base::operator()(r_key, hash, i); local 58 _GLIBCXX_DEBUG_ASSERT(pos < m_num_e); 59 entry* const p_e = m_entries + pos; 66 return (ins_pos == m_num_e) ? pos : ins_pos; 71 ins_pos = pos; 78 return pos; 99 const size_type pos = find_ins_pos(r_key, local 102 if (m_entries[pos].m_stat == valid_entry_status) 105 return std::make_pair(&(m_entries + pos)->m_value, false); 109 return std::make_pair(insert_new_imp(r_val, pos), true) [all...] |
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/gp_hash_table_map_/ |
insert_no_store_hash_fn_imps.hpp | 57 const size_type pos = ranged_probe_fn_base::operator()(r_key, hash, i); local 58 _GLIBCXX_DEBUG_ASSERT(pos < m_num_e); 59 entry* const p_e = m_entries + pos; 66 return (ins_pos == m_num_e) ? pos : ins_pos; 71 ins_pos = pos; 78 return pos; 99 const size_type pos = find_ins_pos(r_key, local 102 if (m_entries[pos].m_stat == valid_entry_status) 105 return std::make_pair(&(m_entries + pos)->m_value, false); 109 return std::make_pair(insert_new_imp(r_val, pos), true) [all...] |
/prebuilt/ndk/android-ndk-r7/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/gp_hash_table_map_/ |
insert_no_store_hash_fn_imps.hpp | 57 const size_type pos = ranged_probe_fn_base::operator()(r_key, hash, i); local 58 _GLIBCXX_DEBUG_ASSERT(pos < m_num_e); 59 entry* const p_e = m_entries + pos; 66 return (ins_pos == m_num_e) ? pos : ins_pos; 71 ins_pos = pos; 78 return pos; 99 const size_type pos = find_ins_pos(r_key, local 102 if (m_entries[pos].m_stat == valid_entry_status) 105 return std::make_pair(&(m_entries + pos)->m_value, false); 109 return std::make_pair(insert_new_imp(r_val, pos), true) [all...] |
/external/apache-http/src/org/apache/http/impl/auth/ |
AuthSchemeBase.java | 85 int pos; local 88 pos = ((FormattedHeader) header).getValuePos(); 96 pos = 0; 98 while (pos < buffer.length() && HTTP.isWhitespace(buffer.charAt(pos))) { 99 pos++; 101 int beginIndex = pos; 102 while (pos < buffer.length() && !HTTP.isWhitespace(buffer.charAt(pos))) { 103 pos++ [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/hlr_auc_gw/ |
hlr_auc_gw.c | 116 char buf[200], *pos, *pos2; local 137 pos = buf; 138 while (*pos != '\0' && *pos != '\n') 139 pos++; 140 if (*pos == '\n') 141 *pos = '\0'; 142 pos = buf; 143 if (*pos == '\0') 153 pos2 = strchr(pos, ':') 254 char buf[200], *pos, *pos2; local 394 char *pos; local 472 char reply[1000], *pos, *end; local [all...] |
/external/wpa_supplicant_8/hostapd/ |
hlr_auc_gw.c | 117 char buf[200], *pos, *pos2; local 138 pos = buf; 139 while (*pos != '\0' && *pos != '\n') 140 pos++; 141 if (*pos == '\n') 142 *pos = '\0'; 143 pos = buf; 144 if (*pos == '\0') 154 pos2 = strchr(pos, ':') 255 char buf[200], *pos, *pos2; local 395 char *pos; local 473 char reply[1000], *pos, *end; local [all...] |
/external/chromium/base/ |
string_piece.cc | 31 size_type StringPiece::copy(char* buf, size_type n, size_type pos) const { 32 size_type ret = std::min(length_ - pos, n); 33 memcpy(buf, ptr_ + pos, ret); 37 size_type StringPiece::find(const StringPiece& s, size_type pos) const { 38 if (pos > length_) 41 const char* result = std::search(ptr_ + pos, ptr_ + length_, 47 size_type StringPiece::find(char c, size_type pos) const { 48 if (pos >= length_) 51 const char* result = std::find(ptr_ + pos, ptr_ + length_, c); 55 size_type StringPiece::rfind(const StringPiece& s, size_type pos) const [all...] |
/frameworks/base/core/java/android/util/ |
TimeUtils.java | 159 static private int printField(char[] formatStr, int amt, char suffix, int pos, 162 final int startPos = pos; 165 formatStr[pos] = (char)(dig + '0'); 166 pos++; 169 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { 171 formatStr[pos] = (char)(dig + '0'); 172 pos++; 175 formatStr[pos] = (char)(amt + '0'); 176 pos++; 177 formatStr[pos] = suffix 191 int pos = 0; local 225 int pos = 0; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/common/ |
wpa_common.c | 141 u8 *buf, *pos; local 149 pos = buf; 150 os_memcpy(pos, sta_addr, ETH_ALEN); 151 pos += ETH_ALEN; 152 os_memcpy(pos, ap_addr, ETH_ALEN); 153 pos += ETH_ALEN; 154 *pos++ = transaction_seqnum; 156 os_memcpy(pos, rsnie, rsnie_len); 157 pos += rsnie_len; 160 os_memcpy(pos, mdie, mdie_len) 248 const u8 *pos; local 420 u8 *pos, r0_key_data[48], hash[32]; local 503 u8 *pos; local 529 u8 *pos, hash[32]; local [all...] |
/external/llvm/lib/DebugInfo/ |
DWARFDebugAbbrev.cpp | 44 DWARFAbbreviationDeclarationCollConstIter pos; local 46 for (pos = Decls.begin(); pos != end; ++pos) { 47 if (pos->getCode() == abbrCode) 48 return &(*pos); 84 DWARFAbbreviationDeclarationCollMapConstIter pos; local 85 for (pos = AbbrevCollMap.begin(); pos != AbbrevCollMap.end(); ++pos) { 94 DWARFAbbreviationDeclarationCollMapConstIter pos; local [all...] |
/libcore/luni/src/main/java/java/io/ |
PushbackReader.java | 40 int pos; field in class:PushbackReader 53 pos = 1; 73 pos = size; 140 if (pos < buf.length) { 141 return buf[pos++]; 192 if (pos < buf.length) { 193 copyLength = (buf.length - pos >= count) ? count : buf.length 194 - pos; 195 System.arraycopy(buf, pos, buffer, newOffset, copyLength); 199 pos += copyLength [all...] |
/libcore/luni/src/main/java/java/util/jar/ |
InitManifest.java | 31 private int pos; field in class:InitManifest 57 int mark = pos; 83 chunks.put(entryNameValue, new Manifest.Chunk(mark, pos)); 84 mark = pos; 92 return pos; 113 int mark = pos; 115 while (pos < buf.length) { 116 if (buf[pos++] != ':') { 120 String name = new String(buf, mark, pos - mark - 1, Charsets.US_ASCII); 122 if (buf[pos++] != ' ') [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
ZoomControlBar.java | 62 int pos; // the relative position in the zoom slider bar local 64 pos = mWidth - mTotalIconWidth - x; 66 pos = x - mTotalIconWidth; 68 if (pos < 0) pos = 0; 69 if (pos > mSliderLength) pos = mSliderLength; 70 return pos; 98 int pos = getSliderPosition((int) event.getX()); local 102 int delta = mSliderPosition - pos; 132 int pos; \/\/ slider position local [all...] |