Home
last modified time | relevance | path

Searched refs:names (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dinv_sysfs_utils.c102 int inv_read_raw(const struct inv_sysfs_names_s *names, long *data, in inv_read_raw() argument
108 count = inv_sysfs_read((char*)names->raw_data, sizeof(str), str); in inv_read_raw()
128 int inv_read_temperature_raw(const struct inv_sysfs_names_s *names, short *data, in inv_read_temperature_raw() argument
134 count = inv_sysfs_read((char*)names->temperature, sizeof(str), str); in inv_read_temperature_raw()
149 int inv_read_fifo_rate(const struct inv_sysfs_names_s *names, short *data) in inv_read_fifo_rate() argument
154 count = inv_sysfs_read((char*)names->fifo_rate, sizeof(str), str); in inv_read_fifo_rate()
169 int inv_read_power_state(const struct inv_sysfs_names_s *names, char *data) in inv_read_power_state() argument
174 count = inv_sysfs_read((char*)names->power_state, sizeof(str), str); in inv_read_power_state()
189 int inv_read_scale(const struct inv_sysfs_names_s *names, float *data) in inv_read_scale() argument
194 count = inv_sysfs_read((char*)names->scale, sizeof(str), str); in inv_read_scale()
[all …]
Dinv_sysfs_utils.h68 int inv_read_raw(const struct inv_sysfs_names_s *names, long *data,
70 int inv_read_temperature_raw(const struct inv_sysfs_names_s *names, short *data,
72 int inv_read_fifo_rate(const struct inv_sysfs_names_s *names, short *data);
73 int inv_read_power_state(const struct inv_sysfs_names_s *names, char *data);
74 int inv_read_scale(const struct inv_sysfs_names_s *names, float *data);
75 int inv_read_temp_scale(const struct inv_sysfs_names_s *names, short *data);
76 int inv_read_temp_offset(const struct inv_sysfs_names_s *names, short *data);
77 int inv_write_fifo_rate(const struct inv_sysfs_names_s *names, short data);
78 int inv_write_buffer_enable(const struct inv_sysfs_names_s *names, char data);
79 int inv_write_power_state(const struct inv_sysfs_names_s *names, char data);
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dinv_sysfs_utils.c96 int inv_read_raw(const struct inv_sysfs_names_s *names, long *data, in inv_read_raw() argument
102 count = inv_sysfs_read((char*)names->raw_data, sizeof(str), str); in inv_read_raw()
122 int inv_read_temperature_raw(const struct inv_sysfs_names_s *names, short *data, in inv_read_temperature_raw() argument
128 count = inv_sysfs_read((char*)names->temperature, sizeof(str), str); in inv_read_temperature_raw()
143 int inv_read_fifo_rate(const struct inv_sysfs_names_s *names, short *data) in inv_read_fifo_rate() argument
148 count = inv_sysfs_read((char*)names->fifo_rate, sizeof(str), str); in inv_read_fifo_rate()
163 int inv_read_power_state(const struct inv_sysfs_names_s *names, char *data) in inv_read_power_state() argument
168 count = inv_sysfs_read((char*)names->power_state, sizeof(str), str); in inv_read_power_state()
183 int inv_read_scale(const struct inv_sysfs_names_s *names, float *data) in inv_read_scale() argument
188 count = inv_sysfs_read((char*)names->scale, sizeof(str), str); in inv_read_scale()
[all …]
Dinv_sysfs_utils.h62 int inv_read_raw(const struct inv_sysfs_names_s *names, long *data,
64 int inv_read_temperature_raw(const struct inv_sysfs_names_s *names, short *data,
66 int inv_read_fifo_rate(const struct inv_sysfs_names_s *names, short *data);
67 int inv_read_power_state(const struct inv_sysfs_names_s *names, char *data);
68 int inv_read_scale(const struct inv_sysfs_names_s *names, float *data);
69 int inv_read_temp_scale(const struct inv_sysfs_names_s *names, short *data);
70 int inv_read_temp_offset(const struct inv_sysfs_names_s *names, short *data);
71 int inv_write_fifo_rate(const struct inv_sysfs_names_s *names, short data);
72 int inv_write_buffer_enable(const struct inv_sysfs_names_s *names, char data);
73 int inv_write_power_state(const struct inv_sysfs_names_s *names, char data);
[all …]
/hardware/google/gfxstream/host/gl/gl-host-common/opengl/
DEmuglBackendList_unittest.cpp66 const std::vector<std::string>& names = list.names(); in TEST() local
67 EXPECT_EQ(kExpectedLen, names.size()); in TEST()
69 EXPECT_STREQ(kExpected[n], names[n].c_str()) << "#" << n; in TEST()
111 const std::vector<std::string>& names = list.names(); in TEST() local
113 EXPECT_EQ(1U, names.size()); in TEST()
114 EXPECT_STREQ("bar", names[0].c_str()); in TEST()
DEmuglBackendList.cpp34 const std::vector<std::string>& names) : in EmuglBackendList() argument
35 mDefaultName("auto"), mNames(names), mProgramBitness(programBitness) { } in EmuglBackendList()
/hardware/interfaces/neuralnetworks/utils/service/src/
DService.cpp59 const auto names = getAllHalInstanceNames(descriptor); in getHidlDevicesForVersion() local
60 for (const auto& name : names) { in getHidlDevicesForVersion()
81 std::vector<std::string> names; in getAidlDevices() local
82 constexpr auto callback = [](const char* serviceName, void* names) { in getAidlDevices() argument
83 static_cast<std::vector<std::string>*>(names)->emplace_back(serviceName); in getAidlDevices()
90 static_cast<void*>(&names), callback); in getAidlDevices()
93 for (const auto& name : names) { in getAidlDevices()
/hardware/interfaces/usb/1.0/default/
DUsb.cpp163 Status getTypeCPortNamesHelper(std::vector<std::string>& names) { in getTypeCPortNamesHelper() argument
185 names.resize(ports); in getTypeCPortNamesHelper()
195 names[current++] = ep->d_name; in getTypeCPortNamesHelper()
241 std::vector<std::string> names; in getPortStatusHelper() local
242 Status result = getTypeCPortNamesHelper(names); in getPortStatusHelper()
245 currentPortStatus.resize(names.size()); in getPortStatusHelper()
246 for(std::vector<std::string>::size_type i = 0; i < names.size(); i++) { in getPortStatusHelper()
247 ALOGI("%s", names[i].c_str()); in getPortStatusHelper()
248 currentPortStatus[i].portName = names[i]; in getPortStatusHelper()
251 if (getCurrentRoleHelper(names[i], PortRoleType::POWER_ROLE, in getPortStatusHelper()
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/
Du_debug.c362 debug_dump_enum(const struct debug_named_value *names, in debug_dump_enum() argument
367 while (names->name) { in debug_dump_enum()
368 if (names->value == value) in debug_dump_enum()
369 return names->name; in debug_dump_enum()
370 ++names; in debug_dump_enum()
379 debug_dump_flags(const struct debug_named_value *names, uint64_t value) in debug_dump_flags() argument
387 while (names->name) { in debug_dump_flags()
388 if ((names->value & value) == names->value) { in debug_dump_flags()
393 strncat(output, names->name, sizeof(output) - strlen(output) - 1); in debug_dump_flags()
395 value &= ~names->value; in debug_dump_flags()
[all …]
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DVtsHalNeuralnetworks.cpp95 const std::vector<std::string> names = hardware::getAllHalInstanceNames(IDevice::descriptor); in getNamedDevicesImpl() local
99 namedDevices.reserve(names.size()); in getNamedDevicesImpl()
100 std::transform(names.begin(), names.end(), std::back_inserter(namedDevices), makeNamedDevice); in getNamedDevicesImpl()
/hardware/google/gfxstream/host/gl/gl-host-common/include/host-common/opengl/
DEmuglBackendList.h32 EmuglBackendList(int programBitness, const std::vector<std::string>& names);
38 const std::vector<std::string>& names() const { return mNames; } in names() function
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DVtsHalNeuralnetworks.cpp98 const std::vector<std::string> names = hardware::getAllHalInstanceNames(IDevice::descriptor); in getNamedDevicesImpl() local
102 namedDevices.reserve(names.size()); in getNamedDevicesImpl()
103 std::transform(names.begin(), names.end(), std::back_inserter(namedDevices), makeNamedDevice); in getNamedDevicesImpl()
/hardware/nxp/uwb/aidl/
Duwb.cpp36 ::ndk::ScopedAStatus Uwb::getChips(std::vector<std::string>* names) { in getChips() argument
38 names->push_back(chip.first); in getChips()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DVtsHalNeuralnetworks.cpp101 const std::vector<std::string> names = hardware::getAllHalInstanceNames(IDevice::descriptor); in getNamedDevicesImpl() local
105 namedDevices.reserve(names.size()); in getNamedDevicesImpl()
106 std::transform(names.begin(), names.end(), std::back_inserter(namedDevices), makeNamedDevice); in getNamedDevicesImpl()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DVtsHalNeuralnetworks.cpp130 const std::vector<std::string> names = ::android::getAidlHalInstanceNames(IDevice::descriptor); in getNamedDevicesImpl() local
134 namedDevices.reserve(names.size()); in getNamedDevicesImpl()
135 std::transform(names.begin(), names.end(), std::back_inserter(namedDevices), makeNamedDevice); in getNamedDevicesImpl()
/hardware/google/gfxstream/guest/mesa/src/util/format/
Du_format_parse.py355 names = ['']*4
360 names[swizzle] += 'rgba'[i]
365 names[swizzle] += 'zs'[i]
369 if names[i] == '':
370 names[i] = 'x'
372 names = ['x', 'y', 'z', 'w']
396 channel = Channel(type, norm, pure, size, names[i])
/hardware/interfaces/audio/aidl/vts/
DEffectFactoryHelper.h42 auto names = android::getAidlHalInstanceNames(serviceName);
45 for (const auto& name : names) {
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DVtsHalNeuralnetworks.cpp106 const std::vector<std::string> names = hardware::getAllHalInstanceNames(IDevice::descriptor); in getNamedDevicesImpl() local
110 namedDevices.reserve(names.size()); in getNamedDevicesImpl()
111 std::transform(names.begin(), names.end(), std::back_inserter(namedDevices), makeNamedDevice); in getNamedDevicesImpl()
/hardware/interfaces/audio/effect/2.0/
DIEqualizerEffect.hal64 * Gets the names of all presets the equalizer supports.
66 getPresetNames() generates (Result retval, vec<string> names);
69 * Sets the current preset using the index of the preset in the names
/hardware/interfaces/audio/effect/5.0/
DIEqualizerEffect.hal64 * Gets the names of all presets the equalizer supports.
66 getPresetNames() generates (Result retval, vec<string> names);
69 * Sets the current preset using the index of the preset in the names
/hardware/interfaces/audio/effect/7.0/
DIEqualizerEffect.hal64 * Gets the names of all presets the equalizer supports.
66 getPresetNames() generates (Result retval, vec<string> names);
69 * Sets the current preset using the index of the preset in the names
/hardware/interfaces/audio/effect/6.0/
DIEqualizerEffect.hal64 * Gets the names of all presets the equalizer supports.
66 getPresetNames() generates (Result retval, vec<string> names);
69 * Sets the current preset using the index of the preset in the names
/hardware/interfaces/audio/effect/4.0/
DIEqualizerEffect.hal64 * Gets the names of all presets the equalizer supports.
66 getPresetNames() generates (Result retval, vec<string> names);
69 * Sets the current preset using the index of the preset in the names
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DScopedGLState.cpp70 void ScopedGLState::push(std::initializer_list<GLenum> names) { in push() argument
71 for (const auto name : names) { in push()
/hardware/google/gfxstream/host/gl/glestranslator/include/GLcommon/
DScopedGLState.h32 void push(std::initializer_list<GLenum> names);

12345678910>>...13