/external/oprofile/libdb/ |
db_stat.c | 33 size_t pos; local 49 for (pos = 0 ; pos < result->hash_table_size ; ++pos) { 51 size_t index = data->hash_base[pos];
|
/external/ppp/pppd/plugins/pppoatm/ |
ans.c | 38 #define GET16(pos) (((pos)[0] << 8) | (pos)[1]) 45 unsigned char *pos,*data,*found; local 56 pos = answer+12; 65 if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) < 0) 67 pos += name_len; 68 if (GET16(pos) != wanted || GET16(pos+2) != C_IN) return TRY_OTHER; 69 pos += 4 145 int pos,i,j; local [all...] |
misc.c | 20 int __atmlib_fetch(const char **pos,...) 27 va_start(ap,pos); 28 ref_len = strlen(*pos); 34 !strncasecmp(*pos,value,len)) { 40 if (best > -1) (*pos) += best_len;
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_stretch.c | 67 int pos, inc; local 94 pos = 0x10000; 98 while ( pos >= 0x10000L ) { 103 pos -= 0x10000L; 109 pos += inc; 127 int pos, inc; \ 130 pos = 0x10000; \ 133 while ( pos >= 0x10000L ) { \ 135 pos -= 0x10000L; \ 138 pos += inc; 151 int pos, inc; local 178 int pos, inc; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_otp.c | 39 const u8 *pos, *password; local 43 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_OTP, reqData, &len); 44 if (pos == NULL) { 49 pos, len); 61 eap_sm_request_otp(sm, (const char *) pos, len);
|
eap_leap.c | 70 const u8 *pos, *challenge, *identity, *password; local 82 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_LEAP, reqData, &len); 83 if (pos == NULL || len < 3) { 89 if (*pos != LEAP_VERSION) { 91 "%d", *pos); 95 pos++; 97 pos++; /* skip unused byte */ 99 challenge_len = *pos++; 107 challenge = pos; 144 u8 *pos; local 193 const u8 *pos, *password; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_gtc.c | 86 const u8 *pos; local 89 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &len); 90 if (pos == NULL || len < 1) { 103 const u8 *pos; local 106 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &rlen); 107 if (pos == NULL || rlen < 1) 110 wpa_hexdump_ascii_key(MSG_MSGDUMP, "EAP-GTC: Response", pos, rlen); 123 end = pos + rlen; 124 pos += 9; 125 pos2 = pos; [all...] |
eap_md5.c | 84 const u8 *pos; local 87 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MD5, respData, &len); 88 if (pos == NULL || len < 1) { 92 if (*pos != CHAP_MD5_LEN || 1 + CHAP_MD5_LEN > len) { 95 *pos, (unsigned long) len); 107 const u8 *pos; local 119 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MD5, respData, &plen); 120 if (pos == NULL || *pos != CHAP_MD5_LEN || plen < 1 + CHAP_MD5_LEN) 123 pos++; /* Skip response len * [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_otp.c | 39 const u8 *pos, *password; local 43 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_OTP, reqData, &len); 44 if (pos == NULL) { 49 pos, len); 61 eap_sm_request_otp(sm, (const char *) pos, len);
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_gtc.c | 86 const u8 *pos; local 89 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &len); 90 if (pos == NULL || len < 1) { 103 const u8 *pos; local 106 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &rlen); 107 if (pos == NULL || rlen < 1) 110 wpa_hexdump_ascii_key(MSG_MSGDUMP, "EAP-GTC: Response", pos, rlen); 123 end = pos + rlen; 124 pos += 9; 125 pos2 = pos; [all...] |
eap_server_md5.c | 85 const u8 *pos; local 88 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MD5, respData, &len); 89 if (pos == NULL || len < 1) { 93 if (*pos != CHAP_MD5_LEN || 1 + CHAP_MD5_LEN > len) { 96 *pos, (unsigned long) len); 108 const u8 *pos; local 120 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MD5, respData, &plen); 121 if (pos == NULL || *pos != CHAP_MD5_LEN || plen < 1 + CHAP_MD5_LEN) 124 pos++; /* Skip response len * [all...] |
/frameworks/base/graphics/java/android/graphics/ |
PathMeasure.java | 81 * @param pos If not null, eturns the sampled position (x==[0], y==[1]) 85 public boolean getPosTan(float distance, float pos[], float tan[]) { 86 if (pos != null && pos.length < 2 || 90 return native_getPosTan(native_instance, distance, pos, tan); 143 private static native boolean native_getPosTan(int native_instance, float distance, float pos[], float tan[]);
|
/libcore/luni/src/main/java/java/text/ |
FieldPosition.java | 94 FieldPosition pos = (FieldPosition) object; local 95 return myField == pos.myField && myAttribute == pos.myAttribute 96 && beginIndex == pos.beginIndex && endIndex == pos.endIndex;
|
/external/wpa_supplicant_8/src/rsn_supp/ |
tdls.c | 85 static u8 * wpa_add_tdls_timeoutie(u8 *pos, u8 *ie, size_t ie_len, u32 tsecs); 136 static u8 * wpa_add_ie(u8 *pos, const u8 *ie, size_t ie_len) 138 os_memcpy(pos, ie, ie_len); 139 return pos + ie_len; 402 u8 *buf, *pos; local 414 pos = buf; 417 os_memcpy(pos, _lnkid->init_sta, ETH_ALEN); 418 pos += ETH_ALEN; 420 os_memcpy(pos, _lnkid->resp_sta, ETH_ALEN); 421 pos += ETH_ALEN 464 u8 *buf, *pos; local 625 u8 *rbuf, *pos; local 716 const u8 *pos; local 812 u8 *rbuf, *pos, *count_pos; local 988 u8 *rbuf, *pos; local 1071 u8 *rbuf, *pos; local 1488 const u8 *pos; local 1680 const u8 *pos; local [all...] |
/external/icu4c/i18n/ |
tridpars.cpp | 99 * @param pos INPUT-OUTPUT parameter. On input, the position of 107 TransliteratorIDParser::parseSingleID(const UnicodeString& id, int32_t& pos, 110 int32_t start = pos; 122 specsA = parseFilterID(id, pos, TRUE); 124 pos = start; 128 if (ICU_Utility::parseChar(id, pos, OPEN_REV)) { 130 if (!ICU_Utility::parseChar(id, pos, CLOSE_REV)) { 131 specsB = parseFilterID(id, pos, TRUE); 133 if (specsB == NULL || !ICU_Utility::parseChar(id, pos, CLOSE_REV)) { 135 pos = start 358 int32_t pos = 0; local [all...] |
rbt_pars.cpp | 150 ParsePosition& pos, int32_t limit) const; 201 ParsePosition& pos, int32_t limit) const { 202 int32_t start = pos.getIndex(); 215 pos.setIndex(i); 297 int32_t parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status); 299 int32_t parseSection(const UnicodeString& rule, int32_t pos, int32_t limit, 356 int32_t RuleHalf::parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) { 357 int32_t start = pos; 359 pos = parseSection(rule, pos, limit, text, ILLEGAL_TOP, FALSE, status) 919 int32_t pos = 0; local 1103 int32_t pos = -1; local [all...] |
rbt_rule.cpp | 316 static inline int32_t posBefore(const Replaceable& str, int32_t pos) { 317 return (pos > 0) ? 318 pos - UTF_CHAR_LENGTH(str.char32At(pos-1)) : 319 pos - 1; 322 static inline int32_t posAfter(const Replaceable& str, int32_t pos) { 323 return (pos >= 0 && pos < str.length()) ? 324 pos + UTF_CHAR_LENGTH(str.char32At(pos)) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
scan.c | 585 const u8 *end, *pos; local 587 pos = (const u8 *) (res + 1); 588 end = pos + res->ie_len; 590 while (pos + 1 < end) { 591 if (pos + 2 + pos[1] > end) 593 if (pos[0] == ie) 594 return pos; 595 pos += 2 + pos[1] 605 const u8 *end, *pos; local 627 const u8 *end, *pos; local 658 const u8 *end, *pos; local [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/icu4c/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/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/webkit/Source/WebCore/platform/efl/ |
PlatformTouchEventEfl.cpp | 37 PlatformTouchEvent::PlatformTouchEvent(Eina_List* points, const IntPoint pos, TouchEventType type, int metaState) 48 IntPoint pnt = IntPoint(p->x - pos.x(), p->y - pos.y());
|
/external/wpa_supplicant_8/src/crypto/ |
aes-ctr.c | 36 u8 *pos = data; local 49 pos[j] ^= buf[j]; 50 pos += len;
|
/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/Email/emailcommon/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...] |