Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/io/
DUtil.cpp98 size_t in_len; in Copy() local
99 while (in->Next(&in_buffer, &in_len)) { in Copy()
106 const size_t bytes_to_copy = in_len < out_len ? in_len : out_len; in Copy()
109 in->BackUp(in_len - bytes_to_copy); in Copy()
116 size_t in_len = in.size(); in Copy() local
117 while (in_len != 0) { in Copy()
124 const size_t bytes_to_copy = in_len < out_len ? in_len : out_len; in Copy()
128 in_len -= bytes_to_copy; in Copy()
/frameworks/base/libs/androidfw/
DPngCrunch.cpp88 size_t in_len; in ReadDataFromStream() local
89 if (!in->Next(&in_buffer, &in_len)) { in ReadDataFromStream()
102 const size_t bytes_read = std::min(in_len, len); in ReadDataFromStream()
104 if (bytes_read != in_len) { in ReadDataFromStream()
105 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.cpp1997 jint in_len = 0; in nScriptForEach() local
2003 in_len = _env->GetArrayLength(ains); in nScriptForEach()
2004 if (in_len > (jint)RS_KERNEL_MAX_ARGUMENTS) { in nScriptForEach()
2021 in_allocs = (RsAllocation*)alloca(in_len * sizeof(RsAllocation)); in nScriptForEach()
2028 for (int index = in_len; --index >= 0;) { in nScriptForEach()
2085 in_allocs, in_len, (RsAllocation)aout, in nScriptForEach()
2114 jint in_len = _env->GetArrayLength(ains); in nScriptReduce() local
2115 if (in_len > (jint)RS_KERNEL_MAX_ARGUMENTS) { in nScriptReduce()
2134 in_allocs = (RsAllocation*)alloca(in_len * sizeof(RsAllocation)); in nScriptReduce()
2142 for (int index = in_len; --index >= 0;) { in nScriptReduce()
[all …]