Lines Matching refs:strlen
122 q = p + strlen(p);
128 int taglen = strlen(tags[tagn].tag);
195 adb_write(adb_debug_qemu, msg, strlen(msg));
750 int local_len = strlen(l->local_name);
751 int connect_len = strlen(l->connect_to);
752 int serial_len = strlen(l->transport->serial);
1409 if (!strncmp(service, "transport", strlen("transport"))) {
1413 if (!strncmp(service, "transport-usb", strlen("transport-usb"))) {
1415 } else if (!strncmp(service, "transport-local", strlen("transport-local"))) {
1417 } else if (!strncmp(service, "transport-any", strlen("transport-any"))) {
1419 } else if (!strncmp(service, "transport:", strlen("transport:"))) {
1420 service += strlen("transport:");
1444 snprintf(buf, sizeof(buf), "OKAY%04x%s",(unsigned)strlen(buffer),buffer);
1446 writex(reply_fd, buf, strlen(buf));
1475 snprintf(buf, sizeof(buf), "OKAY%04x%s",(unsigned)strlen(buffer), buffer);
1476 writex(reply_fd, buf, strlen(buf));
1484 snprintf(buf, sizeof buf, "OKAY%04x%s", (unsigned)strlen(version), version);
1485 writex(reply_fd, buf, strlen(buf));
1489 if(!strncmp(service,"get-serialno",strlen("get-serialno"))) {
1495 snprintf(buf, sizeof buf, "OKAY%04x%s",(unsigned)strlen(out),out);
1496 writex(reply_fd, buf, strlen(buf));
1499 if(!strncmp(service,"get-devpath",strlen("get-devpath"))) {
1505 snprintf(buf, sizeof buf, "OKAY%04x%s",(unsigned)strlen(out),out);
1506 writex(reply_fd, buf, strlen(buf));
1613 if(!strncmp(service,"get-state",strlen("get-state"))) {
1616 snprintf(buf, sizeof buf, "OKAY%04x%s",(unsigned)strlen(state),state);
1617 writex(reply_fd, buf, strlen(buf));