Searched defs:need (Results 1 - 3 of 3) sorted by relevance

/systemd/src/basic/
H A Dalloc-util.c40 void* greedy_realloc(void **p, size_t *allocated, size_t need, size_t size) { argument
47 if (*allocated >= need)
50 newalloc = MAX(need * 2, 64u / size);
54 if (a < size * need)
66 void* greedy_realloc0(void **p, size_t *allocated, size_t need, size_t size) { argument
75 q = greedy_realloc(p, allocated, need, size);
/systemd/src/shared/
H A Dacl-util.c72 bool need = false; local
88 need = true;
93 if (need && acl_calc_mask(acl_p) < 0)
96 return need;
/systemd/src/libsystemd/sd-bus/
H A Dbus-socket.c201 /* Nice! We got all the lines we need. First check the OK
827 static int bus_socket_read_message_need(sd_bus *bus, size_t *need) { argument
833 assert(need);
837 *need = sizeof(struct bus_header) + 8;
875 *need = (size_t) sum;
925 size_t need; local
937 r = bus_socket_read_message_need(bus, &need);
941 if (bus->rbuffer_size >= need)
942 return bus_socket_make_message(bus, need);
944 b = realloc(bus->rbuffer, need);
[all...]

Completed in 1025 milliseconds