Lines Matching refs:d
279 #define _D_EXACT_NAMLEN(d) ((d)->d_namlen) argument
281 #define _D_EXACT_NAMLEN(d) (strlen ((d)->d_name)) argument
286 DIR ** const d = (DIR **)lua_touserdata(L, lua_upvalueindex(1)); in magnet_readdir_iter() local
287 if (NULL == *d) return 0; in magnet_readdir_iter()
293 de = readdir(*d); in magnet_readdir_iter()
302 closedir(*d); in magnet_readdir_iter()
303 *d = NULL; in magnet_readdir_iter()
310 DIR ** const d = lua_touserdata(L, 1); in magnet_readdir_gc() local
311 if (*d) closedir(*d); in magnet_readdir_gc()
326 DIR * const d = opendir(s); in magnet_readdir() local
327 if (d) { in magnet_readdir()
328 *(DIR **)lua_newuserdata0(L, sizeof(DIR *)) = d; in magnet_readdir()
1062 char *d = buffer_string_prepare_append(b, len); /*(upper-bound len)*/ in magnet_buffer_append_bsdec() local
1067 memcpy(d, ptr, (size_t)(s - ptr)); in magnet_buffer_append_bsdec()
1068 d += (size_t)(s - ptr); in magnet_buffer_append_bsdec()
1113 *d++ = 0xC0 | (c >> 6); in magnet_buffer_append_bsdec()
1115 *d++ = 0xE0 | (c >> 12); in magnet_buffer_append_bsdec()
1116 *d++ = 0x80 | ((c >> 6) & 0x3F); in magnet_buffer_append_bsdec()
1135 *d++ = c; in magnet_buffer_append_bsdec()
1137 buffer_truncate(b, d - b->ptr); in magnet_buffer_append_bsdec()