Home
last modified time | relevance | path

Searched refs:spec (Results 1 – 25 of 76) sorted by relevance

1234

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dformatter.h438 calc_number_widths(NumberFieldWidths *spec, Py_ssize_t n_prefix, in calc_number_widths() argument
447 spec->n_digits = n_number - n_remainder - (has_decimal?1:0); in calc_number_widths()
448 spec->n_lpadding = 0; in calc_number_widths()
449 spec->n_prefix = n_prefix; in calc_number_widths()
450 spec->n_decimal = has_decimal ? strlen(locale->decimal_point) : 0; in calc_number_widths()
451 spec->n_remainder = n_remainder; in calc_number_widths()
452 spec->n_spadding = 0; in calc_number_widths()
453 spec->n_rpadding = 0; in calc_number_widths()
454 spec->sign = '\0'; in calc_number_widths()
455 spec->n_sign = 0; in calc_number_widths()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
Dformatter.h438 calc_number_widths(NumberFieldWidths *spec, Py_ssize_t n_prefix, in calc_number_widths() argument
447 spec->n_digits = n_number - n_remainder - (has_decimal?1:0); in calc_number_widths()
448 spec->n_lpadding = 0; in calc_number_widths()
449 spec->n_prefix = n_prefix; in calc_number_widths()
450 spec->n_decimal = has_decimal ? strlen(locale->decimal_point) : 0; in calc_number_widths()
451 spec->n_remainder = n_remainder; in calc_number_widths()
452 spec->n_spadding = 0; in calc_number_widths()
453 spec->n_rpadding = 0; in calc_number_widths()
454 spec->sign = '\0'; in calc_number_widths()
455 spec->n_sign = 0; in calc_number_widths()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/poplar/
Dplat_storage.c30 static int open_mmap(const uintptr_t spec);
31 static int open_fip(const uintptr_t spec);
53 int (*check)(const uintptr_t spec);
79 static int open_mmap(const uintptr_t spec) in open_mmap() argument
86 result = io_open(mmap_dev_handle, spec, &local_image_handle); in open_mmap()
94 static int open_fip(const uintptr_t spec) in open_fip() argument
101 result = io_open(fip_dev_handle, spec, &local_image_handle); in open_fip()
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey/
Dhikey_io_storage.c32 int (*check)(const uintptr_t spec);
40 static int check_emmc(const uintptr_t spec);
41 static int check_fip(const uintptr_t spec);
139 static int check_emmc(const uintptr_t spec) in check_emmc() argument
146 result = io_open(emmc_dev_handle, spec, &local_handle); in check_emmc()
153 static int check_fip(const uintptr_t spec) in check_fip() argument
161 result = io_open(fip_dev_handle, spec, &local_image_handle); in check_fip()
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey960/
Dhikey960_io_storage.c26 int (*check)(const uintptr_t spec);
32 static int check_ufs(const uintptr_t spec);
33 static int check_fip(const uintptr_t spec);
136 static int check_ufs(const uintptr_t spec) in check_ufs() argument
143 result = io_open(ufs_dev_handle, spec, &local_handle); in check_ufs()
150 static int check_fip(const uintptr_t spec) in check_fip() argument
158 result = io_open(fip_dev_handle, spec, &local_image_handle); in check_fip()
/device/google/contexthub/util/nanotool/
Dcontexthub.cpp170 bool success = ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool { in CalibrateSensors() argument
171 return CalibrateSingleSensor(spec); in CalibrateSensors()
181 bool success = ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool { in TestSensors() argument
182 return TestSingleSensor(spec); in TestSensors()
188 bool ContextHub::EnableSensor(const SensorSpec& spec) { in EnableSensor() argument
192 req.config.sensor_type = static_cast<uint8_t>(spec.sensor_type); in EnableSensor()
195 if (spec.special_rate != SensorSpecialRate::None) { in EnableSensor()
196 req.config.rate = static_cast<uint32_t>(spec.special_rate); in EnableSensor()
199 spec.rate_hz); in EnableSensor()
201 req.config.latency = spec.latency_ns; in EnableSensor()
[all …]
Dnanotool.cpp213 static bool ParseRate(const std::string& param, SensorSpec& spec) { in ParseRate() argument
226 spec.special_rate = rate; in ParseRate()
231 spec.rate_hz = std::stof(param); in ParseRate()
232 if (spec.rate_hz < 0) { in ParseRate()
243 SensorSpec spec; in ParseSensorArg() local
253 spec.cal_ref = std::stof(param); in ParseSensorArg()
254 spec.have_cal_ref = true; in ParseSensorArg()
267 spec.sensor_type = ContextHub::SensorAbbrevNameToType(param); in ParseSensorArg()
268 if (spec.sensor_type == SensorType::Invalid_) { in ParseSensorArg()
274 if (!ParseRate(param, spec)) { in ParseSensorArg()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/qemu/
Dqemu_io_storage.c175 static int open_fip(const uintptr_t spec);
176 static int open_memmap(const uintptr_t spec);
181 int (*check)(const uintptr_t spec);
265 static int open_fip(const uintptr_t spec) in open_fip() argument
273 result = io_open(fip_dev_handle, spec, &local_image_handle); in open_fip()
282 static int open_memmap(const uintptr_t spec) in open_memmap() argument
289 result = io_open(memmap_dev_handle, spec, &local_image_handle); in open_memmap()
298 static int open_semihosting(const uintptr_t spec) in open_semihosting() argument
306 result = io_open(sh_dev_handle, spec, &local_image_handle); in open_semihosting()
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/
Dxf-opcode.h49 #define XF_PORT_CORE(spec) ((spec) & 0x3) argument
50 #define XF_PORT_CLIENT(spec) (((spec) >> 2) & 0x3F) argument
51 #define XF_PORT_ID(spec) (((spec) >> 8) & 0xF) argument
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/common/
Darm_io_storage.c99 static int open_fip(const uintptr_t spec);
100 static int open_memmap(const uintptr_t spec);
105 int (*check)(const uintptr_t spec);
210 static int open_fip(const uintptr_t spec) in open_fip() argument
218 result = io_open(fip_dev_handle, spec, &local_image_handle); in open_fip()
228 static int open_memmap(const uintptr_t spec) in open_memmap() argument
235 result = io_open(memmap_dev_handle, spec, &local_image_handle); in open_memmap()
/device/linaro/hikey/hifi/xaf/host-apf/include/
Dxf-opcode.h42 #define XF_PORT_CORE(spec) ((spec) & 0x3) argument
43 #define XF_PORT_CLIENT(spec) (((spec) >> 2) & 0x3F) argument
44 #define XF_PORT_ID(spec) (((spec) >> 8) & 0xF) argument
/device/linaro/bootloader/arm-trusted-firmware/drivers/io/
Dio_dummy.c29 static int dummy_block_open(io_dev_info_t *dev_info, const uintptr_t spec,
81 static int dummy_block_open(io_dev_info_t *dev_info, const uintptr_t spec, in dummy_block_open() argument
85 const io_block_spec_t *block_spec = (io_block_spec_t *)spec; in dummy_block_open()
Dio_semihosting.c24 static int sh_file_open(io_dev_info_t *dev_info, const uintptr_t spec,
71 const uintptr_t spec, io_entity_t *entity) in sh_file_open() argument
75 const io_file_spec_t *file_spec = (const io_file_spec_t *)spec; in sh_file_open()
Dio_memmap.c38 static int memmap_block_open(io_dev_info_t *dev_info, const uintptr_t spec,
98 static int memmap_block_open(io_dev_info_t *dev_info, const uintptr_t spec, in memmap_block_open() argument
102 const io_block_spec_t *block_spec = (io_block_spec_t *)spec; in memmap_block_open()
Dio_fip.c47 static int fip_file_open(io_dev_info_t *dev_info, const uintptr_t spec,
177 static int fip_file_open(io_dev_info_t *dev_info, const uintptr_t spec, in fip_file_open() argument
182 const io_uuid_spec_t *uuid_spec = (io_uuid_spec_t *)spec; in fip_file_open()
Dio_storage.c216 int io_open(uintptr_t dev_handle, const uintptr_t spec, uintptr_t *handle) in io_open() argument
219 assert((spec != (uintptr_t)NULL) && (handle != NULL)); in io_open()
229 result = dev->funcs->open(dev, spec, entity); in io_open()
Dio_block.c28 static int block_open(io_dev_info_t *dev_info, const uintptr_t spec,
123 static int block_open(io_dev_info_t *dev_info, const uintptr_t spec, in block_open() argument
130 (spec != (uintptr_t)NULL) && in block_open()
133 region = (io_block_spec_t *)spec; in block_open()
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/board/fvp/
Dfvp_io_storage.c91 static int open_semihosting(const uintptr_t spec) in open_semihosting() argument
99 result = io_open(sh_dev_handle, spec, &local_image_handle); in open_semihosting()
/device/linaro/bootloader/edk2/MdePkg/Library/UefiUsbLib/
DUefiUsbLib.uni5 // Usb Hid 1.1 spec and the standard requests defined in Usb 1.1 spec.
DUefiUsbLib.inf5 # Usb Hid 1.1 spec and the standard requests defined in Usb 1.1 spec.
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/
DTODO.txt1 Add spec for getsets.
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Isa/IsaBusDxe/
DIsaBusDxe.uni5 // in PI spec 1.2.1. It consumes the ISA Host Controller protocol produced by
26 "This driver follows UEFI driver model and layers on ISA HC protocol defined in PI spec 1.2.1. It c…
/device/google/cuttlefish_common/host/commands/virtual_usb_manager/vadb/
Dvirtual_adb_client.cpp131 struct itimerspec spec {}; in SendHeartbeat() struct
132 spec.it_value.tv_sec = kHeartbeatTimeoutSeconds; in SendHeartbeat()
133 timer_->TimerSet(0, &spec, nullptr); in SendHeartbeat()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Ddecimal.py3634 spec = _parse_format_specifier(specifier, _localeconv=_localeconv)
3638 sign = _format_sign(self._sign, spec)
3640 return _format_align(sign, body, spec)
3643 if spec['type'] is None:
3644 spec['type'] = ['g', 'G'][context.capitals]
3647 if spec['type'] == '%':
3652 precision = spec['precision']
3654 if spec['type'] in 'eE':
3656 elif spec['type'] in 'fF%':
3658 elif spec['type'] in 'gG' and len(self._int) > precision:
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_str.py167 def __format__(self, spec): argument
168 return spec
173 def __format__(self, spec): argument
378 def __format__(self, spec): argument
379 return spec

1234