Searched refs:ucast (Results 1 – 8 of 8) sorted by relevance
30 extern "C" __attribute__((noinline)) A *ucast(A *a) { in ucast() function49 ucast(&a); in main()
35 extern "C" __attribute__((noinline)) A *ucast(A *a) { in ucast() function54 ucast(&a); in main()
38 extern "C" void ucast(void *a) { in ucast() function
103 *(unsigned char*)element = ucast<8>(r); in write()109 *(unsigned short*)element = ucast<16>(r); in write()167 …*(unsigned int*)element = (ucast<8>(a) << 24) | (ucast<8>(b) << 16) | (ucast<8>(g) << 8) | (ucast<… in write()185 …*(unsigned int*)element = 0xFF000000 | (ucast<8>(b) << 16) | (ucast<8>(g) << 8) | (ucast<8>(r) << … in write()206 *(unsigned short*)element = (ucast<8>(g) << 8) | (ucast<8>(r) << 0); in write()216 *(unsigned int*)element = (ucast<16>(g) << 16) | (ucast<16>(r) << 0); in write()236 ((unsigned short*)element)[0] = static_cast<unsigned short>(ucast<16>(r)); in write()237 ((unsigned short*)element)[1] = static_cast<unsigned short>(ucast<16>(g)); in write()238 ((unsigned short*)element)[2] = static_cast<unsigned short>(ucast<16>(b)); in write()239 ((unsigned short*)element)[3] = static_cast<unsigned short>(ucast<16>(a)); in write()[all …]
306 inline unsigned int ucast(float x) in ucast() function
97 *(unsigned char*)element = ucast<8>(r); in write()103 *(unsigned short*)element = ucast<16>(r); in write()143 …*(unsigned int*)element = (ucast<8>(a) << 24) | (ucast<8>(b) << 16) | (ucast<8>(g) << 8) | (ucast<… in write()164 *(unsigned short*)element = (ucast<8>(g) << 8) | (ucast<8>(r) << 0); in write()174 *(unsigned int*)element = (ucast<16>(g) << 16) | (ucast<16>(r) << 0); in write()194 ((unsigned short*)element)[0] = static_cast<unsigned short>(ucast<16>(r)); in write()195 ((unsigned short*)element)[1] = static_cast<unsigned short>(ucast<16>(g)); in write()196 ((unsigned short*)element)[2] = static_cast<unsigned short>(ucast<16>(b)); in write()197 ((unsigned short*)element)[3] = static_cast<unsigned short>(ucast<16>(a)); in write()
2567 mDNSBool ucast = (q->LargeAnswers || q->RequestUnicast) && m->CanReceiveUnicastOn5353; in BuildQuestion() local2568 mDNSu16 ucbit = (mDNSu16)(ucast ? kDNSQClass_UnicastResponse : 0); in BuildQuestion()2620 if (ucast) q->ExpectUnicastResp = NonZeroTime(m->timenow); in BuildQuestion()3117 …mDNSBool ucast = (ar->ProbeCount >= DefaultProbeCountForTypeUnique-1) && m->CanReceiveUnicastOn535… in SendQueries() local3118 mDNSu16 ucbit = (mDNSu16)(ucast ? kDNSQClass_UnicastResponse : 0); in SendQueries()