/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
tokenize.py | 373 pos, max = 0, len(line) 380 pos = end = endmatch.end(0) 399 while pos < max: # measure leading whitespace 400 if line[pos] == ' ': column = column + 1 401 elif line[pos] == '\t': column = (column//tabsize + 1)*tabsize 402 elif line[pos] == '\f': column = 0 404 pos = pos + 1 405 if pos == max: break 407 if line[pos] in '#\r\n': # skip comments or blank line [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
NumberFormatTest.java | 36 FieldPosition pos; local 41 pos = new FieldPosition(0); 42 out = format.format(new Long(Long.MAX_VALUE), new StringBuffer(), pos); 46 pos = new FieldPosition(0); 47 out = format.format(new Long(Long.MIN_VALUE), new StringBuffer(), pos); 51 pos = new FieldPosition(0); 53 .valueOf(Long.MAX_VALUE)), new StringBuffer(), pos); 57 pos = new FieldPosition(0); 59 .valueOf(Long.MIN_VALUE)), new StringBuffer(), pos); 64 pos = new FieldPosition(0) [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicHeaderValueParser.java | 240 int pos = cursor.getPos(); local 243 while (pos < indexTo) { 244 char ch = buffer.charAt(pos); 246 pos++; 251 cursor.updatePos(pos); 328 int pos = cursor.getPos(); local 334 while (pos < indexTo) { 335 char ch = buffer.charAt(pos); 343 pos++; 346 if (pos == indexTo) [all...] |
/external/chromium_org/third_party/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, 62 @param pos May be NULL. The array[count] of SkScalars, or NULL, of the relative position of 67 @param count Must be >= 2. The number of colors (and pos if not NULL) entries 72 const SkColor colors[], const SkScalar pos[], int count, 88 @param pos May be NULL. The array[count] of SkScalars, or NULL, of the relative position of 93 @param count Must be >= 2. The number of colors (and pos if not NULL) entries 102 const SkScalar pos[], int count, 118 const SkScalar pos[], int count [all...] |
/external/javassist/src/main/javassist/convert/ |
TransformFieldAccess.java | 56 public int transform(CtClass clazz, int pos, 59 int c = iterator.byteAt(pos); 62 int index = iterator.u16bitAt(pos + 1); 75 iterator.write16bit(newIndex, pos + 1); 79 return pos;
|
/external/lzma/CS/7zip/Compress/LZ/ |
LzOutWindow.cs | 82 uint pos = _pos - distance - 1;
83 if (pos >= _windowSize)
84 pos += _windowSize;
87 if (pos >= _windowSize)
88 pos = 0;
89 _buffer[_pos++] = _buffer[pos++];
104 uint pos = _pos - distance - 1;
105 if (pos >= _windowSize)
106 pos += _windowSize;
107 return _buffer[pos];
[all...] |
/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.15/src/video/ |
SDL_stretch.c | 80 int pos, inc; local 115 pos = 0x10000; 120 while ( pos >= 0x10000L ) { 128 pos -= 0x10000L; 137 pos += inc; 158 int pos, inc; \ 161 pos = 0x10000; \ 164 while ( pos >= 0x10000L ) { \ 166 pos -= 0x10000L; \ 169 pos += inc; 180 int pos, inc; local 207 int pos, inc; local [all...] |
/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, 62 @param pos May be NULL. The array[count] of SkScalars, or NULL, of the relative position of 67 @param count Must be >= 2. The number of colors (and pos if not NULL) entries 72 const SkColor colors[], const SkScalar pos[], int count, 88 @param pos May be NULL. The array[count] of SkScalars, or NULL, of the relative position of 93 @param count Must be >= 2. The number of colors (and pos if not NULL) entries 102 const SkScalar pos[], int count, 118 const SkScalar pos[], int count [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_otp.c | 33 const u8 *pos, *password; local 37 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_OTP, reqData, &len); 38 if (pos == NULL) { 43 pos, len); 55 eap_sm_request_otp(sm, (const char *) pos, len);
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_gtc.c | 80 const u8 *pos; local 83 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &len); 84 if (pos == NULL || len < 1) { 97 const u8 *pos; local 100 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, respData, &rlen); 101 if (pos == NULL || rlen < 1) 104 wpa_hexdump_ascii_key(MSG_MSGDUMP, "EAP-GTC: Response", pos, rlen); 117 end = pos + rlen; 118 pos += 9; 119 pos2 = pos; [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
autoscan_exponential.c | 27 const char *pos; local 34 pos = os_strchr(params, ':'); 35 if (pos == NULL) 38 pos++; 39 data->limit = atoi(pos);
|
/frameworks/base/graphics/java/android/graphics/ |
PathMeasure.java | 82 * @param pos If not null, eturns the sampled position (x==[0], y==[1]) 86 public boolean getPosTan(float distance, float pos[], float tan[]) { 87 if (pos != null && pos.length < 2 || 91 return native_getPosTan(native_instance, distance, pos, tan); 144 private static native boolean native_getPosTan(int native_instance, float distance, float pos[], float tan[]);
|
/frameworks/volley/src/com/android/volley/toolbox/ |
ByteArrayPool.java | 115 int pos = Collections.binarySearch(mBuffersBySize, buf, BUF_COMPARATOR); local 116 if (pos < 0) { 117 pos = -pos - 1; 119 mBuffersBySize.add(pos, buf);
|
/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;
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
EOLConvertingInputStream.java | 46 private int pos = 0;
field in class:EOLConvertingInputStream 95 if (callback != null && pos++ == nextTenPctPos) {
98 callback.report(pos);
107 pos--;
117 pos = size;
|
/frameworks/base/core/java/com/android/internal/util/ |
FastXmlSerializer.java | 71 int pos = mPos; local 72 if (pos >= (BUFFER_LEN-1)) { 74 pos = mPos; 76 mText[pos] = c; 77 mPos = pos+1; 90 int pos = mPos; local 91 if ((pos+length) > BUFFER_LEN) { 93 pos = mPos; 95 str.getChars(i, i+length, mText, pos); 96 mPos = pos + length 109 int pos = mPos; local 135 int pos; local 153 int pos; local [all...] |
/external/chromium_org/third_party/icu/source/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/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 | 154 ParsePosition& pos, int32_t limit) const; 207 ParsePosition& pos, int32_t limit) const { 208 int32_t start = pos.getIndex(); 221 pos.setIndex(i); 303 int32_t parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status); 305 int32_t parseSection(const UnicodeString& rule, int32_t pos, int32_t limit, 362 int32_t RuleHalf::parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) { 363 int32_t start = pos; 365 pos = parseSection(rule, pos, limit, text, UnicodeString(TRUE, ILLEGAL_TOP, -1), FALSE, status) 925 int32_t pos = 0; local 1109 int32_t pos = -1; local [all...] |
rbt_rule.cpp | 317 static inline int32_t posBefore(const Replaceable& str, int32_t pos) { 318 return (pos > 0) ? 319 pos - U16_LENGTH(str.char32At(pos-1)) : 320 pos - 1; 323 static inline int32_t posAfter(const Replaceable& str, int32_t pos) { 324 return (pos >= 0 && pos < str.length()) ? 325 pos + U16_LENGTH(str.char32At(pos)) [all...] |