Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 7 of 7) sorted by relevance

/bootable/recovery/tools/ota/
Dadd-property-tag.c45 int remove_tag(char *line, const char *tag) { in remove_tag() argument
46 char *pos = strstr(line, tag); in remove_tag()
50 int num = strtoul(pos + strlen(tag), &end, 10); in remove_tag()
56 void write_tagged(FILE *out, const char *line, const char *tag, int number) { in write_tagged() argument
60 fprintf(out, "%.*s%s%d%s", end - line, line, tag, number, end); in write_tagged()
62 fprintf(out, "%.*s%s%s", end - line, line, tag, end); in write_tagged()
69 const char *tag = NULL; in main() local
93 tag = argv[optind]; in main()
115 int number = remove_tag(line, tag); in main()
119 write_tagged(output, line, tag, number + do_number); in main()
DAndroid.mk19 LOCAL_MODULE := add-property-tag
22 LOCAL_SRC_FILES := add-property-tag.c
/bootable/recovery/minadbd/
Dadb.c78 const char* tag; in adb_trace_init() member
109 for (tagn = 0; tags[tagn].tag != NULL; tagn++) in adb_trace_init()
111 int taglen = strlen(tags[tagn].tag); in adb_trace_init()
113 if (len == taglen && !memcmp(tags[tagn].tag, p, len) ) in adb_trace_init()
160 char *tag; in print_packet() local
165 case A_SYNC: tag = "SYNC"; break; in print_packet()
166 case A_CNXN: tag = "CNXN" ; break; in print_packet()
167 case A_OPEN: tag = "OPEN"; break; in print_packet()
168 case A_OKAY: tag = "OKAY"; break; in print_packet()
169 case A_CLSE: tag = "CLSE"; break; in print_packet()
[all …]
Dadb.h358 #define print_packet(tag,p) do {} while (0) argument
/bootable/recovery/minzip/
DLog.h187 #define LOG(priority, tag, ...) \ argument
188 LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
195 #define LOG_PRI(priority, tag, ...) \ argument
196 printf(tag ": " __VA_ARGS__)
203 #define IF_LOG(priority, tag) \ argument
/bootable/recovery/minelf/
DRetouch.c29 char tag[4]; /* 'P', 'R', 'E', ' ' */ member
130 if (strncmp(p_info->tag, "PRE ", 4) || in retouch_mask_data()
131 strncmp(r_info->tag, "RETOUCH ", 8)) in retouch_mask_data()
DRetouch.h24 char tag[8]; /* "RETOUCH ", not zero-terminated */ member