Lines Matching refs:bytes_written
852 int32_t bytes_written;
894 bytes_written = 0;
913 bytes_written = 1;
917 if (!bytes_written)
926 bytes_written = (int32_t)(pLMBCS - LMBCS);
941 bytes_written = (int32_t)(pLMBCS - LMBCS);
946 bytes_written = (int32_t)LMBCSConversionWorker (
950 if (!bytes_written) /* the ambiguous group cases (Strategy 3) */
962 bytes_written = LMBCSConversionWorker (extraInfo,
966 if(!bytes_written)
968 bytes_written = LMBCSConversionWorker (extraInfo,
972 if(!bytes_written)
974 bytes_written = LMBCSConversionWorker (extraInfo,
981 bytes_written = LMBCSConversionWorker (extraInfo,
987 if (!bytes_written && (extraInfo->localeConverterIndex) && (ULMBCS_AMBIGUOUS_MATCH(group, extraInfo->localeConverterIndex)))
989 bytes_written = (int32_t)LMBCSConversionWorker (extraInfo,
993 if (!bytes_written && (lastConverterIndex) && (ULMBCS_AMBIGUOUS_MATCH(group, lastConverterIndex)))
995 bytes_written = (int32_t)LMBCSConversionWorker (extraInfo,
998 if (!bytes_written)
1016 grp_ix <= grp_end && !bytes_written;
1021 bytes_written = (int32_t)LMBCSConversionWorker (extraInfo,
1028 if (!bytes_written && grp_start == ULMBCS_GRP_L1)
1030 bytes_written = (int32_t)LMBCSConversionWorker (extraInfo,
1036 if (!bytes_written)
1040 bytes_written = (int32_t)(pLMBCS - LMBCS);
1048 while (args->target < args->targetLimit && bytes_written--)
1057 if (bytes_written > 0)
1065 args->converter->charErrorBufferLength = (int8_t)bytes_written;
1066 while (bytes_written--)