Home
last modified time | relevance | path

Searched refs:open_fn (Results 1 – 5 of 5) sorted by relevance

/external/tinycompress/
Dcompress_plugin.c338 char *so_name, *open_fn, token[80], *name, *token_saveptr; in compress_plug_open() local
370 open_fn = calloc(1, open_fn_size); in compress_plug_open()
371 if (!open_fn) { in compress_plug_open()
376 strlcpy(open_fn, name, open_fn_size); in compress_plug_open()
377 strlcat(open_fn, "_open", open_fn_size); in compress_plug_open()
379 plug_data->plugin_open_fn = dlsym(dl_hdl, open_fn); in compress_plug_open()
409 free(open_fn); in compress_plug_open()
/external/perfetto/src/traced/probes/sys_stats/
Dsys_stats_data_source.cc78 OpenFunction open_fn) in SysStatsDataSource() argument
85 open_fn = open_fn ? open_fn : OpenReadOnly; in SysStatsDataSource()
86 meminfo_fd_ = open_fn("/proc/meminfo"); in SysStatsDataSource()
87 vmstat_fd_ = open_fn("/proc/vmstat"); in SysStatsDataSource()
88 stat_fd_ = open_fn("/proc/stat"); in SysStatsDataSource()
Dsys_stats_data_source_unittest.cc199 OpenFunction open_fn) in TestSysStatsDataSource() argument
204 open_fn) {} in TestSysStatsDataSource()
/external/tinyalsa/
Dpcm_plugin.c711 char *so_name, token[80], *name, *open_fn, *token_saveptr; in pcm_plug_open() local
741 open_fn = calloc(1, strlen(name) + strlen("_open") + 1); in pcm_plug_open()
742 if (!open_fn) { in pcm_plug_open()
747 strncpy(open_fn, name, strlen(name) + 1); in pcm_plug_open()
748 strcat(open_fn, "_open"); in pcm_plug_open()
750 printf("%s - %s\n", __func__, open_fn); in pcm_plug_open()
751 plug_data->plugin_open_fn = dlsym(dl_hdl, open_fn); in pcm_plug_open()
778 free(open_fn); in pcm_plug_open()
782 free(open_fn); in pcm_plug_open()
/external/tensorflow/tensorflow/python/keras/utils/
Ddata_utils.py143 open_fn = tarfile.open
146 open_fn = zipfile.ZipFile
150 with open_fn(file_path) as archive: