Searched refs:sdset (Results 1 – 2 of 2) sorted by relevance
993 int32_t SlNetSock_sdsSet(int16_t sd, SlNetSock_SdSet_t *sdset) in SlNetSock_sdsSet() argument998 if ( (NULL == sdset) || (sd >= SLNETSOCK_MAX_CONCURRENT_SOCKETS) ) in SlNetSock_sdsSet()1008 … sdset->sdSetBitmap[sdArrayIndex] |= ( 1 << (sd % SLNETSOCK_SIZEOF_ONE_SDSETBITMAP_SLOT_IN_BITS) ); in SlNetSock_sdsSet()1020 int32_t SlNetSock_sdsClr(int16_t sd, SlNetSock_SdSet_t *sdset) in SlNetSock_sdsClr() argument1025 if ( (NULL == sdset) || (sd >= SLNETSOCK_MAX_CONCURRENT_SOCKETS) ) in SlNetSock_sdsClr()1034 …sdset->sdSetBitmap[sdArrayIndex] &= ~( 1 << (sd % SLNETSOCK_SIZEOF_ONE_SDSETBITMAP_SLOT_IN_BITS) ); in SlNetSock_sdsClr()1045 int32_t SlNetSock_sdsClrAll(SlNetSock_SdSet_t *sdset) in SlNetSock_sdsClrAll() argument1050 if (NULL == sdset) in SlNetSock_sdsClrAll()1057 sdArrayIndex = (((sizeof(sdset)*8)-1) / SLNETSOCK_SIZEOF_ONE_SDSETBITMAP_SLOT_IN_BITS); in SlNetSock_sdsClrAll()1062 sdset->sdSetBitmap[sdArrayIndex] = 0; in SlNetSock_sdsClrAll()[all …]
1142 int32_t SlNetSock_sdsSet(int16_t sd, SlNetSock_SdSet_t *sdset);1150 int32_t SlNetSock_sdsClr(int16_t sd, SlNetSock_SdSet_t *sdset);1158 int32_t SlNetSock_sdsClrAll(SlNetSock_SdSet_t *sdset);1169 int32_t SlNetSock_sdsIsSet(int16_t sd, SlNetSock_SdSet_t *sdset);