Home | History | Annotate | Download | only in src

Lines Matching refs:endptr

776 icvProcessSpecialDouble( CvFileStorage* fs, char* buf, double* value, char** endptr )
801 *endptr = buf + 4;
807 static double icv_strtod( CvFileStorage* fs, char* ptr, char** endptr )
809 double fval = strtod( ptr, endptr );
810 if( **endptr == '.' )
812 char* dot_pos = *endptr;
814 double fval2 = strtod( ptr, endptr );
816 if( *endptr > dot_pos )
819 *endptr = dot_pos;
822 if( *endptr == ptr || isalpha(**endptr) )
823 icvProcessSpecialDouble( fs, ptr, &fval, endptr );
897 char *endptr = ptr - 1, *saveptr;
903 do c = *++endptr;
909 saveptr = endptr + 1;
910 do c = *--endptr;
913 ++endptr;
914 if( endptr == ptr )
917 CV_CALL( str_hash_node = cvGetHashedKey( fs, ptr, (int)(endptr - ptr), 1 ));
936 char* endptr = 0;
952 endptr = ptr++;
953 do d = *++endptr;
955 len = (int)(endptr - ptr);
958 d = *endptr;
959 *endptr = '\0';
984 *endptr = d;
985 CV_CALL( ptr = icvYMLSkipSpaces( fs, endptr, min_indent, INT_MAX ));
1006 endptr = ptr + (c == '-' || c == '+');
1007 while( isdigit(*endptr) )
1008 endptr++;
1009 if( *endptr == '.' || *endptr == 'e' )
1012 fval = icv_strtod( fs, ptr, &endptr );
1013 /*if( endptr == ptr || isalpha(*endptr) )
1014 CV_CALL( icvProcessSpecialDouble( fs, endptr, &fval, &endptr ));*/
1022 ival = (int)strtol( ptr, &endptr, 0 );
1027 if( !endptr || endptr == ptr )
1030 ptr = endptr;
1080 val = strtol( ptr + is_hex, &endptr, is_hex ? 8 : 16 );
1082 if( endptr == ptr + is_hex )
1087 ptr = endptr;
1165 endptr = ptr - 1;
1167 do c = *++endptr;
1172 if( endptr == ptr )
1177 char* str_end = endptr;
1184 ptr = endptr;
1799 char* endptr;
1894 endptr = ptr + (c == '-' || c == '+');
1895 while( isdigit(*endptr) )
1896 endptr++;
1897 if( *endptr == '.' || *endptr == 'e' )
1899 fval = icv_strtod( fs, ptr, &endptr );
1900 /*if( endptr == ptr || isalpha(*endptr) )
1901 CV_CALL( icvProcessSpecialDouble( fs, ptr, &fval, &endptr ));*/
1907 ival = (int)strtol( ptr, &endptr, 0 );
1912 if( endptr == ptr )
1915 ptr = endptr;
1956 val = (int)strtol( ptr, &endptr, 0 );
1958 !endptr || *endptr != ';' )
1964 endptr = ptr++;
1965 do c = *++endptr;
1969 len = (int)(endptr - ptr);
1986 ptr = endptr;
2040 char* endptr;
2076 endptr = ptr - 1;
2077 do c = *++endptr;
2080 CV_CALL( attrname = cvGetHashedKey( fs, ptr, (int)(endptr - ptr), 1 ));
2081 ptr = endptr;
2990 char* endptr = 0;
2991 count = (int)strtol( dt+k, &endptr, 10 );
2992 k = (int)(endptr - dt) - 1;
4298 char* endptr = 0;
4307 flags = (int)strtol( flags_str, &endptr, 16 );
4308 if( endptr == flags_str || (flags & CV_MAGIC_MASK) != CV_SEQ_MAGIC_VAL )
4652 char* endptr = 0;
4663 flags = (int)strtol( flags_str, &endptr, 16 );
4664 if( endptr == flags_str ||
4713 int val = (int)strtol( edge_dt + 2, &endptr, 10 );
4714 sprintf( dst_edge_dt_buf, "%df%s", val-1, endptr );