Lines Matching refs:c

624 	const sal_Char*	c = "--123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";  in GetMaxChar()  local
625 return c[ nBase ]; in GetMaxChar()
683 inline sal_Bool IsNum( sal_Unicode c ) in IsNum() argument
685 return c >= '0' && c <= '9'; in IsNum()
689 inline sal_Bool IsComma( sal_Unicode c ) in IsComma() argument
691 return c == '.' || c == ','; in IsComma()
695 inline sal_Bool IsExpStart( sal_Unicode c ) in IsExpStart() argument
697 return c == 'e' || c == 'E'; in IsExpStart()
701 inline sal_Bool IsImagUnit( sal_Unicode c ) in IsImagUnit() argument
703 return c == 'i' || c == 'j'; in IsImagUnit()
707 inline sal_uInt16 GetVal( sal_Unicode c ) in GetVal() argument
709 return sal_uInt16( c - '0' ); in GetVal()
730 sal_Unicode c; in ParseDouble() local
734 c = *p; in ParseDouble()
738 if( IsNum( c ) ) in ParseDouble()
740 fInt = GetVal( c ); in ParseDouble()
744 else if( c == '-' ) in ParseDouble()
749 else if( c == '+' ) in ParseDouble()
751 else if( IsComma( c ) ) in ParseDouble()
757 if( IsNum( c ) ) in ParseDouble()
759 fInt = GetVal( c ); in ParseDouble()
763 else if( IsComma( c ) ) in ParseDouble()
765 else if( IsImagUnit( c ) ) in ParseDouble()
774 if( IsNum( c ) ) in ParseDouble()
777 fInt += double( GetVal( c ) ); in ParseDouble()
782 else if( IsComma( c ) ) in ParseDouble()
784 else if( IsExpStart( c ) ) in ParseDouble()
790 if( IsNum( c ) ) in ParseDouble()
792 else if( IsComma( c ) ) in ParseDouble()
794 else if( IsExpStart( c ) ) in ParseDouble()
800 if( IsNum( c ) ) in ParseDouble()
802 fFrac += double( GetVal( c ) ) * fMult; in ParseDouble()
809 else if( IsExpStart( c ) ) in ParseDouble()
815 if( IsExpStart( c ) ) in ParseDouble()
817 else if( !IsNum( c ) ) in ParseDouble()
821 if( IsNum( c ) ) in ParseDouble()
823 nExp = GetVal( c ); in ParseDouble()
826 else if( c == '-' ) in ParseDouble()
831 else if( c != '+' ) in ParseDouble()
835 if( IsNum( c ) ) in ParseDouble()
838 nExp += GetVal( c ); in ParseDouble()
1838 inline sal_Bool Complex::IsImagUnit( sal_Unicode c ) in IsImagUnit() argument
1840 return c == 'i' || c == 'j'; in IsImagUnit()
1845 rCompl.c = '\0'; // do not force a symbol, if only real part present in ParseString()
1852 rCompl.c = *pStr; in ParseString()
1869 rCompl.c = pStr[ 1 ]; in ParseString()
1878 rCompl.c = *pStr; in ParseString()
1890 rCompl.c = *pStr; in ParseString()
1934 aRet += (c != 'j') ? aI : aJ; in GetString()
2047 if( !c ) c = z.c; in Div()