/foundation/multimedia/drm_framework/interfaces/kits/c/drm_capi/common/ |
H A D | native_drm_object.h | 252 uint32_t index = 0; variable 256 errno_t ret = memset_s(info.keyId[index], MAX_KEY_ID_LEN, 0x00, MAX_KEY_ID_LEN); 258 ret = memcpy_s(info.keyId[index], keyIdSize, item.first.data(), keyIdSize); 265 ret = memset_s(info.statusValue[index], MAX_KEY_STATUS_VALUE_LEN, 0x00, MAX_KEY_STATUS_VALUE_LEN); 267 ret = memcpy_s(info.statusValue[index], statusSize, keyStatus.data(), statusSize); 270 index++;
|
/foundation/multimodalinput/input/util/common/include/ |
H A D | mmi_vector2.h | 53 T operator[](int index) const; 54 T& operator[](int index); 201 T Vector2<T>::operator[](int index) const in operator []() 203 return data_[index]; in operator []() 207 inline T& Vector2<T>::operator[](int index) in operator []() argument 209 return data_[index]; in operator []()
|
H A D | mmi_vector3.h | 56 T operator[](int index) const; 57 T& operator[](int index); 244 T Vector3<T>::operator[](int index) const in operator []() 246 return data_[index]; in operator []() 250 T& Vector3<T>::operator[](int index) in operator []() argument 252 return data_[index]; in operator []()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/ |
H A D | lnn_lane_query.c | 88 uint32_t index = 0; in GetLaneResource() local 91 GetMsgLaneLink(defaultLink, &index, isHighBand); in GetLaneResource() 94 GetBytesLaneLink(defaultLink, &index, isHighBand); in GetLaneResource() 97 GetFileLaneLink(defaultLink, &index, isHighBand); in GetLaneResource() 102 GetStreamLaneLink(defaultLink, &index, isHighBand); in GetLaneResource() 113 *linkNum = index; in GetLaneResource()
|
/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/ |
H A D | profile_change_handler.cpp | 59 int32_t index = 0; in Parse() local 61 profileKey->udid = std::move(vec[index++]); in Parse() 67 if (!StrToInt(vec[index++], type)) { in Parse() 72 profileKey->serviceId = std::move(vec[index]); in Parse() 205 for (auto index : indexes) { in NotifyProfileChangedLocked() 206 filteredEntries.emplace_back(profileEntries[index]); in NotifyProfileChangedLocked()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/ |
H A D | mock_wifi_settings.h | 36 const std::string &index, const int &indexType, WifiDeviceConfig &config, int instId = 0) = 0; 59 virtual int SetDeviceConnFailedCount(const std::string &index, const int &indexType, int count) = 0; 60 virtual int IncreaseDeviceConnFailedCount(const std::string &index, const int &indexType, int count) = 0; 113 MOCK_METHOD4(GetDeviceConfig, int(const std::string &index, const int &indexType, WifiDeviceConfig &config, int)); 136 MOCK_METHOD3(SetDeviceConnFailedCount, int(const std::string &index, const int &indexType, int count)); 137 MOCK_METHOD3(IncreaseDeviceConnFailedCount, int(const std::string &index, const int &indexType, int count));
|
/foundation/communication/nfc/test/unittest/services/public_test/ |
H A D | nfc_public_test.cpp | 149 uint32_t index = 0; in HWTEST_F() local 150 unsigned char byteFromHexStr = NfcSdkCommon::GetByteFromHexStr(TEST_DATA_UNSIGNED_CHAR_STR, index); in HWTEST_F() 245 uint32_t index = 0; in HWTEST_F() local 246 unsigned char byteFromHexStr = NfcSdkCommon::GetByteFromHexStr(src, index); in HWTEST_F() 267 uint32_t index = TEST_DATA_ANY_HEX_STRING_BYTE_LEN; in HWTEST_F() local 268 unsigned char byteFromHexStr = NfcSdkCommon::GetByteFromHexStr(src, index); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/ |
H A D | tracker_table.cpp | 61 size_t index = 0; in GetDiffTrackerValSql() local 64 if (index < trackerColNames_.size() - 1) { in GetDiffTrackerValSql() 67 index++; in GetDiffTrackerValSql() 79 size_t index = 0; in GetDiffIncCursorSql() local 82 if (index < trackerColNames_.size() - 1) { in GetDiffIncCursorSql() 85 index++; in GetDiffIncCursorSql()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_utils.h | 66 static int BindTextToStatement(sqlite3_stmt *statement, int index, const std::string &str); 68 static int BindInt64ToStatement(sqlite3_stmt *statement, int index, int64_t value); 71 static int BindBlobToStatement(sqlite3_stmt *statement, int index, const std::vector<uint8_t> &value, 81 static int BindPrefixKey(sqlite3_stmt *statement, int index, const Key &keyPrefix); 94 static int GetColumnBlobValue(sqlite3_stmt *statement, int index, std::vector<uint8_t> &value); 96 static int GetColumnTextValue(sqlite3_stmt *statement, int index, std::string &value);
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | value_object.cpp | 118 return ValueObjectType(value.index()); in GetType() 193 int type = static_cast<int>(value.index()); in operator int64_t() 210 size_t type = value.index(); in operator double() 227 int type = value.index(); in operator bool() 260 int type = static_cast<int>(value.index()); in operator std::string() 283 int type = static_cast<int>(value.index()); in operator Blob()
|
/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | custom_utd_store.cpp | 120 std::string::size_type index = 0; in CreateDirectory() local 123 index = path.find('/', index + 1); in CreateDirectory() 124 if (index == std::string::npos) { in CreateDirectory() 127 subPath = path.substr(0, index); in CreateDirectory() 137 } while (index != std::string::npos); in CreateDirectory()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/rfcomm/ |
H A D | rfcomm.c | 85 for (uint8_t index = 0; index < MAX_SERVER_COUNT; index++) { in RfcommAssignServerNum() 86 if (g_serverNum[index] == true) { in RfcommAssignServerNum() 89 g_serverNum[index] = true; in RfcommAssignServerNum() 90 scn = index + 1; in RfcommAssignServerNum()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_font_mgr.cpp | 261 void SkiaFontMgr::GetFamilyName(int index, std::string& str) const in GetFamilyName() argument 263 if (index < 0 || skFontMgr_ == nullptr) { in GetFamilyName() 267 skFontMgr_->getFamilyName(index, &skName); in GetFamilyName() 271 FontStyleSet* SkiaFontMgr::CreateStyleSet(int index) const in CreateStyleSet() 273 if (index < 0 || skFontMgr_ == nullptr) { in CreateStyleSet() 276 SkFontStyleSet* skFontStyleSetPtr = skFontMgr_->createStyleSet(index); in CreateStyleSet()
|
/third_party/ffmpeg/libavformat/ |
H A D | ifv.c | 147 ifv->video_stream_index = st->index; in ifv_read_header() 160 ifv->audio_stream_index = st->index; in ifv_read_header() 165 /*read video index*/ in ifv_read_header() 173 /*read audio index*/ in ifv_read_header() 246 /*read new video index*/ in ifv_read_packet() 294 int index = av_index_search_timestamp(s->streams[i], ts, AVSEEK_FLAG_ANY); in ifv_read_seek() local 295 if (index < 0) { in ifv_read_seek() 302 ifv->next_video_index = index; in ifv_read_seek() 304 ifv->next_audio_index = index; in ifv_read_seek()
|
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | ContractionsAndExpansions.java | 228 int index = Collation.indexFromCE32(ce32); in handlePrefixes() 229 ce32 = data.getCE32FromContexts(index); // Default if no prefix match. in handlePrefixes() 234 CharsTrie.Iterator prefixes = new CharsTrie(data.contexts, index + 2).iterator(); in handlePrefixes() 248 int index = Collation.indexFromCE32(ce32); in handleContractions() 255 ce32 = data.getCE32FromContexts(index); // Default if no suffix match. in handleContractions() 259 CharsTrie.Iterator suffixes = new CharsTrie(data.contexts, index + 2).iterator(); in handleContractions()
|
/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
H A D | Bundle.java | 303 public BundleItem getUntranslatedItem(int index) { in getUntranslatedItem() argument 304 if (index >= untranslatedItems.size()) in getUntranslatedItem() 307 for (int i=0; i < index; i++) in getUntranslatedItem() 335 * Returns a bundle group given a certain index. 338 public BundleGroup getBundleGroup(int index) { in getBundleGroup() argument 339 if (index >= getGroupCount()) in getBundleGroup() 342 for (int i=0; i < index; i++) in getBundleGroup()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
H A D | ContractionsAndExpansions.java | 235 int index = Collation.indexFromCE32(ce32); in handlePrefixes() 236 ce32 = data.getCE32FromContexts(index); // Default if no prefix match. in handlePrefixes() 241 CharsTrie.Iterator prefixes = new CharsTrie(data.contexts, index + 2).iterator(); in handlePrefixes() 255 int index = Collation.indexFromCE32(ce32); in handleContractions() 262 ce32 = data.getCE32FromContexts(index); // Default if no suffix match. in handleContractions() 266 CharsTrie.Iterator suffixes = new CharsTrie(data.contexts, index + 2).iterator(); in handleContractions()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | scriptset.cpp | 64 uint32_t index = script / 32; in test() local 66 return ((bits[index] & bit) != 0); in test() 78 uint32_t index = script / 32; in set() local 80 bits[index] |= bit; in set() 92 uint32_t index = script / 32; in reset() local 94 bits[index] &= ~bit; in reset()
|
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | ArchiveExtractCallback.h | 151 CIndexToPathPair(UInt32 index): Index(index) {}
152 CIndexToPathPair(UInt32 index, const FString &path): Index(index), Path(path) {}
412 HRESULT GetTime(UInt32 index, PROPID propID, CArcTime &ft);
537 HRESULT GetItem(UInt32 index);
|
/third_party/jerryscript/jerry-debugger/ |
H A D | jerry_client.py | 176 index = 0 180 index = int(args[0]) 185 if index < 0 or index > 65535: 186 raise ValueError("Invalid scope chain index: %d (must be between 0 and 65535)" % index) 192 self.debugger.eval_at(code, index)
|
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_util.h | 143 * \param[in] index Index of the element we want to access 144 * \return *(std::next(data, index)) 146 constexpr reference operator[](const size_type index) noexcept 148 assert(length > index); 149 return *(std::next(begin(), index)); 153 * \param[in] index Index of the element we want to access 154 * \return *(std::next(data, index)) 156 constexpr const_reference operator[](const size_type index) const noexcept 158 assert(length > index); 159 return *(std::next(begin(), index)); [all...] |
/third_party/node/lib/ |
H A D | domain.js | 331 const index = ArrayPrototypeLastIndexOf(stack, this); 332 if (index === -1) return; 335 ArrayPrototypeSplice(stack, index); 381 const index = ArrayPrototypeIndexOf(this.members, ee); 382 if (index !== -1) 383 ArrayPrototypeSplice(this.members, index, 1);
|
/third_party/node/deps/v8/tools/v8windbg/src/ |
H A D | js-stack.cc | 164 HRESULT StackFrameIterator::GetAt(uint64_t index, IModelObject** result) const { in GetAt() argument 165 if (index >= frames_.size()) return E_BOUNDS; in GetAt() 168 const FrameData& curr_frame = frames_.at(index); in GetAt() 214 uint64_t index; variable 215 RETURN_IF_FAIL(UnboxULong64(indexers[0], &index, true /*convert*/)); 217 return opt_frames_->GetAt(index, object);
|
/third_party/musl/src/malloc/mallocng/ |
H A D | meta.h | 148 int index = get_slot_index(p); in get_meta() local 157 assert(index <= meta->last_idx); in get_meta() 158 assert(!(meta->avail_mask & (1u<<index))); in get_meta() 159 assert(!(meta->freed_mask & (1u<<index))); in get_meta() 163 assert(offset >= size_classes[meta->sizeclass]*index); in get_meta() 164 assert(offset < size_classes[meta->sizeclass]*(index+1)); in get_meta()
|
/third_party/musl/src/network/ |
H A D | getifaddrs.c | 41 unsigned int index; member 127 if (ifs0->index == ifa->ifa_index) in netlink_msg_to_ifaddr() 138 ifs->index = ifi->ifi_index; in netlink_msg_to_ifaddr() 162 unsigned int bucket = ifs->index % IFADDRS_HASH_SIZE; in netlink_msg_to_ifaddr() 171 ifs->index = ifa->ifa_index; in netlink_msg_to_ifaddr() 225 if (if_indextoname(addr->index, addr->name) != NULL) { in get_ifName_via_ioctl()
|