Lines Matching refs:info
118 u_scanf_spec_info *info = &(spec->fInfo);
123 info->fWidth = -1;
124 info->fSpec = 0x0000;
125 info->fPadChar = 0x0020;
126 info->fSkipArg = FALSE;
127 info->fIsLongDouble = FALSE;
128 info->fIsShort = FALSE;
129 info->fIsLong = FALSE;
130 info->fIsLongLong = FALSE;
131 info->fIsString = TRUE;
169 info->fSkipArg = TRUE;
176 info->fPadChar = (UChar)ufmt_digitvalue(*s++);
177 info->fPadChar = (UChar)((info->fPadChar * 16) + ufmt_digitvalue(*s++));
178 info->fPadChar = (UChar)((info->fPadChar * 16) + ufmt_digitvalue(*s++));
179 info->fPadChar = (UChar)((info->fPadChar * 16) + ufmt_digitvalue(*s++));
190 info->fWidth = (int) (*s++ - DIGIT_ZERO);
193 info->fWidth *= 10;
194 info->fWidth += (int) (*s++ - DIGIT_ZERO);
204 info->fIsShort = TRUE;
210 info->fIsLongLong = TRUE;
215 info->fIsLong = TRUE;
220 info->fIsLongDouble = TRUE;
226 info->fSpec = *s++;
285 * @param info A pointer to a <TT>u_scanf_spec_info</TT> struct containing
297 u_scanf_spec_info *info,
304 ufmt_type_info info;
375 u_scanf_spec_info *info,
391 u_scanf_spec_info *info,
399 if (!info->fSkipArg) {
400 if (info->fIsShort)
401 *(int16_t*)(args[0].ptrValue) = (int16_t)(UINT16_MAX & info->fWidth);
402 else if (info->fIsLongLong)
403 *(int64_t*)(args[0].ptrValue) = info->fWidth;
405 *(int32_t*)(args[0].ptrValue) = (int32_t)(UINT32_MAX & info->fWidth);
415 u_scanf_spec_info *info,
430 skipped = u_scanf_skip_leading_ws(input, info->fPadChar);
439 if(info->fWidth != -1)
440 len = ufmt_min(len, info->fWidth);
455 if (!info->fSkipArg) {
456 if (info->fIsLong)
458 else if (info->fIsLongDouble)
465 /* if(! info->fIsLong_double)
472 *argConverted = !info->fSkipArg;
478 u_scanf_spec_info *info,
493 skipped = u_scanf_skip_leading_ws(input, info->fPadChar);
502 if(info->fWidth != -1)
503 len = ufmt_min(len, info->fWidth);
518 if (!info->fSkipArg) {
519 if (info->fIsLong)
521 else if (info->fIsLongDouble)
528 /* if(! info->fIsLong_double)
535 *argConverted = !info->fSkipArg;
541 u_scanf_spec_info *info,
565 skipped = u_scanf_skip_leading_ws(input, info->fPadChar);
574 if(info->fWidth != -1)
575 len = ufmt_min(len, info->fWidth);
611 if (!info->fSkipArg) {
612 if (info->fIsLong)
614 else if (info->fIsLongDouble)
621 /* if(! info->fIsLong_double)
625 *argConverted = !info->fSkipArg;
631 u_scanf_spec_info *info,
647 skipped = u_scanf_skip_leading_ws(input, info->fPadChar);
656 if(info->fWidth != -1)
657 len = ufmt_min(len, info->fWidth);
673 if (!info->fSkipArg) {
674 if (info->fIsShort)
676 else if (info->fIsLongLong)
686 *argConverted = !info->fSkipArg;
692 u_scanf_spec_info *info,
699 return u_scanf_integer_handler(input, info, args, fmt, fmtConsumed, argConverted);
704 u_scanf_spec_info *info,
719 skipped = u_scanf_skip_leading_ws(input, info->fPadChar);
728 if(info->fWidth != -1)
729 len = ufmt_min(len, info->fWidth);
744 if (!info->fSkipArg) {
749 /* if(! info->fIsLong_double)
756 *argConverted = !info->fSkipArg;
762 u_scanf_spec_info *info,
780 if (info->fIsString) {
781 skipped = u_scanf_skip_leading_ws(input, info->fPadChar);
793 while( (info->fWidth == -1 || count < info->fWidth)
795 && (!info->fIsString || (c != info->fPadChar && !u_isWhitespace(c))))
798 if (!info->fSkipArg) {
802 if (info->fWidth > 0) {
803 limit = alias + info->fWidth - count;
825 if (!info->fSkipArg) {
826 if ((info->fWidth == -1 || count < info->fWidth) && isNotEOF)
830 if (info->fIsString) {
839 *argConverted = !info->fSkipArg;
845 u_scanf_spec_info *info,
851 if (info->fWidth < 0) {
852 info->fWidth = 1;
854 info->fIsString = FALSE;
855 return u_scanf_string_handler(input, info, args, fmt, fmtConsumed, argConverted);
860 u_scanf_spec_info *info,
874 if (info->fIsString) {
875 skipped = u_scanf_skip_leading_ws(input, info->fPadChar);
881 while( (info->fWidth == -1 || count < info->fWidth)
883 && (!info->fIsString || (c != info->fPadChar && !u_isWhitespace(c))))
887 if (!info->fSkipArg) {
896 if (!info->fSkipArg) {
897 if((info->fWidth == -1 || count < info->fWidth) && isNotEOF) {
902 if (info->fIsString) {
908 *argConverted = !info->fSkipArg;
914 u_scanf_spec_info *info,
920 if (info->fWidth < 0) {
921 info->fWidth = 1;
923 info->fIsString = FALSE;
924 return u_scanf_ustring_handler(input, info, args, fmt, fmtConsumed, argConverted);
929 u_scanf_spec_info *info,
944 skipped = u_scanf_skip_leading_ws(input, info->fPadChar);
953 if(info->fWidth != -1)
954 len = ufmt_min(len, info->fWidth);
970 if (!info->fSkipArg) {
975 /* if(! info->fIsLong_double)
982 *argConverted = !info->fSkipArg;
988 u_scanf_spec_info *info,
1000 skipped = u_scanf_skip_leading_ws(input, info->fPadChar);
1009 if(info->fWidth != -1)
1010 len = ufmt_min(len, info->fWidth);
1028 if (!info->fSkipArg) {
1029 if (info->fIsShort)
1031 else if (info->fIsLongLong)
1038 *argConverted = !info->fSkipArg;
1044 u_scanf_spec_info *info,
1056 skipped = u_scanf_skip_leading_ws(input, info->fPadChar);
1065 if(info->fWidth != -1)
1066 len = ufmt_min(len, info->fWidth);
1075 if (!info->fSkipArg) {
1076 if (info->fIsShort)
1078 else if (info->fIsLongLong)
1085 *argConverted = !info->fSkipArg;
1091 u_scanf_spec_info *info,
1104 skipped = u_scanf_skip_leading_ws(input, info->fPadChar);
1113 if(info->fWidth != -1) {
1114 len = ufmt_min(len, info->fWidth);
1125 if (!info->fSkipArg) {
1133 *argConverted = !info->fSkipArg;
1139 u_scanf_spec_info *info,
1160 if(info->fWidth >= 0) {
1161 chLeft = info->fWidth;
1175 if (!info->fSkipArg) {
1205 else if (!info->fSkipArg) {
1210 *argConverted = !info->fSkipArg;
1211 return (info->fWidth >= 0 ? info->fWidth : INT32_MAX) - chLeft;
1275 ufmt_type_info info;
1307 /* query the info function for argument information */
1308 info = g_u_scanf_infos[ handlerNum ].info;
1309 if (info != ufmt_count && u_feof(f)) {
1316 switch(info) {