/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
SortUtil.java | 52 pos := 1 54 while pos < length(a) 55 if (a[pos] >= a[pos-1]) 57 pos := last 60 pos := pos + 1 62 swap a[pos] and a[pos-1] 63 if (pos > 1 77 int pos = 1; local 329 int pos = low; local [all...] |
/external/lzma/CPP/Common/ |
CommandLineParser.cpp | 96 int pos = 0;
local 97 if (!IsItSwitchChar(s[pos]))
99 while (pos < len)
101 if (IsItSwitchChar(s[pos]))
102 pos++;
109 if (switchLen <= maxLen || pos + switchLen > len)
112 UString temp = s + pos;
115 // if (_strnicmp(switchForms[switchIndex].IDString, LPCSTR(s) + pos, switchLen) == 0)
128 pos += maxLen;
129 int tailSize = len - pos;
[all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
wnm_sta.c | 240 u8 *pos = (u8 *) frm; /* point to action field */ local 249 pos += 4 + key_len_total; 250 if (pos > frm + len) { 254 while (pos - frm < len) { 255 u8 ie_len = *(pos + 1); 256 if (pos + 2 + ie_len > frm + len) { 260 wpa_hexdump(MSG_DEBUG, "WNM: Element", pos, 2 + ie_len); 261 if (*pos == WLAN_EID_WNMSLEEP) 262 wnmsleep_ie = (struct wnm_sleep_element *) pos; 263 else if (*pos == WLAN_EID_TFS_RESP) 500 u8 buf[1000], *pos; local 702 u8 buf[1000], *pos; local 737 const u8 *pos, *end; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/ |
punycode.py | 32 def selective_find(str, char, index, pos): 33 """Return a pair (index, pos), indicating the next occurrence of 35 only ordinals up to and including char, and pos is the position in 36 the full string. index/pos is the starting position in the full 41 pos += 1 42 if pos == l: 44 c = str[pos] 46 return index+1, pos 56 index = pos = -1 61 index,pos = selective_find(str,c,index,pos [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/ |
punycode.py | 32 def selective_find(str, char, index, pos): 33 """Return a pair (index, pos), indicating the next occurrence of 35 only ordinals up to and including char, and pos is the position in 36 the full string. index/pos is the starting position in the full 41 pos += 1 42 if pos == l: 44 c = str[pos] 46 return index+1, pos 56 index = pos = -1 61 index,pos = selective_find(str,c,index,pos [all...] |
/bootable/recovery/mtdutils/ |
mtdutils.c | 296 loff_t pos = lseek64(fd, 0, SEEK_CUR); local 301 while (pos + size <= (int) partition->size) { 302 if (lseek64(fd, pos, SEEK_SET) != pos || read(fd, data, size) != size) { 304 pos, strerror(errno)); 311 after.failed - before.failed, pos); 314 } else if ((mgbb = ioctl(fd, MEMGETBADBLOCK, &pos))) { 317 mgbb, pos, errno); 322 pos += partition->erase_size; 398 static void add_bad_block_offset(MtdWriteContext *ctx, off_t pos) { 412 off_t pos = lseek(fd, 0, SEEK_CUR); local 515 off_t pos = lseek(ctx->fd, 0, SEEK_CUR); local [all...] |
/external/chromium_org/third_party/icu/source/common/ |
ruleiter.h | 46 ParsePosition& pos; member in class:RuleCharacterIterator 98 * @param pos upon input, the index of the next character to return. If a 99 * variable has been dereferenced, then pos will <em>not</em> increment as 103 ParsePosition& pos); 134 struct Pos : public UMemory { 137 int32_t pos; member in struct:RuleCharacterIterator::Pos 147 * RuleCharacterIterator::Pos pos; 148 * iterator.getPos(pos); 150 * iterator.getPos(pos); [all...] |
/external/elfutils/libdwfl/ |
dwfl_getmodules.c | 75 for (ptrdiff_t pos = 0; pos < offset; ++pos)
|
/external/icu4c/common/ |
ruleiter.h | 46 ParsePosition& pos; member in class:RuleCharacterIterator 97 * @param pos upon input, the index of the next character to return. If a 98 * variable has been dereferenced, then pos will <em>not</em> increment as 102 ParsePosition& pos); 133 struct Pos : public UMemory { 136 int32_t pos; member in struct:RuleCharacterIterator::Pos 146 * RuleCharacterIterator::Pos pos; 147 * iterator.getPos(pos); 149 * iterator.getPos(pos); [all...] |
/external/stlport/src/ |
stdio_streambuf.cpp | 94 FPOS_T pos; local 95 FGETPOS(_M_file, &pos); 99 return pos_type((streamoff)pos.__pos); 101 return pos_type(pos.__fpos_elem[ 0 ]); 103 return pos_type((streamoff)pos._pos); 105 return pos_type(pos); 114 stdio_streambuf_base::seekpos(pos_type pos, ios_base::openmode /* mode */) { 119 p.__pos = pos; 132 p.__fpos_elem[0] = pos; 135 p._pos = pos; [all...] |
/external/wpa_supplicant_8/src/crypto/ |
aes-ctr.c | 30 u8 *pos = data; local 43 pos[j] ^= buf[j]; 44 pos += len;
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_md5.c | 79 const u8 *pos; local 82 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MD5, respData, &len); 83 if (pos == NULL || len < 1) { 87 if (*pos != CHAP_MD5_LEN || 1 + CHAP_MD5_LEN > len) { 90 *pos, (unsigned long) len); 102 const u8 *pos; local 114 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MD5, respData, &plen); 115 if (pos == NULL || *pos != CHAP_MD5_LEN || plen < 1 + CHAP_MD5_LEN) 118 pos++; /* Skip response len * [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
stdio_streambuf.cpp | 94 FPOS_T pos; local 95 FGETPOS(_M_file, &pos); 99 return pos_type((streamoff)pos.__pos); 101 return pos_type(pos.__fpos_elem[ 0 ]); 103 return pos_type((streamoff)pos._pos); 105 return pos_type(pos); 114 stdio_streambuf_base::seekpos(pos_type pos, ios_base::openmode /* mode */) { 119 p.__pos = pos; 132 p.__fpos_elem[0] = pos; 135 p._pos = pos; [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ConversationPositionTracker.java | 82 int pos = calculatePosition(); local 83 if (!isDataLoaded() || pos < 0) { 88 pos--; 89 while (pos >= 0) { 90 final Conversation candidate = conversationAtPosition(pos); 94 pos--; 104 int pos = calculatePosition(); local 105 if (!isDataLoaded() || pos < 0) { 110 pos++; 111 while (pos < getCount()) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
AddressListParserTokenManager.java | 30 private final int jjStopStringLiteralDfa_0(int pos, long active0) 32 switch (pos) 38 private final int jjStartNfa_0(int pos, long active0) 40 return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0), pos + 1); 42 private final int jjStopAtPos(int pos, int kind) 45 jjmatchedPos = pos; 46 return pos + 1; 48 private final int jjStartNfaWithStates_0(int pos, int kind, int state) 51 jjmatchedPos = pos; [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/cc_hash_table_map_/ |
insert_no_store_hash_fn_imps.hpp | 49 const size_type pos = ranged_hash_fn_base::operator()(r_key); local 50 entry_pointer p_e = m_entries[pos]; 68 return std::make_pair(insert_new_imp(r_val, pos), true);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/ |
equally_split.h | 52 difference_type pos = 0; local 55 *s++ = pos; 56 pos += (i < num_longer_chunks) ? (chunk_length + 1) : chunk_length;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/pb_ds/detail/cc_hash_table_map_/ |
insert_no_store_hash_fn_imps.hpp | 49 const size_type pos = ranged_hash_fn_base::operator()(r_key); local 50 entry_pointer p_e = m_entries[pos]; 68 return std::make_pair(insert_new_imp(r_val, pos), true);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/pb_ds/detail/cc_hash_table_map_/ |
insert_no_store_hash_fn_imps.hpp | 49 const size_type pos = ranged_hash_fn_base::operator()(r_key); local 50 entry_pointer p_e = m_entries[pos]; 68 return std::make_pair(insert_new_imp(r_val, pos), true);
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/cc_hash_table_map_/ |
insert_no_store_hash_fn_imps.hpp | 49 const size_type pos = ranged_hash_fn_base::operator()(r_key); local 50 entry_pointer p_e = m_entries[pos]; 68 return std::make_pair(insert_new_imp(r_val, pos), true);
|
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/cc_hash_table_map_/ |
insert_no_store_hash_fn_imps.hpp | 49 const size_type pos = ranged_hash_fn_base::operator()(r_key); local 50 entry_pointer p_e = m_entries[pos]; 68 return std::make_pair(insert_new_imp(r_val, pos), true);
|
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/cc_hash_table_map_/ |
insert_no_store_hash_fn_imps.hpp | 49 const size_type pos = ranged_hash_fn_base::operator()(r_key); local 50 entry_pointer p_e = m_entries[pos]; 68 return std::make_pair(insert_new_imp(r_val, pos), true);
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/pb_ds/detail/cc_hash_table_map_/ |
insert_no_store_hash_fn_imps.hpp | 49 const size_type pos = ranged_hash_fn_base::operator()(r_key); local 50 entry_pointer p_e = m_entries[pos]; 68 return std::make_pair(insert_new_imp(r_val, pos), true);
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/pb_ds/detail/cc_hash_table_map_/ |
insert_no_store_hash_fn_imps.hpp | 49 const size_type pos = ranged_hash_fn_base::operator()(r_key); local 50 entry_pointer p_e = m_entries[pos]; 68 return std::make_pair(insert_new_imp(r_val, pos), true);
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/pb_ds/detail/cc_hash_table_map_/ |
erase_no_store_hash_fn_imps.hpp | 54 erase_in_pos_imp(key_const_reference r_key, size_type pos) 57 entry_pointer p_e = m_entries[pos]; 71 erase_entry_pointer(m_entries[pos]);
|