Home | History | Annotate | Download | only in power

Lines Matching refs:attribute

37         char *attribute, int attribute_size, char *value, int value_size)
49 attribute[0] = value[0] = '\0';
55 strncpy(attribute, attribute_string,
57 attribute[bytes_to_copy] = '\0';
59 bytes_to_copy = MIN(strlen(attribute_string) - strlen(attribute) - 1,
72 char attribute[1024], value[1024], *saveptr;
77 attribute, sizeof(attribute), value, sizeof(value))) == METADATA_PARSING_CONTINUE) {
78 if (strlen(attribute) == strlen("hint_id") &&
79 (strncmp(attribute, "hint_id", strlen("hint_id")) == 0)) {
85 if (strlen(attribute) == strlen("state") &&
86 (strncmp(attribute, "state", strlen("state")) == 0)) {
104 char attribute[1024], value[1024], *saveptr;
109 attribute, sizeof(attribute), value, sizeof(value))) == METADATA_PARSING_CONTINUE) {
110 if (strlen(attribute) == strlen("hint_id") &&
111 (strncmp(attribute, "hint_id", strlen("hint_id")) == 0)) {
117 if (strlen(attribute) == strlen("state") &&
118 (strncmp(attribute, "state", strlen("state")) == 0)) {