Searched refs:prop_len (Results 1 - 2 of 2) sorted by relevance

/system/core/reboot/
H A Dreboot.c27 size_t prop_len; local
60 prop_len = snprintf(property_val, sizeof(property_val), "%s,%s", cmd, optarg);
61 if (prop_len >= sizeof(property_val)) {
/system/core/init/
H A Dinit_parser.c213 int prop_len = 0; local
241 while (*c && *c != '}' && prop_len < PROP_NAME_MAX)
242 prop[prop_len++] = *(c++);
245 if (prop_len == PROP_NAME_MAX)
253 prop[prop_len] = '\0';
256 while (*c && prop_len < PROP_NAME_MAX)
257 prop[prop_len++] = *(c++);
258 if (prop_len == PROP_NAME_MAX && *c != '\0') {
262 prop[prop_len] = '\0';
267 if (prop_len
[all...]

Completed in 73 milliseconds