Searched refs:pos (Results 476 - 500 of 3391) sorted by relevance

<<11121314151617181920>>

/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dpcsc_funcs.c269 unsigned char *pos, *end; local
276 pos = buf;
277 end = pos + buf_len;
278 if (*pos != USIM_FSP_TEMPL_TAG) {
283 pos++;
284 if (pos >= end)
286 if (pos[0] < end - pos)
287 end = pos + 1 + pos[
520 unsigned long pos; local
1111 char *pos; local
1348 unsigned char resp[3], buf[64], *pos, *end; local
[all...]
H A Dwpabuf.h105 u8 *pos = (u8 *) wpabuf_put(buf, 1); local
106 *pos = data;
111 u8 *pos = (u8 *) wpabuf_put(buf, 2); local
112 WPA_PUT_LE16(pos, data);
117 u8 *pos = (u8 *) wpabuf_put(buf, 4); local
118 WPA_PUT_LE32(pos, data);
123 u8 *pos = (u8 *) wpabuf_put(buf, 2); local
124 WPA_PUT_BE16(pos, data);
129 u8 *pos = (u8 *) wpabuf_put(buf, 3); local
130 WPA_PUT_BE24(pos, dat
135 u8 *pos = (u8 *) wpabuf_put(buf, 4); local
[all...]
/external/icu/icu4c/source/i18n/
H A Drbt_pars.cpp156 ParsePosition& pos, int32_t limit) const;
209 ParsePosition& pos, int32_t limit) const {
210 int32_t start = pos.getIndex();
223 pos.setIndex(i);
305 int32_t parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status);
307 int32_t parseSection(const UnicodeString& rule, int32_t pos, int32_t limit,
364 int32_t RuleHalf::parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) { argument
365 int32_t start = pos;
367 pos = parseSection(rule, pos, limi
208 parseReference(const UnicodeString& text, ParsePosition& pos, int32_t limit) const argument
399 parseSection(const UnicodeString& rule, int32_t pos, int32_t limit, UnicodeString& buf, const UnicodeString& illegal, UBool isSegment, UErrorCode& status) argument
927 int32_t pos = 0; local
1111 int32_t pos = UHASH_FIRST; local
1201 resemblesPragma(const UnicodeString& rule, int32_t pos, int32_t limit) argument
1215 parsePragma(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) argument
1269 parseRule(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) argument
1473 syntaxError(UErrorCode parseErrorCode, const UnicodeString& rule, int32_t pos, UErrorCode& status) argument
1507 parseSet(const UnicodeString& rule, ParsePosition& pos, UErrorCode& status) argument
[all...]
H A Drbt_rule.cpp319 static inline int32_t posBefore(const Replaceable& str, int32_t pos) { argument
320 return (pos > 0) ?
321 pos - U16_LENGTH(str.char32At(pos-1)) :
322 pos - 1;
325 static inline int32_t posAfter(const Replaceable& str, int32_t pos) { argument
326 return (pos >= 0 && pos < str.length()) ?
327 pos + U16_LENGTH(str.char32At(pos))
352 matchAndReplace(Replaceable& text, UTransPosition& pos, UBool incremental) const argument
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DTransliterationRule.java337 static final int posBefore(Replaceable str, int pos) { argument
338 return (pos > 0) ?
339 pos - UTF16.getCharCount(str.char32At(pos-1)) :
340 pos - 1;
343 static final int posAfter(Replaceable str, int pos) { argument
344 return (pos >= 0 && pos < str.length()) ?
345 pos + UTF16.getCharCount(str.char32At(pos))
370 matchAndReplace(Replaceable text, Transliterator.Position pos, boolean incremental) argument
[all...]
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
H A DTransliterationRule.java336 static final int posBefore(Replaceable str, int pos) { argument
337 return (pos > 0) ?
338 pos - UTF16.getCharCount(str.char32At(pos-1)) :
339 pos - 1;
342 static final int posAfter(Replaceable str, int pos) { argument
343 return (pos >= 0 && pos < str.length()) ?
344 pos + UTF16.getCharCount(str.char32At(pos))
369 matchAndReplace(Replaceable text, Transliterator.Position pos, boolean incremental) argument
[all...]
/external/skia/fuzz/
H A DFuzzGradients.cpp27 std::vector<SkScalar>* pos, SkShader::TileMode* mode) {
38 pos ->clear();
44 pos ->push_back(s);
47 std::sort(pos->begin(), pos->end());
48 // The order matters. If count == 1, we want pos == 0.
49 (*pos)[count - 1] = 1;
50 (*pos)[0] = 0;
68 const std::vector<SkScalar> pos,
85 SkDebugf("]\n pos
26 initGradientParams(Fuzz* fuzz, std::vector<SkColor>* colors, std::vector<SkScalar>* pos, SkShader::TileMode* mode) argument
66 logLinearGradient(const SkPoint pts[2], const std::vector<SkColor>& colors, const std::vector<SkScalar> pos, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix, const SkMatrix* globalMatrix) argument
113 std::vector<SkScalar> pos; local
151 std::vector<SkScalar> pos; local
189 std::vector<SkScalar> pos; local
223 std::vector<SkScalar> pos; local
[all...]
/external/autotest/client/cros/faft/utils/
H A Dsaft_flashrom_util.py261 pos = self.firmware_layout[section_name]
262 if pos[0] >= pos[1] or pos[1] >= len(base_image):
265 blob = base_image[pos[0] : pos[1] + 1]
282 pos = self.firmware_layout[section_name]
283 if pos[0] >= pos[1] or pos[
[all...]
/external/lzma/CS/7zip/Common/
H A DCommandLineParser.cs75 int pos = 0;
76 if (!IsItSwitchChar(srcString[pos]))
78 while (pos < len)
80 if (IsItSwitchChar(srcString[pos]))
81 pos++;
88 if (switchLen <= maxLen || pos + switchLen > len)
91 srcString, pos, switchLen, true) == 0)
104 pos += maxLen;
105 int tailSize = len - pos;
115 matchedSwitch.WithMinus = (srcString[pos]
[all...]
/external/autotest/client/site_tests/graphics_SanAngeles/src/
H A Dshader.h18 GLint pos; member in struct:__anon505
39 GLint pos; member in struct:__anon506
49 GLint pos; member in struct:__anon507
/external/elfutils/libdwfl/
H A Ddwfl_getmodules.c54 for (ptrdiff_t pos = 0; pos < offset; ++pos)
/external/pdfium/core/fpdfapi/render/
H A Dcpdf_type3glyphs.cpp21 static int _AdjustBlue(FX_FLOAT pos, int& count, int blues[]) { argument
25 FX_FLOAT distance = FXSYS_fabs(pos - static_cast<FX_FLOAT>(blues[i]));
33 int new_pos = FXSYS_round(pos);
/external/pdfium/core/fxcrt/
H A Dfxcrt_posix.h26 FX_FILESIZE SetPosition(FX_FILESIZE pos) override;
29 size_t ReadPos(void* pBuffer, size_t szBuffer, FX_FILESIZE pos) override;
32 FX_FILESIZE pos) override;
H A Dfxcrt_windows.h24 FX_FILESIZE SetPosition(FX_FILESIZE pos) override;
27 size_t ReadPos(void* pBuffer, size_t szBuffer, FX_FILESIZE pos) override;
30 FX_FILESIZE pos) override;
/external/syslinux/gpxe/src/drivers/bus/
H A Dmca.c38 mca->pos[0], mca->pos[1], mca->pos[2], mca->pos[3],
39 mca->pos[4], mca->pos[5], mca->pos[6], mca->pos[7] );
105 for ( i = 0 ; i < ( sizeof ( mca->pos ) /
106 sizeof ( mca->pos[
[all...]
/external/syslinux/gpxe/src/include/gpxe/
H A Dmca.h44 unsigned char pos[8]; member in struct:mca_device
57 #define MCA_ID(mca) ( ( (mca)->pos[1] << 8 ) + (mca)->pos[0] )
/external/v8/src/parsing/
H A Dduplicate-finder.cc61 int pos = 0; local
64 if (number[pos] == '0') {
65 pos++;
67 while (pos < length &&
68 static_cast<unsigned>(number[pos] - '0') <= ('9' - '0'))
69 pos++;
71 if (length == pos) return true;
72 if (number[pos] != '.') return false;
73 pos++;
75 while (pos < lengt
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_md5.c79 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
[all...]
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dwpabuf.h105 u8 *pos = (u8 *) wpabuf_put(buf, 1); local
106 *pos = data;
111 u8 *pos = (u8 *) wpabuf_put(buf, 2); local
112 WPA_PUT_LE16(pos, data);
117 u8 *pos = (u8 *) wpabuf_put(buf, 4); local
118 WPA_PUT_LE32(pos, data);
123 u8 *pos = (u8 *) wpabuf_put(buf, 2); local
124 WPA_PUT_BE16(pos, data);
129 u8 *pos = (u8 *) wpabuf_put(buf, 3); local
130 WPA_PUT_BE24(pos, dat
135 u8 *pos = (u8 *) wpabuf_put(buf, 4); local
[all...]
/external/wpa_supplicant_8/src/eap_server/
H A Deap_server_md5.c79 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
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dwpabuf.h105 u8 *pos = (u8 *) wpabuf_put(buf, 1); local
106 *pos = data;
111 u8 *pos = (u8 *) wpabuf_put(buf, 2); local
112 WPA_PUT_LE16(pos, data);
117 u8 *pos = (u8 *) wpabuf_put(buf, 4); local
118 WPA_PUT_LE32(pos, data);
123 u8 *pos = (u8 *) wpabuf_put(buf, 2); local
124 WPA_PUT_BE16(pos, data);
129 u8 *pos = (u8 *) wpabuf_put(buf, 3); local
130 WPA_PUT_BE24(pos, dat
135 u8 *pos = (u8 *) wpabuf_put(buf, 4); local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Deap_server_md5.c79 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
[all...]
/external/zopfli/src/zopfli/
H A Dhash.c91 void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end, argument
93 unsigned short hpos = pos & ZOPFLI_WINDOW_MASK;
98 UpdateHashValue(h, pos + ZOPFLI_MIN_MATCH <= end ?
99 array[pos + ZOPFLI_MIN_MATCH - 1] : 0);
109 if (h->same[(pos - 1) & ZOPFLI_WINDOW_MASK] > 1) {
110 amount = h->same[(pos - 1) & ZOPFLI_WINDOW_MASK] - 1;
112 while (pos + amount + 1 < end &&
113 array[pos] == array[pos + amount + 1] && amount < (unsigned short)(-1)) {
130 void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_ argument
[all...]
/external/fonttools/Lib/fontTools/ttLib/tables/
H A DS_V_G_.py100 pos = 0
101 self.version = struct.unpack(">H", data[pos:pos+2])[0]
118 pos = self.offsetToColorPalettes
119 if pos > 0:
120 colorPalettes.numColorParams = numColorParams = struct.unpack(">H", data[pos:pos+2])[0]
123 pos = pos + 2
126 nameID = struct.unpack(">H", data[pos
[all...]
/external/fonttools/Tools/fontTools/ttLib/tables/
H A DS_V_G_.py100 pos = 0
101 self.version = struct.unpack(">H", data[pos:pos+2])[0]
118 pos = self.offsetToColorPalettes
119 if pos > 0:
120 colorPalettes.numColorParams = numColorParams = struct.unpack(">H", data[pos:pos+2])[0]
123 pos = pos + 2
126 nameID = struct.unpack(">H", data[pos
[all...]

Completed in 621 milliseconds

<<11121314151617181920>>