/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_rect.h | 359 for (int index = 0; index < 4; index++) { in operator -() 360 rrect.radius_[index] = radius_[index] - other.radius_[index]; in operator -() 371 for (int index = 0; index < 4; index++) { in operator +() 372 rrect.radius_[index] in operator +() [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | adm1025.c | 166 int index = to_sensor_dev_attr(attr)->index; in in_show() local 168 return sprintf(buf, "%u\n", IN_FROM_REG(data->in[index], in in_show() 169 in_scale[index])); in in_show() 175 int index = to_sensor_dev_attr(attr)->index; in in_min_show() local 177 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_min[index], in in_min_show() 178 in_scale[index])); in in_min_show() 184 int index = to_sensor_dev_attr(attr)->index; in in_max_show() local 193 int index = to_sensor_dev_attr(attr)->index; temp_show() local 201 int index = to_sensor_dev_attr(attr)->index; temp_min_show() local 209 int index = to_sensor_dev_attr(attr)->index; temp_max_show() local 217 int index = to_sensor_dev_attr(attr)->index; in_min_store() local 238 int index = to_sensor_dev_attr(attr)->index; in_max_store() local 279 int index = to_sensor_dev_attr(attr)->index; temp_min_store() local 301 int index = to_sensor_dev_attr(attr)->index; temp_max_store() local [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | adm1025.c | 166 int index = to_sensor_dev_attr(attr)->index; in in_show() local 168 return sprintf(buf, "%u\n", IN_FROM_REG(data->in[index], in in_show() 169 in_scale[index])); in in_show() 175 int index = to_sensor_dev_attr(attr)->index; in in_min_show() local 177 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_min[index], in in_min_show() 178 in_scale[index])); in in_min_show() 184 int index = to_sensor_dev_attr(attr)->index; in in_max_show() local 193 int index = to_sensor_dev_attr(attr)->index; temp_show() local 201 int index = to_sensor_dev_attr(attr)->index; temp_min_show() local 209 int index = to_sensor_dev_attr(attr)->index; temp_max_show() local 217 int index = to_sensor_dev_attr(attr)->index; in_min_store() local 238 int index = to_sensor_dev_attr(attr)->index; in_max_store() local 279 int index = to_sensor_dev_attr(attr)->index; temp_min_store() local 301 int index = to_sensor_dev_attr(attr)->index; temp_max_store() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_grid_col_ffi.cpp | 36 int32_t index = 0; in InheritGridContainerSize() local 37 gridContainerSize.xs = containerSizeArray[index++].value(); in InheritGridContainerSize() 38 gridContainerSize.sm = containerSizeArray[index++].value(); in InheritGridContainerSize() 39 gridContainerSize.md = containerSizeArray[index++].value(); in InheritGridContainerSize() 40 gridContainerSize.lg = containerSizeArray[index++].value(); in InheritGridContainerSize() 41 gridContainerSize.xl = containerSizeArray[index++].value(); in InheritGridContainerSize() 42 gridContainerSize.xxl = containerSizeArray[index].value(); in InheritGridContainerSize() 56 int32_t index = 0; in ParserGridContainerSize() local 57 containerSizeArray[index++] = columnNumber.xs; in ParserGridContainerSize() 58 containerSizeArray[index in ParserGridContainerSize() [all...] |
/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/ |
H A D | result_set_utils.h | 35 int32_t index = 0; in GetValFromColumn() local 36 err = resultSet->GetColumnIndex(columnName, index); in GetValFromColumn() 38 COMMON_ERR_LOG("get column index err %{public}d", err); in GetValFromColumn() 45 data = GetStringValFromColumn(index, resultSet); in GetValFromColumn() 49 data = GetIntValFromColumn(index, resultSet); in GetValFromColumn() 53 data = GetLongValFromColumn(index, resultSet); in GetValFromColumn() 57 data = GetDoubleValFromColumn(index, resultSet); in GetValFromColumn() 69 static inline std::string GetStringValFromColumn(int index, T &resultSet) in GetStringValFromColumn() argument 72 if (resultSet->GetString(index, stringVal)) { in GetStringValFromColumn() 79 static inline int32_t GetIntValFromColumn(int index, argument 89 GetLongValFromColumn(int index, T &resultSet) GetLongValFromColumn() argument 99 GetDoubleValFromColumn(int index, T &resultSet) GetDoubleValFromColumn() argument [all...] |
/foundation/multimedia/ringtone_library/services/utils/include/ |
H A D | result_set_utils.h | 36 int32_t index = 0; in GetValFromColumn() local 37 err = resultSet->GetColumnIndex(columnName, index); in GetValFromColumn() 39 RINGTONE_ERR_LOG("get column index err %{public}d", err); in GetValFromColumn() 46 data = GetStringValFromColumn(index, resultSet); in GetValFromColumn() 50 data = GetIntValFromColumn(index, resultSet); in GetValFromColumn() 54 data = GetLongValFromColumn(index, resultSet); in GetValFromColumn() 58 data = GetDoubleValFromColumn(index, resultSet); in GetValFromColumn() 70 static inline std::string GetStringValFromColumn(int index, T &resultSet) in GetStringValFromColumn() argument 73 if (resultSet->GetString(index, stringVal)) { in GetStringValFromColumn() 80 static inline int32_t GetIntValFromColumn(int index, argument 90 GetLongValFromColumn(int index, T &resultSet) GetLongValFromColumn() argument 100 GetDoubleValFromColumn(int index, T &resultSet) GetDoubleValFromColumn() argument [all...] |
/foundation/communication/dsoftbus/tests/core/common/dfx/log/unittest/src/ |
H A D | disc_log_test.cpp | 40 int32_t index = 0; in HWTEST_F() local 43 ExpectMatchSoftBusLogAttrs(DISC_LABELS[index], DISC_INIT, discDomainBase, "DiscInit"); in HWTEST_F() 44 ExpectMatchSoftBusLogAttrs(DISC_LABELS[++index], DISC_CONTROL, ++discDomainBase, "DiscControl"); in HWTEST_F() 45 ExpectMatchSoftBusLogAttrs(DISC_LABELS[++index], DISC_LNN, ++discDomainBase, "DiscLnn"); in HWTEST_F() 46 ExpectMatchSoftBusLogAttrs(DISC_LABELS[++index], DISC_BLE, ++discDomainBase, "DiscBle"); in HWTEST_F() 47 ExpectMatchSoftBusLogAttrs(DISC_LABELS[++index], DISC_BLE_ADAPTER, ++discDomainBase, "DiscBleAdapter"); in HWTEST_F() 48 ExpectMatchSoftBusLogAttrs(DISC_LABELS[++index], DISC_COAP, ++discDomainBase, "DiscCoap"); in HWTEST_F() 49 ExpectMatchSoftBusLogAttrs(DISC_LABELS[++index], DISC_DFINDER, ++discDomainBase, "DiscDfinder"); in HWTEST_F() 50 ExpectMatchSoftBusLogAttrs(DISC_LABELS[++index], DISC_ABILITY, ++discDomainBase, "DiscAbility"); in HWTEST_F() 51 ExpectMatchSoftBusLogAttrs(DISC_LABELS[++index], DISC_US in HWTEST_F() [all...] |
/foundation/communication/wifi/wifi/test/fuzztest/frameworks/native/c_adapter/wifichotspot_fuzzer/ |
H A D | wifichotspot_fuzzer.cpp | 35 int index = 0; in SetHotspotConfigTest() local 36 config.securityType = static_cast<int>(data[index++]); in SetHotspotConfigTest() 37 config.band = static_cast<int>(data[index++]); in SetHotspotConfigTest() 38 config.channelNum = static_cast<int>(data[index++]); in SetHotspotConfigTest() 55 int index = 0; in GetHotspotConfigTest() local 56 result.securityType = static_cast<int>(data[index++]); in GetHotspotConfigTest() 57 result.band = static_cast<int>(data[index++]); in GetHotspotConfigTest() 58 result.channelNum = static_cast<int>(data[index++]); in GetHotspotConfigTest() 72 int index = 0; in GetStationListTest() local 74 result.disconnectedReason = static_cast<unsigned short>(data[index in GetStationListTest() 85 int index = 0; DisassociateStaTest() local [all...] |
/kernel/linux/linux-5.10/fs/erofs/ |
H A D | zpvec.h | 34 unsigned int nr, index; member 53 unsigned int index; in z_erofs_pagevec_ctor_next_page() local 59 for (index = 0; index < nr; ++index) { in z_erofs_pagevec_ctor_next_page() 60 const erofs_vtptr_t t = ctor->pages[index]; in z_erofs_pagevec_ctor_next_page() 84 ctor->index = 0; in z_erofs_pagevec_ctor_pagedown() 105 ctor->index = i; in z_erofs_pagevec_ctor_init() 119 ctor->index + 1 == ctor->nr) in z_erofs_pagevec_enqueue() 123 if (ctor->index > in z_erofs_pagevec_enqueue() [all...] |
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/testing/ |
H A D | FakeResult.java | 22 .thenComparing(r -> r.index) 27 * not used in the same test (results are equal if their path and index are equal, and they 31 * @param index the sort index of the result (to distinguish paths with the same path). 35 public static Result of(String path, int index, boolean isGrouped, String... values) { in of() argument 37 RbPath.parse(path), ImmutableList.copyOf(values), isGrouped, index, false); in of() 44 * @param index the sort index of the result (to distinguish paths with the same path). 47 public static Result fallback(String path, int index, String... values) { in fallback() argument 48 return new FakeResult(RbPath.parse(path), ImmutableList.copyOf(values), false, index, tru in fallback() 54 private final int index; global() field in FakeResult 56 FakeResult( RbPath path, ImmutableList<String> values, boolean grouped, int index, boolean isFallback) FakeResult() argument [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_samplers.c | 33 nir_ssa_def *index = NULL; in lower_tex_src_to_offset() local 48 if (nir_src_is_const(deref->arr.index) && index == NULL) { in lower_tex_src_to_offset() 49 /* We're still building a direct index */ in lower_tex_src_to_offset() 50 unsigned index_in_array = nir_src_as_uint(deref->arr.index); in lower_tex_src_to_offset() 61 * so just clamp the index. in lower_tex_src_to_offset() 64 * of bounds, and they are used as an index to arrays of driver state. in lower_tex_src_to_offset() 72 if (index == NULL) { in lower_tex_src_to_offset() 74 index = nir_imm_int(b, base_index); in lower_tex_src_to_offset() 78 index in lower_tex_src_to_offset() [all...] |
/third_party/ltp/testcases/kernel/syscalls/fork/ |
H A D | fork04.c | 141 int index; in child_environment() local 147 for (index = 0; index < (int)NUMBER_OF_ENVIRON; index++) { in child_environment() 150 var = getenv(environ_list[index]); in child_environment() 152 (void)sprintf(msg, "%s:%s", environ_list[index], in child_environment() 155 (void)sprintf(msg, "%s:%s", environ_list[index], var); in child_environment() 241 unsigned int index; in parent_environment() local 246 for (index = 0; index < NUMBER_OF_ENVIRO in parent_environment() [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | literal-objects-inl.h | 31 Object ObjectBoilerplateDescription::name(int index) const { in name() 33 return name(cage_base, index); in name() 37 int index) const { in name() 40 DCHECK_NE(size(), index); in name() local 41 return get(cage_base, 2 * index + kDescriptionStartIndex); in name() 44 Object ObjectBoilerplateDescription::value(int index) const { in value() 46 return value(cage_base, index); in value() 50 int index) const { in value() 51 return get(cage_base, 2 * index + 1 + kDescriptionStartIndex); in value() 54 void ObjectBoilerplateDescription::set_key_value(int index, Objec argument [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | layout_align.rs | 24 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 25 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 26 let byte_index = index / 8; in get_bit() 29 7 - (index % 8) in get_bit() 31 index % 8 in get_bit() 37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 38 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 39 let byte_index = index / 8; in set_bit() 42 7 - (index % 8) in set_bit() 44 index in set_bit() [all...] |
H A D | union_bitfield_1_0.rs | 24 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 25 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 26 let byte_index = index / 8; in get_bit() 29 7 - (index % 8) in get_bit() 31 index % 8 in get_bit() 37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 38 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 39 let byte_index = index / 8; in set_bit() 42 7 - (index % 8) in set_bit() 44 index in set_bit() [all...] |
H A D | issue-1076-unnamed-bitfield-alignment.rs | 24 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 25 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 26 let byte_index = index / 8; in get_bit() 29 7 - (index % 8) in get_bit() 31 index % 8 in get_bit() 37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 38 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 39 let byte_index = index / 8; in set_bit() 42 7 - (index % 8) in set_bit() 44 index in set_bit() [all...] |
H A D | issue-1034.rs | 24 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 25 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 26 let byte_index = index / 8; in get_bit() 29 7 - (index % 8) in get_bit() 31 index % 8 in get_bit() 37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 38 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 39 let byte_index = index / 8; in set_bit() 42 7 - (index % 8) in set_bit() 44 index in set_bit() [all...] |
H A D | layout_eth_conf_1_0.rs | 24 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 25 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 26 let byte_index = index / 8; in get_bit() 29 7 - (index % 8) in get_bit() 31 index % 8 in get_bit() 37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 38 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 39 let byte_index = index / 8; in set_bit() 42 7 - (index % 8) in set_bit() 44 index in set_bit() [all...] |
H A D | layout_mbuf_1_0.rs | 24 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 25 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 26 let byte_index = index / 8; in get_bit() 29 7 - (index % 8) in get_bit() 31 index % 8 in get_bit() 37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 38 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 39 let byte_index = index / 8; in set_bit() 42 7 - (index % 8) in set_bit() 44 index in set_bit() [all...] |
H A D | union_with_anon_struct_bitfield_1_0.rs | 24 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 25 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 26 let byte_index = index / 8; in get_bit() 29 7 - (index % 8) in get_bit() 31 index % 8 in get_bit() 37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 38 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 39 let byte_index = index / 8; in set_bit() 42 7 - (index % 8) in set_bit() 44 index in set_bit() [all...] |
H A D | incomplete-array-padding.rs | 24 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 25 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 26 let byte_index = index / 8; in get_bit() 29 7 - (index % 8) in get_bit() 31 index % 8 in get_bit() 37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 38 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 39 let byte_index = index / 8; in set_bit() 42 7 - (index % 8) in set_bit() 44 index in set_bit() [all...] |
/third_party/rust/crates/bindgen/bindgen/codegen/ |
H A D | bitfield_unit.rs | 19 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 20 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 22 let byte_index = index / 8; in get_bit() 26 7 - (index % 8) in get_bit() 28 index % 8 in get_bit() 37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 38 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 40 let byte_index = index / 8; in set_bit() 44 7 - (index % 8) in set_bit() 46 index in set_bit() [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-9/ |
H A D | layout_align.rs | 24 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 25 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 26 let byte_index = index / 8; in get_bit() 29 7 - (index % 8) in get_bit() 31 index % 8 in get_bit() 37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 38 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 39 let byte_index = index / 8; in set_bit() 42 7 - (index % 8) in set_bit() 44 index in set_bit() [all...] |
H A D | incomplete-array-padding.rs | 24 pub fn get_bit(&self, index: usize) -> bool { in get_bit() 25 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 26 let byte_index = index / 8; in get_bit() 29 7 - (index % 8) in get_bit() 31 index % 8 in get_bit() 37 pub fn set_bit(&mut self, index: usize, val: bool) { in set_bit() 38 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 39 let byte_index = index / 8; in set_bit() 42 7 - (index % 8) in set_bit() 44 index in set_bit() [all...] |
/third_party/protobuf/js/experimental/runtime/internal/ |
H A D | checks.js | 129 * Ensures that `index` specifies a valid position in an indexable object of 130 * size `size`. A position index may range from zero to size, inclusive. 131 * @param {number} index 133 * @throws {!Error} If the index is out of range and the check state is debug. 135 function checkPositionIndex(index, size) { 139 checkCriticalPositionIndex(index, size); 143 * Ensures that `index` specifies a valid position in an indexable object of 144 * size `size`. A position index may range from zero to size, inclusive. 145 * @param {number} index 147 * @throws {!Error} If the index i [all...] |