Lines Matching refs:frame

5211   char *frame = NULL;  in test_encodes_text()  local
5251 &frame, in test_encodes_text()
5256 (NULL == frame) || in test_encodes_text()
5257 (0 != memcmp (frame, "\x81\x09" "blablabla", 11))) in test_encodes_text()
5264 if (NULL != frame) in test_encodes_text()
5266 MHD_websocket_free (wss, frame); in test_encodes_text()
5267 frame = NULL; in test_encodes_text()
5274 &frame, in test_encodes_text()
5279 (NULL == frame) ) in test_encodes_text()
5294 frame, in test_encodes_text()
5302 if (NULL != frame) in test_encodes_text()
5304 MHD_websocket_free (wsc, frame); in test_encodes_text()
5305 frame = NULL; in test_encodes_text()
5312 &frame, in test_encodes_text()
5317 (NULL == frame) || in test_encodes_text()
5318 (0 != memcmp (frame, "\x81\x0B" "bla" "\xC3\xA4" "blabla", 13))) in test_encodes_text()
5325 if (NULL != frame) in test_encodes_text()
5327 MHD_websocket_free (wss, frame); in test_encodes_text()
5328 frame = NULL; in test_encodes_text()
5335 &frame, in test_encodes_text()
5340 (NULL == frame) ) in test_encodes_text()
5355 frame, in test_encodes_text()
5363 if (NULL != frame) in test_encodes_text()
5365 MHD_websocket_free (wsc, frame); in test_encodes_text()
5366 frame = NULL; in test_encodes_text()
5373 &frame, in test_encodes_text()
5378 (NULL == frame) || in test_encodes_text()
5379 (0 != memcmp (frame, "\x81\x09" "bla" "\0\0\0" "bla", 11))) in test_encodes_text()
5386 if (NULL != frame) in test_encodes_text()
5388 MHD_websocket_free (wss, frame); in test_encodes_text()
5389 frame = NULL; in test_encodes_text()
5396 &frame, in test_encodes_text()
5401 (NULL != frame) ) in test_encodes_text()
5408 if (NULL != frame) in test_encodes_text()
5410 MHD_websocket_free (wss, frame); in test_encodes_text()
5411 frame = NULL; in test_encodes_text()
5424 &frame, in test_encodes_text()
5429 (NULL == frame) || in test_encodes_text()
5431 (0 != memcmp (frame, "\x81\x09" "blablabla", 11))) in test_encodes_text()
5438 if (NULL != frame) in test_encodes_text()
5440 MHD_websocket_free (wss, frame); in test_encodes_text()
5441 frame = NULL; in test_encodes_text()
5448 &frame, in test_encodes_text()
5453 (NULL == frame) || in test_encodes_text()
5455 (0 != memcmp (frame, "\x01\x09" "blablabla", 11))) in test_encodes_text()
5462 if (NULL != frame) in test_encodes_text()
5464 MHD_websocket_free (wss, frame); in test_encodes_text()
5465 frame = NULL; in test_encodes_text()
5472 &frame, in test_encodes_text()
5477 (NULL == frame) || in test_encodes_text()
5479 (0 != memcmp (frame, "\x00\x09" "blablabla", 11))) in test_encodes_text()
5486 if (NULL != frame) in test_encodes_text()
5488 MHD_websocket_free (wss, frame); in test_encodes_text()
5489 frame = NULL; in test_encodes_text()
5496 &frame, in test_encodes_text()
5501 (NULL == frame) || in test_encodes_text()
5503 (0 != memcmp (frame, "\x80\x09" "blablabla", 11))) in test_encodes_text()
5510 if (NULL != frame) in test_encodes_text()
5512 MHD_websocket_free (wss, frame); in test_encodes_text()
5513 frame = NULL; in test_encodes_text()
5520 &frame, in test_encodes_text()
5525 (NULL == frame) || in test_encodes_text()
5527 (0 != memcmp (frame, "\x01\x09" "blablabl\xC3", 11))) in test_encodes_text()
5534 if (NULL != frame) in test_encodes_text()
5536 MHD_websocket_free (wss, frame); in test_encodes_text()
5537 frame = NULL; in test_encodes_text()
5544 &frame, in test_encodes_text()
5549 (NULL == frame) || in test_encodes_text()
5551 (0 != memcmp (frame, "\x80\x0A" "\xA4" "blablabla", 12))) in test_encodes_text()
5558 if (NULL != frame) in test_encodes_text()
5560 MHD_websocket_free (wss, frame); in test_encodes_text()
5561 frame = NULL; in test_encodes_text()
5569 &frame, in test_encodes_text()
5574 (NULL != frame) || in test_encodes_text()
5582 if (NULL != frame) in test_encodes_text()
5584 MHD_websocket_free (wss, frame); in test_encodes_text()
5585 frame = NULL; in test_encodes_text()
5593 &frame, in test_encodes_text()
5598 (NULL == frame) || in test_encodes_text()
5600 (0 != memcmp (frame, "\x80\x0A" "\xA4" "blablabla", 12))) in test_encodes_text()
5607 if (NULL != frame) in test_encodes_text()
5609 MHD_websocket_free (wss, frame); in test_encodes_text()
5610 frame = NULL; in test_encodes_text()
5618 &frame, in test_encodes_text()
5623 (NULL == frame) || in test_encodes_text()
5625 (0 != memcmp (frame, "\x80\x0B" "\xA0\x80" "blablabla", 13))) in test_encodes_text()
5632 if (NULL != frame) in test_encodes_text()
5634 MHD_websocket_free (wss, frame); in test_encodes_text()
5635 frame = NULL; in test_encodes_text()
5643 &frame, in test_encodes_text()
5648 (NULL == frame) || in test_encodes_text()
5650 (0 != memcmp (frame, "\x80\x0B" "\x80\x80" "blablabla", 13))) in test_encodes_text()
5657 if (NULL != frame) in test_encodes_text()
5659 MHD_websocket_free (wss, frame); in test_encodes_text()
5660 frame = NULL; in test_encodes_text()
5668 &frame, in test_encodes_text()
5673 (NULL == frame) || in test_encodes_text()
5675 (0 != memcmp (frame, "\x80\x0B" "\x80\x80" "blablabla", 13))) in test_encodes_text()
5682 if (NULL != frame) in test_encodes_text()
5684 MHD_websocket_free (wss, frame); in test_encodes_text()
5685 frame = NULL; in test_encodes_text()
5693 &frame, in test_encodes_text()
5698 (NULL == frame) || in test_encodes_text()
5700 (0 != memcmp (frame, "\x80\x0B" "\x80" " blablabla", 13))) in test_encodes_text()
5707 if (NULL != frame) in test_encodes_text()
5709 MHD_websocket_free (wss, frame); in test_encodes_text()
5710 frame = NULL; in test_encodes_text()
5718 &frame, in test_encodes_text()
5723 (NULL == frame) || in test_encodes_text()
5725 (0 != memcmp (frame, "\x80\x0C" "\x90\x80\x80" "blablabla", 14))) in test_encodes_text()
5732 if (NULL != frame) in test_encodes_text()
5734 MHD_websocket_free (wss, frame); in test_encodes_text()
5735 frame = NULL; in test_encodes_text()
5743 &frame, in test_encodes_text()
5748 (NULL == frame) || in test_encodes_text()
5750 (0 != memcmp (frame, "\x80\x0C" "\x80\x80\x80" "blablabla", 14))) in test_encodes_text()
5757 if (NULL != frame) in test_encodes_text()
5759 MHD_websocket_free (wss, frame); in test_encodes_text()
5760 frame = NULL; in test_encodes_text()
5768 &frame, in test_encodes_text()
5773 (NULL == frame) || in test_encodes_text()
5775 (0 != memcmp (frame, "\x80\x0C" "\x80\x80\x80" "blablabla", 14))) in test_encodes_text()
5782 if (NULL != frame) in test_encodes_text()
5784 MHD_websocket_free (wss, frame); in test_encodes_text()
5785 frame = NULL; in test_encodes_text()
5793 &frame, in test_encodes_text()
5798 (NULL == frame) || in test_encodes_text()
5800 (0 != memcmp (frame, "\x80\x0C" "\x80\x80" " blablabla", 14))) in test_encodes_text()
5807 if (NULL != frame) in test_encodes_text()
5809 MHD_websocket_free (wss, frame); in test_encodes_text()
5810 frame = NULL; in test_encodes_text()
5818 &frame, in test_encodes_text()
5823 (NULL == frame) || in test_encodes_text()
5825 (0 != memcmp (frame, "\x80\x0C" "\x80" " blablabla", 14))) in test_encodes_text()
5832 if (NULL != frame) in test_encodes_text()
5834 MHD_websocket_free (wss, frame); in test_encodes_text()
5835 frame = NULL; in test_encodes_text()
5848 &frame, in test_encodes_text()
5853 (NULL == frame) || in test_encodes_text()
5854 (0 != memcmp (frame, "\x81\x00", 2))) in test_encodes_text()
5861 if (NULL != frame) in test_encodes_text()
5863 MHD_websocket_free (wss, frame); in test_encodes_text()
5864 frame = NULL; in test_encodes_text()
5871 &frame, in test_encodes_text()
5876 (NULL == frame) || in test_encodes_text()
5877 (0 != memcmp (frame, "\x81\x01" "a", 3))) in test_encodes_text()
5884 if (NULL != frame) in test_encodes_text()
5886 MHD_websocket_free (wss, frame); in test_encodes_text()
5887 frame = NULL; in test_encodes_text()
5894 &frame, in test_encodes_text()
5899 (NULL == frame) || in test_encodes_text()
5900 (0 != memcmp (frame, "\x81\x7D" in test_encodes_text()
5909 if (NULL != frame) in test_encodes_text()
5911 MHD_websocket_free (wss, frame); in test_encodes_text()
5912 frame = NULL; in test_encodes_text()
5919 &frame, in test_encodes_text()
5924 (NULL == frame) || in test_encodes_text()
5925 (0 != memcmp (frame, "\x81\x7E\x00\x7E" in test_encodes_text()
5934 if (NULL != frame) in test_encodes_text()
5936 MHD_websocket_free (wss, frame); in test_encodes_text()
5937 frame = NULL; in test_encodes_text()
5949 &frame, in test_encodes_text()
5954 (NULL == frame) || in test_encodes_text()
5955 (0 != memcmp (frame, buf1, 65535 + 4))) in test_encodes_text()
5962 if (NULL != frame) in test_encodes_text()
5964 MHD_websocket_free (wss, frame); in test_encodes_text()
5965 frame = NULL; in test_encodes_text()
5977 &frame, in test_encodes_text()
5982 (NULL == frame) || in test_encodes_text()
5983 (0 != memcmp (frame, buf1, 65536 + 10))) in test_encodes_text()
5990 if (NULL != frame) in test_encodes_text()
5992 MHD_websocket_free (wss, frame); in test_encodes_text()
5993 frame = NULL; in test_encodes_text()
6005 &frame, in test_encodes_text()
6010 (NULL == frame) || in test_encodes_text()
6011 (0 != memcmp (frame, buf1, 104857600 + 10))) in test_encodes_text()
6018 if (NULL != frame) in test_encodes_text()
6020 MHD_websocket_free (wss, frame); in test_encodes_text()
6021 frame = NULL; in test_encodes_text()
6041 &frame, in test_encodes_text()
6046 (NULL != frame) ) in test_encodes_text()
6053 if (NULL != frame) in test_encodes_text()
6055 MHD_websocket_free (wss, frame); in test_encodes_text()
6056 frame = NULL; in test_encodes_text()
6066 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_text()
6072 &frame, in test_encodes_text()
6077 (NULL != frame) ) in test_encodes_text()
6084 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_text()
6086 frame = NULL; in test_encodes_text()
6088 if (NULL != frame) in test_encodes_text()
6090 MHD_websocket_free (wss, frame); in test_encodes_text()
6091 frame = NULL; in test_encodes_text()
6094 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_text()
6100 &frame, in test_encodes_text()
6105 (NULL != frame) ) in test_encodes_text()
6112 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_text()
6114 frame = NULL; in test_encodes_text()
6116 if (NULL != frame) in test_encodes_text()
6118 MHD_websocket_free (wss, frame); in test_encodes_text()
6119 frame = NULL; in test_encodes_text()
6122 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_text()
6128 &frame, in test_encodes_text()
6133 (NULL == frame) || in test_encodes_text()
6134 (((char *) (uintptr_t) 0xBAADF00D) == frame) || in test_encodes_text()
6135 (0 != memcmp (frame, "\x81\x00", 2))) in test_encodes_text()
6142 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_text()
6144 frame = NULL; in test_encodes_text()
6146 if (NULL != frame) in test_encodes_text()
6148 MHD_websocket_free (wss, frame); in test_encodes_text()
6149 frame = NULL; in test_encodes_text()
6169 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_text()
6174 &frame, in test_encodes_text()
6178 (NULL != frame) ) in test_encodes_text()
6185 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_text()
6187 frame = NULL; in test_encodes_text()
6189 if (NULL != frame) in test_encodes_text()
6191 MHD_websocket_free (wss, frame); in test_encodes_text()
6192 frame = NULL; in test_encodes_text()
6196 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_text()
6203 &frame, in test_encodes_text()
6208 (NULL == frame) || in test_encodes_text()
6209 (((char *) (uintptr_t) 0xBAADF00D) == frame) || in test_encodes_text()
6211 (0 != memcmp (frame, "\x81\x03" "abc", 5))) in test_encodes_text()
6218 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_text()
6220 frame = NULL; in test_encodes_text()
6222 if (NULL != frame) in test_encodes_text()
6224 MHD_websocket_free (wss, frame); in test_encodes_text()
6225 frame = NULL; in test_encodes_text()
6229 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_text()
6236 &frame, in test_encodes_text()
6241 (NULL != frame) || in test_encodes_text()
6249 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_text()
6251 frame = NULL; in test_encodes_text()
6253 if (NULL != frame) in test_encodes_text()
6255 MHD_websocket_free (wss, frame); in test_encodes_text()
6256 frame = NULL; in test_encodes_text()
6259 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_text()
6265 &frame, in test_encodes_text()
6270 (NULL != frame) ) in test_encodes_text()
6277 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_text()
6279 frame = NULL; in test_encodes_text()
6281 if (NULL != frame) in test_encodes_text()
6283 MHD_websocket_free (wss, frame); in test_encodes_text()
6284 frame = NULL; in test_encodes_text()
6287 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_text()
6293 &frame, in test_encodes_text()
6298 (NULL != frame) ) in test_encodes_text()
6305 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_text()
6307 frame = NULL; in test_encodes_text()
6309 if (NULL != frame) in test_encodes_text()
6311 MHD_websocket_free (wss, frame); in test_encodes_text()
6312 frame = NULL; in test_encodes_text()
6315 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_text()
6321 &frame, in test_encodes_text()
6326 (NULL != frame) ) in test_encodes_text()
6333 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_text()
6335 frame = NULL; in test_encodes_text()
6337 if (NULL != frame) in test_encodes_text()
6339 MHD_websocket_free (wss, frame); in test_encodes_text()
6340 frame = NULL; in test_encodes_text()
6343 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_text()
6350 &frame, in test_encodes_text()
6355 (NULL == frame) || in test_encodes_text()
6356 (((char *) (uintptr_t) 0xBAADF00D) == frame) || in test_encodes_text()
6358 (0 != memcmp (frame, "\x01\x03" "abc", 5))) in test_encodes_text()
6365 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_text()
6367 frame = NULL; in test_encodes_text()
6369 if (NULL != frame) in test_encodes_text()
6371 MHD_websocket_free (wss, frame); in test_encodes_text()
6372 frame = NULL; in test_encodes_text()
6375 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_text()
6382 &frame, in test_encodes_text()
6387 (NULL == frame) || in test_encodes_text()
6388 (((char *) (uintptr_t) 0xBAADF00D) == frame) || in test_encodes_text()
6390 (0 != memcmp (frame, "\x00\x03" "abc", 5))) in test_encodes_text()
6397 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_text()
6399 frame = NULL; in test_encodes_text()
6401 if (NULL != frame) in test_encodes_text()
6403 MHD_websocket_free (wss, frame); in test_encodes_text()
6404 frame = NULL; in test_encodes_text()
6407 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_text()
6414 &frame, in test_encodes_text()
6419 (NULL == frame) || in test_encodes_text()
6420 (((char *) (uintptr_t) 0xBAADF00D) == frame) || in test_encodes_text()
6422 (0 != memcmp (frame, "\x80\x03" "abc", 5))) in test_encodes_text()
6429 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_text()
6431 frame = NULL; in test_encodes_text()
6433 if (NULL != frame) in test_encodes_text()
6435 MHD_websocket_free (wss, frame); in test_encodes_text()
6436 frame = NULL; in test_encodes_text()
6439 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_text()
6446 &frame, in test_encodes_text()
6451 (NULL != frame) || in test_encodes_text()
6459 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_text()
6461 frame = NULL; in test_encodes_text()
6463 if (NULL != frame) in test_encodes_text()
6465 MHD_websocket_free (wss, frame); in test_encodes_text()
6466 frame = NULL; in test_encodes_text()
6491 &frame, in test_encodes_text()
6496 (NULL != frame) ) in test_encodes_text()
6503 if (NULL != frame) in test_encodes_text()
6505 MHD_websocket_free (wsx, frame); in test_encodes_text()
6506 frame = NULL; in test_encodes_text()
6514 &frame, in test_encodes_text()
6519 (NULL == frame) || in test_encodes_text()
6520 (0 != memcmp (frame, "\x81\x03" "abc", 5))) in test_encodes_text()
6527 if (NULL != frame) in test_encodes_text()
6529 MHD_websocket_free (wsx, frame); in test_encodes_text()
6530 frame = NULL; in test_encodes_text()
6568 char *frame = NULL; in test_encodes_binary() local
6607 &frame, in test_encodes_binary()
6611 (NULL == frame) || in test_encodes_binary()
6612 (0 != memcmp (frame, "\x82\x09" "blablabla", 11))) in test_encodes_binary()
6619 if (NULL != frame) in test_encodes_binary()
6621 MHD_websocket_free (wss, frame); in test_encodes_binary()
6622 frame = NULL; in test_encodes_binary()
6629 &frame, in test_encodes_binary()
6633 (NULL == frame) ) in test_encodes_binary()
6648 frame, in test_encodes_binary()
6656 if (NULL != frame) in test_encodes_binary()
6658 MHD_websocket_free (wsc, frame); in test_encodes_binary()
6659 frame = NULL; in test_encodes_binary()
6666 &frame, in test_encodes_binary()
6670 (NULL == frame) || in test_encodes_binary()
6671 (0 != memcmp (frame, "\x82\x09" "bla" "\0\0\0" "bla", 11))) in test_encodes_binary()
6678 if (NULL != frame) in test_encodes_binary()
6680 MHD_websocket_free (wss, frame); in test_encodes_binary()
6681 frame = NULL; in test_encodes_binary()
6688 &frame, in test_encodes_binary()
6692 (NULL == frame) || in test_encodes_binary()
6693 (0 != memcmp (frame, "\x82\x0A" "bla" "\xC3" "blabla", 12))) in test_encodes_binary()
6700 if (NULL != frame) in test_encodes_binary()
6702 MHD_websocket_free (wss, frame); in test_encodes_binary()
6703 frame = NULL; in test_encodes_binary()
6716 &frame, in test_encodes_binary()
6720 (NULL == frame) || in test_encodes_binary()
6721 (0 != memcmp (frame, "\x82\x09" "blablabla", 11))) in test_encodes_binary()
6728 if (NULL != frame) in test_encodes_binary()
6730 MHD_websocket_free (wss, frame); in test_encodes_binary()
6731 frame = NULL; in test_encodes_binary()
6738 &frame, in test_encodes_binary()
6742 (NULL == frame) || in test_encodes_binary()
6743 (0 != memcmp (frame, "\x02\x09" "blablabla", 11))) in test_encodes_binary()
6750 if (NULL != frame) in test_encodes_binary()
6752 MHD_websocket_free (wss, frame); in test_encodes_binary()
6753 frame = NULL; in test_encodes_binary()
6760 &frame, in test_encodes_binary()
6764 (NULL == frame) || in test_encodes_binary()
6765 (0 != memcmp (frame, "\x00\x09" "blablabla", 11))) in test_encodes_binary()
6772 if (NULL != frame) in test_encodes_binary()
6774 MHD_websocket_free (wss, frame); in test_encodes_binary()
6775 frame = NULL; in test_encodes_binary()
6782 &frame, in test_encodes_binary()
6786 (NULL == frame) || in test_encodes_binary()
6787 (0 != memcmp (frame, "\x80\x09" "blablabla", 11))) in test_encodes_binary()
6794 if (NULL != frame) in test_encodes_binary()
6796 MHD_websocket_free (wss, frame); in test_encodes_binary()
6797 frame = NULL; in test_encodes_binary()
6810 &frame, in test_encodes_binary()
6814 (NULL == frame) || in test_encodes_binary()
6815 (0 != memcmp (frame, "\x82\x00", 2))) in test_encodes_binary()
6822 if (NULL != frame) in test_encodes_binary()
6824 MHD_websocket_free (wss, frame); in test_encodes_binary()
6825 frame = NULL; in test_encodes_binary()
6832 &frame, in test_encodes_binary()
6836 (NULL == frame) || in test_encodes_binary()
6837 (0 != memcmp (frame, "\x82\x01" "a", 3))) in test_encodes_binary()
6844 if (NULL != frame) in test_encodes_binary()
6846 MHD_websocket_free (wss, frame); in test_encodes_binary()
6847 frame = NULL; in test_encodes_binary()
6854 &frame, in test_encodes_binary()
6858 (NULL == frame) || in test_encodes_binary()
6859 (0 != memcmp (frame, "\x82\x7D" in test_encodes_binary()
6868 if (NULL != frame) in test_encodes_binary()
6870 MHD_websocket_free (wss, frame); in test_encodes_binary()
6871 frame = NULL; in test_encodes_binary()
6878 &frame, in test_encodes_binary()
6882 (NULL == frame) || in test_encodes_binary()
6883 (0 != memcmp (frame, "\x82\x7E\x00\x7E" in test_encodes_binary()
6892 if (NULL != frame) in test_encodes_binary()
6894 MHD_websocket_free (wss, frame); in test_encodes_binary()
6895 frame = NULL; in test_encodes_binary()
6907 &frame, in test_encodes_binary()
6911 (NULL == frame) || in test_encodes_binary()
6912 (0 != memcmp (frame, buf1, 65535 + 4))) in test_encodes_binary()
6919 if (NULL != frame) in test_encodes_binary()
6921 MHD_websocket_free (wss, frame); in test_encodes_binary()
6922 frame = NULL; in test_encodes_binary()
6934 &frame, in test_encodes_binary()
6938 (NULL == frame) || in test_encodes_binary()
6939 (0 != memcmp (frame, buf1, 65536 + 10))) in test_encodes_binary()
6946 if (NULL != frame) in test_encodes_binary()
6948 MHD_websocket_free (wss, frame); in test_encodes_binary()
6949 frame = NULL; in test_encodes_binary()
6961 &frame, in test_encodes_binary()
6965 (NULL == frame) || in test_encodes_binary()
6966 (0 != memcmp (frame, buf1, 104857600 + 10))) in test_encodes_binary()
6973 if (NULL != frame) in test_encodes_binary()
6975 MHD_websocket_free (wss, frame); in test_encodes_binary()
6976 frame = NULL; in test_encodes_binary()
6996 &frame, in test_encodes_binary()
7000 (NULL != frame) ) in test_encodes_binary()
7007 if (NULL != frame) in test_encodes_binary()
7009 MHD_websocket_free (wss, frame); in test_encodes_binary()
7010 frame = NULL; in test_encodes_binary()
7020 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_binary()
7026 &frame, in test_encodes_binary()
7030 (NULL != frame) ) in test_encodes_binary()
7037 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_binary()
7039 frame = NULL; in test_encodes_binary()
7041 if (NULL != frame) in test_encodes_binary()
7043 MHD_websocket_free (wss, frame); in test_encodes_binary()
7044 frame = NULL; in test_encodes_binary()
7047 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_binary()
7053 &frame, in test_encodes_binary()
7057 (NULL != frame) ) in test_encodes_binary()
7064 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_binary()
7066 frame = NULL; in test_encodes_binary()
7068 if (NULL != frame) in test_encodes_binary()
7070 MHD_websocket_free (wss, frame); in test_encodes_binary()
7071 frame = NULL; in test_encodes_binary()
7074 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_binary()
7080 &frame, in test_encodes_binary()
7084 (NULL == frame) || in test_encodes_binary()
7085 (((char *) (uintptr_t) 0xBAADF00D) == frame) || in test_encodes_binary()
7086 (0 != memcmp (frame, "\x82\x00", 2))) in test_encodes_binary()
7093 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_binary()
7095 frame = NULL; in test_encodes_binary()
7097 if (NULL != frame) in test_encodes_binary()
7099 MHD_websocket_free (wss, frame); in test_encodes_binary()
7100 frame = NULL; in test_encodes_binary()
7112 (NULL != frame) ) in test_encodes_binary()
7120 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_binary()
7125 &frame, in test_encodes_binary()
7128 (NULL != frame) ) in test_encodes_binary()
7135 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_binary()
7137 frame = NULL; in test_encodes_binary()
7139 if (NULL != frame) in test_encodes_binary()
7141 MHD_websocket_free (wss, frame); in test_encodes_binary()
7142 frame = NULL; in test_encodes_binary()
7145 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_binary()
7151 &frame, in test_encodes_binary()
7155 (NULL != frame) ) in test_encodes_binary()
7162 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_binary()
7164 frame = NULL; in test_encodes_binary()
7166 if (NULL != frame) in test_encodes_binary()
7168 MHD_websocket_free (wss, frame); in test_encodes_binary()
7169 frame = NULL; in test_encodes_binary()
7194 &frame, in test_encodes_binary()
7198 (NULL != frame) ) in test_encodes_binary()
7205 if (NULL != frame) in test_encodes_binary()
7207 MHD_websocket_free (wsx, frame); in test_encodes_binary()
7208 frame = NULL; in test_encodes_binary()
7216 &frame, in test_encodes_binary()
7220 (NULL == frame) || in test_encodes_binary()
7221 (0 != memcmp (frame, "\x82\x03" "abc", 5))) in test_encodes_binary()
7228 if (NULL != frame) in test_encodes_binary()
7230 MHD_websocket_free (wsx, frame); in test_encodes_binary()
7231 frame = NULL; in test_encodes_binary()
7269 char *frame = NULL; in test_encodes_close() local
7313 &frame, in test_encodes_close()
7317 (NULL == frame) || in test_encodes_close()
7318 (0 != memcmp (frame, "\x88\x0B\x03\xE8" "blablabla", 13))) in test_encodes_close()
7325 if (NULL != frame) in test_encodes_close()
7327 MHD_websocket_free (wss, frame); in test_encodes_close()
7328 frame = NULL; in test_encodes_close()
7335 &frame, in test_encodes_close()
7339 (NULL == frame) ) in test_encodes_close()
7354 frame, in test_encodes_close()
7362 if (NULL != frame) in test_encodes_close()
7364 MHD_websocket_free (wsc, frame); in test_encodes_close()
7365 frame = NULL; in test_encodes_close()
7372 &frame, in test_encodes_close()
7376 (NULL == frame) || in test_encodes_close()
7377 (0 != memcmp (frame, "\x88\x02\x03\xE8", 4))) in test_encodes_close()
7384 if (NULL != frame) in test_encodes_close()
7386 MHD_websocket_free (wss, frame); in test_encodes_close()
7387 frame = NULL; in test_encodes_close()
7394 &frame, in test_encodes_close()
7398 (NULL == frame) ) in test_encodes_close()
7413 frame, in test_encodes_close()
7421 if (NULL != frame) in test_encodes_close()
7423 MHD_websocket_free (wsc, frame); in test_encodes_close()
7424 frame = NULL; in test_encodes_close()
7431 &frame, in test_encodes_close()
7435 (NULL == frame) || in test_encodes_close()
7436 (0 != memcmp (frame, "\x88\x00", 2))) in test_encodes_close()
7443 if (NULL != frame) in test_encodes_close()
7445 MHD_websocket_free (wss, frame); in test_encodes_close()
7446 frame = NULL; in test_encodes_close()
7453 &frame, in test_encodes_close()
7457 (NULL == frame) ) in test_encodes_close()
7472 frame, in test_encodes_close()
7480 if (NULL != frame) in test_encodes_close()
7482 MHD_websocket_free (wsc, frame); in test_encodes_close()
7483 frame = NULL; in test_encodes_close()
7490 &frame, in test_encodes_close()
7494 (NULL == frame) ) in test_encodes_close()
7509 frame, in test_encodes_close()
7517 if (NULL != frame) in test_encodes_close()
7519 MHD_websocket_free (wsc, frame); in test_encodes_close()
7520 frame = NULL; in test_encodes_close()
7527 &frame, in test_encodes_close()
7531 (NULL == frame) || in test_encodes_close()
7532 (0 != memcmp (frame, "\x88\x0B\x03\xE9" "bla" "\0\0\0" "bla", 13))) in test_encodes_close()
7539 if (NULL != frame) in test_encodes_close()
7541 MHD_websocket_free (wss, frame); in test_encodes_close()
7542 frame = NULL; in test_encodes_close()
7549 &frame, in test_encodes_close()
7553 (NULL != frame) ) in test_encodes_close()
7560 if (NULL != frame) in test_encodes_close()
7562 MHD_websocket_free (wss, frame); in test_encodes_close()
7563 frame = NULL; in test_encodes_close()
7576 &frame, in test_encodes_close()
7580 (NULL == frame) || in test_encodes_close()
7581 (0 != memcmp (frame, "\x88\x00", 2))) in test_encodes_close()
7588 if (NULL != frame) in test_encodes_close()
7590 MHD_websocket_free (wss, frame); in test_encodes_close()
7591 frame = NULL; in test_encodes_close()
7598 &frame, in test_encodes_close()
7602 (NULL == frame) || in test_encodes_close()
7603 (0 != memcmp (frame, "\x88\x02\x03\xE8", 4))) in test_encodes_close()
7610 if (NULL != frame) in test_encodes_close()
7612 MHD_websocket_free (wss, frame); in test_encodes_close()
7613 frame = NULL; in test_encodes_close()
7620 &frame, in test_encodes_close()
7624 (NULL == frame) || in test_encodes_close()
7625 (0 != memcmp (frame, "\x88\x03\x03\xE8" "a", 5))) in test_encodes_close()
7632 if (NULL != frame) in test_encodes_close()
7634 MHD_websocket_free (wss, frame); in test_encodes_close()
7635 frame = NULL; in test_encodes_close()
7642 &frame, in test_encodes_close()
7646 (NULL == frame) || in test_encodes_close()
7647 (0 != memcmp (frame, "\x88\x7D\x03\xE8" in test_encodes_close()
7656 if (NULL != frame) in test_encodes_close()
7658 MHD_websocket_free (wss, frame); in test_encodes_close()
7659 frame = NULL; in test_encodes_close()
7666 &frame, in test_encodes_close()
7670 (NULL != frame) ) in test_encodes_close()
7677 if (NULL != frame) in test_encodes_close()
7679 MHD_websocket_free (wss, frame); in test_encodes_close()
7680 frame = NULL; in test_encodes_close()
7689 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_close()
7695 &frame, in test_encodes_close()
7699 (NULL != frame) ) in test_encodes_close()
7706 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_close()
7708 frame = NULL; in test_encodes_close()
7710 if (NULL != frame) in test_encodes_close()
7712 MHD_websocket_free (wss, frame); in test_encodes_close()
7713 frame = NULL; in test_encodes_close()
7716 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_close()
7722 &frame, in test_encodes_close()
7726 (NULL != frame) ) in test_encodes_close()
7733 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_close()
7735 frame = NULL; in test_encodes_close()
7737 if (NULL != frame) in test_encodes_close()
7739 MHD_websocket_free (wss, frame); in test_encodes_close()
7740 frame = NULL; in test_encodes_close()
7743 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_close()
7749 &frame, in test_encodes_close()
7753 (NULL == frame) || in test_encodes_close()
7754 (((char *) (uintptr_t) 0xBAADF00D) == frame) || in test_encodes_close()
7755 (0 != memcmp (frame, "\x88\x02\x03\xE8", 4))) in test_encodes_close()
7762 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_close()
7764 frame = NULL; in test_encodes_close()
7766 if (NULL != frame) in test_encodes_close()
7768 MHD_websocket_free (wss, frame); in test_encodes_close()
7769 frame = NULL; in test_encodes_close()
7781 (NULL != frame) ) in test_encodes_close()
7789 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_close()
7794 &frame, in test_encodes_close()
7798 (NULL != frame) ) in test_encodes_close()
7805 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_close()
7807 frame = NULL; in test_encodes_close()
7809 if (NULL != frame) in test_encodes_close()
7811 MHD_websocket_free (wss, frame); in test_encodes_close()
7812 frame = NULL; in test_encodes_close()
7815 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_close()
7821 &frame, in test_encodes_close()
7825 (NULL != frame) ) in test_encodes_close()
7832 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_close()
7834 frame = NULL; in test_encodes_close()
7836 if (NULL != frame) in test_encodes_close()
7838 MHD_websocket_free (wss, frame); in test_encodes_close()
7839 frame = NULL; in test_encodes_close()
7842 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_close()
7848 &frame, in test_encodes_close()
7852 (NULL != frame) ) in test_encodes_close()
7859 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_close()
7861 frame = NULL; in test_encodes_close()
7863 if (NULL != frame) in test_encodes_close()
7865 MHD_websocket_free (wss, frame); in test_encodes_close()
7866 frame = NULL; in test_encodes_close()
7869 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_close()
7875 &frame, in test_encodes_close()
7879 (NULL != frame) ) in test_encodes_close()
7886 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_close()
7888 frame = NULL; in test_encodes_close()
7890 if (NULL != frame) in test_encodes_close()
7892 MHD_websocket_free (wss, frame); in test_encodes_close()
7893 frame = NULL; in test_encodes_close()
7896 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_close()
7902 &frame, in test_encodes_close()
7906 (NULL == frame) || in test_encodes_close()
7907 (((char *) (uintptr_t) 0xBAADF00D) == frame) || in test_encodes_close()
7908 (0 != memcmp (frame, "\x88\x05\x07\xD0" "abc", 7))) in test_encodes_close()
7915 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_close()
7917 frame = NULL; in test_encodes_close()
7919 if (NULL != frame) in test_encodes_close()
7921 MHD_websocket_free (wss, frame); in test_encodes_close()
7922 frame = NULL; in test_encodes_close()
7947 &frame, in test_encodes_close()
7951 (NULL != frame) ) in test_encodes_close()
7958 if (NULL != frame) in test_encodes_close()
7960 MHD_websocket_free (wsx, frame); in test_encodes_close()
7961 frame = NULL; in test_encodes_close()
7969 &frame, in test_encodes_close()
7973 (NULL == frame) || in test_encodes_close()
7974 (0 != memcmp (frame, "\x88\x05\x03\xE8" "abc", 7))) in test_encodes_close()
7981 if (NULL != frame) in test_encodes_close()
7983 MHD_websocket_free (wsx, frame); in test_encodes_close()
7984 frame = NULL; in test_encodes_close()
8022 char *frame = NULL; in test_encodes_ping() local
8060 &frame, in test_encodes_ping()
8064 (NULL == frame) || in test_encodes_ping()
8065 (0 != memcmp (frame, "\x89\x09" "blablabla", 11))) in test_encodes_ping()
8072 if (NULL != frame) in test_encodes_ping()
8074 MHD_websocket_free (wss, frame); in test_encodes_ping()
8075 frame = NULL; in test_encodes_ping()
8081 &frame, in test_encodes_ping()
8085 (NULL == frame) ) in test_encodes_ping()
8100 frame, in test_encodes_ping()
8108 if (NULL != frame) in test_encodes_ping()
8110 MHD_websocket_free (wsc, frame); in test_encodes_ping()
8111 frame = NULL; in test_encodes_ping()
8117 &frame, in test_encodes_ping()
8121 (NULL == frame) || in test_encodes_ping()
8122 (0 != memcmp (frame, "\x89\x00", 2))) in test_encodes_ping()
8129 if (NULL != frame) in test_encodes_ping()
8131 MHD_websocket_free (wss, frame); in test_encodes_ping()
8132 frame = NULL; in test_encodes_ping()
8138 &frame, in test_encodes_ping()
8142 (NULL == frame) ) in test_encodes_ping()
8157 frame, in test_encodes_ping()
8165 if (NULL != frame) in test_encodes_ping()
8167 MHD_websocket_free (wsc, frame); in test_encodes_ping()
8168 frame = NULL; in test_encodes_ping()
8174 &frame, in test_encodes_ping()
8178 (NULL == frame) ) in test_encodes_ping()
8193 frame, in test_encodes_ping()
8201 if (NULL != frame) in test_encodes_ping()
8203 MHD_websocket_free (wsc, frame); in test_encodes_ping()
8204 frame = NULL; in test_encodes_ping()
8210 &frame, in test_encodes_ping()
8214 (NULL == frame) || in test_encodes_ping()
8215 (0 != memcmp (frame, "\x89\x09" "bla" "\0\0\0" "bla", 11))) in test_encodes_ping()
8222 if (NULL != frame) in test_encodes_ping()
8224 MHD_websocket_free (wss, frame); in test_encodes_ping()
8225 frame = NULL; in test_encodes_ping()
8231 &frame, in test_encodes_ping()
8235 (NULL == frame) || in test_encodes_ping()
8236 (0 != memcmp (frame, "\x89\x0A" "bla" "\xC3" "blabla", 12))) in test_encodes_ping()
8243 if (NULL != frame) in test_encodes_ping()
8245 MHD_websocket_free (wss, frame); in test_encodes_ping()
8246 frame = NULL; in test_encodes_ping()
8258 &frame, in test_encodes_ping()
8262 (NULL == frame) || in test_encodes_ping()
8263 (0 != memcmp (frame, "\x89\x00", 2))) in test_encodes_ping()
8270 if (NULL != frame) in test_encodes_ping()
8272 MHD_websocket_free (wss, frame); in test_encodes_ping()
8273 frame = NULL; in test_encodes_ping()
8279 &frame, in test_encodes_ping()
8283 (NULL == frame) || in test_encodes_ping()
8284 (0 != memcmp (frame, "\x89\x00", 2))) in test_encodes_ping()
8291 if (NULL != frame) in test_encodes_ping()
8293 MHD_websocket_free (wss, frame); in test_encodes_ping()
8294 frame = NULL; in test_encodes_ping()
8300 &frame, in test_encodes_ping()
8304 (NULL == frame) || in test_encodes_ping()
8305 (0 != memcmp (frame, "\x89\x7D" in test_encodes_ping()
8314 if (NULL != frame) in test_encodes_ping()
8316 MHD_websocket_free (wss, frame); in test_encodes_ping()
8317 frame = NULL; in test_encodes_ping()
8323 &frame, in test_encodes_ping()
8327 (NULL != frame) ) in test_encodes_ping()
8334 if (NULL != frame) in test_encodes_ping()
8336 MHD_websocket_free (wss, frame); in test_encodes_ping()
8337 frame = NULL; in test_encodes_ping()
8346 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_ping()
8351 &frame, in test_encodes_ping()
8355 (NULL != frame) ) in test_encodes_ping()
8362 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_ping()
8364 frame = NULL; in test_encodes_ping()
8366 if (NULL != frame) in test_encodes_ping()
8368 MHD_websocket_free (wss, frame); in test_encodes_ping()
8369 frame = NULL; in test_encodes_ping()
8372 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_ping()
8377 &frame, in test_encodes_ping()
8381 (NULL != frame) ) in test_encodes_ping()
8388 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_ping()
8390 frame = NULL; in test_encodes_ping()
8392 if (NULL != frame) in test_encodes_ping()
8394 MHD_websocket_free (wss, frame); in test_encodes_ping()
8395 frame = NULL; in test_encodes_ping()
8398 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_ping()
8403 &frame, in test_encodes_ping()
8407 (NULL == frame) || in test_encodes_ping()
8408 (((char *) (uintptr_t) 0xBAADF00D) == frame) || in test_encodes_ping()
8409 (0 != memcmp (frame, "\x89\x00", 2))) in test_encodes_ping()
8416 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_ping()
8418 frame = NULL; in test_encodes_ping()
8420 if (NULL != frame) in test_encodes_ping()
8422 MHD_websocket_free (wss, frame); in test_encodes_ping()
8423 frame = NULL; in test_encodes_ping()
8441 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_ping()
8445 &frame, in test_encodes_ping()
8448 (NULL != frame) ) in test_encodes_ping()
8455 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_ping()
8457 frame = NULL; in test_encodes_ping()
8459 if (NULL != frame) in test_encodes_ping()
8461 MHD_websocket_free (wss, frame); in test_encodes_ping()
8462 frame = NULL; in test_encodes_ping()
8486 &frame, in test_encodes_ping()
8490 (NULL != frame) ) in test_encodes_ping()
8497 if (NULL != frame) in test_encodes_ping()
8499 MHD_websocket_free (wsx, frame); in test_encodes_ping()
8500 frame = NULL; in test_encodes_ping()
8507 &frame, in test_encodes_ping()
8511 (NULL == frame) || in test_encodes_ping()
8512 (0 != memcmp (frame, "\x89\x03" "abc", 5))) in test_encodes_ping()
8519 if (NULL != frame) in test_encodes_ping()
8521 MHD_websocket_free (wsx, frame); in test_encodes_ping()
8522 frame = NULL; in test_encodes_ping()
8560 char *frame = NULL; in test_encodes_pong() local
8598 &frame, in test_encodes_pong()
8602 (NULL == frame) || in test_encodes_pong()
8603 (0 != memcmp (frame, "\x8A\x09" "blablabla", 11))) in test_encodes_pong()
8610 if (NULL != frame) in test_encodes_pong()
8612 MHD_websocket_free (wss, frame); in test_encodes_pong()
8613 frame = NULL; in test_encodes_pong()
8619 &frame, in test_encodes_pong()
8623 (NULL == frame) ) in test_encodes_pong()
8638 frame, in test_encodes_pong()
8646 if (NULL != frame) in test_encodes_pong()
8648 MHD_websocket_free (wsc, frame); in test_encodes_pong()
8649 frame = NULL; in test_encodes_pong()
8655 &frame, in test_encodes_pong()
8659 (NULL == frame) || in test_encodes_pong()
8660 (0 != memcmp (frame, "\x8A\x00", 2))) in test_encodes_pong()
8667 if (NULL != frame) in test_encodes_pong()
8669 MHD_websocket_free (wss, frame); in test_encodes_pong()
8670 frame = NULL; in test_encodes_pong()
8676 &frame, in test_encodes_pong()
8680 (NULL == frame) ) in test_encodes_pong()
8695 frame, in test_encodes_pong()
8703 if (NULL != frame) in test_encodes_pong()
8705 MHD_websocket_free (wsc, frame); in test_encodes_pong()
8706 frame = NULL; in test_encodes_pong()
8712 &frame, in test_encodes_pong()
8716 (NULL == frame) ) in test_encodes_pong()
8731 frame, in test_encodes_pong()
8739 if (NULL != frame) in test_encodes_pong()
8741 MHD_websocket_free (wsc, frame); in test_encodes_pong()
8742 frame = NULL; in test_encodes_pong()
8748 &frame, in test_encodes_pong()
8752 (NULL == frame) || in test_encodes_pong()
8753 (0 != memcmp (frame, "\x8A\x09" "bla" "\0\0\0" "bla", 11))) in test_encodes_pong()
8760 if (NULL != frame) in test_encodes_pong()
8762 MHD_websocket_free (wss, frame); in test_encodes_pong()
8763 frame = NULL; in test_encodes_pong()
8769 &frame, in test_encodes_pong()
8773 (NULL == frame) || in test_encodes_pong()
8774 (0 != memcmp (frame, "\x8A\x0A" "bla" "\xC3" "blabla", 12))) in test_encodes_pong()
8781 if (NULL != frame) in test_encodes_pong()
8783 MHD_websocket_free (wss, frame); in test_encodes_pong()
8784 frame = NULL; in test_encodes_pong()
8796 &frame, in test_encodes_pong()
8800 (NULL == frame) || in test_encodes_pong()
8801 (0 != memcmp (frame, "\x8A\x00", 2))) in test_encodes_pong()
8808 if (NULL != frame) in test_encodes_pong()
8810 MHD_websocket_free (wss, frame); in test_encodes_pong()
8811 frame = NULL; in test_encodes_pong()
8817 &frame, in test_encodes_pong()
8821 (NULL == frame) || in test_encodes_pong()
8822 (0 != memcmp (frame, "\x8A\x00", 2))) in test_encodes_pong()
8829 if (NULL != frame) in test_encodes_pong()
8831 MHD_websocket_free (wss, frame); in test_encodes_pong()
8832 frame = NULL; in test_encodes_pong()
8838 &frame, in test_encodes_pong()
8842 (NULL == frame) || in test_encodes_pong()
8843 (0 != memcmp (frame, "\x8A\x7D" in test_encodes_pong()
8852 if (NULL != frame) in test_encodes_pong()
8854 MHD_websocket_free (wss, frame); in test_encodes_pong()
8855 frame = NULL; in test_encodes_pong()
8861 &frame, in test_encodes_pong()
8865 (NULL != frame) ) in test_encodes_pong()
8872 if (NULL != frame) in test_encodes_pong()
8874 MHD_websocket_free (wss, frame); in test_encodes_pong()
8875 frame = NULL; in test_encodes_pong()
8884 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_pong()
8889 &frame, in test_encodes_pong()
8893 (NULL != frame) ) in test_encodes_pong()
8900 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_pong()
8902 frame = NULL; in test_encodes_pong()
8904 if (NULL != frame) in test_encodes_pong()
8906 MHD_websocket_free (wss, frame); in test_encodes_pong()
8907 frame = NULL; in test_encodes_pong()
8910 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_pong()
8915 &frame, in test_encodes_pong()
8919 (NULL != frame) ) in test_encodes_pong()
8926 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_pong()
8928 frame = NULL; in test_encodes_pong()
8930 if (NULL != frame) in test_encodes_pong()
8932 MHD_websocket_free (wss, frame); in test_encodes_pong()
8933 frame = NULL; in test_encodes_pong()
8936 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_pong()
8941 &frame, in test_encodes_pong()
8945 (NULL == frame) || in test_encodes_pong()
8946 (((char *) (uintptr_t) 0xBAADF00D) == frame) || in test_encodes_pong()
8947 (0 != memcmp (frame, "\x8A\x00", 2))) in test_encodes_pong()
8954 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_pong()
8956 frame = NULL; in test_encodes_pong()
8958 if (NULL != frame) in test_encodes_pong()
8960 MHD_websocket_free (wss, frame); in test_encodes_pong()
8961 frame = NULL; in test_encodes_pong()
8979 frame = (char *) (uintptr_t) 0xBAADF00D; in test_encodes_pong()
8983 &frame, in test_encodes_pong()
8986 (NULL != frame) ) in test_encodes_pong()
8993 if (((char *) (uintptr_t) 0xBAADF00D) == frame) in test_encodes_pong()
8995 frame = NULL; in test_encodes_pong()
8997 if (NULL != frame) in test_encodes_pong()
8999 MHD_websocket_free (wss, frame); in test_encodes_pong()
9000 frame = NULL; in test_encodes_pong()
9024 &frame, in test_encodes_pong()
9028 (NULL != frame) ) in test_encodes_pong()
9035 if (NULL != frame) in test_encodes_pong()
9037 MHD_websocket_free (wsx, frame); in test_encodes_pong()
9038 frame = NULL; in test_encodes_pong()
9045 &frame, in test_encodes_pong()
9049 (NULL == frame) || in test_encodes_pong()
9050 (0 != memcmp (frame, "\x8A\x03" "abc", 5))) in test_encodes_pong()
9057 if (NULL != frame) in test_encodes_pong()
9059 MHD_websocket_free (wsx, frame); in test_encodes_pong()
9060 frame = NULL; in test_encodes_pong()