/aosp12/frameworks/rs/driver/ |
H A D | rsdShaderCache.cpp | 46 for (uint32_t ct=0; ct < prog->getUniformCount(); ct++) { in updateUniformArrayData() local 67 for (uint32_t ct=0; ct < prog->getUniformCount(); ct++) { in populateUniformData() local 76 for (uint32_t ct=0; ct < vtx->getUniformCount(); ct++) { in hasArrayUniforms() local 82 for (uint32_t ct=0; ct < frag->getUniformCount(); ct++) { in hasArrayUniforms() local 124 for (uint32_t ct = 0; ct < entryCount; ct ++) { in link() local 174 for (uint32_t ct=0; ct < e->vtxAttrCount; ct++) { in link() local 221 for (uint32_t ct = 0; ct < (uint32_t)numUniforms; ct++) { in link() local 237 for (uint32_t ct=0; ct < mCurrent->vtxAttrCount; ct++) { in vtxAttribSlot() local 250 for (int32_t ct = 0; ct < numEntries; ct ++) { in cleanupVertex() local 268 for (int32_t ct = 0; ct < numEntries; ct ++) { in cleanupFragment() local [all …]
|
H A D | rsdShader.cpp | 85 for (uint32_t ct = 0; ct < mRSProgram->mHal.state.texturesCount; ct ++) { in getExistingState() local 125 for (uint32_t ct=0; ct < mRSProgram->mHal.state.inputElementsCount; ct++) { in init() local 129 for (uint32_t ct=0; ct < mRSProgram->mHal.state.constantsCount; ct++) { in init() local 135 for (uint32_t ct=0; ct < mRSProgram->mHal.state.texturesCount; ct++) { in init() local 145 for (uint32_t ct=0; ct < mRSProgram->mHal.state.inputElementsCount; ct++) { in getGLSLInputString() local 169 for (uint32_t ct=0; ct < mRSProgram->mHal.state.inputElementsCount; ct++) { in appendAttributes() local 197 for (uint32_t ct = 0; ct < mRSProgram->mHal.state.texturesCount; ct ++) { in appendTextures() local 279 for (uint32_t ct=0; ct < mRSProgram->mHal.state.constantsCount; ct++) { in appendUserConstants() local 483 for (uint32_t ct=0; ct < numTexturesToBind; ct++) { in setupTextures() local 528 for (uint32_t ct=0; ct < mRSProgram->mHal.state.constantsCount; ct++) { in setupUserConstants() local [all …]
|
H A D | rsdVertexArray.cpp | 90 for (uint32_t ct=1; ct < maxAttrs; ct++) { in setup() local 91 if(state->mAttrsEnabled[ct]) { in setup() 92 glDisableVertexAttribArray(ct); in setup() 93 state->mAttrsEnabled[ct] = false; in setup() 98 for (uint32_t ct=0; ct < mCount; ct++) { in setup() local 101 logAttrib(ct, slot); in setup() 110 mAttribs[ct].size, in setup() 111 mAttribs[ct].type, in setup() 114 mAttribs[ct].ptr + mAttribs[ct].offset); in setup() 133 for (uint32_t ct = 0; ct < mAttrsEnabledSize; ct++) { in init() local [all …]
|
H A D | rsdMeshObj.cpp | 81 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) { in init() local 83 for (uint32_t ct=0; ct < elem->mHal.state.fieldsCount; ct++) { in init() local 84 if (isValidGLComponent(elem, ct)) { in init() 104 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) { in init() local 124 mAttribAllocationIndex[userNum] = ct; in init() 139 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) { in renderPrimitiveRange() local 148 for (uint32_t ct=0; ct < mAttribCount; ct++) { in renderPrimitiveRange() local 149 uint32_t allocIndex = mAttribAllocationIndex[ct]; in renderPrimitiveRange() 154 mAttribs[ct].buffer = drvAlloc->bufferID; in renderPrimitiveRange() 155 mAttribs[ct].ptr = nullptr; in renderPrimitiveRange() [all …]
|
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
H A D | UT_copy_test.java | 38 for (int ct = 0; ct < f1.length; ct++) { in testFloat2() 39 f1[ct] = (float) ct; in testFloat2() 46 for (int ct = 0; ct < f1.length; ct++) { in testFloat2() 47 if (f1[ct] != f2[ct]) { in testFloat2() 62 for (int ct = 0; ct < f1.length; ct++) { in testFloat3() 63 f1[ct] = (float) ct; in testFloat3() 70 for (int ct = 0; ct < f1.length; ct++) { in testFloat3() 71 if ((f1[ct] != f2[ct]) && ((ct & 3) != 3)) { in testFloat3() 86 for (int ct = 0; ct < f1.length; ct++) { in testFloat4() 87 f1[ct] = (float) ct; in testFloat4() [all …]
|
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
H A D | UT_copy_test.java | 40 for (int ct = 0; ct < f1.length; ct++) { in testFloat2() 41 f1[ct] = (float) ct; in testFloat2() 48 for (int ct = 0; ct < f1.length; ct++) { in testFloat2() 49 if (f1[ct] != f2[ct]) { in testFloat2() 64 for (int ct = 0; ct < f1.length; ct++) { in testFloat3() 65 f1[ct] = (float) ct; in testFloat3() 72 for (int ct = 0; ct < f1.length; ct++) { in testFloat3() 73 if ((f1[ct] != f2[ct]) && ((ct & 3) != 3)) { in testFloat3() 88 for (int ct = 0; ct < f1.length; ct++) { in testFloat4() 89 f1[ct] = (float) ct; in testFloat4() [all …]
|
/aosp12/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
H A D | UT_copy_test.java | 39 for (int ct=0; ct < f1.length; ct++) { in testFloat2() 40 f1[ct] = (float)ct; in testFloat2() 47 for (int ct=0; ct < f1.length; ct++) { in testFloat2() 48 if (f1[ct] != f2[ct]) { in testFloat2() 63 for (int ct=0; ct < f1.length; ct++) { in testFloat3() 64 f1[ct] = (float)ct; in testFloat3() 71 for (int ct=0; ct < f1.length; ct++) { in testFloat3() 72 if ((f1[ct] != f2[ct]) && ((ct&3) != 3)) { in testFloat3() 87 for (int ct=0; ct < f1.length; ct++) { in testFloat4() 88 f1[ct] = (float)ct; in testFloat4() [all …]
|
H A D | fp_mad.rscript | 12 for (int ct=0; ct < 1000 * (1000 / 80); ct++) { 35 for (int ct=0; ct < 1000 * (1000 / 20); ct++) { 58 for (int ct=0; ct < 1000 * 10; ct++) { 72 for (int ct=0; ct < 1000 * 10 / 4; ct++) { 86 for (int ct=0; ct < 1000 * 10; ct++) { 100 for (int ct=0; ct < 1000 * 100; ct++) { 111 for (int ct=0; ct < 1000 * 100; ct++) { 126 for (int ct=0; ct < 1000 * 100 /4; ct++) {
|
/aosp12/frameworks/rs/ |
H A D | rsElement.cpp | 45 for (uint32_t ct = 0; ct < elements.size(); ct++) { in preDestroy() local 77 for (size_t ct=0; ct < mFieldCount; ct++) { in getSizeBits() local 89 for (size_t ct=0; ct < mFieldCount; ct++) { in getSizeBitsUnpadded() local 99 for (uint32_t ct = 0; ct < mFieldCount; ct++) { in dumpLOGV() local 116 for (uint32_t ct = 0; ct < mFieldCount; ct++) { in serialize() local 150 for (uint32_t ct = 0; ct < fieldCount; ct ++) { in createFromStream() local 159 for (uint32_t ct = 0; ct < fieldCount; ct ++) { in createFromStream() local 187 for (uint32_t ct = 0; ct < mFieldCount; ct ++) { in compute() local 202 for (size_t ct = 0, ctNoPadding = 0; ct < mFieldCount; ct++) { in compute() local 325 for (size_t ct=0; ct < count; ct++) { in createRef() local [all …]
|
H A D | rsScriptGroup.cpp | 37 for (size_t ct=0; ct < mLinks.size(); ct++) { in ~ScriptGroup() local 62 for (size_t ct=0; ct < mNodes.size(); ct++) { in findNode() local 81 for (size_t ct=0; ct < n->mOutputs.size(); ct++) { in calcOrderRecurse() local 108 for (size_t ct=0; ct < mKernels.size(); ct++) { in calcOrder() local 122 for (size_t ct=0; ct < mLinks.size(); ct++) { in calcOrder() local 144 for (size_t ct=0; ct < mNodes.size(); ct++) { in calcOrder() local 154 for (size_t ct=0; ct < mKernels.size(); ct++) { in calcOrder() local 210 for (size_t ct=0; ct < kernelCount; ct++) { in create() local 215 for (size_t ct=0; ct < linkCount; ct++) { in create() local 254 for (size_t ct=0; ct < mInputs.size(); ct++) { in setInput() local [all …]
|
H A D | rsg_generator.c | 71 for (ct=0; ct < vt->ptrLevel; ct++) { in printVarType() 87 for (ct=0; ct < api->paramCount; ct++) { in printArgList() 99 for (ct=0; ct < apiCount; ct++) { in printStructures() 104 for (ct=0; ct < apiCount; ct++) { in printStructures() 147 for (ct=0; ct < apiCount; ct++) { in printFuncDecls() 159 for (ct=0; ct < apiCount; ct++) { in printPlaybackFuncs() 174 for (ct=0; ct < api->paramCount; ct++) { in hasInlineDataPointers() 212 for (ct=0; ct < apiCount; ct++) { in printApiCpp() 344 for (ct=0; ct < apiCount; ct++) { in printApiCpp() 391 for (ct=0; ct < apiCount; ct++) { in printPlaybackCpp() [all …]
|
H A D | rsApiMesh.cpp | 36 for (uint32_t ct = 0; ct < vtxDataCount; ct ++) { in rsaMeshGetVertices() local 37 vtxData[ct] = sm->mHal.state.vertexBuffers[ct]; in rsaMeshGetVertices() 38 sm->mHal.state.vertexBuffers[ct]->incUserRef(); in rsaMeshGetVertices() 46 for (uint32_t ct = 0; ct < idxDataCount; ct ++) { in rsaMeshGetIndices() local 47 va[ct] = sm->mHal.state.indexBuffers[ct]; in rsaMeshGetIndices() 48 primType[ct] = sm->mHal.state.primitives[ct]; in rsaMeshGetIndices() 49 if (sm->mHal.state.indexBuffers[ct]) { in rsaMeshGetIndices() 50 sm->mHal.state.indexBuffers[ct]->incUserRef(); in rsaMeshGetIndices()
|
H A D | rsProgram.cpp | 30 for (uint32_t ct=0; ct < paramLength; ct+=2) { in Program() local 31 if (params[ct] == RS_PROGRAM_PARAM_INPUT) { in Program() 34 if (params[ct] == RS_PROGRAM_PARAM_CONSTANT) { in Program() 61 for (uint32_t ct=0; ct < paramLength; ct+=2) { in Program() local 62 if (params[ct] == RS_PROGRAM_PARAM_INPUT) { in Program() 66 if (params[ct] == RS_PROGRAM_PARAM_CONSTANT) { in Program() 114 for (uint32_t ct=0; ct < mHal.state.constantsCount; ct++) { in freeChildren() local 115 bindAllocation(nullptr, nullptr, ct); in freeChildren() 118 for (uint32_t ct=0; ct < mHal.state.texturesCount; ct++) { in freeChildren() local 119 bindTexture(nullptr, ct, nullptr); in freeChildren() [all …]
|
/aosp12/system/extras/simpleperf/scripts/ |
H A D | simpleperf_report_lib.py | 24 import ctypes as ct namespace 35 return ct.cast(p, ct.c_void_p).value is None 227 _fields_ = [('data', ct.POINTER(ct.c_char)), 265 self._GetTracingDataOfCurrentSampleFunc.restype = ct.POINTER(ct.c_char) 382 void_p = ct.cast(feature_data[0].data, ct.c_void_p) 383 arg_count = ct.cast(void_p, ct.POINTER(ct.c_uint32)).contents.value 387 str_len = ct.cast(void_p, ct.POINTER(ct.c_uint32)).contents.value 389 char_p = ct.cast(void_p, ct.POINTER(ct.c_char)) 406 void_p = ct.cast(feature_data[0].data, ct.c_void_p) 407 str_len = ct.cast(void_p, ct.POINTER(ct.c_uint32)).contents.value [all …]
|
/aosp12/frameworks/rs/cpu_ref/ |
H A D | rsCpuScriptGroup.cpp | 61 for (size_t ct = 0; ct < sl->count; ct++) { in scriptGroupRoot() local 66 if (sl->ins[ct]) { in scriptGroupRoot() 73 if (sl->inExts[ct]) { in scriptGroupRoot() 92 if (sl->outs[ct]) { in scriptGroupRoot() 98 if (sl->outExts[ct]) { in scriptGroupRoot() 132 for (size_t ct=0; ct < mSG->mNodes.size(); ct++) { in execute() local 207 for (size_t ct=0; ct < ins.size(); ct++) { in execute() local 258 for (size_t ct=0; ct < kernels.size(); ct++) { in execute() local 266 si->preLaunch(kernels[ct]->mSlot, ains, inLen, outs[ct], in execute() 287 for (size_t ct=0; ct < kernels.size(); ct++) { in execute() local [all …]
|
/aosp12/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
H A D | IPACM_ConntrackListener.cpp | 596 struct nf_conntrack *ct = evt_data->ct; in ProcessCTV6Message() local 673 nfct_destroy(ct); in ProcessCTV6Message() 1072 nat_entry.ct = ct; in ProcessTCPorUDPMsg() 1305 ct = nfct_new(); in readConntrack() 1306 if (ct != NULL) in readConntrack() 1311 ct_entries[index].ct = ct; in readConntrack() 1378 ct_data->ct = ct_entries[index].ct; in processConntrack() 1425 if (nfct_cmp(ct_cache[i].ct, ct, NFCT_CMP_ORIG | NFCT_CMP_REPL)) in CacheORDeleteConntrack() 1475 ct_cache[free_idx].ct = ct; in CacheORDeleteConntrack() 1487 ct_cache[free_idx].ct = ct; in CacheORDeleteConntrack() [all …]
|
/aosp12/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
H A D | balls.rscript | 32 for (uint32_t ct=0; ct < dimX; ct++) { 35 balls[ct].delta.x = 0.f; 36 balls[ct].delta.y = 0.f; 52 for (uint32_t ct=0; ct < dimX; ct++) { 53 balls[ct].next = -1; 66 for (uint32_t ct=0; ct < dimX; ct++) { 72 balls[ct].next = bg->idx; 73 bg->idx = ct; 95 for (uint32_t ct=0; ct < dimX; ct++) { 96 point[ct].position = balls[ct].position; [all …]
|
/aosp12/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
H A D | IPACM_ConntrackListener.cpp | 484 void ParseCTMessage(struct nf_conntrack *ct) in ParseCTMessage() argument 586 struct nf_conntrack *ct = evt_data->ct; in ProcessCTV6Message() local 596 ParseCTV6Message(ct); in ProcessCTV6Message() 663 nfct_destroy(ct); in ProcessCTV6Message() 683 ParseCTMessage(evt_data->ct); in ProcessCTMessage() 697 nfct_destroy(evt_data->ct); in ProcessCTMessage() 873 struct nf_conntrack *ct, in PopulateTCPorUDPEntry() argument 1035 struct nf_conntrack *ct, in ProcessTCPorUDPMsg() argument 1046 nat_entry.ct = ct; in ProcessTCPorUDPMsg() 1099 HandleLan2Lan(ct, type, &rule); in ProcessTCPorUDPMsg() [all …]
|
/aosp12/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/ |
H A D | IPACM_ConntrackListener.cpp | 475 void ParseCTMessage(struct nf_conntrack *ct) in ParseCTMessage() argument 577 struct nf_conntrack *ct = evt_data->ct; in ProcessCTV6Message() local 587 ParseCTV6Message(ct); in ProcessCTV6Message() 654 nfct_destroy(ct); in ProcessCTV6Message() 674 ParseCTMessage(evt_data->ct); in ProcessCTMessage() 688 nfct_destroy(evt_data->ct); in ProcessCTMessage() 864 struct nf_conntrack *ct, in PopulateTCPorUDPEntry() argument 1026 struct nf_conntrack *ct, in ProcessTCPorUDPMsg() argument 1037 nat_entry.ct = ct; in ProcessTCPorUDPMsg() 1090 HandleLan2Lan(ct, type, &rule); in ProcessTCPorUDPMsg() [all …]
|
/aosp12/frameworks/base/rs/java/android/renderscript/ |
H A D | ScriptGroup.java | 489 for (int ct=0; ct < mInputs.length; ct++) { in setInput() 511 for (int ct=0; ct < mOutputs.length; ct++) { in setOutput() 598 for (int ct=0; ct < mNodes.size(); ct++) { in mergeDAGs() 626 for (int ct=0; ct < mNodes.size(); ct++) { in validateDAG() 637 for (int ct=0; ct < mNodes.size(); ct++) { in validateDAG() 645 for (int ct=0; ct < mNodes.size(); ct++) { in findNode() 654 for (int ct=0; ct < mNodes.size(); ct++) { in findNode() 780 for (int ct=0; ct < mNodes.size(); ct++) { in create() 790 for (int ct=0; ct < mNodes.size(); ct++) { in create() 826 for (int ct=0; ct < mLines.size(); ct++) { in create() [all …]
|
/aosp12/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
H A D | fp_mad.rscript | 12 for (int ct=0; ct < 1000 * (1000 / 80); ct++) { 35 for (int ct=0; ct < 1000 * (1000 / 20); ct++) { 58 for (int ct=0; ct < 1000 * 10; ct++) { 72 for (int ct=0; ct < 1000 * 10 / 4; ct++) { 86 for (int ct=0; ct < 1000 * 10; ct++) { 100 for (int ct=0; ct < 1000 * 100; ct++) { 111 for (int ct=0; ct < 1000 * 100; ct++) { 126 for (int ct=0; ct < 1000 * 100 /4; ct++) {
|
/aosp12/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
H A D | fp_mad.rscript | 12 for (int ct=0; ct < 1000 * (1000 / 80); ct++) { 35 for (int ct=0; ct < 1000 * (1000 / 20); ct++) { 58 for (int ct=0; ct < 1000 * 10; ct++) { 72 for (int ct=0; ct < 1000 * 10 / 4; ct++) { 86 for (int ct=0; ct < 1000 * 10; ct++) { 100 for (int ct=0; ct < 1000 * 100; ct++) { 111 for (int ct=0; ct < 1000 * 100; ct++) { 126 for (int ct=0; ct < 1000 * 100 /4; ct++) {
|
/aosp12/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
H A D | fp_mad.rscript | 12 for (int ct=0; ct < 1000 * (1000 / 80); ct++) { 35 for (int ct=0; ct < 1000 * (1000 / 20); ct++) { 58 for (int ct=0; ct < 1000 * 10; ct++) { 72 for (int ct=0; ct < 1000 * 10 / 4; ct++) { 86 for (int ct=0; ct < 1000 * 10; ct++) { 100 for (int ct=0; ct < 1000 * 100; ct++) { 111 for (int ct=0; ct < 1000 * 100; ct++) { 126 for (int ct=0; ct < 1000 * 100 /4; ct++) {
|
/aosp12/frameworks/rs/tests/cpp_api/cpp-globalguard/ |
H A D | compute.cpp | 62 for (uint32_t ct=0; ct < numElems; ct++) { in main() local 63 buf[ct] = (uint32_t)ct; in main() 72 for (uint32_t ct=0; ct < numElems; ct++) { in main() local 73 if (buf[ct] != ct * 2) { in main() 74 printf("Mismatch at location %d: %u\n", ct, buf[ct]); in main()
|
/aosp12/frameworks/rs/tests/cpp_api/cppallocation/ |
H A D | compute.cpp | 39 for (uint32_t ct=0; ct < numElems; ct++) { in main() local 40 buf[ct] = (uint32_t)ct; in main() 49 for (uint32_t ct=0; ct < numElems; ct++) { in main() local 50 if (buf[ct] != ct * 2) { in main() 51 printf("Mismatch at location %d: %u\n", ct, buf[ct]); in main()
|