Home
last modified time | relevance | path

Searched refs:buf (Results 1 – 2 of 2) sorted by relevance

/optee_benchmark/
A Dbenchmark_aux.c134 char buf[256]; in get_library_load_offset() local
148 while (fgets(buf, sizeof(buf), file) != NULL) { in get_library_load_offset()
149 len = strlen(buf); in get_library_load_offset()
150 if (len > 0 && buf[len-1] == '\n') in get_library_load_offset()
151 buf[--len] = '\0'; in get_library_load_offset()
153 if (len <= len_libname || !strstr(buf, libname)) in get_library_load_offset()
156 if (sscanf(buf, "%zx-%zx %c%c%c%c %zx", &start, &end, in get_library_load_offset()
/optee_benchmark/libyaml/tests/
A Dtest-version.c17 char buf[64]; in main() local
20 sprintf(buf, "%d.%d.%d", major, minor, patch); in main()
21 assert(strcmp(buf, yaml_get_version_string()) == 0); in main()

Completed in 3 milliseconds