/packages/inputmethods/LatinIME/native/src/ |
bigram_dictionary.cpp | 115 int pos = BinaryFormat::getTerminalPosition(root, prevWord, prevWordLength); local 117 if (NOT_VALID_WORD == pos) return 0; 118 const int flags = BinaryFormat::getFlagsAndForwardPointer(root, &pos); 121 BinaryFormat::getCharCodeAndForwardPointer(root, &pos); 123 pos = BinaryFormat::skipOtherCharacters(root, pos); 125 pos = BinaryFormat::skipChildrenPosition(flags, pos); 126 pos = BinaryFormat::skipFrequency(flags, pos); [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
FastXmlSerializer.java | 65 int pos = mPos; local 66 if (pos >= (BUFFER_LEN-1)) { 68 pos = mPos; 70 mText[pos] = c; 71 mPos = pos+1; 84 int pos = mPos; local 85 if ((pos+length) > BUFFER_LEN) { 87 pos = mPos; 89 str.getChars(i, i+length, mText, pos); 90 mPos = pos + length 103 int pos = mPos; local 121 int pos; local 139 int pos; local [all...] |
/external/opencv/cv/include/ |
cvcompat.h | [all...] |
/bootable/recovery/applypatch/ |
imgpatch.c | 41 ssize_t pos = 12; local 61 if (pos + 4 > patch->size) { 65 int type = Read4(patch->data + pos); 66 pos += 4; 69 char* normal_header = patch->data + pos; 70 pos += 24; 71 if (pos > patch->size) { 83 char* raw_header = patch->data + pos; 84 pos += 4; 85 if (pos > patch->size) [all...] |
/external/wpa_supplicant/ |
pmksa_cache.c | 161 struct rsn_pmksa_cache_entry *entry, *pos, *prev; local 183 pos = pmksa->pmksa; 185 while (pos) { 186 if (os_memcmp(aa, pos->aa, ETH_ALEN) == 0) { 187 if (pos->pmk_len == pmk_len && 188 os_memcmp(pos->pmk, pmk, pmk_len) == 0 && 189 os_memcmp(pos->pmkid, entry->pmkid, PMKID_LEN) == 194 return pos; 197 pmksa->pmksa = pos->next; 199 prev->next = pos->next 444 char *pos = buf; local [all...] |
eap_sim_common.c | 83 EAP_SIM_KEYING_DATA_LEN + EAP_EMSK_LEN], *pos; local 88 pos = buf; 89 os_memcpy(k_encr, pos, EAP_SIM_K_ENCR_LEN); 90 pos += EAP_SIM_K_ENCR_LEN; 91 os_memcpy(k_aut, pos, EAP_SIM_K_AUT_LEN); 92 pos += EAP_SIM_K_AUT_LEN; 93 os_memcpy(msk, pos, EAP_SIM_KEYING_DATA_LEN); 94 pos += EAP_SIM_KEYING_DATA_LEN; 95 os_memcpy(emsk, pos, EAP_EMSK_LEN); 235 const u8 *pos = start, *apos local 612 u8 *pos; local 691 u8 *start, *pos; local 718 u8 *start, *pos; local 745 u8 *pos = eap_sim_msg_add(msg, attr, 0, NULL, EAP_SIM_MAC_LEN); local 755 u8 *pos = eap_sim_msg_add(msg, attr_iv, 0, NULL, EAP_SIM_IV_LEN); local 784 u8 *pos; local [all...] |
eap_gpsk_common.c | 123 u8 mk[32], *pos, *data; local 151 pos = data; 152 WPA_PUT_BE16(pos, psk_len); 153 pos += 2; 154 os_memcpy(pos, psk, psk_len); 155 pos += psk_len; 156 WPA_PUT_BE32(pos, EAP_GPSK_VENDOR_IETF); /* CSuite/Vendor = IETF */ 157 pos += 4; 158 WPA_PUT_BE16(pos, csuite_specifier); /* CSuite/Specifier */ 159 pos += 2 294 u8 *seed, *pos; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
pmksa_cache.c | 167 struct rsn_pmksa_cache_entry *entry, *pos, *prev; local 190 pos = pmksa->pmksa; 192 while (pos) { 193 if (os_memcmp(aa, pos->aa, ETH_ALEN) == 0) { 194 if (pos->pmk_len == pmk_len && 195 os_memcmp(pos->pmk, pmk, pmk_len) == 0 && 196 os_memcmp(pos->pmkid, entry->pmkid, PMKID_LEN) == 201 return pos; 204 pmksa->pmksa = pos->next; 206 prev->next = pos->next 453 char *pos = buf; local [all...] |
/external/wpa_supplicant_8/src/rsn_supp/ |
pmksa_cache.c | 132 struct rsn_pmksa_cache_entry *entry, *pos, *prev; local 155 pos = pmksa->pmksa; 157 while (pos) { 158 if (os_memcmp(aa, pos->aa, ETH_ALEN) == 0) { 159 if (pos->pmk_len == pmk_len && 160 os_memcmp(pos->pmk, pmk, pmk_len) == 0 && 161 os_memcmp(pos->pmkid, entry->pmkid, PMKID_LEN) == 166 return pos; 169 pmksa->pmksa = pos->next; 171 prev->next = pos->next 418 char *pos = buf; local [all...] |
wpa_ft.c | 143 u8 *pos = sm->assoc_resp_ies; local 145 os_memcpy(pos, ft.mdie - 2, ft.mdie_len + 2); 146 pos += ft.mdie_len + 2; 149 os_memcpy(pos, ft.ftie - 2, ft.ftie_len + 2); 150 pos += ft.ftie_len + 2; 152 sm->assoc_resp_ies_len = pos - sm->assoc_resp_ies; 184 u8 *buf, *pos, *ftie_len, *ftie_pos; local 197 pos = buf; 200 rsnie = (struct rsn_ie_hdr *) pos; 203 pos = (u8 *) (rsnie + 1) 353 const u8 *end, *pos; local 402 const u8 *end, *pos; local [all...] |
/external/javassist/src/main/javassist/bytecode/stackmap/ |
Tracer.java | 87 * @param pos the position of the instruction. 88 * @return the size of the instruction at POS. 90 protected int doOpcode(int pos, byte[] code) throws BadBytecode { 92 int op = code[pos] & 0xff; 95 return doOpcode0_53(pos, code, op); 97 return doOpcode54_95(pos, code, op); 100 return doOpcode96_147(pos, code, op); 102 return doOpcode148_201(pos, code, op); 109 protected void visitBranch(int pos, byte[] code, int offset) throws BadBytecode {} 110 protected void visitGoto(int pos, byte[] code, int offset) throws BadBytecode { [all...] |
/external/javassist/src/main/javassist/convert/ |
TransformAccessArrayField.java | 65 int pos = iterator.next(); local 66 int c = iterator.byteAt(pos); 74 pos = replace(cp, iterator, pos, c, getLoadReplacementSignature(c)); 78 pos = replace(cp, iterator, pos, c, getStoreReplacementSignature(c)); 92 public int transform(CtClass tclazz, int pos, CodeIterator iterator, 95 return pos; 98 private Frame getFrame(int pos) throws BadBytecode { 99 return frames[pos - offset]; // Adjust po [all...] |
TransformReadField.java | 68 public int transform(CtClass tclazz, int pos, CodeIterator iterator, 71 int c = iterator.byteAt(pos); 73 int index = iterator.u16bitAt(pos + 1); 78 iterator.move(pos); 79 pos = iterator.insertGap(1); // insertGap() may insert 4 bytes. 80 iterator.writeByte(ACONST_NULL, pos); 81 pos = iterator.next(); 87 iterator.writeByte(INVOKESTATIC, pos); 88 iterator.write16bit(methodref, pos + 1); 89 return pos; [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
matrixsearch.cpp | 471 for (PoolPosType pos = 0; pos < dmi_pool_used_; pos++) { 472 debug_print_dmi(pos, 1); 480 size_t MatrixSearch::delsearch(size_t pos, bool is_pos_in_splid, 485 size_t reset_pos = pos; 488 if (pys_decoded_len_ <= pos) { 489 del_in_pys(pos, 1); 506 if (is_pos_in_splid && spl_id_num_ <= pos) 515 if (fixed_lmas_ > 0 && pos < spl_start_[lma_start_[fixed_lmas_]] 714 uint16 pos = 0; local 1504 uint16 pos = dep->splids_extended; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_gpsk_common.c | 124 u8 mk[32], *pos, *data; local 152 pos = data; 153 WPA_PUT_BE16(pos, psk_len); 154 pos += 2; 155 os_memcpy(pos, psk, psk_len); 156 pos += psk_len; 157 WPA_PUT_BE32(pos, EAP_GPSK_VENDOR_IETF); /* CSuite/Vendor = IETF */ 158 pos += 4; 159 WPA_PUT_BE16(pos, csuite_specifier); /* CSuite/Specifier */ 160 pos += 2 295 u8 *seed, *pos; local [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_gpsk_common.c | 121 u8 mk[32], *pos, *data; local 149 pos = data; 150 WPA_PUT_BE16(pos, psk_len); 151 pos += 2; 152 os_memcpy(pos, psk, psk_len); 153 pos += psk_len; 154 WPA_PUT_BE32(pos, EAP_GPSK_VENDOR_IETF); /* CSuite/Vendor = IETF */ 155 pos += 4; 156 WPA_PUT_BE16(pos, csuite_specifier); /* CSuite/Specifier */ 157 pos += 2 292 u8 *seed, *pos; local [all...] |
/external/antlr/src/org/antlr/runtime/ |
CharStream.java | 53 void setCharPositionInLine(int pos);
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncSum.java | 51 int pos; local 53 while (DTM.NULL != (pos = nodes.nextNode())) 55 DTM dtm = nodes.getDTM(pos); 56 XMLString s = dtm.getStringValue(pos);
|
/external/harfbuzz/src/ |
harfbuzz-stream.h | 42 HB_UInt pos; member in struct:HB_StreamRec_
|
/external/icu4c/tools/genuca/ |
genteststub.py | 37 pos = line.find("#") variable 38 if pos == 0: 42 if pos >= 0: line = line[:pos]
|
/external/skia/include/effects/ |
SkGradientShader.h | 39 @param pos May be NULL. array[count] of SkScalars, or NULL, of the relative position of 44 @param count Must be >=2. The number of colors (and pos if not NULL) entries. 49 const SkColor colors[], const SkScalar pos[], int count, 61 @param pos May be NULL. The array[count] of SkScalars, or NULL, of the relative position of 66 @param count Must be >= 2. The number of colors (and pos if not NULL) entries 71 const SkColor colors[], const SkScalar pos[], int count, 86 @param pos May be NULL. The array[count] of SkScalars, or NULL, of the relative position of 91 @param count Must be >= 2. The number of colors (and pos if not NULL) entries 100 const SkScalar pos[], int count, 111 @param pos May be NULL. The array[count] of SkScalars, or NULL, of the relative position o [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/ |
d2_9pf.cpp | 187 Word16 pos[NB_PULSE]; local 207 pos[0] = i * 5 + startPos[k++]; 215 pos[1] = i * 5 + startPos[k]; 234 * cod[pos[j]] = 8191; 238 * cod[pos[j]] = -8192; 242 cod[pos[j]] = i * 16383 - 8192;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
Gesture.java | 93 * @param pos The most recent mouse coordinate applicable to this 98 public void begin(ControlPoint pos, int startMask) { 99 this.mStart = pos; 106 * @param pos The most recent mouse coordinate applicable to this 109 public void update(ControlPoint pos) { 117 * @param pos The most recent mouse coordinate applicable to this 121 public void end(ControlPoint pos, boolean canceled) {
|
/cts/tools/dasm/src/java_cup/ |
lalr_item.java | 39 * @param pos the position of the "dot" within the production. 42 public lalr_item(production prod, int pos, terminal_set look) 45 super(prod, pos); 176 int pos; local 189 for (pos = dot_pos()+1; pos < the_production().rhs_length(); pos++) 191 part = the_production().rhs(pos); 241 for (int pos = dot_pos() + 1; pos < the_production().rhs_length(); pos++ [all...] |
/external/e2fsprogs/lib/blkid/ |
list.h | 156 * @pos: the &struct list_head to use as a loop counter. 159 #define list_for_each(pos, head) \ 160 for (pos = (head)->next; pos != (head); pos = pos->next) 164 * pos after the body is done (in case it is freed) 165 * @pos: the &struct list_head to use as a loop counter. 169 #define list_for_each_safe(pos, pnext, head) \ 170 for (pos = (head)->next, pnext = pos->next; pos != (head); [all...] |