Searched refs:pos (Results 1 - 25 of 2393) sorted by relevance

1234567891011>>

/external/clang/test/CodeGen/
H A D2003-08-17-DeadCodeShortCircuit.c3 int test(_Bool pos, _Bool color) { argument
5 return (pos && color);
/external/okhttp/src/main/java/libcore/net/http/
H A DHeaderParser.java32 int pos = 0;
33 while (pos < value.length()) {
34 int tokenStart = pos;
35 pos = skipUntil(value, pos, "=,");
36 String directive = value.substring(tokenStart, pos).trim();
38 if (pos == value.length() || value.charAt(pos) == ',') {
39 pos++; // consume ',' (if necessary)
44 pos
122 skipUntil(String input, int pos, String characters) argument
135 skipWhitespace(String input, int pos) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/rsn_supp/
H A Dwpa_ie.c42 u8 *pos; local
54 pos = (u8 *) (hdr + 1);
62 RSN_SELECTOR_PUT(pos, suite);
63 pos += WPA_SELECTOR_LEN;
65 *pos++ = 1;
66 *pos++ = 0;
75 RSN_SELECTOR_PUT(pos, suite);
76 pos += WPA_SELECTOR_LEN;
78 *pos++ = 1;
79 *pos
109 u8 *pos; local
249 wpa_parse_generic(const u8 *pos, const u8 *end, struct wpa_eapol_ie_parse *ie) argument
356 const u8 *pos, *end; local
[all...]
/external/wpa_supplicant_8/src/rsn_supp/
H A Dwpa_ie.c42 u8 *pos; local
54 pos = (u8 *) (hdr + 1);
62 RSN_SELECTOR_PUT(pos, suite);
63 pos += WPA_SELECTOR_LEN;
65 *pos++ = 1;
66 *pos++ = 0;
75 RSN_SELECTOR_PUT(pos, suite);
76 pos += WPA_SELECTOR_LEN;
78 *pos++ = 1;
79 *pos
109 u8 *pos; local
249 wpa_parse_generic(const u8 *pos, const u8 *end, struct wpa_eapol_ie_parse *ie) argument
356 const u8 *pos, *end; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/
H A Dwpa_ie.c42 u8 *pos; local
54 pos = (u8 *) (hdr + 1);
62 RSN_SELECTOR_PUT(pos, suite);
63 pos += WPA_SELECTOR_LEN;
65 *pos++ = 1;
66 *pos++ = 0;
75 RSN_SELECTOR_PUT(pos, suite);
76 pos += WPA_SELECTOR_LEN;
78 *pos++ = 1;
79 *pos
109 u8 *pos; local
249 wpa_parse_generic(const u8 *pos, const u8 *end, struct wpa_eapol_ie_parse *ie) argument
356 const u8 *pos, *end; local
[all...]
/external/webkit/Source/WebCore/html/parser/
H A DHTMLMetaCharsetParser.cpp59 size_t pos = 0; local
62 while (pos < length) {
63 pos = value.find(charsetString, pos, false);
64 if (pos == notFound)
67 pos += charsetLength;
70 while (pos < length && value[pos] <= ' ')
71 ++pos;
73 if (value[pos] !
[all...]
/external/icu4c/common/
H A Dbytestrie.cpp30 BytesTrie::readValue(const uint8_t *pos, int32_t leadByte) { argument
35 value=((leadByte-kMinTwoByteValueLead)<<8)|*pos;
37 value=((leadByte-kMinThreeByteValueLead)<<16)|(pos[0]<<8)|pos[1];
39 value=(pos[0]<<16)|(pos[1]<<8)|pos[2];
41 value=(pos[0]<<24)|(pos[1]<<16)|(pos[
47 jumpByDelta(const uint8_t *pos) argument
68 const uint8_t *pos=pos_; local
79 branchNext(const uint8_t *pos, int32_t length, int32_t inByte) argument
149 nextImpl(const uint8_t *pos, int32_t inByte) argument
[all...]
H A Ducharstrie.cpp30 const UChar *pos=pos_; local
31 if(pos==NULL) {
35 return (remainingMatchLength_<0 && (node=*pos)>=kMinValueLead) ?
41 UCharsTrie::branchNext(const UChar *pos, int32_t length, int32_t uchar) { argument
44 length=*pos++;
50 if(uchar<*pos++) {
52 pos=jumpByDelta(pos);
55 pos=skipDelta(pos);
103 nextImpl(const UChar *pos, int32_t uchar) argument
135 const UChar *pos=pos_; local
162 const UChar *pos=pos_; local
264 findUniqueValueFromBranch(const UChar *pos, int32_t length, UBool haveUniqueValue, int32_t &uniqueValue) argument
302 findUniqueValue(const UChar *pos, UBool haveUniqueValue, int32_t &uniqueValue) argument
346 const UChar *pos=pos_; local
378 getNextBranchUChars(const UChar *pos, int32_t length, Appendable &out) argument
[all...]
H A Duchriter.cpp79 && pos == realThat.pos
86 return uhash_hashUCharsN(text, textLength) ^ pos ^ begin ^ end;
96 pos = begin;
97 if(pos < end) {
98 return text[pos];
106 pos = begin;
107 if(pos < end) {
108 return text[pos++];
116 pos
[all...]
/external/wpa_supplicant_8/hostapd/src/utils/
H A Duuid.c16 const char *pos; local
19 pos = str;
22 if (hexstr2bin(pos, opos, 4))
24 pos += 8;
27 if (*pos++ != '-' || hexstr2bin(pos, opos, 2))
29 pos += 4;
32 if (*pos++ != '-' || hexstr2bin(pos, opos, 2))
34 pos
[all...]
/external/wpa_supplicant_8/src/utils/
H A Duuid.c16 const char *pos; local
19 pos = str;
22 if (hexstr2bin(pos, opos, 4))
24 pos += 8;
27 if (*pos++ != '-' || hexstr2bin(pos, opos, 2))
29 pos += 4;
32 if (*pos++ != '-' || hexstr2bin(pos, opos, 2))
34 pos
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Duuid.c16 const char *pos; local
19 pos = str;
22 if (hexstr2bin(pos, opos, 4))
24 pos += 8;
27 if (*pos++ != '-' || hexstr2bin(pos, opos, 2))
29 pos += 4;
32 if (*pos++ != '-' || hexstr2bin(pos, opos, 2))
34 pos
[all...]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/
H A DCharCache.java25 private int pos; field in class:CharCache
33 int available = cache.length - pos;
35 System.arraycopy(chars, 0, cache, pos, toWrite);
36 pos += toWrite;
40 return new String(cache, 0, pos);
44 pos = 0;
48 if (pos < cache.length - 1) {
49 cache[pos] = c;
50 pos++;
55 return pos;
[all...]
/external/chromium/net/base/
H A Dgzip_header.cc35 const uint8* pos = reinterpret_cast<const uint8*>(inbuf); local
36 const uint8* const end = pos + inbuf_len;
38 while ( pos < end ) {
41 if ( *pos != magic[0] ) return INVALID_HEADER;
42 pos++;
46 if ( *pos != magic[1] ) return INVALID_HEADER;
47 pos++;
51 if ( *pos != Z_DEFLATED ) return INVALID_HEADER;
52 pos++;
56 flags_ = (*pos)
[all...]
/external/chromium/net/websockets/
H A Dwebsocket_net_log_params.cc20 size_t pos = 0; local
21 while (pos <= headers_size) {
22 if (pos == headers_size ||
23 (headers_[pos] == '\r' &&
24 pos + 1 < headers_size && headers_[pos + 1] == '\n')) {
25 std::string entry = headers_.substr(last, pos - last);
26 pos += 2;
27 last = pos;
34 for (; pos < headers_siz
[all...]
/external/iptables/libiptc/
H A Dlinux_list.h335 * @pos: the &struct list_head to use as a loop counter.
338 #define list_for_each(pos, head) \
339 for (pos = (head)->next, prefetch(pos->next); pos != (head); \
340 pos = pos->next, prefetch(pos->next))
344 * @pos: the &struct list_head to use as a loop counter.
352 #define __list_for_each(pos, hea
[all...]
/external/webkit/Source/WebCore/rendering/
H A Dbreak_lines.h30 int nextBreakablePosition(LazyLineBreakIterator&, int pos, bool breakNBSP = false);
32 inline bool isBreakable(LazyLineBreakIterator& lazyBreakIterator, int pos, int& nextBreakable, bool breakNBSP = false) argument
34 if (pos > nextBreakable)
35 nextBreakable = nextBreakablePosition(lazyBreakIterator, pos, breakNBSP);
36 return pos == nextBreakable;
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/xpath/
H A DXMPPathParser.java92 PathPosition pos = new PathPosition();
93 pos.path = path;
97 parseRootNode(schemaNS, pos, expandedXPath);
100 while (pos.stepEnd < path.length())
102 pos.stepBegin = pos.stepEnd;
104 skipPathDelimiter(path, pos);
106 pos.stepEnd = pos.stepBegin;
110 if (path.charAt(pos
172 skipPathDelimiter(String path, PathPosition pos) argument
206 parseStructSegment(PathPosition pos) argument
235 parseIndexSegment(PathPosition pos) argument
335 parseRootNode(String schemaNS, PathPosition pos, XMPPath expandedXPath) argument
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/
H A Dwpa_ie.c57 const u8 *pos; local
93 pos = (const u8 *) (hdr + 1);
97 data->group_cipher = wpa_selector_to_bitfield(pos);
98 pos += WPA_SELECTOR_LEN;
108 count = WPA_GET_LE16(pos);
109 pos += 2;
117 data->pairwise_cipher |= wpa_selector_to_bitfield(pos);
118 pos += WPA_SELECTOR_LEN;
129 count = WPA_GET_LE16(pos);
130 pos
186 u8 *pos; local
260 u8 *pos; local
405 wpa_parse_generic(const u8 *pos, const u8 *end, struct wpa_eapol_ie_parse *ie) argument
494 const u8 *pos, *end; local
[all...]
/external/astl/src/
H A Dios_pos_types.cpp49 fpos pos(*this);
50 pos += offs;
51 return pos;
55 fpos pos(*this);
56 pos -= offs;
57 return pos;
/external/wpa_supplicant_8/hostapd/src/common/
H A Dieee802_11_common.c16 static int ieee802_11_parse_vendor_specific(const u8 *pos, size_t elen, argument
34 oui = WPA_GET_BE24(pos);
39 switch (pos[3]) {
43 elems->wpa_ie = pos;
55 switch (pos[4]) {
64 elems->wmm = pos;
68 elems->wmm_tspec = pos;
75 pos[4], (unsigned long) elen);
81 elems->wps_ie = pos;
88 pos[
159 const u8 *pos = start; local
311 const u8 *pos, *end; local
334 const u8 *end, *pos, *ie; local
419 const char *pos; local
[all...]
/external/wpa_supplicant_8/src/common/
H A Dieee802_11_common.c16 static int ieee802_11_parse_vendor_specific(const u8 *pos, size_t elen, argument
34 oui = WPA_GET_BE24(pos);
39 switch (pos[3]) {
43 elems->wpa_ie = pos;
55 switch (pos[4]) {
64 elems->wmm = pos;
68 elems->wmm_tspec = pos;
75 pos[4], (unsigned long) elen);
81 elems->wps_ie = pos;
88 pos[
159 const u8 *pos = start; local
311 const u8 *pos, *end; local
334 const u8 *end, *pos, *ie; local
419 const char *pos; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dieee802_11_common.c16 static int ieee802_11_parse_vendor_specific(const u8 *pos, size_t elen, argument
34 oui = WPA_GET_BE24(pos);
39 switch (pos[3]) {
43 elems->wpa_ie = pos;
55 switch (pos[4]) {
64 elems->wmm = pos;
68 elems->wmm_tspec = pos;
75 pos[4], (unsigned long) elen);
81 elems->wps_ie = pos;
88 pos[
159 const u8 *pos = start; local
311 const u8 *pos, *end; local
334 const u8 *end, *pos, *ie; local
419 const char *pos; local
[all...]
/external/webkit/Source/WebCore/loader/
H A DFTPDirectoryParser.cpp135 unsigned int pos = 0; local
136 while (pos < linelen && numtoks < WTF_ARRAY_LENGTH(tokens))
138 while (pos < linelen &&
139 (line[pos] == ' ' || line[pos] == '\t' || line[pos] == '\r'))
140 pos++;
141 if (pos < linelen)
143 tokens[numtoks] = &line[pos];
144 while (pos < linele
[all...]
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/
H A DTypesReader.java22 int pos = 0; field in class:TypesReader
28 pos = 0;
35 this.pos = off;
38 if ((pos < 0) || (pos > arr.length))
45 this.pos = off;
48 if ((pos < 0) || (pos > arr.length))
57 if (pos >= max)
60 return (arr[pos
[all...]

Completed in 682 milliseconds

1234567891011>>