Home | History | Annotate | Download | only in mDNSShared

Lines Matching refs:DebugSNPrintF

1150 //	DebugSNPrintF
1172 DEBUG_EXPORT size_t DebugSNPrintF(char *sbuffer, size_t buflen, const char *fmt, ...)
1185 // DebugSNPrintFVAList - va_list version of DebugSNPrintF. See DebugSNPrintF for more info.
1381 DebugSNPrintF(post, sizeof(post), ":%d", (port[0] << 8) | port[1]); break;
1386 DebugSNPrintF(post, sizeof(post), "%%%d]:%d",
1398 case 4: i = DebugSNPrintF(mDNS_VACB, sizeof(mDNS_VACB), "%d.%d.%d.%d%s",
1400 case 6: i = DebugSNPrintF(mDNS_VACB, sizeof(mDNS_VACB), "%02X:%02X:%02X:%02X:%02X:%02X",
1402 case 8: i = DebugSNPrintF(mDNS_VACB, sizeof(mDNS_VACB), "%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X",
1404 case 16: i = DebugSNPrintF(mDNS_VACB, sizeof(mDNS_VACB),
1408 default: i = DebugSNPrintF(mDNS_VACB, sizeof(mDNS_VACB), "%s", "<< ERROR: Must specify address size "
1421 i = DebugSNPrintF(mDNS_VACB, sizeof(mDNS_VACB), "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
1470 if (*a > 63) { s += DebugSNPrintF(s, mDNS_VACB_Remain(s), "<<INVALID LABEL LENGTH %u>>", *a); break; }
1471 if (s + *a >= &mDNS_VACB[254]) { s += DebugSNPrintF(s, mDNS_VACB_Remain(s), "<<NAME TOO LONG>>"); break; }
1472 s += DebugSNPrintF(s, mDNS_VACB_Remain(s), "%#s.", a);
1529 i = DebugSNPrintF(mDNS_VACB, sizeof(mDNS_VACB), "%s", "ERROR: <invalid CF object>" );
1579 i = DebugSNPrintF
2123 dst += DebugSNPrintF( dst, (size_t)( end - dst ), "%*s" "%-*.*s" "%.*s" "%s",
2259 s += DebugSNPrintF( s, sizeof( byteCountString ), " (%d bytes)", (int) inDataSize );
2271 dst += DebugSNPrintF( dst, (size_t)( end - dst ),
2293 dst += DebugSNPrintF( dst, (size_t)( end - dst ),
2790 // DebugSNPrintF
2792 DebugSNPrintF( s, sizeof( s ), "%d", 1234 );
2795 DebugSNPrintF( s, sizeof( s ), "%X", 0x2345 );
2798 DebugSNPrintF( s, sizeof( s ), "%#s", "\05test" );
2801 DebugSNPrintF( s, sizeof( s ), "%##s", "\03www\05apple\03com" );
2804 DebugSNPrintF( s, sizeof( s ), "%ld", (long) INT32_C( 2147483647 ) );
2807 DebugSNPrintF( s, sizeof( s ), "%lu", (unsigned long) UINT32_C( 4294967295 ) );
2811 DebugSNPrintF( s, sizeof( s ), "%lld", (long_long_compat) INT64_C( 9223372036854775807 ) );
2814 DebugSNPrintF( s, sizeof( s ), "%lld", (long_long_compat) INT64_C( -9223372036854775807 ) );
2817 DebugSNPrintF( s, sizeof( s ), "%llu", (unsigned_long_long_compat) UINT64_C( 18446744073709551615 ) );
2821 DebugSNPrintF( s, sizeof( s ), "%lb", (unsigned long) binary_32( 01111011, 01111011, 01111011, 01111011 ) );
2824 DebugSNPrintF( s, sizeof( s ), "%C", 0x41624364 ); // 'AbCd'
2837 DebugSNPrintF( s, sizeof( s ), "%#a", &maddr );
2845 DebugSNPrintF( s, sizeof( s ), "%#a", &maddr );
2864 DebugSNPrintF( s, sizeof( s ), "%##a", &sa4 );
2882 DebugSNPrintF( s, sizeof( s ), "%##a", &sa6 );
2889 DebugSNPrintF(s, sizeof(s), "%.*s", 4, "tes" );
2892 DebugSNPrintF(s, sizeof(s), "%.*s", 4, "test" );
2895 DebugSNPrintF(s, sizeof(s), "%.*s", 4, "testing" );
2898 DebugSNPrintF(s, sizeof(s), "%.*s", 4, "te\xC3\xA9" );
2901 DebugSNPrintF(s, sizeof(s), "%.*s", 4, "te\xC3\xA9ing" );
2904 DebugSNPrintF(s, sizeof(s), "%.*s", 4, "tes\xC3\xA9ing" );
2907 DebugSNPrintF(s, sizeof(s), "%.*s", 4, "t\xed\x9f\xbf" );
2910 DebugSNPrintF(s, sizeof(s), "%.*s", 4, "t\xed\x9f\xbfing" );
2913 DebugSNPrintF(s, sizeof(s), "%.*s", 4, "te\xed\x9f\xbf" );
2916 DebugSNPrintF(s, sizeof(s), "%.*s", 4, "te\xed\x9f\xbfing" );
2919 DebugSNPrintF(s, sizeof(s), "%.*s", 7, "te\xC3\xA9\xed\x9f\xbfing" );
2922 DebugSNPrintF(s, sizeof(s), "%.*s", 6, "te\xC3\xA9\xed\x9f\xbfing" );
2925 DebugSNPrintF(s, sizeof(s), "%.*s", 5, "te\xC3\xA9\xed\x9f\xbfing" );
2929 DebugSNPrintF( s, sizeof( s ), "%S", "\x00" "a" "\x00" "b" "\x00" "c" "\x00" "d" "\x00" "\x00" );
2932 DebugSNPrintF( s, sizeof( s ), "%S", "a" "\x00" "b" "\x00" "c" "\x00" "d" "\x00" "\x00" "\x00" );
2936 DebugSNPrintF( s, sizeof( s ), "%S",
2940 DebugSNPrintF( s, sizeof( s ), "%S",
2944 DebugSNPrintF( s, sizeof( s ), "%#S", "\x00" "a" "\x00" "b" "\x00" "c" "\x00" "d" "\x00" "\x00" ); // Big Endian
2947 DebugSNPrintF( s, sizeof( s ), "%##S", "a" "\x00" "b" "\x00" "c" "\x00" "d" "\x00" "\x00" "\x00" ); // Little Endian
2950 DebugSNPrintF( s, sizeof( s ), "%.*S",
2954 DebugSNPrintF( s, sizeof( s ), "%.*S",
2959 DebugSNPrintF( s, sizeof( s ), "%.*S", 3, "\x00" "a" "\x00" "b" "\x00" "c" "\x00" "d" );
2962 DebugSNPrintF( s, sizeof( s ), "%.*S", 3, "a" "\x00" "b" "\x00" "c" "\x00" "d" "\x00" );
2966 DebugSNPrintF( s, sizeof( s ), "%#.*S", 3, "\x00" "a" "\x00" "b" "\x00" "c" "\x00" "d" ); // Big Endian
2969 DebugSNPrintF( s, sizeof( s ), "%##.*S", 3, "a" "\x00" "b" "\x00" "c" "\x00" "d" "\x00" ); // Little Endian
2974 DebugSNPrintF( s, sizeof( s ), "%U", "\x10\xb8\xa7\x6b" "\xad\x9d" "\xd1\x11" "\x80\xb4" "\x00\xc0\x4f\xd4\x30\xc8" );
2977 DebugSNPrintF
2980 DebugSNPrintF( s, sizeof( s ), "%lm", (long) 0 );
2983 DebugSNPrintF( s, sizeof( s ), "\"%H\"", "\x6b\xa7\xb8\x10\x9d\xad\x11\xd1\x80\xb4\x00\xc0\x4f\xd4\x30\xc8", 16, 16 );
2986 DebugSNPrintF( s, sizeof( s ), "\"%H\"",
2992 DebugSNPrintF( s, sizeof( s ), "\"%H\"", "\x6b\xa7", 2, 2 );