Home
last modified time | relevance | path

Searched refs:sysfile (Results 1 – 4 of 4) sorted by relevance

/external/freetype/builds/amiga/src/base/
Dftsystem.c259 struct SysFile* sysfile; in ft_amiga_stream_close() local
261 sysfile = STREAM_FILE( stream ); in ft_amiga_stream_close()
262 Close ( sysfile->file ); in ft_amiga_stream_close()
263 FreeMem ( sysfile, sizeof ( struct SysFile )); in ft_amiga_stream_close()
297 struct SysFile* sysfile; in ft_amiga_stream_io() local
302 sysfile = STREAM_FILE( stream ); in ft_amiga_stream_io()
305 if ( (offset < sysfile->iobuf_start) || (offset + count > sysfile->iobuf_end) ) in ft_amiga_stream_io()
308 if ( !sysfile->iobuf_end || offset != sysfile->iobuf_end ) in ft_amiga_stream_io()
311 Seek( sysfile->file, offset, OFFSET_BEGINNING ); in ft_amiga_stream_io()
313 sysfile->iobuf_start = offset; in ft_amiga_stream_io()
[all …]
/external/devlib/devlib/module/
Dcpufreq.py58 sysfile = '/sys/devices/system/cpu/{}/cpufreq/scaling_available_governors'.format(cpu)
59 output = self.target.read_value(sysfile)
66 sysfile = '/sys/devices/system/cpu/{}/cpufreq/scaling_governor'.format(cpu)
67 return self.target.read_value(sysfile)
95 sysfile = '/sys/devices/system/cpu/{}/cpufreq/scaling_governor'.format(cpu)
96 self.target.write_value(sysfile, governor)
203 sysfile = '/sys/devices/system/cpu/{}/cpufreq/scaling_min_freq'.format(cpu)
204 return self.target.read_int(sysfile)
232 sysfile = '/sys/devices/system/cpu/{}/cpufreq/scaling_min_freq'.format(cpu)
233 self.target.write_value(sysfile, value)
[all …]
/external/elfutils/libdwfl/
Dlinux-kernel-modules.c824 char *sysfile; in INTDEF() local
825 if (asprintf (&sysfile, SECADDRDIRFMT "%s", modname, secname) < 0) in INTDEF()
828 FILE *f = fopen (sysfile, "r"); in INTDEF()
829 free (sysfile); in INTDEF()
859 if (asprintf (&sysfile, SECADDRDIRFMT "_%s", in INTDEF()
862 f = fopen (sysfile, "r"); in INTDEF()
863 free (sysfile); in INTDEF()
874 int len = asprintf (&sysfile, SECADDRDIRFMT "%s", in INTDEF()
878 char *end = sysfile + len; in INTDEF()
882 f = fopen (sysfile, "r"); in INTDEF()
[all …]
/external/autotest/server/cros/network/
Dattenuator_controller.py284 sysfile = gpio_pin.export_file
286 sysfile = gpio_pin.unexport_file
287 self._host.run('echo %s > %s' % (gpio_pin.offset, sysfile),