• Home
  • Raw
  • Download

Lines Matching refs:fieldname

2561 static int persist_get_key(const char* fieldname, char* value) {  in persist_get_key()  argument
2568 if (!strncmp(persist_data->persist_entry[i].key, fieldname, PROPERTY_KEY_MAX)) { in persist_get_key()
2578 static int persist_set_key(const char* fieldname, const char* value, int encrypted) { in persist_set_key() argument
2592 if (!strncmp(persist_data->persist_entry[i].key, fieldname, PROPERTY_KEY_MAX)) { in persist_set_key()
2603 strlcpy(persist_data->persist_entry[num].key, fieldname, PROPERTY_KEY_MAX); in persist_set_key()
2643 static int persist_del_keys(const char* fieldname, unsigned index) { in persist_del_keys() argument
2657 if (!match_multi_entry(persist_data->persist_entry[i].key, fieldname, index)) { in persist_del_keys()
2674 static int persist_count_keys(const char* fieldname) { in persist_count_keys() argument
2684 if (match_multi_entry(persist_data->persist_entry[i].key, fieldname, 0)) { in persist_count_keys()
2693 int cryptfs_getfield(const char* fieldname, char* value, int len) { in cryptfs_getfield() argument
2719 if (!persist_get_key(fieldname, temp_value)) { in cryptfs_getfield()
2729 if (snprintf(temp_field, sizeof(temp_field), "%s_%d", fieldname, i) >= in cryptfs_getfield()
2758 int cryptfs_setfield(const char* fieldname, const char* value) { in cryptfs_setfield() argument
2795 max_keylen = strlen(fieldname); in cryptfs_setfield()
2806 if (persist_data->persist_valid_entries + num_entries - persist_count_keys(fieldname) > in cryptfs_setfield()
2814 persist_del_keys(fieldname, 0); in cryptfs_setfield()
2816 if (persist_set_key(fieldname, value, encrypted)) { in cryptfs_setfield()
2823 snprintf(temp_field, sizeof(temp_field), "%s_%u", fieldname, field_id); in cryptfs_setfield()