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

/systemd/src/libudev/
H A Dlibudev-device-private.c162 const char *nulstr; local
169 r = device_get_properties_nulstr(udev_device->device, (const uint8_t **)&nulstr, &len);
173 *buf = nulstr;
260 struct udev_device *udev_device_new_from_nulstr(struct udev *udev, char *nulstr, ssize_t buflen) { argument
268 r = device_new_from_nulstr(&device->device, (uint8_t*)nulstr, buflen);
/systemd/src/test/
H A Dtest-strv.c254 const char nulstr[] = "str0\0str1\0str2\0str3\0"; local
256 l = strv_split_nulstr (nulstr);
267 const char nulstr[] = "fuck\0fuck2\0fuck3\0\0fuck5\0\0xxx"; local
269 l = strv_parse_nulstr(nulstr, sizeof(nulstr)-1);
271 puts("Parse nulstr:");
/systemd/src/libsystemd/sd-device/
H A Ddevice-private.c592 int device_new_from_nulstr(sd_device **ret, uint8_t *nulstr, size_t len) { argument
601 assert(nulstr);
612 key = (char*)&nulstr[i];
615 log_debug("sd-device: failed to parse nulstr");
691 int device_get_properties_nulstr(sd_device *device, const uint8_t **nulstr, size_t *len) { argument
695 assert(nulstr);
702 *nulstr = device->properties_nulstr;

Completed in 32 milliseconds