Home
last modified time | relevance | path

Searched refs:nulstr (Results 1 – 9 of 9) sorted by relevance

/systemd-251/src/basic/
Dnulstr-util.c6 const char* nulstr_get(const char *nulstr, const char *needle) { in nulstr_get() argument
9 if (!nulstr) in nulstr_get()
12 NULSTR_FOREACH(i, nulstr) in nulstr_get()
Dnulstr-util.h13 const char* nulstr_get(const char *nulstr, const char *needle);
15 static inline bool nulstr_contains(const char *nulstr, const char *needle) { in nulstr_contains() argument
16 return nulstr_get(nulstr, needle); in nulstr_contains()
Dstrv.h113 static inline int strv_from_nulstr(char ***a, const char *nulstr) { in strv_from_nulstr() argument
116 t = strv_split_nulstr(nulstr); in strv_from_nulstr()
Dmeson.build168 'nulstr-util.c',
169 'nulstr-util.h',
/systemd-251/src/libsystemd/sd-device/
Ddevice-private.h13 int device_new_from_nulstr(sd_device **ret, uint8_t *nulstr, size_t len);
51 int device_get_properties_nulstr(sd_device *device, const uint8_t **nulstr, size_t *len);
Ddevice-private.c470 int device_new_from_nulstr(sd_device **ret, uint8_t *nulstr, size_t len) { in device_new_from_nulstr() argument
476 assert(nulstr); in device_new_from_nulstr()
487 key = (char*) &nulstr[i]; in device_new_from_nulstr()
564 int device_get_properties_nulstr(sd_device *device, const uint8_t **nulstr, size_t *len) { in device_get_properties_nulstr() argument
568 assert(nulstr); in device_get_properties_nulstr()
575 *nulstr = device->properties_nulstr; in device_get_properties_nulstr()
Dtest-sd-device.c322 const uint8_t *nulstr; in TEST() local
339 assert_se(device_get_properties_nulstr(device, &nulstr, &len) >= 0); in TEST()
340 assert_se(nulstr_copy = newdup(uint8_t, nulstr, len)); in TEST()
/systemd-251/src/core/
Dmeson.build164 awkscript = 'load-fragment-gperf-nulstr.awk'
166 'load-fragment-gperf-nulstr.c',
168 output : 'load-fragment-gperf-nulstr.c',
/systemd-251/src/test/
Dtest-strv.c492 const char nulstr[] = "str0\0str1\0str2\0str3\0"; in TEST() local
494 l = strv_split_nulstr (nulstr); in TEST()
505 const char nulstr[] = "hoge\0hoge2\0hoge3\0\0hoge5\0\0xxx"; in TEST() local
507 l = strv_parse_nulstr(nulstr, sizeof(nulstr)-1); in TEST()