/external/wpa_supplicant_8/src/eap_common/ |
eap_eke_common.c | 511 u8 *data, *pos; local 528 pos = data; 529 os_memcpy(pos, label, label_len); 530 pos += label_len; 531 os_memcpy(pos, id_s, id_s_len); 532 pos += id_s_len; 533 os_memcpy(pos, id_p, id_p_len); 534 pos += id_p_len; 535 os_memcpy(pos, nonce_p, sess->nonce_len); 536 pos += sess->nonce_len 557 u8 *data, *pos; local 618 u8 *pos, *iv, *e; local [all...] |
eap_fast_common.c | 177 int tlv_type, u8 *pos, int len) 182 pos, len); 189 tlv->eap_payload_tlv = pos; 193 wpa_hexdump(MSG_MSGDUMP, "EAP-FAST: Result TLV", pos, len); 206 tlv->result = WPA_GET_BE16(pos); 219 pos, len); 232 tlv->iresult = WPA_GET_BE16(pos); 245 pos, len); 260 (pos - sizeof(struct eap_tlv_hdr)); 264 pos, len) [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t025lexerRulePropertyRef.py | 22 text, type, line, pos, index, channel, start, stop = lexer.properties[0] 26 assert pos == 0, lexer.properties[0] 32 text, type, line, pos, index, channel, start, stop = lexer.properties[1] 36 assert pos == 7, lexer.properties[1] 42 text, type, line, pos, index, channel, start, stop = lexer.properties[2] 46 assert pos == 1, lexer.properties[2]
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncId.java | 125 int pos = ni.nextNode(); local 127 while (DTM.NULL != pos) 129 DTM ndtm = ni.getDTM(pos); 130 String refval = ndtm.getStringValue(pos).toString(); 132 pos = ni.nextNode(); 134 DTM.NULL != pos);
|
/external/chromium_org/third_party/WebKit/Source/platform/mediastream/ |
MediaStreamSource.cpp | 67 size_t pos = m_observers.find(observer); local 68 if (pos != kNotFound) 69 m_observers.remove(pos); 83 size_t pos = m_audioConsumers.find(consumer); local 84 if (pos != kNotFound) { 85 m_audioConsumers.remove(pos);
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/ |
unicodestring.cc | 50 int pos = 0; local 52 ++it, ++pos) { 54 return pos; 73 void UnicodeString::setCharAt(int pos, char32 c) { 74 assert(pos < length()); 77 advance(pos_it, pos);
|
/external/chromium_org/tools/site_compare/drivers/win32/ |
mouse.py | 100 def MoveToLocation(pos, duration=0, tick=0.01): 104 pos: position (in screen coordinates) to move to 116 end_location = ScreenToMouse(pos) 137 def ClickAtLocation(pos, button='left', click_time=0): 141 pos: position in screen coordinates (x,y) 148 MoveToLocation(pos) 169 pos = win32gui.ClientToScreen(hwnd, offset) 171 ClickAtLocation(pos, button, click_time)
|
/external/icu4c/samples/uciter8/ |
uit_len8.c | 205 int32_t pos; /* requested UTF-16 index */ local 213 pos=delta; 219 pos=iter->index+delta; 223 pos=0; 230 pos=iter->length+delta; 241 pos=0; 252 if(pos<=0) { 255 } else if(iter->length>=0 && pos>=iter->length) { 263 if(iter->index<0 || pos<iter->index/2) { 266 } else if(iter->length>=0 && (iter->length-pos)<(pos-iter->index)) [all...] |
/external/marisa-trie/lib/marisa/ |
intvector.h | 36 std::size_t pos = i * num_bits_per_int_; local 37 std::size_t unit_id = pos / 32; 38 std::size_t unit_offset = pos % 32; 49 std::size_t pos = i * num_bits_per_int_; local 50 std::size_t unit_id = pos / 32; 51 std::size_t unit_offset = pos % 32;
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
intvector.h | 36 std::size_t pos = i * num_bits_per_int_; local 37 std::size_t unit_id = pos / 32; 38 std::size_t unit_offset = pos % 32; 49 std::size_t pos = i * num_bits_per_int_; local 50 std::size_t unit_id = pos / 32; 51 std::size_t unit_offset = pos % 32;
|
/external/oprofile/libutil/ |
op_file.c | 63 char * pos = str[0] == '/' ? str + 1 : str; local 65 for ( ; (pos = strchr(pos, '/')) != NULL; ++pos) { 66 *pos = '\0'; 68 *pos = '/';
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_gtc.c | 50 const u8 *pos, *password, *identity; local 55 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GTC, reqData, &len); 56 if (pos == NULL) { 62 wpa_hexdump_ascii(MSG_MSGDUMP, "EAP-GTC: Request message", pos, len); 64 (len < 10 || os_memcmp(pos, "CHALLENGE=", 10) != 0)) { 87 eap_sm_request_otp(sm, (const char *) pos, len);
|
/frameworks/compile/slang/ |
slang_rs_reflection_base.cpp | 113 size_t pos = tmp.rfind(".rs"); local 114 if(pos != string::npos) { 115 tmp.erase(pos); 117 pos = tmp.rfind("/"); 118 if (pos != string::npos) { 119 tmp.erase(0, pos+1);
|
/packages/apps/Camera2/src/com/android/camera/data/ |
FixedFirstDataAdapter.java | 75 int pos = mAdapter.findDataByContentUri(uri); local 76 if (pos != -1) { 77 return pos + 1; 83 public void updateData(int pos, LocalData data) { 84 if (pos == 0) { 100 mAdapter.updateData(pos - 1, data);
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactDetailPhotoSetter.java | 71 final int[] pos = new int[2]; local 72 v.getLocationOnScreen(pos); 76 rect.left = (int) (pos[0] * appScale + 0.5f); 77 rect.top = (int) (pos[1] * appScale + 0.5f); 78 rect.right = (int) ((pos[0] + v.getWidth()) * appScale + 0.5f); 79 rect.bottom = (int) ((pos[1] + v.getHeight()) * appScale + 0.5f);
|
/external/icu4c/common/ |
uniset_props.cpp | 290 isPerlOpen(const UnicodeString &pattern, int32_t pos) { 292 return pattern.charAt(pos)==BACKSLASH && ((c=pattern.charAt(pos+1))==LOWER_P || c==UPPER_P); 296 isPerlClose(const UnicodeString &pattern, int32_t pos) { 297 return pattern.charAt(pos)==CLOSE_BRACE; 301 isNameOpen(const UnicodeString &pattern, int32_t pos) { 302 return pattern.charAt(pos)==BACKSLASH && pattern.charAt(pos+1)==UPPER_N; 306 isPOSIXOpen(const UnicodeString &pattern, int32_t pos) { 307 return pattern.charAt(pos)==SET_OPEN && pattern.charAt(pos+1)==COLON 1166 RuleCharacterIterator::Pos pos; local 1185 int32_t pos = ppos.getIndex(); local [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
smpdtfmt.cpp | 745 SimpleDateFormat::format(Calendar& cal, UnicodeString& appendTo, FieldPosition& pos) const 748 FieldPositionOnlyHandler handler(pos); 953 SimpleDateFormat::parseGMT(const UnicodeString &text, ParsePosition &pos) const { 955 int32_t start = pos.getIndex(); 1781 int32_t pos = parsePos.getIndex(); local [all...] |
/libcore/luni/src/main/java/java/net/ |
HttpCookie.java | 214 private int pos = 0; field in class:HttpCookie.CookieParser 239 pos += "set-cookie2:".length(); 243 pos += "set-cookie:".length(); 276 if (pos == input.length()) { 280 if (input.charAt(pos) == ',') { 281 pos++; 283 } else if (input.charAt(pos) == ';') { 284 pos++; 356 String result = pos < c ? forSubstring.substring(pos, c) : null [all...] |
/external/chromium_org/chrome/utility/cloud_print/ |
pwg_encoder.cc | 105 const uint32* pos = reinterpret_cast<const uint32*>(row); local 106 const uint32* row_end = pos + width; 117 while (pos != row_end) { 118 const uint32* it = pos + 1; 119 const uint32* end = std::min(pos + kPwgMaxPackedPixels, row_end); 122 while (it != end && *pos == *it) { 125 if (it != pos + 1) { // More than one pixel 126 output->push_back(static_cast<char>((it - pos) - 1)); 127 pixel_encoder(reinterpret_cast<const uint8*>(pos), output); 128 pos = it [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-buffer-serialize.cc | 102 hb_glyph_position_t *pos = hb_buffer_get_glyph_positions (buffer, NULL); local 142 pos[i].x_offset, pos[i].y_offset); 144 pos[i].x_advance, pos[i].y_advance); 175 hb_glyph_position_t *pos = hb_buffer_get_glyph_positions (buffer, NULL); local 202 if (pos[i].x_offset || pos[i].y_offset) 203 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "@%d,%d", pos[i].x_offset, pos[i].y_offset)) [all...] |
/external/harfbuzz_ng/src/ |
hb-buffer-serialize.cc | 72 hb_glyph_position_t *pos = hb_buffer_get_glyph_positions (buffer, NULL); local 112 pos[i].x_offset, pos[i].y_offset); 114 pos[i].x_advance, pos[i].y_advance); 145 hb_glyph_position_t *pos = hb_buffer_get_glyph_positions (buffer, NULL); local 172 if (pos[i].x_offset || pos[i].y_offset) 173 p += snprintf (p, ARRAY_LENGTH (b) - (p - b), "@%d,%d", pos[i].x_offset, pos[i].y_offset) [all...] |
/external/oprofile/libdb/ |
db_manage.c | 71 unsigned int pos; local 118 for (pos = 0 ; pos < data->descr->size*BUCKET_FACTOR ; ++pos) 119 data->hash_base[pos] = 0; 122 for (pos = 1; pos < data->descr->current_size; ++pos) { 123 odb_node_t * node = &data->node_base[pos]; 126 data->hash_base[index] = pos; 157 struct list_head * pos; local [all...] |
/frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/ |
ClearActivity.java | 102 final float pos[] = { local 134 v[j*3+0] -= pos[i*3+0]; 135 v[j*3+1] -= pos[i*3+1]; 136 v[j*3+2] -= pos[i*3+2]; 152 gl.glTranslatef(pos[0], pos[1], pos[2]); 158 gl.glTranslatef(pos[3], pos[4], pos[5]) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
MimeStreamParser.java | 256 int pos = 0;
local 258 while (pos < sb.length()) {
259 while (pos < sb.length() && sb.charAt(pos) != '\r') {
260 pos++;
262 if (pos < sb.length() - 1 && sb.charAt(pos + 1) != '\n') {
263 pos++;
267 if (pos >= sb.length() - 2 || fieldChars.get(sb.charAt(pos + 2))) { [all...] |
/external/svox/pico/lib/ |
picobase.c | [all...] |