Lines Matching full:len
128 int len;
134 len = snprintf(p, end-p, "%d\n", proc->pid);
135 if (p + len >= end)
137 p += len;
148 int len = jdwp_process_list( buffer+4, bufferlen-4 );
149 snprintf(head, sizeof head, "%04x", len);
151 return len + 4;
245 int len = recv( socket, p, size, 0 );
246 if (len < 0) {
257 if (len == 0) { /* end of stream ? */
261 p += len;
262 proc->in_len += len;
263 size -= len;
285 int len = recv(socket, buf, sizeof(buf), 0);
287 if (len <= 0) {
288 if (len < 0 && errno == EINTR)
290 if (len < 0 && errno == EAGAIN)
300 proc->pid, len );
565 p->len
613 int len;
616 len = jdwp_process_list_msg(buffer, sizeof(buffer));
621 memcpy(p->data, buffer, len);
622 p->len = len;
654 p->len = jdwp_process_list_msg((char*)p->data, sizeof(p->data));