/external/clang/test/CodeGen/ |
2003-08-17-DeadCodeShortCircuit.c | 3 int test(_Bool pos, _Bool color) { 5 return (pos && color);
|
/external/wpa_supplicant_8/src/rsn_supp/ |
wpa_ie.c | 42 u8 *pos; local 53 pos = (u8 *) (hdr + 1); 56 RSN_SELECTOR_PUT(pos, WPA_CIPHER_SUITE_CCMP); 58 RSN_SELECTOR_PUT(pos, WPA_CIPHER_SUITE_TKIP); 60 RSN_SELECTOR_PUT(pos, WPA_CIPHER_SUITE_WEP104); 62 RSN_SELECTOR_PUT(pos, WPA_CIPHER_SUITE_WEP40); 68 pos += WPA_SELECTOR_LEN; 70 *pos++ = 1; 71 *pos++ = 0; 73 RSN_SELECTOR_PUT(pos, WPA_CIPHER_SUITE_CCMP) 116 u8 *pos; local 370 const u8 *pos, *end; local [all...] |
/libcore/luni/src/main/java/libcore/net/http/ |
HeaderParser.java | 35 int pos = 0; local 36 while (pos < value.length()) { 37 int tokenStart = pos; 38 pos = skipUntil(value, pos, "=,"); 39 String directive = value.substring(tokenStart, pos).trim(); 41 if (pos == value.length() || value.charAt(pos) == ',') { 42 pos++; // consume ',' (if necessary) 47 pos++; // consume '= 90 int pos = 0; local [all...] |
/external/webkit/Source/WebCore/html/parser/ |
HTMLMetaCharsetParser.cpp | 59 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/ |
bytestrie.cpp | 30 BytesTrie::readValue(const uint8_t *pos, int32_t leadByte) { 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[2]<<8)|pos[3] 68 const uint8_t *pos=pos_; local [all...] |
ucharstrie.cpp | 30 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) { 44 length=*pos++; 50 if(uchar<*pos++) { 52 pos=jumpByDelta(pos); 55 pos=skipDelta(pos); 135 const UChar *pos=pos_; local 162 const UChar *pos=pos_; local 346 const UChar *pos=pos_; local [all...] |
uchriter.cpp | 79 && 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 = end [all...] |
/external/wpa_supplicant_8/src/utils/ |
uuid.c | 16 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 += 4 [all...] |
/libcore/luni/src/main/java/javax/net/ssl/ |
DistinguishedNameParser.java | 31 private int pos; field in class:DistinguishedNameParser 50 for (; pos < length && chars[pos] == ' '; pos++) { 52 if (pos == length) { 57 beg = pos; 60 pos++; 61 for (; pos < length && chars[pos] != '=' && chars[pos] != ' '; pos++) [all...] |
/external/chromium/net/base/ |
gzip_header.cc | 35 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) & (FLAG_FHCRC | FLAG_FEXTRA [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
DNParser.java | 46 private int pos; field in class:DNParser 74 for (; pos < chars.length && chars[pos] == ' '; pos++) { 76 if (pos == chars.length) { 81 beg = pos; 84 pos++; 85 for (; pos < chars.length && chars[pos] != '=' && chars[pos] != ' '; pos++) [all...] |
/external/chromium/net/websockets/ |
websocket_net_log_params.cc | 20 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_size; ++pos) [all...] |
/external/iptables/libiptc/ |
linux_list.h | 335 * @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, head) [all...] |
/external/webkit/Source/WebCore/rendering/ |
break_lines.h | 30 int nextBreakablePosition(LazyLineBreakIterator&, int pos, bool breakNBSP = false); 32 inline bool isBreakable(LazyLineBreakIterator& lazyBreakIterator, int pos, int& nextBreakable, bool breakNBSP = false) 34 if (pos > nextBreakable) 35 nextBreakable = nextBreakablePosition(lazyBreakIterator, pos, breakNBSP); 36 return pos == nextBreakable;
|
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
wpa_ie.c | 57 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 += 2 186 u8 *pos; local 260 u8 *pos; local 494 const u8 *pos, *end; local [all...] |
/bionic/libc/stdio/ |
ftell.c | 44 fpos_t pos; local 48 pos = -1; 59 pos = fp->_offset; 61 pos = (*fp->_seek)(fp->_cookie, (fpos_t)0, SEEK_CUR); 62 if (pos == -1) 71 pos -= fp->_r; 73 pos -= fp->_ur; 80 pos += fp->_p - fp->_bf._base; 83 return (pos); 95 long pos; local [all...] |
fgetpos.c | 40 fgetpos(FILE *fp, fpos_t *pos) 42 return((*pos = ftello(fp)) == (fpos_t)-1);
|
fsetpos.c | 40 fsetpos(FILE *iop, const fpos_t *pos) 42 return (fseeko(iop, (off_t)*pos, SEEK_SET));
|
/external/astl/src/ |
ios_pos_types.cpp | 49 fpos pos(*this); 50 pos += offs; 51 return pos; 55 fpos pos(*this); 56 pos -= offs; 57 return pos;
|
/external/wpa_supplicant_8/src/common/ |
ieee802_11_common.c | 16 static int ieee802_11_parse_vendor_specific(const u8 *pos, size_t elen, 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[3], (unsigned long) elen) 149 const u8 *pos = start; local 284 const u8 *pos, *end; local 307 const u8 *end, *pos, *ie; local [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_utilities_indexing.h | 97 int pos; local 99 best=s[0];pos=0; 100 if(s[1]>best){best=s[1];pos=1;} 101 if(s[2]>best){best=s[2];pos=2;} 102 return(pos); 108 int pos; local 110 best=s[0];pos=0; 111 if(s[1]>best){best=s[1];pos=1;} 112 if(s[2]>best){best=s[2];pos=2;} 113 if(s[3]>best){best=s[3];pos=3; 120 int pos; local 133 int pos; local 147 int pos; local 162 int pos; local 177 int pos; local 194 int pos; local 205 int pos; local [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_utilities_indexing.h | 97 int pos; local 99 best=s[0];pos=0; 100 if(s[1]>best){best=s[1];pos=1;} 101 if(s[2]>best){best=s[2];pos=2;} 102 return(pos); 108 int pos; local 110 best=s[0];pos=0; 111 if(s[1]>best){best=s[1];pos=1;} 112 if(s[2]>best){best=s[2];pos=2;} 113 if(s[3]>best){best=s[3];pos=3; 120 int pos; local 133 int pos; local 147 int pos; local 162 int pos; local 177 int pos; local 194 int pos; local 205 int pos; local [all...] |
/external/webkit/Source/WebCore/loader/ |
FTPDirectoryParser.cpp | 135 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 < linelen && [all...] |
/libcore/luni/src/main/java/java/io/ |
ByteArrayInputStream.java | 36 protected int pos; field in class:ByteArrayInputStream 77 pos = offset; 85 * @return {@code count - pos} 89 return count - pos; 115 mark = pos; 141 return pos < count ? buf[pos++] & 0xFF : -1; 170 if (this.pos >= this.count) { 177 int copylen = this.count - pos < length ? this.count - pos : length [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/ |
TypesReader.java | 22 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++] & 0xff) [all...] |