Lines Matching full:sizeof
52 snprintf(store, sizeof(store)-1, "%s/%s", p, name);
202 memcpy(&hist_db->val[realm*4], val, sizeof(*val)*4);
208 fprintf(fp, "%-10s", rtnl_rtrealm_n2a(realm, b1, sizeof(b1)));
269 memcpy(&hist_db->val[realm*4], val, sizeof(*val)*4);
283 fprintf(fp, "%-10s", rtnl_rtrealm_n2a(realm, b1, sizeof(b1)));
338 while (tot < sizeof(*kern_db)) {
339 int n = write(fd, ((char*)kern_db) + tot, sizeof(*kern_db)-tot);
357 memset(dat->rate, 0, sizeof(dat->rate));
359 memcpy(dat->ival, ival, sizeof(dat->ival));
416 socklen_t olen = sizeof(cred);
419 olen < sizeof(cred))
501 memset(rmap, ~0, sizeof(rmap));
538 snprintf(hist_name, sizeof(hist_name), getenv("RTACCT_HISTORY"));
565 if (stb.st_size != sizeof(*hist_db))
566 write(fd, kern_db, sizeof(*hist_db));
568 hist_db = mmap(NULL, sizeof(*hist_db),
589 memset(hist_db, 0, sizeof(*hist_db));
601 nread(fd, (char*)kern_db, sizeof(*kern_db));