Lines Matching refs:str
244 char* str; in ParseMap() local
248 *start = strtoul(old_str, &str, 16); in ParseMap()
249 if (old_str == str || *str++ != '-') return 0; in ParseMap()
252 old_str = str; in ParseMap()
253 *end = strtoul(old_str, &str, 16); in ParseMap()
254 if (old_str == str || !std::isspace(*str++)) return 0; in ParseMap()
255 while (std::isspace(*str)) str++; in ParseMap()
258 if (*str == '\0') return 0; in ParseMap()
259 permissions[0] = *str; in ParseMap()
260 str++; in ParseMap()
261 permissions[1] = *str; in ParseMap()
262 str++; in ParseMap()
263 permissions[2] = *str; in ParseMap()
264 str++; in ParseMap()
265 permissions[3] = *str; in ParseMap()
266 str++; in ParseMap()
268 if (!std::isspace(*str++)) return 0; in ParseMap()
271 old_str = str; in ParseMap()
272 *offset = strtoul(old_str, &str, 16); in ParseMap()
273 if (old_str == str || !std::isspace(*str)) return 0; in ParseMap()
276 old_str = str; in ParseMap()
277 (void)strtoul(old_str, &str, 16); in ParseMap()
278 if (old_str == str || *str++ != ':') return 0; in ParseMap()
279 if (std::isspace(*str)) return 0; in ParseMap()
280 old_str = str; in ParseMap()
281 (void)strtoul(str, &str, 16); in ParseMap()
282 if (old_str == str || !std::isspace(*str++)) return 0; in ParseMap()
285 old_str = str; in ParseMap()
286 (void)strtoul(old_str, &str, 10); in ParseMap()
287 if (old_str == str || (!std::isspace(*str) && *str != '\0')) return 0; in ParseMap()
288 while (std::isspace(*str)) str++; in ParseMap()
291 *name_pos = (str - line); in ParseMap()