Home
last modified time | relevance | path

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

/device/generic/goldfish/opengl/system/egl/
DClientAPIExts.cpp29 #define FUNC_TYPE(fname) __egl_ ## fname ## _t argument
30 #define API_ENTRY(fname,params,args) \ argument
31 typedef void (GL_APIENTRY *FUNC_TYPE(fname)) params;
33 #define API_ENTRY_RET(rtype,fname,params,args) \ argument
34 typedef rtype (GL_APIENTRY *FUNC_TYPE(fname)) params;
46 #define API_ENTRY(fname,params,args) \ argument
47 FUNC_TYPE(fname) fname;
49 #define API_ENTRY_RET(rtype,fname,params,args) \ argument
50 API_ENTRY(fname,params,args)
66 #define API_ENTRY(fname,params,args) \ in initClientFuncs() argument
[all …]
DClientAPIExts.h25 void* getProcAddress(const char *fname);
/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c164 FILE *openFile(const char *fname, const char *mode) in openFile() argument
166 FILE *f = fopen(fname, mode); in openFile()
168 …__android_log_print(ANDROID_LOG_ERROR, LOG_TAG, "Failed to open %s: err=%d [%s]", fname, errno, st… in openFile()
169 printf("\nFailed to open %s: err=%d [%s]\n", fname, errno, strerror(errno)); in openFile()
247 bool fileWriteData(const char *fname, const void *data, size_t size) in fileWriteData() argument
252 fd = open(fname, O_WRONLY); in fileWriteData()
254 …__android_log_print(ANDROID_LOG_ERROR, LOG_TAG, "Failed to open %s: err=%d [%s]", fname, errno, st… in fileWriteData()
255 printf("\nFailed to open %s: err=%d [%s]\n", fname, errno, strerror(errno)); in fileWriteData()
261 …__android_log_print(ANDROID_LOG_ERROR, LOG_TAG, "Failed to write to %s; err=%d [%s]", fname, errno… in fileWriteData()
262 printf("\nFailed to write %s; err=%d [%s]\n", fname, errno, strerror(errno)); in fileWriteData()
/device/google/dragon/sensor_hub/
Dcros_ec_sensors.cpp406 char fname[PATH_MAX]; in cros_ec_sysfs_set_input_attr() local
410 snprintf(fname, sizeof(fname), "%s%s/%s", IIO_DIR, path, attr); in cros_ec_sysfs_set_input_attr()
411 fname[sizeof(fname) - 1] = '\0'; in cros_ec_sysfs_set_input_attr()
413 fd = open(fname, O_WRONLY); in cros_ec_sysfs_set_input_attr()
416 fname, fd, strerror(errno)); in cros_ec_sysfs_set_input_attr()
424 ALOGE("fname = %s, value = %s\n", fname, value); in cros_ec_sysfs_set_input_attr()
/device/htc/flounder/sensor_hub/libsensors/
DCwMcuSensor.cpp72 char fname[PATH_MAX]; in sysfs_set_input_attr() local
76 snprintf(fname, sizeof(fname), "%s/%s", mDevPath, attr); in sysfs_set_input_attr()
77 fname[sizeof(fname) - 1] = '\0'; in sysfs_set_input_attr()
79 fd = open(fname, O_WRONLY); in sysfs_set_input_attr()
81 ALOGE("%s: fname = %s, fd = %d, failed: %s\n", __func__, fname, fd, strerror(errno)); in sysfs_set_input_attr()