Searched refs:prop_index (Results 1 – 1 of 1) sorted by relevance
52 int prop_index = property_find(key); in property_set() local54 if (prop_index == MAX_PROPERTIES) { in property_set()56 prop_index = num_properties; in property_set()61 strncpy(properties[prop_index].key, key, PROP_KEY_MAX + 1); in property_set()62 strncpy(properties[prop_index].value, value, PROP_VALUE_MAX + 1); in property_set()71 int prop_index = property_find(key); in property_get() local73 if (prop_index == MAX_PROPERTIES) return 0; in property_get()75 int len = strlen(properties[prop_index].value); in property_get()76 memcpy(value, properties[prop_index].value, len); in property_get()