/external/blktrace/btt/ |
list.h | 119 * @pos: the &struct list_head to use as a loop counter. 127 #define __list_for_each(pos, head) \ 128 for (pos = (head)->next; pos != (head); pos = pos->next) 132 * @pos: the &struct list_head to use as a loop counter. 136 #define list_for_each_safe(pos, n, head) \ 137 for (pos = (head)->next, n = pos->next; pos != (head); [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
optionsfile.cc | 121 for (size_t pos = 0; pos < name.length(); ++pos) { 122 if (name[pos] == '\n' || name[pos] == '\\' || name[pos] == '=') { 132 for (size_t pos = 0; pos < value.length(); ++pos) { 133 if (value[pos] == '\n' || value[pos] == '\\') [all...] |
pathutils.cc | 134 std::string::size_type pos = pathname.find_last_of(FOLDER_DELIMS); local 135 if (pos != std::string::npos) { 136 SetFolder(pathname.substr(0, pos + 1)); 137 SetFilename(pathname.substr(pos + 1)); 161 std::string::size_type pos = std::string::npos; local 163 pos = folder_.find_last_of(FOLDER_DELIMS, folder_.length() - 2); 165 if (pos != std::string::npos) { 166 return folder_.substr(pos + 1); 173 std::string::size_type pos = std::string::npos; local 175 pos = folder_.find_last_of(FOLDER_DELIMS, folder_.length() - 2) 236 std::string::size_type pos = filename.rfind(EXT_DELIM); local [all...] |
/external/linux-tools-perf/util/ |
map.c | 238 struct map *pos = rb_entry(next, struct map, rb_node); local 240 next = rb_next(&pos->rb_node); 241 rb_erase(&pos->rb_node, self); 242 map__delete(pos); 248 struct map *pos, *n; local 250 list_for_each_entry_safe(pos, n, self, node) { 251 list_del(&pos->node); 252 map__delete(pos); 275 struct map *pos = rb_entry(next, struct map, rb_node); local 276 next = rb_next(&pos->rb_node) 313 struct map *pos = rb_entry(nd, struct map, rb_node); local 333 struct map *pos = rb_entry(nd, struct map, rb_node); local 357 struct map *pos; local 395 struct map *pos = rb_entry(next, struct map, rb_node); local 561 struct dso *pos, *n; local 589 struct machine *pos, *machine = malloc(sizeof(*machine)); local 668 struct machine *pos = rb_entry(nd, struct machine, rb_node); local [all...] |
strbuf.c | 53 static void strbuf_splice(struct strbuf *sb, size_t pos, size_t len, 56 if (pos + len < pos) 58 if (pos > sb->len) 59 die("`pos' is too far after the end of the buffer"); 60 if (pos + len > sb->len) 61 die("`pos + len' is too far after the end of the buffer"); 65 memmove(sb->buf + pos + dlen, 66 sb->buf + pos + len, 67 sb->len - pos - len) [all...] |
/external/oprofile/libregex/ |
demangle_java_symbol.cpp | 147 string::const_iterator pos = find(begin, end, ')'); local 148 if (pos == end) 153 if (!list_of_field_type(result, begin, pos)) 176 string::const_iterator pos = find(begin, end, '('); 177 if (pos == end) 180 result += '.' + string(begin, pos); 181 begin = pos; 192 string::const_iterator pos = find(begin, end, ';'); 193 if (pos == end) 196 string temp = string(begin + 1, pos); [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_sim_db.c | 166 const char *pos = str; local 167 while (*pos) { 168 if ((*pos < '0' || *pos > '9') && 169 (*pos < 'a' || *pos > 'f')) 171 pos++; 243 char cmd[2000], *pos, *end; local 251 pos = cmd; 252 end = pos + sizeof(cmd) 404 char *start, *end, *pos; local 574 char buf[1000], *pos, *cmd, *imsi; local 697 char *pos; local 948 char *id, *pos, *end; local 1483 size_t pos; local [all...] |
eap_server_pax.c | 76 u8 *pos; local 108 pos = wpabuf_put(req, EAP_PAX_MAC_LEN); 111 NULL, 0, NULL, 0, pos); 112 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ICV", pos, EAP_PAX_ICV_LEN); 123 u8 *pos; local 145 pos = wpabuf_put(req, EAP_PAX_MAC_LEN); 148 (u8 *) data->cid, data->cid_len, NULL, 0, pos); 150 pos, EAP_PAX_MAC_LEN); 151 pos += EAP_PAX_MAC_LEN; 155 pos = wpabuf_put(req, EAP_PAX_MAC_LEN) 188 const u8 *pos; local 289 const u8 *pos; local 456 const u8 *pos; local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
pathutils.cc | 134 std::string::size_type pos = pathname.find_last_of(FOLDER_DELIMS); local 135 if (pos != std::string::npos) { 136 SetFolder(pathname.substr(0, pos + 1)); 137 SetFilename(pathname.substr(pos + 1)); 161 std::string::size_type pos = std::string::npos; local 163 pos = folder_.find_last_of(FOLDER_DELIMS, folder_.length() - 2); 165 if (pos != std::string::npos) { 166 return folder_.substr(pos + 1); 173 std::string::size_type pos = std::string::npos; local 175 pos = folder_.find_last_of(FOLDER_DELIMS, folder_.length() - 2) 236 std::string::size_type pos = filename.rfind(EXT_DELIM); local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/bn/asm/ |
co-586.pl | 18 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 20 # pos == -1 if eax and edx are pre-loaded, 0 to load from next 31 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 0; # laod next a 32 &mov("eax",&wparam(0)) if $pos > 0; # load r[] 35 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # laod next b 36 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # laod next b 39 # is pos > 1, it means it is the last loop 40 &mov(&DWP($i*4,"eax","",0),$c0) if $pos > 0; # save r[]; 41 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 1; # laod next a 46 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_ [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/bn/asm/x86/ |
comba.pl | 6 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 8 # pos == -1 if eax and edx are pre-loaded, 0 to load from next 19 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 0; # laod next a 20 &mov("eax",&wparam(0)) if $pos > 0; # load r[] 23 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # laod next b 24 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # laod next b 27 # is pos > 1, it means it is the last loop 28 &mov(&DWP($i*4,"eax","",0),$c0) if $pos > 0; # save r[]; 29 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 1; # laod next a 34 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_ [all...] |
/external/openssl/crypto/bn/asm/ |
co-586.pl | 18 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 20 # pos == -1 if eax and edx are pre-loaded, 0 to load from next 31 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 0; # laod next a 32 &mov("eax",&wparam(0)) if $pos > 0; # load r[] 35 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # laod next b 36 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # laod next b 39 # is pos > 1, it means it is the last loop 40 &mov(&DWP($i*4,"eax","",0),$c0) if $pos > 0; # save r[]; 41 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 1; # laod next a 46 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_ [all...] |
/external/openssl/crypto/bn/asm/x86/ |
comba.pl | 6 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 8 # pos == -1 if eax and edx are pre-loaded, 0 to load from next 19 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 0; # laod next a 20 &mov("eax",&wparam(0)) if $pos > 0; # load r[] 23 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # laod next b 24 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # laod next b 27 # is pos > 1, it means it is the last loop 28 &mov(&DWP($i*4,"eax","",0),$c0) if $pos > 0; # save r[]; 29 &mov("eax",&DWP(($na)*4,$a,"",0)) if $pos == 1; # laod next a 34 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_ [all...] |
/external/ppp/pppd/plugins/pppoatm/ |
text2atm.c | 78 int count,pos,dot; local 92 pos = 0; 100 for (pos = 18-count-1; *text; text++) { 104 if (pos & 1) addr->sas_addr.prv[pos >> 1] |= *text-'0'; 105 else addr->sas_addr.prv[pos >> 1] = (*text-'0') << 4; 106 pos++; 111 pos++; 116 if (pos == ATM_ESA_LEN*2) return TRY_OTHER; /* too long */ 119 if (pos & 1) addr->sas_addr.prv[pos >> 1] |= value [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
rfc822.py | 515 self.pos = 0 528 while self.pos < len(self.field): 529 if self.field[self.pos] in self.LWS + '\n\r': 530 self.pos = self.pos + 1 531 elif self.field[self.pos] == '(': 552 oldpos = self.pos 559 if self.pos >= len(self.field): 564 elif self.field[self.pos] in '.@': 567 self.pos = oldpo [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
rfc822.py | 515 self.pos = 0 528 while self.pos < len(self.field): 529 if self.field[self.pos] in self.LWS + '\n\r': 530 self.pos = self.pos + 1 531 elif self.field[self.pos] == '(': 552 oldpos = self.pos 559 if self.pos >= len(self.field): 564 elif self.field[self.pos] in '.@': 567 self.pos = oldpo [all...] |
/external/javassist/src/main/javassist/bytecode/stackmap/ |
BasicBlock.java | 35 protected BasicBlock(int pos) { 36 position = pos; 41 public static BasicBlock find(BasicBlock[] blocks, int pos) 46 if (iPos <= pos && pos < iPos + blocks[i].length) 50 throw new BadBytecode("no basic block at " + pos); 76 sbuf.append("pos=").append(position).append(", len=") 114 int pos = ((Mark)obj).position; 115 return position - pos; 132 protected BasicBlock makeBlock(int pos) { [all...] |
/external/lzma/C/ |
XzEnc.c | 57 unsigned pos = 1;
local 59 header[pos++] = p->flags;
61 if (XzBlock_HasPackSize(p)) pos += Xz_WriteVarInt(header + pos, p->packSize);
62 if (XzBlock_HasUnpackSize(p)) pos += Xz_WriteVarInt(header + pos, p->unpackSize);
67 pos += Xz_WriteVarInt(header + pos, f->id);
68 pos += Xz_WriteVarInt(header + pos, f->propsSize); 85 unsigned pos = 1 + Xz_WriteVarInt(buf + 1, p->numBlocks); local [all...] |
/external/wpa_supplicant_8/src/tls/ |
tlsv1_server.c | 37 u8 *pos; local 72 pos = key_block; 75 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); 76 pos += conn->rl.hash_size; 78 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); 79 pos += conn->rl.hash_size; 82 os_memcpy(conn->rl.read_key, pos, conn->rl.key_material_len); 83 pos += conn->rl.key_material_len; 85 os_memcpy(conn->rl.write_key, pos, conn->rl.key_material_len); 86 pos += conn->rl.key_material_len 111 const u8 *pos, *end; local 237 const u8 *in_end, *pos; local [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
dictbuilder.cpp | 282 for (size_t pos = 0; pos < str_len; pos++) { 283 if (!hz_in_hanzis_list(hzs, hzs_len, str[pos])) 294 for (size_t pos = 0; pos < lemma_num_; pos++) { 296 top_lmas_[0] = lemma_arr_[pos]; 301 if (lemma_arr_[pos].freq > top_lmas_[top_lmas_num_ - 1].freq) { 310 top_lmas_[move_pos - 2].freq > lemma_arr_[pos].freq)) [all...] |
/external/android-clat/ |
translate.c | 30 * calculates the checksum over all the packet components starting from pos 31 * checksum - checksum of packet components before pos 33 * pos - position to start counting from 36 uint16_t packet_checksum(uint32_t checksum, clat_packet packet, int pos) { 38 for (i = pos; i < CLAT_POS_MAX; i++) { 47 * returns the total length of all the packet components after pos 49 * pos - position to start counting after 50 * returns: the total length of the packet components after pos 52 uint16_t packet_length(clat_packet packet, int pos) { 55 for (i = pos + 1; i < CLAT_POS_MAX; i++) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
gas_query.c | 315 const u8 *pos, *adv_proto; local 320 pos = data; 321 action = *pos++; 322 dialog_token = *pos++; 349 query->status_code = WPA_GET_LE16(pos); 350 pos += 2; 361 if (pos + 1 > data + len) 363 frag_id = *pos & 0x7f; 364 more_frags = (*pos & 0x80) >> 7; 365 pos++ [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_sim_common.c | 80 EAP_SIM_KEYING_DATA_LEN + EAP_EMSK_LEN], *pos; local 85 pos = buf; 86 os_memcpy(k_encr, pos, EAP_SIM_K_ENCR_LEN); 87 pos += EAP_SIM_K_ENCR_LEN; 88 os_memcpy(k_aut, pos, EAP_SIM_K_AUT_LEN); 89 pos += EAP_SIM_K_AUT_LEN; 90 os_memcpy(msk, pos, EAP_SIM_KEYING_DATA_LEN); 91 pos += EAP_SIM_KEYING_DATA_LEN; 92 os_memcpy(emsk, pos, EAP_EMSK_LEN); 283 u8 *pos; local 331 u8 *pos; local 500 const u8 *pos = start, *apos; local 983 u8 *pos; local 1105 u8 *pos = eap_sim_msg_add(msg, attr, 0, NULL, EAP_SIM_MAC_LEN); local 1115 u8 *pos = eap_sim_msg_add(msg, attr_iv, 0, NULL, EAP_SIM_IV_LEN); local 1145 u8 *pos; local [all...] |
/external/chromium_org/base/strings/ |
string_piece.h | 166 StringPieceDetail<std::string>::size_type pos); 170 StringPieceDetail<std::string>::size_type pos); 174 StringPieceDetail<std::string>::size_type pos); 178 StringPieceDetail<std::string>::size_type pos); 182 StringPieceDetail<std::string>::size_type pos); 186 StringPieceDetail<std::string>::size_type pos); 190 StringPieceDetail<std::string>::size_type pos); 194 StringPieceDetail<std::string>::size_type pos); 198 StringPieceDetail<std::string>::size_type pos); 202 StringPieceDetail<std::string>::size_type pos); [all...] |
/external/chromium_org/sync/internal_api/public/base/ |
unique_position_unittest.cc | 32 size_t GetLength(const UniquePosition& pos) { 34 pos.ToProto(&proto); 123 UniquePosition pos = UniquePosition::FromProto(proto); local 124 EXPECT_PRED_FORMAT2(Equals, kGenericPredecessor, pos); 145 UniquePosition pos = UniquePosition::FromProto(proto); local 146 EXPECT_PRED_FORMAT2(Equals, kHugePosition, pos); 182 const UniquePosition& pos, const std::string& suffix) { 183 return pos.GetSuffixForTest() == suffix; 308 UniquePosition pos = UniquePosition::InitialPosition(suffix_a); local 311 UniquePosition next_pos = UniquePosition::After(pos, suffix) 325 UniquePosition pos = UniquePosition::InitialPosition(suffix_a); local 430 UniquePosition pos = local 450 UniquePosition pos = local 471 UniquePosition pos = local 546 const UniquePosition pos = local 555 const UniquePosition pos = local [all...] |