/external/iptables/utils/ |
D | nfnl_osf.c | 150 static void xt_osf_parse_opt(struct xt_osf_opt *opt, __u16 *optnum, char *obuf, int olen) in xt_osf_parse_opt() argument 156 ptr = &obuf[0]; in xt_osf_parse_opt() 162 switch (obuf[i]) { in xt_osf_parse_opt() 165 ptr = xt_osf_strchr(&obuf[i], OPTDEL); in xt_osf_parse_opt() 169 i += (int)(ptr - &obuf[i]); in xt_osf_parse_opt() 175 ptr = xt_osf_strchr(&obuf[i], OPTDEL); in xt_osf_parse_opt() 179 i += (int)(ptr - &obuf[i]); in xt_osf_parse_opt() 185 ptr = xt_osf_strchr(&obuf[i], OPTDEL); in xt_osf_parse_opt() 189 i += (int)(ptr - &obuf[i]); in xt_osf_parse_opt() 195 ptr = xt_osf_strchr(&obuf[i], OPTDEL); in xt_osf_parse_opt() [all …]
|
/external/curl/lib/ |
D | base64.c | 178 unsigned char obuf[4]; in base64_encode() local 223 obuf[0] = (unsigned char) ((ibuf[0] & 0xFC) >> 2); in base64_encode() 224 obuf[1] = (unsigned char) (((ibuf[0] & 0x03) << 4) | \ in base64_encode() 226 obuf[2] = (unsigned char) (((ibuf[1] & 0x0F) << 2) | \ in base64_encode() 228 obuf[3] = (unsigned char) (ibuf[2] & 0x3F); in base64_encode() 233 table64[obuf[0]], in base64_encode() 234 table64[obuf[1]]); in base64_encode() 238 table64[obuf[0]], in base64_encode() 239 table64[obuf[1]], in base64_encode() 240 table64[obuf[2]]); in base64_encode() [all …]
|
D | url.c | 4850 char *obuf = NULL; in parse_login_details() local 4904 obuf = malloc(olen + 1); in parse_login_details() 4905 if(!obuf) { in parse_login_details() 4930 if(obuf) { in parse_login_details() 4931 memcpy(obuf, osep + 1, olen); in parse_login_details() 4932 obuf[olen] = '\0'; in parse_login_details() 4934 *optionsp = obuf; in parse_login_details()
|
/external/webrtc/talk/session/media/ |
D | yuvscaler_unittest.cc | 112 uint8_t* obuf = ALIGNP(obuffer.get(), kAlignment) + memoffset; in TestScale() local 124 memset(obuf, 100, osize); // Output set to something wrong for now. in TestScale() 130 FlushCache(obuf, osize); in TestScale() 144 FlushCache(obuf, osize); in TestScale() 149 EXPECT_EQ(0, libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, in TestScale() 165 DumpPlanarYuvTestImage(test_name, obuf, ow, oh); in TestScale() 168 double sse = cricket::ComputeSumSquareError(obuf, xbuf, osize); in TestScale() 196 ALIGN16(uint8_t obuf[I420_SIZE(ow, oh)]); in TEST_F() 201 libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, 0, false); in TEST_F() 203 if (dump_) DumpPlanarYuvTestImage("TestCopy", obuf, ow, oh); in TEST_F() [all …]
|
D | planarfunctions_unittest.cc | 448 const uint8_t* obuf, in IsMemoryEqual() argument 451 double sse = cricket::ComputeSumSquareError(ibuf, obuf, osize); in IsMemoryEqual() 455 << " First Diff Byte: " << FindDiff(ibuf, obuf, osize); in IsMemoryEqual() 469 void DumpArgbImage(const uint8_t* obuf, int width, int height) { in DumpArgbImage() argument 470 DumpPlanarArgbTestImage(GetTestName(), obuf, width, height); in DumpArgbImage() 474 void DumpYuvImage(const uint8_t* obuf, int width, int height) { in DumpYuvImage() argument 475 DumpPlanarYuvTestImage(GetTestName(), obuf, width, height); in DumpYuvImage()
|
/external/vboot_reference/utility/ |
D | bmpblk_util.c | 99 void *obuf; in do_efi_decompress() local 123 obuf = malloc(osize); in do_efi_decompress() 124 if (!obuf) { in do_efi_decompress() 132 r = EfiDecompress(ibuf, isize, obuf, osize, sbuf, ssize); in do_efi_decompress() 135 free(obuf); in do_efi_decompress() 141 return obuf; in do_efi_decompress() 148 void *obuf; in do_lzma_decompress() local 157 obuf = malloc(osize); in do_lzma_decompress() 158 if (!obuf) { in do_lzma_decompress() 169 free(obuf); in do_lzma_decompress() [all …]
|
D | efidecompress.c | 1093 uint8_t *obuf = malloc(osize); in main() local 1094 if (!obuf) { in main() 1103 r = TianoDecompress(ibuf, isize, obuf, osize, sbuf, ssize); in main() 1110 r = EfiDecompress(ibuf, isize, obuf, osize, sbuf, ssize); in main() 1132 if (1 != fwrite(obuf, osize, 1, ofp)) { in main() 1147 free(obuf); in main()
|
D | eficompress.c | 1674 uint8_t *obuf = malloc(osize); in main() local 1675 if (!obuf) { in main() 1684 EFI_STATUS r = EfiCompress(ibuf, isize, obuf, &osize); in main() 1705 if (1 != fwrite(obuf, osize, 1, ofp)) { in main() 1720 free(obuf); in main()
|
/external/boringssl/src/crypto/bio/ |
D | buffer.c | 85 char *obuf; /* the char array */ member 103 ctx->obuf = (char *)OPENSSL_malloc(DEFAULT_BUFFER_SIZE); in buffer_new() 104 if (ctx->obuf == NULL) { in buffer_new() 131 OPENSSL_free(ctx->obuf); in buffer_free() 225 memcpy(&ctx->obuf[ctx->obuf_off + ctx->obuf_len], in, inl); in buffer_write() 233 memcpy(&ctx->obuf[ctx->obuf_off + ctx->obuf_len], in, i); in buffer_write() 242 i = BIO_write(b->next_bio, &ctx->obuf[ctx->obuf_off], ctx->obuf_len); in buffer_write() 341 p2 = ctx->obuf; in buffer_ctrl() 366 if (ctx->obuf != p2) { in buffer_ctrl() 367 OPENSSL_free(ctx->obuf); in buffer_ctrl() [all …]
|
/external/iproute2/ip/ |
D | ipmroute.c | 63 char obuf[256]; in print_mroute() local 126 len = snprintf(obuf, sizeof(obuf), in print_mroute() 132 len = sprintf(obuf, "(unknown, "); in print_mroute() 134 snprintf(obuf + len, sizeof(obuf) - len, in print_mroute() 140 snprintf(obuf + len, sizeof(obuf) - len, "unknown) "); in print_mroute() 142 fprintf(fp, "%-32s Iif: ", obuf); in print_mroute()
|
/external/wpa_supplicant_8/src/tls/ |
D | pkcs5.c | 96 char obuf[80]; in pkcs5_get_params_pbes2() local 138 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in pkcs5_get_params_pbes2() 140 obuf); in pkcs5_get_params_pbes2() 144 obuf); in pkcs5_get_params_pbes2() 242 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in pkcs5_get_params_pbes2() 244 obuf); in pkcs5_get_params_pbes2() 250 obuf); in pkcs5_get_params_pbes2() 283 char obuf[80]; in pkcs5_get_params() local 297 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in pkcs5_get_params() 298 wpa_printf(MSG_DEBUG, "PKCS #5: encryption algorithm %s", obuf); in pkcs5_get_params() [all …]
|
D | pkcs8.c | 25 char obuf[80]; in pkcs8_key_import() local 87 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in pkcs8_key_import() 88 wpa_printf(MSG_DEBUG, "PKCS #8: algorithm=%s", obuf); in pkcs8_key_import() 99 "algorithm %s", obuf); in pkcs8_key_import()
|
D | tlsv1_cred.c | 448 char obuf[80]; in pkcs12_certbag() local 476 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in pkcs12_certbag() 477 wpa_printf(MSG_DEBUG, "PKCS #12: certId %s", obuf); in pkcs12_certbag() 482 obuf); in pkcs12_certbag() 582 char obuf[80]; in pkcs12_parse_attr() local 596 asn1_oid_to_str(&a_oid, obuf, sizeof(obuf)); in pkcs12_parse_attr() 597 wpa_printf(MSG_DEBUG, "PKCS #12: attrId %s", obuf); in pkcs12_parse_attr() 627 char obuf[80]; in pkcs12_safebag() local 641 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in pkcs12_safebag() 642 wpa_printf(MSG_DEBUG, "PKCS #12: BAG-TYPE %s", obuf); in pkcs12_safebag()
|
D | tlsv1_client_ocsp.c | 686 char obuf[80]; in tls_process_ocsp_response() local 765 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); in tls_process_ocsp_response() 766 wpa_printf(MSG_DEBUG, "OCSP: responseType %s", obuf); in tls_process_ocsp_response()
|
/external/netcat/ |
D | netcat.c | 825 unsigned char obuf[4]; in atelnet() local 835 obuf[0] = IAC; in atelnet() 838 obuf[1] = DONT; in atelnet() 840 obuf[1] = WONT; in atelnet() 845 obuf[2] = *p; in atelnet() 846 if (atomicio(vwrite, nfd, obuf, 3) != 3) in atelnet()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_helpers.h | 16 int get_wpa_status(const char *ifname, const char *field, char *obuf,
|
D | wpa_helpers.c | 163 int get_wpa_status(const char *ifname, const char *field, char *obuf, in get_wpa_status() argument 204 memcpy(obuf, pos, end - pos); in get_wpa_status()
|
/external/c-ares/ |
D | ares_init.c | 545 static int get_res_nt(HKEY hKey, const char *subkey, char **obuf) in get_res_nt() argument 554 *obuf = malloc(size+1); in get_res_nt() 555 if (!*obuf) in get_res_nt() 559 (LPBYTE)*obuf, &size) != ERROR_SUCCESS) in get_res_nt() 561 free(*obuf); in get_res_nt() 566 free(*obuf); in get_res_nt() 572 static int get_res_interfaces_nt(HKEY hKey, const char *subkey, char **obuf) in get_res_interfaces_nt() argument 588 rc = get_res_nt(hVal, subkey, obuf); in get_res_interfaces_nt()
|
/external/bzip2/ |
D | bzip2.c | 437 UChar obuf[5000]; in uncompressStream() local 462 nread = BZ2_bzRead ( &bzerr, bzf, obuf, 5000 ); in uncompressStream() 465 fwrite ( obuf, sizeof(UChar), nread, stream ); in uncompressStream() 509 nread = fread ( obuf, sizeof(UChar), 5000, zStream ); in uncompressStream() 511 if (nread > 0) fwrite ( obuf, sizeof(UChar), nread, stream ); in uncompressStream() 558 UChar obuf[5000]; in testStream() local 580 nread = BZ2_bzRead ( &bzerr, bzf, obuf, 5000 ); in testStream()
|
/external/blktrace/ |
D | blktrace.c | 247 char *obuf; member 1516 iop->obuf = malloc(size); in set_vbuf() 1517 if (setvbuf(iop->ofp, iop->obuf, mode, size) < 0) { in set_vbuf() 1521 free(iop->obuf); in set_vbuf() 1569 if (iop->obuf) in close_iop() 1570 free(iop->obuf); in close_iop()
|