/third_party/ltp/testcases/realtime/func/matrix_mult/ |
H A D | matrix_mult.c | 113 static void matrix_mult_record(struct matrices *matrices, int index) in matrix_mult_record() argument 123 curdat->records[index].x = index; in matrix_mult_record() 124 curdat->records[index].y = delta; in matrix_mult_record() 156 int index; in concurrent_thread() local 164 index = iterations_percpu * thread_id; /* To avoid stats overlapping */ in concurrent_thread() 167 matrix_mult_record(matrices, index++); in concurrent_thread() 207 curdat->index = iterations - 1; in main_thread() 239 curdat->index = iterations - 1; in main_thread()
|
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | initthread.c | 37 const void *index; member 352 int ossl_init_thread_start(const void *index, void *arg, in ossl_init_thread_start() argument 402 hand->index = index; in ossl_init_thread_start() 411 static int init_thread_deregister(void *index, int all) in init_thread_deregister() argument 437 if (all || curr->index == index) { in init_thread_deregister() 463 int ossl_init_thread_deregister(void *index) in ossl_init_thread_deregister() argument 465 return init_thread_deregister(index, 0); in ossl_init_thread_deregister()
|
/third_party/python/Lib/idlelib/ |
H A D | colorizer.py | 181 def insert(self, index, chars, tags=None): 182 "Insert chars into widget at index and mark for colorizing." 183 index = self.index(index) 184 self.delegate.insert(index, chars, tags) 185 self.notify_range(index, index + "+%dc" % len(chars)) 189 index1 = self.index(index1) 288 next = self.index(mar [all...] |
/third_party/openssl/crypto/ |
H A D | initthread.c | 37 const void *index; member 352 int ossl_init_thread_start(const void *index, void *arg, in ossl_init_thread_start() argument 402 hand->index = index; in ossl_init_thread_start() 411 static int init_thread_deregister(void *index, int all) in init_thread_deregister() argument 437 if (all || curr->index == index) { in init_thread_deregister() 463 int ossl_init_thread_deregister(void *index) in ossl_init_thread_deregister() argument 465 return init_thread_deregister(index, 0); in ossl_init_thread_deregister()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ShaderStorageBlockFunctionHLSL.cpp | 152 for (int index = 0; index < static_cast<int>(swizzleOffsets.size()); index++) in OutputSSBOStoreFunctionBody() 154 size_t offsetInBytes = swizzleOffsets[index] * componentStride; in OutputSSBOStoreFunctionBody() 155 out << "buffer.Store(loc + " << offsetInBytes << ", _value[" << index << "]);\n"; in OutputSSBOStoreFunctionBody() local 318 for (int index = 0; index < ssboFunction.type.getNominalSize(); index++) in registerShaderStorageBlockFunction() 320 ssboFunction.swizzleOffsets.push_back(index); in registerShaderStorageBlockFunction()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | TextureImpl.h | 50 const gl::ImageIndex &index, 59 const gl::ImageIndex &index, 68 const gl::ImageIndex &index, 75 const gl::ImageIndex &index, 83 const gl::ImageIndex &index, 88 const gl::ImageIndex &index, 94 const gl::ImageIndex &index, 103 const gl::ImageIndex &index, 189 const gl::ImageIndex &index,
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | collationbuilder.h | 63 * node=nodes[index]. 65 uint32_t getWeight16Before(int32_t index, int64_t node, int32_t level); 85 int32_t findOrInsertWeakNode(int32_t index, uint32_t weight16, int32_t level, 89 * Makes and inserts a new tailored node into the list, after the one at index. 92 * @return the new node's index 94 int32_t insertTailoredNodeAfter(int32_t index, int32_t strength, UErrorCode &errorCode); 99 * @return the new node's index 101 int32_t insertNodeBetween(int32_t index, int32_t nextIndex, int64_t node, 109 * Always returns the input index if that node is no stronger than the given strength. 111 int32_t findCommonNode(int32_t index, int32_ 182 tempCEFromIndexAndStrength(int32_t index, int32_t strength) tempCEFromIndexAndStrength() argument [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_text.py | 23 index = self.text.index 27 self.assertEqual(index(dex), '1.0') 30 self.assertEqual(index(dex), '2.0') 33 index = self.text.index 37 self.assertEqual(index(dex), '1.0') 40 self.assertEqual(index(dex), '1.5') 43 self.assertEqual(index(dex), '3.0')
|
/third_party/python/Python/ |
H A D | hashtable.c | 135 size_t index = key_hash & (ht->nbuckets - 1); in _Py_hashtable_get_entry_generic() local 136 _Py_hashtable_entry_t *entry = TABLE_HEAD(ht, index); in _Py_hashtable_get_entry_generic() 157 size_t index = key_hash & (ht->nbuckets - 1); in _Py_hashtable_get_entry_ptr() local 158 _Py_hashtable_entry_t *entry = TABLE_HEAD(ht, index); in _Py_hashtable_get_entry_ptr() 177 size_t index = key_hash & (ht->nbuckets - 1); in _Py_hashtable_steal() local 179 _Py_hashtable_entry_t *entry = TABLE_HEAD(ht, index); in _Py_hashtable_steal() 193 _Py_slist_remove(&ht->buckets[index], (_Py_slist_item_t *)previous, in _Py_hashtable_steal() 241 size_t index = entry->key_hash & (ht->nbuckets - 1); in _Py_hashtable_set() local 242 _Py_slist_prepend(&ht->buckets[index], (_Py_slist_item_t*)entry); in _Py_hashtable_set()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | image_source_test.cpp | 255 uint32_t index = 1;
in HWTEST_F() local 257 std::unique_ptr<PixelMap> crepixelmapex = imageSource->CreatePixelMapEx(index, opts, errorCode);
in HWTEST_F() 272 uint32_t index = 1;
in HWTEST_F() local 274 imageSource->CreatePixelMapEx(index, opt, errorCode);
in HWTEST_F() 288 uint32_t index = 1;
in HWTEST_F() local 290 std::unique_ptr<PixelMap> crepixelmapex = imageSource->CreatePixelMapEx(index, decodeOpts, res);
in HWTEST_F() 304 uint32_t index = 1;
in HWTEST_F() local 306 std::unique_ptr<PixelMap> crepixelmap = imageSource->CreatePixelMap(index, opts, errorCode);
in HWTEST_F() 320 uint32_t index = 1;
in HWTEST_F() local 322 std::unique_ptr<PixelMap> crepixelmap = imageSource->CreatePixelMap(index, opt in HWTEST_F() 419 uint32_t index = 1; HWTEST_F() local 437 uint32_t index = 1; HWTEST_F() local 455 uint32_t index = 1; HWTEST_F() local 578 uint32_t index = 0; HWTEST_F() local 596 uint32_t index = 0; HWTEST_F() local 613 uint32_t index = 0; HWTEST_F() local 631 uint32_t index = 0; HWTEST_F() local 648 uint32_t index = 0; HWTEST_F() local 666 uint32_t index = 0; HWTEST_F() local 685 uint32_t index = 0; HWTEST_F() local 1171 uint32_t index = 0; HWTEST_F() local 1829 uint32_t index = 0; HWTEST_F() local 1851 uint32_t index = 0; HWTEST_F() local 1870 uint32_t index = 0; HWTEST_F() local 1891 uint32_t index = 0; HWTEST_F() local 1930 uint32_t index = 0; HWTEST_F() local 1966 uint32_t index = 0; HWTEST_F() local 1984 uint32_t index = 0; HWTEST_F() local 2001 uint32_t index = 0; HWTEST_F() local [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SamplerCore.cpp | 1320 void SamplerCore::computeIndices(UInt index[4], Short4 uuuu, Short4 vvvv, Short4 wwww, const Short4 &layerIndex, Vector4i &offset, const Int4 &sample, const Pointer<Byte> &mipmap, SamplerFunction function) in computeIndices() argument 1381 index[0] = Extract(indices, 0); in computeIndices() 1382 index[1] = Extract(indices, 1); in computeIndices() 1383 index[2] = Extract(indices, 2); in computeIndices() 1384 index[3] = Extract(indices, 3); in computeIndices() 1387 void SamplerCore::computeIndices(UInt index[4], Int4 uuuu, Int4 vvvv, Int4 wwww, const Int4 &sample, Int4 valid, const Pointer<Byte> &mipmap, SamplerFunction function) in computeIndices() argument 1410 // with the border color, so sample them at linear index 0. in computeIndices() 1416 index[i] = Extract(As<Int4>(indices), i); in computeIndices() 1420 Vector4s SamplerCore::sampleTexel(UInt index[4], Pointer<Byte> buffer) in sampleTexel() argument 1426 c.x = Insert(c.x, Pointer<Short>(buffer)[index[ in sampleTexel() 1729 UInt index[4]; sampleTexel() local 1887 UInt index[4]; sampleTexel() local [all...] |
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-collections-gen.cc | 137 auto set_entry = [&](TNode<IntPtrT> index) { in AddConstructorEntriesFromFastJSArray() 139 CAST(elements), UncheckedCast<IntPtrT>(index)); in AddConstructorEntriesFromFastJSArray() 164 auto set_entry = [&](TNode<IntPtrT> index) { in AddConstructorEntriesFromFastJSArray() 166 elements, UncheckedCast<IntPtrT>(index)); in AddConstructorEntriesFromFastJSArray() 342 int index; in GetConstructor() local 345 index = Context::JS_MAP_FUN_INDEX; in GetConstructor() 348 index = Context::JS_SET_FUN_INDEX; in GetConstructor() 351 index = Context::JS_WEAK_MAP_FUN_INDEX; in GetConstructor() 354 index = Context::JS_WEAK_SET_FUN_INDEX; in GetConstructor() 357 return CAST(LoadContextElement(native_context, index)); in GetConstructor() 362 int index; GetInitialAddFunction() local 452 LoadAndNormalizeFixedArrayElement( TNode<FixedArray> elements, TNode<IntPtrT> index) LoadAndNormalizeFixedArrayElement() argument [all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | Descriptors.java | 516 int index = proto.getPublicDependency(i); in FileDescriptor() 517 if (index < 0 || index >= proto.getDependencyCount()) { in FileDescriptor() 518 throw new DescriptorValidationException(this, "Invalid public dependency index."); in FileDescriptor() 520 String name = proto.getDependency(index); in FileDescriptor() 631 * Get the index of this descriptor within its parent. In other words, given a {@link 647 return index; in getIndex() 819 private final int index; field in Descriptors.Descriptor 840 this.index = 0; in Descriptor() 865 final int index) in Descriptor() 861 Descriptor( final DescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index) Descriptor() argument 1252 private final int index; global() field in Descriptors.FieldDescriptor 1363 FieldDescriptor( final FieldDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index, final boolean isExtension) FieldDescriptor() argument 1778 private final int index; global() field in Descriptors.EnumDescriptor 1787 EnumDescriptor( final EnumDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index) EnumDescriptor() argument 1890 private final int index; global() field in Descriptors.EnumValueDescriptor 1896 EnumValueDescriptor( final EnumValueDescriptorProto proto, final FileDescriptor file, final EnumDescriptor parent, final int index) EnumValueDescriptor() argument 1998 private final int index; global() field in Descriptors.ServiceDescriptor 2004 ServiceDescriptor( final ServiceDescriptorProto proto, final FileDescriptor file, final int index) ServiceDescriptor() argument 2105 private final int index; global() field in Descriptors.MethodDescriptor 2115 MethodDescriptor( final MethodDescriptorProto proto, final FileDescriptor file, final ServiceDescriptor parent, final int index) MethodDescriptor() argument 2695 getField(int index) getField() argument 2708 OneofDescriptor( final OneofDescriptorProto proto, final FileDescriptor file, final Descriptor parent, final int index) OneofDescriptor() argument 2723 private final int index; global() field in Descriptors.OneofDescriptor [all...] |
/third_party/protobuf/conformance/third_party/jsoncpp/ |
H A D | jsoncpp.cpp | 525 int index = patternLength; in match() local 526 while (index--) in match() 527 if (current_[index] != pattern[index]) in match() 713 int index = 0; 715 Value& value = currentValue()[index++]; 917 for (int index = 0; index < 4; ++index) { 1503 int index 2321 UInt ValueIteratorBase::index() const { index() function in Json::ValueIteratorBase 2698 ArrayIndex Value::CZString::index() const { return index_; } index() function in Json::Value::CZString 3331 operator [](ArrayIndex index) operator []() argument 3347 operator [](int index) operator []() argument 3423 get(ArrayIndex index, const Value& defaultValue) const get() argument 3532 removeIndex(ArrayIndex index, Value* removed) removeIndex() argument 3819 PathArgument(ArrayIndex index) PathArgument() argument 3856 ArrayIndex index = 0; makePath() local 4444 unsigned index = 0; writeArrayValue() local 4661 unsigned index = 0; writeArrayValue() local 4942 unsigned index = 0; writeArrayValue() local [all...] |
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl2_rendering_context_impl.cpp | 84 uint32_t index = 0; in DeleteQuery() local 86 if (CheckQueryTarget(env, webGlQuery->GetTarget(), index)) { in DeleteQuery() 87 LOGD("WebGL2 deleteQuery currentQuery_ %{public}u", currentQuery_[index]); in DeleteQuery() 88 if (currentQuery_[index] == queryId) { in DeleteQuery() 89 currentQuery_[index] = 0; in DeleteQuery() 118 uint32_t index = 0; in GetQuery() local 119 if (!CheckQueryTarget(env, target, index)) { in GetQuery() 126 LOGD("WebGL2 getQuery params = %{public}d %{public}u", params, currentQuery_[index]); in GetQuery() 146 uint32_t index = 0; in BeginQuery() local 147 if (!CheckQueryTarget(env, target, index)) { in BeginQuery() 168 uint32_t index = 0; EndQuery() local 583 GetTransformFeedbackVaryingType(GLuint programId, GLint index) GetTransformFeedbackVaryingType() argument 618 GetTransformFeedbackVarying(napi_env env, napi_value programObj, GLuint index) GetTransformFeedbackVarying() argument 1099 GetIndexedParameter(napi_env env, GLenum target, GLuint index) GetIndexedParameter() argument 1143 VertexAttribI4i(napi_env env, GLuint index, GLint* data) VertexAttribI4i() argument 1158 VertexAttribI4ui(napi_env env, GLuint index, GLuint* data) VertexAttribI4ui() argument 1173 VertexAttribI4iv(napi_env env, GLuint index, napi_value data) VertexAttribI4iv() argument 1197 VertexAttribI4uiv(napi_env env, GLuint index, napi_value data) VertexAttribI4uiv() argument 1242 VertexAttribDivisor(napi_env env, GLuint index, GLuint divisor) VertexAttribDivisor() argument 1512 uint32_t index = BoundBufferType::ARRAY_BUFFER; BindBuffer() local 1921 CheckQueryTarget(napi_env env, GLenum target, uint32_t& index) CheckQueryTarget() argument 2049 UpdateBaseTargetBoundBuffer( napi_env env, GLenum target, GLuint index, GLuint bufferId) UpdateBaseTargetBoundBuffer() argument [all...] |
/applications/standard/calendardata/calendarmanager/native/src/ |
H A D | event_filter.cpp | 49 for (size_t index = 1; index < ids.size(); ++index) { in FilterById() 51 predicates->EqualTo("_id", ids.at(index)); in FilterById()
|
/base/account/os_account/services/accountmgr/src/bundle_manager_adapter/ |
H A D | bundle_user_manager_adapter_proxy.cpp | 48 for (uint32_t index = 0; index < disallowedListMatchSize; ++index) {
in CreateNewUser() 49 if (!data.WriteString(disallowedHapList.at(index))) {
in CreateNewUser()
|
/base/hiviewdfx/hiview/framework/native/unified_collection/calculator/ |
H A D | io_calculator.cpp | 37 for (int index = 0; index < EMMC_SIZE_INDEX; ++index) { in GetEMMCSize() 38 filePath = path + "/block/mmcblk" + std::to_string(index) + "/size"; in GetEMMCSize()
|
/base/notification/common_event_service/test/fuzztest/matchingskills_fuzzer/ |
H A D | matchingskills_fuzzer.cpp | 31 size_t index = fuzzData.GetData<size_t>();
in DoSomethingInterestingWithMyAPI() local 61 matchingSkills.GetEntity(index);
in DoSomethingInterestingWithMyAPI() 62 matchingSkills.GetEvent(index);
in DoSomethingInterestingWithMyAPI() 63 matchingSkills.GetScheme(index);
in DoSomethingInterestingWithMyAPI()
|
/base/security/asset/services/db_operator/src/ |
H A D | sqlite3_wrapper.c | 56 int SqliteBindBlob(void *pStmt, int index, const void *zData, int nData, void(*xDel)(void*)) in SqliteBindBlob() argument 58 return sqlite3_bind_blob((sqlite3_stmt *)pStmt, index, zData, nData, xDel); in SqliteBindBlob() 61 int SqliteBindInt64(void *pStmt, int index, int64_t iValue) in SqliteBindInt64() argument 63 return sqlite3_bind_int64((sqlite3_stmt *)pStmt, index, iValue); in SqliteBindInt64()
|
/base/telephony/sms_mms/services/sms/include/ |
H A D | sms_pdu_buffer.h | 32 bool SetIndex(uint16_t index); 52 bool PickOneByteFromIndex(uint16_t index, uint8_t &v); 62 bool GetValueFromIndex(uint16_t index, uint8_t &v); 65 bool InsertByte(uint8_t v, uint16_t index);
|
/base/telephony/core_service/services/sim/src/ |
H A D | sim_sms_manager.cpp | 77 int32_t SimSmsManager::UpdateSmsIcc(int index, int status, std::string &pduData, std::string &smsc)
in UpdateSmsIcc() argument 84 int32_t result = smsController_->UpdateSmsIcc(index, status, pduData, smsc);
in UpdateSmsIcc() 89 int32_t SimSmsManager::DelSmsIcc(int index)
in DelSmsIcc() argument 96 int32_t result = smsController_->DelSmsIcc(index);
in DelSmsIcc()
|
/base/telephony/cellular_call/test/fuzztest/separateconference_fuzzer/ |
H A D | separateconference_fuzzer.cpp | 44 int32_t index = static_cast<int32_t>(size); in DoSomethingInterestingWithMyAPI() local 58 callInfo.index = index; in DoSomethingInterestingWithMyAPI() 71 cSControl->SeparateConference(slotId, splitString, index); in DoSomethingInterestingWithMyAPI()
|
/base/telephony/cellular_call/test/fuzztest/setorupdatecallreportinfo_fuzzer/ |
H A D | setorupdatecallreportinfo_fuzzer.cpp | 40 int32_t index = static_cast<int32_t>(size); in DoSomethingInterestingWithMyAPI() local 50 callReportInfo.index = index; in DoSomethingInterestingWithMyAPI() 64 baseConnection->SetIndex(index); in DoSomethingInterestingWithMyAPI()
|
/base/update/updater/services/include/script/ |
H A D | script_instruction.h | 87 virtual ParamType GetParamType(int32_t index) = 0;
92 virtual int32_t GetParam(int32_t index, int32_t& value) = 0;
93 virtual int32_t GetParam(int32_t index, float& value) = 0;
94 virtual int32_t GetParam(int32_t index, std::string& value) = 0;
|