Lines Matching defs:rec
965 int get_path_from_env(dir_rec_t* rec, const char* var) {
967 int ret = get_path_from_string(rec, path);
981 int get_path_from_string(dir_rec_t* rec, const char* path) {
998 rec->path = strdup(path);
999 if (rec->path == NULL) {
1003 rec->len = path_len;
1011 rec->path = (char*) malloc(dst_size);
1012 if (rec->path == NULL) {
1016 dst = rec->path;
1024 rec->len = dst - rec->path;