/aosp_15_r20/frameworks/base/cmds/incidentd/src/ |
H A D | FdBuffer.cpp | 163 int rpos = 0, wpos = 0; in readProcessedDataInStream() local 210 if (rpos >= wpos) { in readProcessedDataInStream() 213 amt = TEMP_FAILURE_RETRY(::read(fd, cirBuf + rpos, wpos - rpos)); in readProcessedDataInStream() 232 if (rpos > wpos) { in readProcessedDataInStream() 233 amt = TEMP_FAILURE_RETRY(::write(toFd.get(), cirBuf + wpos, rpos - wpos)); in readProcessedDataInStream() 235 amt = TEMP_FAILURE_RETRY(::write(toFd.get(), cirBuf + wpos, BUFFER_SIZE - wpos)); in readProcessedDataInStream() 243 wpos += amt; in readProcessedDataInStream() 259 if (wpos >= BUFFER_SIZE) { in readProcessedDataInStream() 260 wpos = 0; in readProcessedDataInStream()
|
/aosp_15_r20/external/mesa3d/src/compiler/nir/ |
H A D | nir_lower_wpos_center.c | 49 nir_def *wpos = &intr->def; in lower_wpos_center_instr() local 53 wpos = nir_fadd(b, wpos, nir_pad_vector_imm_int(b, spos, 0, 4)); in lower_wpos_center_instr() 55 nir_def_rewrite_uses_after(&intr->def, wpos, wpos->parent_instr); in lower_wpos_center_instr()
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_state_derived.c | 110 if (r300_fs(r300)->shader->inputs.wpos != ATTR_UNUSED && gen_count < 8) { in r300_draw_emit_all_attribs() 112 vs_outputs->wpos); in r300_draw_emit_all_attribs() 113 r300_draw_emit_attrib(r300, EMIT_4F, vs_outputs->wpos); in r300_draw_emit_all_attribs() 432 (vs_outputs->fog != ATTR_UNUSED) + (fs_inputs->wpos != ATTR_UNUSED) + in r300_update_rs_block() 544 (vs_outputs->fog != ATTR_UNUSED) + (fs_inputs->wpos != ATTR_UNUSED) + in r300_update_rs_block() 707 if (fs_inputs->wpos != ATTR_UNUSED && tex_count < 8) { in r300_update_rs_block() 725 if (fs_inputs->wpos != ATTR_UNUSED && tex_count >= 8) { in r300_update_rs_block() 1199 bool wpos = r300_fs(r300)->shader->inputs.wpos != ATTR_UNUSED; in r300_pick_vertex_shader() local 1204 vs->first->wpos = wpos; in r300_pick_vertex_shader() 1211 if (vs->first->wpos != wpos) { in r300_pick_vertex_shader() [all …]
|
H A D | r300_vs.c | 90 vs_outputs->wpos = i; in r300_shader_read_vs_outputs() 164 if (vs->wpos) in set_vertex_inputs_outputs() 165 c->code->outputs[outputs->wpos] = reg++; in set_vertex_inputs_outputs() 230 compiler.RequiredOutputs = ~(~0U << (vs->info.num_outputs + (vs->wpos ? 1 : 0))); in r300_translate_vertex_shader() 234 if (vs->wpos) in r300_translate_vertex_shader() 235 rc_copy_output(&compiler.Base, vs->outputs.pos, vs->outputs.wpos); in r300_translate_vertex_shader()
|
H A D | r300_fs.c | 67 fs_inputs->wpos = i; in r300_shader_read_fs_inputs() 141 if (inputs->wpos != ATTR_UNUSED) { in allocate_hardware_inputs() 142 allocate(mydata, inputs->wpos, reg++); in allocate_hardware_inputs() 420 int wpos, face; in r300_translate_fragment_shader() local 426 wpos = shader->inputs.wpos; in r300_translate_fragment_shader() 489 if (wpos != ATTR_UNUSED) { in r300_translate_fragment_shader() 491 rc_transform_fragment_wpos(&compiler.Base, wpos, wpos, true); in r300_translate_fragment_shader()
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/18/libcore/ojluni/src/main/java/java/util/ |
D | Base64.java | 1026 private int wpos = 0; field in Base64.DecInputStream 1054 while (rpos - 8 >= wpos && pos != limit) { in leftovers() 1058 return pos - off != 0 || rpos - 8 >= wpos ? pos - off : -1; in leftovers() 1068 if (wpos == 18) { in eof() 1084 if (wpos >= 18 || wpos == 12 && is.read() != '=') { in padding() 1085 throw new IOException("Illegal base64 ending sequence:" + wpos); in padding() 1142 wpos = 24; in read() 1165 wpos -= 6; in read() 1166 bits |= v << wpos; in read() 1167 if (wpos != 0) { in read() [all …]
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/util/ |
D | Base64.java | 1026 private int wpos = 0; field in Base64.DecInputStream 1054 while (rpos - 8 >= wpos && pos != limit) { in leftovers() 1058 return pos - off != 0 || rpos - 8 >= wpos ? pos - off : -1; in leftovers() 1068 if (wpos == 18) { in eof() 1084 if (wpos >= 18 || wpos == 12 && is.read() != '=') { in padding() 1085 throw new IOException("Illegal base64 ending sequence:" + wpos); in padding() 1142 wpos = 24; in read() 1165 wpos -= 6; in read() 1166 bits |= v << wpos; in read() 1167 if (wpos != 0) { in read() [all …]
|
/aosp_15_r20/libcore/ojluni/src/main/java/java/util/ |
H A D | Base64.java | 1026 private int wpos = 0; field in Base64.DecInputStream 1054 while (rpos - 8 >= wpos && pos != limit) { in leftovers() 1058 return pos - off != 0 || rpos - 8 >= wpos ? pos - off : -1; in leftovers() 1068 if (wpos == 18) { in eof() 1084 if (wpos >= 18 || wpos == 12 && is.read() != '=') { in padding() 1085 throw new IOException("Illegal base64 ending sequence:" + wpos); in padding() 1142 wpos = 24; in read() 1165 wpos -= 6; in read() 1166 bits |= v << wpos; in read() 1167 if (wpos != 0) { in read() [all …]
|
/aosp_15_r20/external/libwebsockets/minimal-examples/raw/minimal-raw-audio/ |
H A D | audio.c | 32 int wpos; member 151 ((vhd->wpos - vhd->rpos) & in callback_raw_test() 157 n = snd_pcm_readi(vhd->pcm_capture, &vhd->simplebuf[vhd->wpos], in callback_raw_test() 158 (sizeof(vhd->simplebuf) - vhd->wpos) / 2); in callback_raw_test() 162 vhd->wpos = (vhd->wpos + (n * 2)) & (sizeof(vhd->simplebuf) - 1); in callback_raw_test()
|
/aosp_15_r20/external/llvm/utils/TableGen/ |
H A D | CodeGenInstruction.cpp | 206 std::string::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint() local 208 std::string Tok = CStr.substr(start, wpos - start); in ParseConstraint() 210 std::string Name = CStr.substr(wpos+1); in ParseConstraint() 211 wpos = Name.find_first_not_of(" \t"); in ParseConstraint() 212 if (wpos == std::string::npos) in ParseConstraint() 214 Name = Name.substr(wpos); in ParseConstraint() 232 wpos = Name.find_first_of(" \t"); in ParseConstraint() 233 if (wpos == std::string::npos) in ParseConstraint() 235 std::string DestOpName = Name.substr(0, wpos); in ParseConstraint() 239 wpos = Name.find_first_not_of(" \t"); in ParseConstraint() [all …]
|
/aosp_15_r20/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/ |
H A D | audio.c | 55 int wpos; member 87 while (s && avhd->wpos != avhd->npos) { in spool_capture() 94 avhd->wpos, avhd->npos); in spool_capture() 359 vhd->p[(vhd->wpos + s) % LWS_ARRAY_SIZE(vhd->p)] = temp[s]; in callback_audio() 430 s = (vhd->wpos - vhd->porcpos) % LWS_ARRAY_SIZE(vhd->p); in callback_audio() 458 vhd->wpos = (vhd->wpos + n) % LWS_ARRAY_SIZE(vhd->p); in callback_audio()
|
/aosp_15_r20/external/musl/src/stdio/ |
H A D | fflush.c | 17 if (f->wpos != f->wbase) r |= fflush(f); in fflush() 28 if (f->wpos != f->wbase) { in fflush() 30 if (!f->wpos) { in fflush() 40 f->wpos = f->wbase = f->wend = 0; in fflush()
|
H A D | fopencookie.c | 58 size_t len2 = f->wpos - f->wbase; in cookiewrite() 61 f->wpos = f->wbase; in cookiewrite() 62 if (cookiewrite(f, f->wpos, len2) < len2) return 0; in cookiewrite() 66 f->wpos = f->wbase = f->wend = 0; in cookiewrite()
|
H A D | fseek.c | 16 if (f->wpos != f->wbase) { in __fseeko_unlocked() 18 if (!f->wpos) return -1; in __fseeko_unlocked() 22 f->wpos = f->wbase = f->wend = 0; in __fseeko_unlocked()
|
H A D | __stdio_write.c | 7 { .iov_base = f->wbase, .iov_len = f->wpos-f->wbase }, in __stdio_write() 18 f->wpos = f->wbase = f->buf; in __stdio_write() 22 f->wpos = f->wbase = f->wend = 0; in __stdio_write()
|
H A D | fputwc.c | 18 } else if (f->wpos + MB_LEN_MAX < f->wend) { in __fputwc_unlocked() 19 l = wctomb((void *)f->wpos, c); in __fputwc_unlocked() 21 else f->wpos += l; in __fputwc_unlocked()
|
H A D | fwrite.c | 10 if (l > f->wend - f->wpos) return f->write(f, s, l); in __fwritex() 23 memcpy(f->wpos, s, l); in __fwritex() 24 f->wpos += l; in __fwritex()
|
H A D | vswprintf.c | 18 if (s!=f->wbase && sw_write(f, f->wbase, f->wpos-f->wbase)==-1) in sw_write() 29 f->wpos = f->wbase = f->wend = 0; in sw_write() 34 f->wpos = f->wbase = f->buf; in sw_write()
|
/aosp_15_r20/external/trusty/musl/src/stdio/ |
D | fflush.c | 17 if (f->wpos != f->wbase) r |= fflush(f); in fflush() 28 if (f->wpos != f->wbase) { in fflush() 30 if (!f->wpos) { in fflush() 40 f->wpos = f->wbase = f->wend = 0; in fflush()
|
D | fopencookie.c | 58 size_t len2 = f->wpos - f->wbase; in cookiewrite() 61 f->wpos = f->wbase; in cookiewrite() 62 if (cookiewrite(f, f->wpos, len2) < len2) return 0; in cookiewrite() 66 f->wpos = f->wbase = f->wend = 0; in cookiewrite()
|
D | fseek.c | 9 if (f->wpos != f->wbase) { in __fseeko_unlocked() 11 if (!f->wpos) return -1; in __fseeko_unlocked() 15 f->wpos = f->wbase = f->wend = 0; in __fseeko_unlocked()
|
D | __stdio_write.c | 12 { .iov_base = f->wbase, .iov_len = f->wpos-f->wbase }, in __stdio_write() 23 f->wpos = f->wbase = f->buf; in __stdio_write() 27 f->wpos = f->wbase = f->wend = 0; in __stdio_write()
|
D | fputwc.c | 18 } else if (f->wpos + MB_LEN_MAX < f->wend) { in __fputwc_unlocked() 19 l = wctomb((void *)f->wpos, c); in __fputwc_unlocked() 21 else f->wpos += l; in __fputwc_unlocked()
|
D | fwrite.c | 10 if (l > f->wend - f->wpos) return f->write(f, s, l); in __fwritex() 23 memcpy(f->wpos, s, l); in __fwritex() 24 f->wpos += l; in __fwritex()
|
D | vswprintf.c | 18 if (s!=f->wbase && sw_write(f, f->wbase, f->wpos-f->wbase)==-1) in sw_write() 28 f->wpos = f->wbase = f->wend = 0; in sw_write() 33 f->wpos = f->wbase = f->buf; in sw_write()
|