Lines Matching defs:ptr
417 char *ptr = block;
419 while ( *ptr == ' ' || *ptr == '\t' ) {
420 ptr++;
422 if ( (*ptr == 0) || (*ptr == '\r') || (*ptr == '\n') ) {
424 } else if ( '0' <= *ptr && *ptr <= '9' ) {
427 ptr = block;
429 skipWhitespace(ptr);
430 if ( *ptr ) {
434 hasErr = parseNum(ptr, r);
436 skipWhitespace(ptr);
437 hasErr = parseNum(ptr, g);
440 skipWhitespace(ptr);
441 hasErr = parseNum(ptr, b);
443 if ( !hasErr && *ptr ) {
444 char* n = trim(ptr);