Home | History | Annotate | Download | only in intltest

Lines Matching full:sizeof

38     if(U_SIZEOF_WCHAR_T!=sizeof(wchar_t)) {
39 errln("TestSizeofWCharT: U_SIZEOF_WCHAR_T!=sizeof(wchar_t) - U_SIZEOF_WCHAR_T needs to be fixed in platform.h");
44 if(8!=sizeof(int64_t)) {
45 errln("TestSizeofTypes: 8!=sizeof(int64_t) - int64_t needs to be fixed in platform.h");
47 if(8!=sizeof(uint64_t)) {
48 errln("TestSizeofTypes: 8!=sizeof(uint64_t) - uint64_t needs to be fixed in platform.h");
51 if(8!=sizeof(double)) {
52 errln("8!=sizeof(double) - putil.c code may not work");
54 if(4!=sizeof(int32_t)) {
55 errln("4!=sizeof(int32_t)");
57 if(4!=sizeof(uint32_t)) {
58 errln("4!=sizeof(uint32_t)");
60 if(2!=sizeof(int16_t)) {
61 errln("2!=sizeof(int16_t)");
63 if(2!=sizeof(uint16_t)) {
64 errln("2!=sizeof(uint16_t)");
66 if(2!=sizeof(UChar)) {
67 errln("2!=sizeof(UChar)");
69 if(1!=sizeof(int8_t)) {
70 errln("1!=sizeof(int8_t)");
72 if(1!=sizeof(uint8_t)) {
73 errln("1!=sizeof(uint8_t)");
75 if(1!=sizeof(UBool)) {
76 errln("1!=sizeof(UBool)");
118 if( sizeof(ustringVar)/sizeof(*ustringVar)!=6 ||
423 char *dest = sink.GetAppendBuffer(0, 50, scratch, (int32_t)sizeof(scratch), &capacity);
433 dest = sink.GetAppendBuffer(5, 50, scratch, (int32_t)sizeof(scratch), &capacity);
434 if(dest != scratch || capacity != (int32_t)sizeof(scratch)) {
443 CheckedArrayByteSink sink(buffer, (int32_t)sizeof(buffer));
451 char *dest = sink.GetAppendBuffer(0, 50, scratch, (int32_t)sizeof(scratch), &capacity);
461 dest = sink.GetAppendBuffer(10, 50, scratch, (int32_t)sizeof(scratch), &capacity);
462 if(dest != buffer + 3 || capacity != (int32_t)sizeof(buffer) - 3) {
475 dest = sink.GetAppendBuffer(10, 50, scratch, (int32_t)sizeof(scratch), &capacity);
476 if(dest != scratch || capacity != (int32_t)sizeof(scratch)) {
481 if(!(sink.NumberOfBytesWritten() == (int32_t)sizeof(buffer) &&
482 0 == memcmp("abcdefghijklmnopqrstuvwxyz", buffer, (int32_t)sizeof(buffer)) &&