Lines Matching defs:prop
930 bool Arguments::add_property(const char* prop) {
931 const char* eq = strchr(prop, '=');
937 size_t key_len = (eq == NULL) ? strlen(prop) : (eq - prop);
939 strncpy(key, prop, key_len);
943 size_t value_len = strlen(prop) - key_len - 1;
945 strncpy(value, &prop[key_len + 1], value_len + 1);
3286 SystemProperty* prop;
3287 for (prop = pl; prop != NULL; prop = prop->next()) {
3288 if (strcmp(key, prop->key()) == 0) return prop->value();
3351 SystemProperty* prop;
3352 for (prop = *plist; prop != NULL; prop = prop->next()) {
3353 if (strcmp(k, prop->key()) == 0) {
3355 prop->append_value(v);
3357 prop->set_value(v);