Lines Matching full: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);
1408 if (!strncmp(service, "transport", strlen("transport"))) {
1412 if (!strncmp(service, "transport-usb", strlen("transport-usb"))) {
1414 } else if (!strncmp(service, "transport-local", strlen("transport-local"))) {
1416 } else if (!strncmp(service, "transport-any", strlen("transport-any"))) {
1418 } else if (!strncmp(service, "transport:", strlen("transport:"))) {
1419 service += strlen("transport:");
1443 snprintf(buf, sizeof(buf), "OKAY%04x%s",(unsigned)strlen(buffer),buffer);
1445 writex(reply_fd, buf, strlen(buf));
1474 snprintf(buf, sizeof(buf), "OKAY%04x%s",(unsigned)strlen(buffer), buffer);
1475 writex(reply_fd, buf, strlen(buf));
1483 snprintf(buf, sizeof buf, "OKAY%04x%s", (unsigned)strlen(version), version);
1484 writex(reply_fd, buf, strlen(buf));
1488 if(!strncmp(service,"get-serialno",strlen("get-serialno"))) {
1494 snprintf(buf, sizeof buf, "OKAY%04x%s",(unsigned)strlen(out),out);
1495 writex(reply_fd, buf, strlen(buf));
1498 if(!strncmp(service,"get-devpath",strlen("get-devpath"))) {
1504 snprintf(buf, sizeof buf, "OKAY%04x%s",(unsigned)strlen(out),out);
1505 writex(reply_fd, buf, strlen(buf));
1612 if(!strncmp(service,"get-state",strlen("get-state"))) {
1615 snprintf(buf, sizeof buf, "OKAY%04x%s",(unsigned)strlen(state),state);
1616 writex(reply_fd, buf, strlen(buf));