Home
last modified time | relevance | path

Searched refs:in_len (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/io/
DUtil.cpp93 size_t in_len; in Copy() local
94 while (in->Next(&in_buffer, &in_len)) { in Copy()
101 const size_t bytes_to_copy = in_len < out_len ? in_len : out_len; in Copy()
104 in->BackUp(in_len - bytes_to_copy); in Copy()
111 size_t in_len = in.size(); in Copy() local
112 while (in_len != 0) { in Copy()
119 const size_t bytes_to_copy = in_len < out_len ? in_len : out_len; in Copy()
123 in_len -= bytes_to_copy; in Copy()
/frameworks/base/tools/aapt2/compile/
DPngCrunch.cpp89 size_t in_len; in ReadDataFromStream() local
90 if (!in->Next(&in_buffer, &in_len)) { in ReadDataFromStream()
103 const size_t bytes_read = std::min(in_len, len); in ReadDataFromStream()
105 if (bytes_read != in_len) { in ReadDataFromStream()
106 in->BackUp(in_len - bytes_read); in ReadDataFromStream()
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp1657 jint in_len = 0; in nScriptForEachMulti() local
1663 in_len = _env->GetArrayLength(ains); in nScriptForEachMulti()
1664 if (in_len > (jint)RS_KERNEL_MAX_ARGUMENTS) { in nScriptForEachMulti()
1678 in_allocs = (RsAllocation*)alloca(in_len * sizeof(RsAllocation)); in nScriptForEachMulti()
1685 for (int index = in_len; --index >= 0;) { in nScriptForEachMulti()
1734 in_allocs, in_len, (RsAllocation)aout, in nScriptForEachMulti()
1763 jint in_len = _env->GetArrayLength(ains); in nScriptReduce() local
1764 if (in_len > (jint)RS_KERNEL_MAX_ARGUMENTS) { in nScriptReduce()
1783 in_allocs = (RsAllocation*)alloca(in_len * sizeof(RsAllocation)); in nScriptReduce()
1791 for (int index = in_len; --index >= 0;) { in nScriptReduce()
[all …]
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1998 jint in_len = 0; in nScriptForEach() local
2004 in_len = _env->GetArrayLength(ains); in nScriptForEach()
2005 if (in_len > (jint)RS_KERNEL_MAX_ARGUMENTS) { in nScriptForEach()
2022 in_allocs = (RsAllocation*)alloca(in_len * sizeof(RsAllocation)); in nScriptForEach()
2029 for (int index = in_len; --index >= 0;) { in nScriptForEach()
2086 in_allocs, in_len, (RsAllocation)aout, in nScriptForEach()
2115 jint in_len = _env->GetArrayLength(ains); in nScriptReduce() local
2116 if (in_len > (jint)RS_KERNEL_MAX_ARGUMENTS) { in nScriptReduce()
2135 in_allocs = (RsAllocation*)alloca(in_len * sizeof(RsAllocation)); in nScriptReduce()
2143 for (int index = in_len; --index >= 0;) { in nScriptReduce()
[all …]