/ndk/sources/android/support/src/wcstox/ |
shgetc.c | 7 f->rpos = wcs; 13 if (f->rpos >= f->rend) { 17 wchar_t wc = *f->rpos++; 25 } else if (f->rpos > f->rstart) { 26 f->rpos--; 31 int off = f->rpos - f->rstart; 33 f->rpos = f->rstart + lim; 38 return (off_t)(f->rpos - f->rstart);
|
shgetc.h | 11 // |rpos| is the current reading position. 17 const wchar_t *rstart, *rpos, *rend; member in struct:fake_file_t
|
/external/qemu/android/ |
cbuffer.c | 33 if (cb->rpos < 0 || cb->rpos >= cb->size) { 34 reason = "rpos is out of bounds"; 43 file, lineno, reason, cb->rpos, cb->count, cb->size); 54 int wpos = cb->rpos + cb->count; 89 int wpos = cb->rpos + cb->count; 99 ASSERT( wpos >= 0 && wpos < cb->size, "wpos is out-of-bounds: %d (rpos=%d)", wpos, cb->rpos); 125 int rpos = cb->rpos; local 154 int rpos = cb->rpos; local 202 int rpos = cb->rpos; local [all...] |
/external/wpa_supplicant_8/hostapd/ |
hlr_auc_gw.c | 629 char *rpos, *rend; local 645 rpos = resp; 646 ret = snprintf(rpos, rend - rpos, "SIM-RESP-AUTH %s", imsi); 647 if (ret < 0 || ret >= rend - rpos) 649 rpos += ret; 658 *rpos++ = ' '; 659 rpos += wpa_snprintf_hex(rpos, rend - rpos, kc, 8) 701 char *pos, *rpos, *rend; local [all...] |
/external/qemu/include/android/ |
cbuffer.h | 22 int rpos; member in struct:__anon13369 31 cb->rpos = 0;
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_md5.c | 35 u8 *rpos, id; local 88 rpos = wpabuf_put(resp, CHAP_MD5_LEN); 90 rpos)) { 96 wpa_hexdump(MSG_MSGDUMP, "EAP-MD5: Response", rpos, CHAP_MD5_LEN);
|
eap_pax.c | 122 u8 *rpos; local 206 rpos = wpabuf_put(resp, EAP_PAX_MAC_LEN); 210 (u8 *) data->cid, data->cid_len, rpos); 212 rpos, EAP_PAX_MAC_LEN); 216 rpos = wpabuf_put(resp, EAP_PAX_ICV_LEN); 219 NULL, 0, NULL, 0, rpos); 220 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ICV", rpos, EAP_PAX_ICV_LEN); 237 u8 *rpos, mac[EAP_PAX_MAC_LEN]; local 307 rpos = wpabuf_put(resp, EAP_PAX_ICV_LEN); 310 NULL, 0, NULL, 0, rpos); [all...] |
eap_leap.c | 66 u8 challenge_len, *rpos; local 117 rpos = wpabuf_put(resp, LEAP_RESPONSE_LEN); 119 challenge_response(challenge, password, rpos); 121 nt_challenge_response(challenge, password, password_len, rpos); 122 os_memcpy(data->peer_response, rpos, LEAP_RESPONSE_LEN); 124 rpos, LEAP_RESPONSE_LEN);
|
eap_sake.c | 194 u8 *rpos; local 268 rpos = wpabuf_put(resp, EAP_SAKE_MIC_LEN); 272 wpabuf_head(resp), wpabuf_len(resp), rpos, 273 rpos)) { 295 u8 *rpos; local 341 rpos = wpabuf_put(resp, EAP_SAKE_MIC_LEN); 345 wpabuf_head(resp), wpabuf_len(resp), rpos, 346 rpos)) {
|
eap_gpsk.c | 322 u8 *rpos, *start; local 399 rpos = wpabuf_put(resp, miclen); 401 data->specifier, start, rpos - start, rpos) < 634 u8 *rpos, *start; local 652 rpos = wpabuf_put(resp, mlen); 654 data->specifier, start, rpos - start, rpos) <
|
eap_tnc.c | 203 u8 *rpos, *rpos1; local 390 rpos = tncc_copy_send_buf(data->tncc, rpos1); 391 wpabuf_put(resp, rpos - rpos1);
|
/external/llvm/utils/ |
wciia.py | 88 rpos = -1 90 rpos = path.find(fpath) 91 if rpos == 0:
|
/external/wpa_supplicant_8/src/common/ |
wpa_common.c | 1070 u8 *start, *end, *rpos, *rend; local 1090 rpos = start + 2; 1091 rend = rpos + start[1]; 1094 rpos += 2 + 4; 1096 rpos += 2 + WPA_GET_LE16(rpos) * RSN_SELECTOR_LEN; 1098 rpos += 2 + WPA_GET_LE16(rpos) * RSN_SELECTOR_LEN; 1100 if (rpos == rend) { 1102 os_memmove(rpos + 2, rpos, end - rpos) [all...] |
/external/qemu/audio/ |
wavaudio.c | 60 int rpos, decr, samples; local 78 rpos = hw->rpos; 80 int left_till_end_samples = hw->samples - rpos; 83 src = hw->mix_buf + rpos; 84 dst = advance (wav->pcm_buf, rpos << hw->info.shift); 92 rpos = (rpos + convert_samples) % hw->samples; 97 hw->rpos = rpos; [all...] |
esdaudio.c | 75 int rpos; member in struct:__anon12925 127 int decr, to_mix, rpos; local 144 rpos = hw->rpos; 152 int chunk = audio_MIN (to_mix, hw->samples - rpos); 153 struct st_sample *src = hw->mix_buf + rpos; 176 rpos = (rpos + wsamples) % hw->samples; 180 rpos = (rpos + chunk) % hw->samples [all...] |
audio.c | 971 struct st_sample *src = hw->mix_buf + hw->rpos; 972 uint8_t *dst = advance (pcm_buf, hw->rpos << hw->info.shift); 973 int samples_till_end_of_buf = hw->samples - hw->rpos; 978 hw->rpos = (hw->rpos + samples_to_clip) % hw->samples; 992 int rpos; local 999 rpos = hw->wpos - live; 1000 if (rpos >= 0) { 1001 return rpos; 1004 return hw->samples + rpos; 1011 int samples, live, ret = 0, swlim, isamp, osamp, rpos, total = 0; local 1620 int live, rpos, captured; local [all...] |
paaudio.c | 48 int rpos; member in struct:__anon12932 100 int decr, to_mix, rpos; local 117 rpos = hw->rpos; 125 int chunk = audio_MIN (to_mix, hw->samples - rpos); 126 struct st_sample *src = hw->mix_buf + rpos; 136 rpos = (rpos + chunk) % hw->samples; 144 pa->rpos = rpos; [all...] |
dsoundaudio.c | 356 int pos = hw->rpos + dst_len; 357 struct st_sample *src1 = hw->mix_buf + hw->rpos; 361 src_len1 = hw->samples - hw->rpos; 376 hw->rpos = pos % hw->samples; 766 DWORD cpos, rpos; local 786 ds->first_time ? &rpos : NULL 795 if (rpos & hw->info.align) { 797 rpos, hw->info.align); 799 hw->wpos = rpos >> hwshift;
|
noaudio.c | 57 hw->rpos = (hw->rpos + decr) % hw->samples;
|
coreaudio.c | 485 hw->rpos = core->pos; 505 int rpos, live; local 530 rpos = core->pos; 531 src = hw->mix_buf + rpos; 549 rpos = (rpos + frameCount) % hw->samples; 551 core->pos = rpos;
|
winaudio.c | 273 int hw_samples = audio_MIN(hw->samples - hw->rpos, live);
274 struct st_sample* src = hw->mix_buf + hw->rpos;
283 //D("run_out: buffer:%d pos:%d size:%d wsamples:%d wbytes:%d live:%d rpos:%d hwsamples:%d\n", s->write_index,
284 // s->write_pos, s->write_size, wav_samples, wav_bytes, live, hw->rpos, hw->samples);
286 hw->rpos += wav_samples;
287 if (hw->rpos >= hw->samples)
288 hw->rpos -= hw->samples;
|
/external/lldb/source/Target/ |
SectionLoadList.cpp | 229 addr_to_sect_collection::const_reverse_iterator rpos = m_addr_to_sect.rbegin(); local 230 if (load_addr >= rpos->first) 232 addr_t offset = load_addr - rpos->first; 233 if (offset < rpos->second->GetByteSize()) 237 return rpos->second->ResolveContainedAddress (offset, so_addr);
|
/external/wpa_supplicant_8/src/ap/ |
wpa_auth_ft.c | 608 const u8 *rpos, *start; local 613 rpos = ric; 614 while (rpos + sizeof(*rdie) < ric + ric_len) { 615 if (rpos[0] != WLAN_EID_RIC_DATA || rpos[1] < sizeof(*rdie) || 616 rpos + 2 + rpos[1] > ric + ric_len) 618 rdie = (const struct rsn_rdie *) (rpos + 2); 619 rpos += 2 + rpos[1] [all...] |
/external/freetype/src/base/ |
ftrfork.c | 161 FT_Long tag_internal, rpos; local 181 FT_READ_USHORT( rpos ) ) 190 subcnt, rpos )); 195 rpos += map_offset; 197 error = FT_Stream_Seek( stream, rpos );
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_tnc.c | 130 u8 *rpos, *rpos1; local 161 rpos = tncs_copy_send_buf(data->tncs, rpos1); 162 wpabuf_put(req, rpos - rpos1);
|