Home | History | Annotate | Download | only in adb

Lines Matching defs:cp

320     apacket *cp = get_apacket();
321 cp->msg.command = A_CNXN;
322 cp->msg.arg0 = A_VERSION;
323 cp->msg.arg1 = MAX_PAYLOAD;
324 cp->msg.data_length = fill_connect_data((char *)cp->data,
325 sizeof(cp->data));
326 send_packet(cp, t);
435 char *cp;
440 cp = strchr(type, ':');
441 if (cp) {
442 *cp++ = 0;
444 cp = strchr(cp, ':');
445 if (cp) {
448 key = adb_strtok_r(cp + 1, prop_seps, &save);
450 cp = strchr(key, key_val_sep);
451 if (cp) {
452 *cp++ = '\0';
454 qual_overwrite(&t->product, cp);
456 qual_overwrite(&t->model, cp);
458 qual_overwrite(&t->device, cp);