Home | History | Annotate | Download | only in test

Lines Matching defs:key

31   char key[PROP_KEY_MAX + 2];
39 static int property_find(const char *key) {
41 if (strncmp(properties[i].key, key, PROP_KEY_MAX) == 0) {
48 int property_set(const char *key, const char *value) {
52 int prop_index = property_find(key);
61 strncpy(properties[prop_index].key, key, PROP_KEY_MAX + 1);
66 int property_get(const char *key, char *value, const char *default_value) {
71 int prop_index = property_find(key);