Home
last modified time | relevance | path

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

123

/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/hikey/
Dplat_io_storage.c126 static int open_loader_mem(const uintptr_t spec);
127 static int open_fip(const uintptr_t spec);
128 static int open_dw_mmc(const uintptr_t spec);
129 static int open_dw_mmc_boot(const uintptr_t spec);
135 int (*check)(const uintptr_t spec);
189 static int open_loader_mem(const uintptr_t spec) in open_loader_mem() argument
196 result = io_open(loader_mem_dev_handle, spec, &image_handle); in open_loader_mem()
204 static int open_fip(const uintptr_t spec) in open_fip() argument
218 static int open_dw_mmc(const uintptr_t spec) in open_dw_mmc() argument
226 result = io_open(emmc_dev_handle, spec, &image_handle); in open_dw_mmc()
[all …]
Dpartitions.c160 uintptr_t emmc_dev_handle, spec, img_handle; in get_partition() local
166 &spec); in get_partition()
171 result = io_open(emmc_dev_handle, spec, &img_handle); in get_partition()
/device/google/contexthub/util/nanotool/
Dcontexthub.cpp168 bool success = ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool { in CalibrateSensors() argument
169 return CalibrateSingleSensor(spec); in CalibrateSensors()
179 bool success = ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool { in TestSensors() argument
180 return TestSingleSensor(spec); in TestSensors()
186 bool ContextHub::EnableSensor(const SensorSpec& spec) { in EnableSensor() argument
190 req.config.sensor_type = static_cast<uint8_t>(spec.sensor_type); in EnableSensor()
193 if (spec.special_rate != SensorSpecialRate::None) { in EnableSensor()
194 req.config.rate = static_cast<uint32_t>(spec.special_rate); in EnableSensor()
197 spec.rate_hz); in EnableSensor()
199 req.config.latency = spec.latency_ns; in EnableSensor()
[all …]
Dnanotool.cpp212 static bool ParseRate(const std::string& param, SensorSpec& spec) { in ParseRate() argument
225 spec.special_rate = rate; in ParseRate()
230 spec.rate_hz = std::stof(param); in ParseRate()
231 if (spec.rate_hz < 0) { in ParseRate()
242 SensorSpec spec; in ParseSensorArg() local
252 spec.cal_ref = std::stof(param); in ParseSensorArg()
253 spec.have_cal_ref = true; in ParseSensorArg()
266 spec.sensor_type = ContextHub::SensorAbbrevNameToType(param); in ParseSensorArg()
267 if (spec.sensor_type == SensorType::Invalid_) { in ParseSensorArg()
273 if (!ParseRate(param, spec)) { in ParseSensorArg()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/fvp/
Dfvp_io_storage.c132 static int open_fip(const uintptr_t spec);
133 static int open_memmap(const uintptr_t spec);
139 int (*check)(const uintptr_t spec);
226 static int open_fip(const uintptr_t spec) in open_fip() argument
240 static int open_memmap(const uintptr_t spec) in open_memmap() argument
247 result = io_open(memmap_dev_handle, spec, &local_image_handle); in open_memmap()
257 static int open_semihosting(const uintptr_t spec) in open_semihosting() argument
265 result = io_open(sh_dev_handle, spec, &local_image_handle); in open_semihosting()
/device/linaro/bootloader/arm-trusted-firmware/plat/juno/
Dplat_io_storage.c132 static int open_fip(const uintptr_t spec);
133 static int open_memmap(const uintptr_t spec);
139 int (*check)(const uintptr_t spec);
231 static int open_fip(const uintptr_t spec) in open_fip() argument
245 static int open_memmap(const uintptr_t spec) in open_memmap() argument
252 result = io_open(memmap_dev_handle, spec, &local_image_handle); in open_memmap()
/device/linaro/bootloader/arm-trusted-firmware/drivers/io/
Dio_memmap.c60 static int memmap_block_open(io_dev_info_t *dev_info, const uintptr_t spec,
120 static int memmap_block_open(io_dev_info_t *dev_info, const uintptr_t spec, in memmap_block_open() argument
124 const io_block_spec_t *block_spec = (io_block_spec_t *)spec; in memmap_block_open()
Dio_semihosting.c48 static int sh_file_open(io_dev_info_t *dev_info, const uintptr_t spec,
96 const uintptr_t spec, io_entity_t *entity) in sh_file_open() argument
100 const io_file_spec_t *file_spec = (const io_file_spec_t *)spec; in sh_file_open()
Dio_block.c67 static int block_open(io_dev_info_t *dev_info, const uintptr_t spec,
141 static int block_open(io_dev_info_t *dev_info, const uintptr_t spec, in block_open() argument
145 const io_block_spec_t *block_spec = (io_block_spec_t *)spec; in block_open()
Dio_storage.c245 int io_open(uintptr_t dev_handle, const uintptr_t spec, uintptr_t *handle) in io_open() argument
248 assert((spec != (uintptr_t)NULL) && (handle != NULL)); in io_open()
258 result = dev->funcs->open(dev, spec, entity); in io_open()
Dio_fip.c106 static int fip_file_open(io_dev_info_t *dev_info, const uintptr_t spec,
259 static int fip_file_open(io_dev_info_t *dev_info, const uintptr_t spec, in fip_file_open() argument
265 const io_file_spec_t *file_spec = (io_file_spec_t *)spec; in fip_file_open()
/device/linaro/bootloader/edk2/MdePkg/Library/UefiUsbLib/
DUefiUsbLib.inf5 # Usb Hid 1.1 spec and the standard requests defined in Usb 1.1 spec.
DUefiUsbLib.uni5 // Usb Hid 1.1 spec and the standard requests defined in Usb 1.1 spec.
/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/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/
DTODO.txt1 Add spec for getsets.
/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 …]
Dshlex.py100 spec = self.sourcehook(self.read_token())
101 if spec:
102 (newfile, newstream) = spec
/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
Dtest_difflib.py224 spec = '''\
241 spec = '''\
/device/linaro/bootloader/arm-trusted-firmware/include/drivers/io/
Dio_driver.h64 int (*open)(io_dev_info_t *dev_info, const uintptr_t spec,
Dio_storage.h110 int io_open(uintptr_t dev_handle, const uintptr_t spec, uintptr_t *handle);
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaBusDxe/
DAtaBusDxe.uni5 // in UEFI spec 2.2. It installs Block IO and Disk Info protocol for each ATA device
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDriverEntryPoint/
DUefiDriverEntryPoint.inf51 # For UEFI drivers, these architectural protocols defined in PI 1.0 spec need

123