/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 | 48 u8 *pos; local 59 pos = (u8 *) (hdr + 1); 62 RSN_SELECTOR_PUT(pos, WPA_CIPHER_SUITE_CCMP); 64 RSN_SELECTOR_PUT(pos, WPA_CIPHER_SUITE_TKIP); 66 RSN_SELECTOR_PUT(pos, WPA_CIPHER_SUITE_WEP104); 68 RSN_SELECTOR_PUT(pos, WPA_CIPHER_SUITE_WEP40); 74 pos += WPA_SELECTOR_LEN; 76 *pos++ = 1; 77 *pos++ = 0; 79 RSN_SELECTOR_PUT(pos, WPA_CIPHER_SUITE_CCMP) 122 u8 *pos; local 376 const u8 *pos, *end; 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...] |
/libcore/luni/src/main/java/libcore/net/http/ |
HeaderParser.java | 29 int pos = 0; local 30 while (pos < value.length()) { 31 int tokenStart = pos; 32 pos = skipUntil(value, pos, "=,"); 33 String directive = value.substring(tokenStart, pos).trim(); 35 if (pos == value.length() || value.charAt(pos) == ',') { 36 pos++; // consume ',' (if necessary) 41 pos++; // consume '= [all...] |
/external/wpa_supplicant_8/src/utils/ |
uuid.c | 22 const char *pos; local 25 pos = str; 28 if (hexstr2bin(pos, opos, 4)) 30 pos += 8; 33 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) 35 pos += 4; 38 if (*pos++ != '-' || hexstr2bin(pos, opos, 2)) 40 pos += 4 [all...] |
/frameworks/base/core/java/com/android/internal/net/ |
DNParser.java | 50 private int pos, beg, end; field in class:DNParser 79 for (; pos < length && chars[pos] == ' '; pos++) { 81 if (pos == length) { 86 beg = pos; 89 pos++; 90 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/wpa_supplicant/ |
eap_sake_common.c | 24 const u8 *pos) 28 switch (pos[0]) { 31 if (pos[1] != 2 + EAP_SAKE_RAND_LEN) { 33 "invalid length %d", pos[1]); 36 attr->rand_s = pos + 2; 40 if (pos[1] != 2 + EAP_SAKE_RAND_LEN) { 42 "invalid length %d", pos[1]); 45 attr->rand_p = pos + 2; 49 if (pos[1] != 2 + EAP_SAKE_MIC_LEN) { 51 "invalid length %d", pos[1]) 168 const u8 *pos = buf, *end = buf + len; local 219 size_t pos, plen; local 329 u8 *tmp, *pos; local [all...] |
ctrl_iface.c | 126 char *pos, *id_pos; local 130 pos = os_strchr(rsp, '-'); 131 if (pos == NULL) 133 *pos++ = '\0'; 134 id_pos = pos; 135 pos = os_strchr(pos, ':'); 136 if (pos == NULL) 138 *pos++ = '\0'; 142 (u8 *) pos, os_strlen(pos)) 208 char *pos, *end, tmp[30]; local 285 char *pos; local 324 char *pos, *end; local 376 char *pos, *end; local 534 char *pos, *end, *retpos; local 891 char *pos, *end, *strict; local 1337 char *pos; local 1428 char *pos, *end; local [all...] |
eap_tlv.c | 35 u8 *pos; local 38 10, EAP_CODE_RESPONSE, id, &pos); 42 *pos++ = 0x80; /* Mandatory */ 43 *pos++ = EAP_TLV_NAK_TLV; 45 *pos++ = 0; 46 *pos++ = 6; 48 *pos++ = 0; 49 *pos++ = 0; 50 *pos++ = 0; 51 *pos++ = 0 72 u8 *pos; local 110 const u8 *pos; local [all...] |
/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;
|
/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...] |
/external/wpa_supplicant_8/src/common/ |
ieee802_11_common.c | 22 static int ieee802_11_parse_vendor_specific(const u8 *pos, size_t elen, 40 oui = WPA_GET_BE24(pos); 45 switch (pos[3]) { 49 elems->wpa_ie = pos; 61 switch (pos[4]) { 70 elems->wmm = pos; 74 elems->wmm_tspec = pos; 81 pos[4], (unsigned long) elen); 87 elems->wps_ie = pos; 94 pos[3], (unsigned long) elen) 155 const u8 *pos = start; local 286 const u8 *pos, *end; local 309 const u8 *end, *pos, *ie; 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...] |
/external/icu4c/common/ |
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...] |
/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/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps_attr_parse.c | 22 const u8 *pos, u16 len) 31 attr->version = pos; 39 attr->msg_type = pos; 47 attr->enrollee_nonce = pos; 55 attr->registrar_nonce = pos; 63 attr->uuid_e = pos; 71 attr->uuid_r = pos; 79 attr->auth_type_flags = pos; 87 attr->encr_type_flags = pos; 95 attr->conn_type_flags = pos; 404 const u8 *pos, *end; local [all...] |