Searched refs:tag (Results 1 - 5 of 5) sorted by relevance

/bootable/recovery/tools/ota/
H A Dadd-property-tag.c26 * Append a tag to a property value in a .prop file if it isn't already there.
30 // Return nonzero if the tag should be added to this line.
45 int remove_tag(char *line, const char *tag) { argument
46 char *pos = strstr(line, tag);
50 int num = strtoul(pos + strlen(tag), &end, 10);
55 // Write line to output with the tag added, adding a number (if >0)
56 void write_tagged(FILE *out, const char *line, const char *tag, int number) { argument
60 fprintf(out, "%.*s%s%d%s", (int)(end - line), line, tag, number, end);
62 fprintf(out, "%.*s%s%s", (int)(end - line), line, tag, end);
69 const char *tag local
[all...]
H A DAndroid.mk19 LOCAL_MODULE := add-property-tag
22 LOCAL_SRC_FILES := add-property-tag.c
/bootable/recovery/minzip/
H A DLog.h35 * This is the local tag used for the following simplified
37 * before using the other macros to change the tag.
181 * The second argument may be NULL or "" to indicate the "global" tag.
187 #define LOG(priority, tag, ...) \
188 LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
195 #define LOG_PRI(priority, tag, ...) \
196 printf(tag ": " __VA_ARGS__)
200 * Conditional given a desired logging priority and tag.
203 #define IF_LOG(priority, tag) \
/bootable/recovery/minadbd/
H A Dadb.c76 const char* tag; member in struct:__anon9
107 for (tagn = 0; tags[tagn].tag != NULL; tagn++)
109 int taglen = strlen(tags[tagn].tag);
111 if (len == taglen && !memcmp(tags[tagn].tag, p, len) )
158 char *tag; local
163 case A_SYNC: tag = "SYNC"; break;
164 case A_CNXN: tag = "CNXN" ; break;
165 case A_OPEN: tag = "OPEN"; break;
166 case A_OKAY: tag = "OKAY"; break;
167 case A_CLSE: tag
[all...]
H A Dadb.h354 #define print_packet(tag,p) do {} while (0)

Completed in 1491 milliseconds