Lines Matching refs:buffer
75 char buffer[1024]; in main() local
114 while (fgets(buffer, 1023, stdin) != NULL) { in main()
117 for (i = 0; i < 1024 && buffer[i]; ++i) { in main()
118 switch (buffer[i]) { in main()
120 buffer[i-is_dir] = '\0'; in main()
137 fs_config(buffer, is_dir, product_out_path, &uid, &gid, &mode, &capabilities); in main()
138 if (root_path != NULL && strcmp(buffer, root_path) == 0) { in main()
140 strcpy(buffer, ""); in main()
142 printf("%s %d %d %o", buffer, uid, gid, mode); in main()
145 size_t buffer_strlen = strnlen(buffer, sizeof(buffer)); in main()
146 if (buffer_strlen >= sizeof(buffer)) { in main()
158 strncpy(full_name + 1, buffer, full_name_size - 1); in main()