• Home
  • Raw
  • Download

Lines Matching refs:swapper

366     UDataSwapper *swapper;  in udata_openSwapper()  local
377 swapper=(UDataSwapper *)uprv_malloc(sizeof(UDataSwapper)); in udata_openSwapper()
378 if(swapper==NULL) { in udata_openSwapper()
382 uprv_memset(swapper, 0, sizeof(UDataSwapper)); in udata_openSwapper()
385 swapper->inIsBigEndian=inIsBigEndian; in udata_openSwapper()
386 swapper->inCharset=inCharset; in udata_openSwapper()
387 swapper->outIsBigEndian=outIsBigEndian; in udata_openSwapper()
388 swapper->outCharset=outCharset; in udata_openSwapper()
390swapper->readUInt16= inIsBigEndian==U_IS_BIG_ENDIAN ? uprv_readDirectUInt16 : uprv_readSwapUInt16; in udata_openSwapper()
391swapper->readUInt32= inIsBigEndian==U_IS_BIG_ENDIAN ? uprv_readDirectUInt32 : uprv_readSwapUInt32; in udata_openSwapper()
393swapper->writeUInt16= outIsBigEndian==U_IS_BIG_ENDIAN ? uprv_writeDirectUInt16 : uprv_writeSwapUIn… in udata_openSwapper()
394swapper->writeUInt32= outIsBigEndian==U_IS_BIG_ENDIAN ? uprv_writeDirectUInt32 : uprv_writeSwapUIn… in udata_openSwapper()
396swapper->compareInvChars= outCharset==U_ASCII_FAMILY ? uprv_compareInvAscii : uprv_compareInvEbcdi… in udata_openSwapper()
399 swapper->swapArray16=uprv_copyArray16; in udata_openSwapper()
400 swapper->swapArray32=uprv_copyArray32; in udata_openSwapper()
401 swapper->swapArray64=uprv_copyArray64; in udata_openSwapper()
403 swapper->swapArray16=uprv_swapArray16; in udata_openSwapper()
404 swapper->swapArray32=uprv_swapArray32; in udata_openSwapper()
405 swapper->swapArray64=uprv_swapArray64; in udata_openSwapper()
409 swapper->swapInvChars= outCharset==U_ASCII_FAMILY ? uprv_copyAscii : uprv_ebcdicFromAscii; in udata_openSwapper()
411 swapper->swapInvChars= outCharset==U_EBCDIC_FAMILY ? uprv_copyEbcdic : uprv_asciiFromEbcdic; in udata_openSwapper()
414 return swapper; in udata_openSwapper()