Lines Matching refs:ptr
142 char *ptr; in parse_geometry() local
146 if (!(ptr = strchr(geom, 'x'))) in parse_geometry()
148 *ptr = '\0'; in parse_geometry()
150 geom = ptr + 1; in parse_geometry()
152 ptr = strchr(geom, '+'); in parse_geometry()
153 if (ptr) in parse_geometry()
154 *ptr = '\0'; in parse_geometry()
156 if (!ptr) in parse_geometry()
159 geom = ptr + 1; in parse_geometry()
161 if (!x || !y || !(ptr = strchr(geom, '+'))) in parse_geometry()
163 *ptr = '\0'; in parse_geometry()
165 geom = ptr + 1; in parse_geometry()
234 void *ptr; in main() local
245 ptr = src_data; in main()
247 bytes = read(file_fd, ptr, file_len); in main()
253 ptr += bytes; in main()