Home
last modified time | relevance | path

Searched refs:bptr (Results 1 – 10 of 10) sorted by relevance

/external/jpeg/
Djmemmgr.c590 jvirt_barray_ptr bptr; in realize_virt_arrays() local
606 for (bptr = mem->virt_barray_list; bptr != NULL; bptr = bptr->next) { in realize_virt_arrays()
607 if (bptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
608 space_per_minheight += (long) bptr->maxaccess * in realize_virt_arrays()
609 (long) bptr->blocksperrow * SIZEOF(JBLOCK); in realize_virt_arrays()
610 maximum_space += (long) bptr->rows_in_array * in realize_virt_arrays()
611 (long) bptr->blocksperrow * SIZEOF(JBLOCK); in realize_virt_arrays()
663 for (bptr = mem->virt_barray_list; bptr != NULL; bptr = bptr->next) { in realize_virt_arrays()
664 if (bptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays()
665 minheights = ((long) bptr->rows_in_array - 1L) / bptr->maxaccess + 1L; in realize_virt_arrays()
[all …]
Djquant2.c786 register INT32 * bptr; /* pointer into bestdist[] array */ in find_best_colors() local
797 bptr = bestdist; in find_best_colors()
799 *bptr++ = 0x7FFFFFFFL; in find_best_colors()
825 bptr = bestdist; in find_best_colors()
835 if (dist2 < *bptr) { in find_best_colors()
836 *bptr = dist2; in find_best_colors()
841 bptr++; in find_best_colors()
/external/qemu/slirp-android/
Dtcp_subr.c647 char *bptr; in tcp_emu() local
696 if ((bptr = (char *)strstr(m->m_data, "ORT")) != NULL) { in tcp_emu()
700 x = sscanf(bptr, "ORT %u,%u,%u,%u,%u,%u\r\n%256[^\177]", in tcp_emu()
723 m->m_len = bptr - m->m_data; /* Adjust length */ in tcp_emu()
724 m->m_len += snprintf(bptr, m->m_hdr.mh_size - m->m_len, in tcp_emu()
728 } else if ((bptr = (char *)strstr(m->m_data, "27 Entering")) != NULL) { in tcp_emu()
732 x = sscanf(bptr, "27 Entering Passive Mode (%u,%u,%u,%u,%u,%u)\r\n%256[^\177]", in tcp_emu()
755 m->m_len = bptr - m->m_data; /* Adjust length */ in tcp_emu()
756 m->m_len += snprintf(bptr, m->m_hdr.mh_size - m->m_len, in tcp_emu()
790 if ((bptr = (char *)strstr(m->m_data, "DCC")) == NULL) in tcp_emu()
[all …]
Dmisc.c237 char *bptr; in fork_exec() local
307 bptr = strdup(ex); /* No need to free() this */ in fork_exec()
312 argv[i++] = bptr; in fork_exec()
316 curarg = bptr; in fork_exec()
317 while (*bptr != ' ' && *bptr != (char)0) in fork_exec()
318 bptr++; in fork_exec()
319 c = *bptr; in fork_exec()
320 *bptr++ = (char)0; in fork_exec()
372 char *bptr; in strdup() local
375 bptr = (char *)malloc(len+1); in strdup()
[all …]
Dif.c49 writen(fd, bptr, n)
51 char *bptr;
58 ret = socket_send(fd, bptr, n);
65 ret = socket_send(fd, bptr+total, n-total);
/external/qemu/slirp/
Dtcp_subr.c616 char *bptr; in tcp_emu() local
965 if ((bptr = (char *)strstr(m->m_data, "ORT")) != NULL) { in tcp_emu()
969 x = sscanf(bptr, "ORT %u,%u,%u,%u,%u,%u\r\n%256[^\177]", in tcp_emu()
992 m->m_len = bptr - m->m_data; /* Adjust length */ in tcp_emu()
993 m->m_len += snprintf(bptr, m->m_hdr.mh_size - m->m_len, in tcp_emu()
997 } else if ((bptr = (char *)strstr(m->m_data, "27 Entering")) != NULL) { in tcp_emu()
1001 x = sscanf(bptr, "27 Entering Passive Mode (%u,%u,%u,%u,%u,%u)\r\n%256[^\177]", in tcp_emu()
1024 m->m_len = bptr - m->m_data; /* Adjust length */ in tcp_emu()
1025 m->m_len += snprintf(bptr, m->m_hdr.mh_size - m->m_len, in tcp_emu()
1059 if ((bptr = (char *)strstr(m->m_data, "DCC")) == NULL) in tcp_emu()
[all …]
Dmisc.c260 char *bptr; in fork_exec() local
341 bptr = strdup(ex); /* No need to free() this */ in fork_exec()
346 argv[i++] = bptr; in fork_exec()
350 curarg = bptr; in fork_exec()
351 while (*bptr != ' ' && *bptr != (char)0) in fork_exec()
352 bptr++; in fork_exec()
353 c = *bptr; in fork_exec()
354 *bptr++ = (char)0; in fork_exec()
412 char *bptr; local
414 bptr = (char *)malloc(strlen(str)+1);
[all …]
Dif.c49 writen(fd, bptr, n)
51 char *bptr;
58 ret = send(fd, bptr, n,0);
65 ret = send(fd, bptr+total, n-total,0);
/external/grub/netboot/
Di82586.c431 Address bptr; in i82586_transmit() local
455 bptr = mem_start + TX_BUF_START; in i82586_transmit()
456 memcpy((char *)bptr, (char *)tx_cmd, sizeof(tx_cmd)); in i82586_transmit()
457 bptr += sizeof(tx_cmd); in i82586_transmit()
458 memcpy((char *)bptr, d, ETH_ALEN); in i82586_transmit()
459 bptr += ETH_ALEN; in i82586_transmit()
460 memcpy((char *)bptr, nic->node_addr, ETH_ALEN); in i82586_transmit()
461 bptr += ETH_ALEN; in i82586_transmit()
462 memcpy((char *)bptr, (char *)&type, sizeof(type)); in i82586_transmit()
463 bptr += sizeof(type); in i82586_transmit()
[all …]
/external/libxml2/
Duri.c2233 xmlChar *bptr, *uptr, *vptr; in xmlBuildRelativeURI() local
2310 bptr = (xmlChar *)bas->path; in xmlBuildRelativeURI()
2312 for (ix = 0; bptr[ix] != 0; ix++) { in xmlBuildRelativeURI()
2313 if (bptr[ix] == '/') in xmlBuildRelativeURI()
2324 if ((*bptr == '.') && (bptr[1] == '/')) in xmlBuildRelativeURI()
2325 bptr += 2; in xmlBuildRelativeURI()
2326 else if ((*bptr == '/') && (ref->path[pos] != '/')) in xmlBuildRelativeURI()
2327 bptr++; in xmlBuildRelativeURI()
2328 while ((bptr[pos] == ref->path[pos]) && (bptr[pos] != 0)) in xmlBuildRelativeURI()
2331 if (bptr[pos] == ref->path[pos]) { in xmlBuildRelativeURI()
[all …]