utilitylibraries/libutils/tsrc/nft/src/test_tptr16towstring_positive1.cpp
branchRCL_3
changeset 57 2efc27d87e1c
parent 56 acd3cd4aaceb
equal deleted inserted replaced
56:acd3cd4aaceb 57:2efc27d87e1c
    25     __UHEAP_MARK;	
    25     __UHEAP_MARK;	
    26     {
    26     {
    27     wstring des((const wchar_t*)"hello") ;
    27     wstring des((const wchar_t*)"hello") ;
    28     TPtr16  src((unsigned short *)"",1, 30);
    28     TPtr16  src((unsigned short *)"",1, 30);
    29     int retval=ESuccess;
    29     int retval=ESuccess;
       
    30     int size=30;
    30     int i=0;
    31     int i=0;
    31     while (i<=1000)
    32     while (i<=1000)
    32     {
    33     {
    33   	retval= Tptr16ToWstring(src,des);
    34   	retval= Tptr16ToWstring(src,des);
    34     i++;
    35     i++;