Searched refs:new_cmdline (Results 1 – 3 of 3) sorted by relevance
/external/avb/libavb/ |
D | avb_cmdline.c | 137 char* new_cmdline; in cmdline_append_option() local 150 new_cmdline = avb_calloc(offset + key_len + value_len + 2); in cmdline_append_option() 151 if (new_cmdline == NULL) { in cmdline_append_option() 155 avb_memcpy(new_cmdline, slot_data->cmdline, offset - 1); in cmdline_append_option() 156 new_cmdline[offset - 1] = ' '; in cmdline_append_option() 158 avb_memcpy(new_cmdline + offset, key, key_len); in cmdline_append_option() 159 new_cmdline[offset + key_len] = '='; in cmdline_append_option() 160 avb_memcpy(new_cmdline + offset + key_len + 1, value, value_len); in cmdline_append_option() 164 slot_data->cmdline = new_cmdline; in cmdline_append_option()
|
D | avb_slot_verify.c | 1102 char* new_cmdline = avb_calloc(new_size); in load_and_verify_vbmeta() local 1103 if (new_cmdline == NULL) { in load_and_verify_vbmeta() 1107 avb_memcpy(new_cmdline, slot_data->cmdline, orig_size); in load_and_verify_vbmeta() 1108 new_cmdline[orig_size] = ' '; in load_and_verify_vbmeta() 1109 avb_memcpy(new_cmdline + orig_size + 1, in load_and_verify_vbmeta() 1113 slot_data->cmdline = new_cmdline; in load_and_verify_vbmeta() 1590 char* new_cmdline; in avb_slot_verify() local 1591 new_cmdline = avb_sub_cmdline(ops, in avb_slot_verify() 1596 if (new_cmdline != slot_data->cmdline) { in avb_slot_verify() 1597 if (new_cmdline == NULL) { in avb_slot_verify() [all …]
|
/external/ltp/pan/ |
D | ltp-pan.c | 1163 char new_cmdline[1024]; in subst_pcnt_f() local 1170 snprintf(new_cmdline, 1024, colle->cmdline, pid_and_counter); in subst_pcnt_f() 1171 return strdup(new_cmdline); in subst_pcnt_f()
|