Lines Matching refs:cp
333 const char* cp = message; in bswrite_test() local
334 while (*cp) { in bswrite_test()
335 if (*cp == '\n') { in bswrite_test()
336 if (cp[1]) { in bswrite_test()
342 ++cp; in bswrite_test()
349 while (*cp) { in bswrite_test()
350 ++cp; in bswrite_test()
438 const char* cp = message; in buf_write_test() local
439 while (*cp) { in buf_write_test()
440 if (*cp == '\n') { in buf_write_test()
441 if (cp[1]) { in buf_write_test()
451 ++cp; in buf_write_test()
536 char* cp = fgets(buffer, sizeof(buffer), fp); in get_ticks() local
538 if (!cp) { in get_ticks()
610 char* cp = reinterpret_cast<char*>(&eventData->payload.data); in TEST() local
611 unsigned long long l = cp[0] & 0xFF; in TEST()
612 l |= (unsigned long long)(cp[1] & 0xFF) << 8; in TEST()
613 l |= (unsigned long long)(cp[2] & 0xFF) << 16; in TEST()
614 l |= (unsigned long long)(cp[3] & 0xFF) << 24; in TEST()
615 l |= (unsigned long long)(cp[4] & 0xFF) << 32; in TEST()
616 l |= (unsigned long long)(cp[5] & 0xFF) << 40; in TEST()
617 l |= (unsigned long long)(cp[6] & 0xFF) << 48; in TEST()
618 l |= (unsigned long long)(cp[7] & 0xFF) << 56; in TEST()
766 char* cp = reinterpret_cast<char*>(&eventData->payload.data); in TEST() local
767 unsigned long long l = cp[0] & 0xFF; in TEST()
768 l |= (unsigned long long)(cp[1] & 0xFF) << 8; in TEST()
769 l |= (unsigned long long)(cp[2] & 0xFF) << 16; in TEST()
770 l |= (unsigned long long)(cp[3] & 0xFF) << 24; in TEST()
771 l |= (unsigned long long)(cp[4] & 0xFF) << 32; in TEST()
772 l |= (unsigned long long)(cp[5] & 0xFF) << 40; in TEST()
773 l |= (unsigned long long)(cp[6] & 0xFF) << 48; in TEST()
774 l |= (unsigned long long)(cp[7] & 0xFF) << 56; in TEST()