/external/wpa_supplicant_8/src/wps/ |
D | wps_attr_parse.c | 21 u8 id, u8 len, const u8 *pos) in wps_set_vendor_ext_wfa_subelem() argument 24 id, len); in wps_set_vendor_ext_wfa_subelem() 27 if (len != 1) { in wps_set_vendor_ext_wfa_subelem() 29 "%u", len); in wps_set_vendor_ext_wfa_subelem() 36 attr->authorized_macs_len = len; in wps_set_vendor_ext_wfa_subelem() 39 if (len != 1) { in wps_set_vendor_ext_wfa_subelem() 41 "Shareable length %u", len); in wps_set_vendor_ext_wfa_subelem() 47 if (len != 1) { in wps_set_vendor_ext_wfa_subelem() 49 "length %u", len); in wps_set_vendor_ext_wfa_subelem() 55 if (len != 1) { in wps_set_vendor_ext_wfa_subelem() [all …]
|
/external/google-breakpad/src/third_party/libdisasm/ |
D | x86_format.c | 18 #define STRNCAT( buf, str, len ) do { \ argument 19 int _i = strlen(str), _blen = strlen(buf), _len = len - 1; \ 20 if ( len ) { \ 24 len = 0; \ 26 len -= _i; \ 31 #define STRNCATF( buf, fmt, data, len ) do { \ argument 35 STRNCAT( buf, _tmp, len ); \ 42 STRNCATF( buf, "-0x%" PRIX32, -ea->disp, len ); \ 44 STRNCATF( buf, "0x%" PRIX32, ea->disp, len ); \ 58 int len ) { in format_insn_prefix_str() argument [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | ctrl_iface_ap.c | 33 size_t len = curr_len; in hostapd_write_ht_mcs_bitmask() local 35 ret = os_snprintf(buf + len, buflen - len, in hostapd_write_ht_mcs_bitmask() 37 if (os_snprintf_error(buflen - len, ret)) in hostapd_write_ht_mcs_bitmask() 38 return len; in hostapd_write_ht_mcs_bitmask() 39 len += ret; in hostapd_write_ht_mcs_bitmask() 42 len += wpa_snprintf_hex(buf + len, buflen - len, mcs_set, 10); in hostapd_write_ht_mcs_bitmask() 44 ret = os_snprintf(buf + len, buflen - len, "\n"); in hostapd_write_ht_mcs_bitmask() 45 if (os_snprintf_error(buflen - len, ret)) in hostapd_write_ht_mcs_bitmask() 47 len += ret; in hostapd_write_ht_mcs_bitmask() 49 return len; in hostapd_write_ht_mcs_bitmask() [all …]
|
/external/libnetfilter_conntrack/src/expect/ |
D | snprintf_xml.c | 53 snprintf_expect_meta_xml(char *buf, size_t len, in snprintf_expect_meta_xml() argument 59 ret = snprintf(buf, len, "<meta>"); in snprintf_expect_meta_xml() 60 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml() 63 ret = snprintf(buf+offset, len, in snprintf_expect_meta_xml() 66 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml() 69 ret = snprintf(buf+offset, len, "<timeout>%u</timeout>", in snprintf_expect_meta_xml() 71 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml() 74 ret = snprintf(buf+offset, len, "<class>%u</class>", in snprintf_expect_meta_xml() 76 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml() 79 ret = snprintf(buf+offset, len, "<zone>%u</zone>", exp->zone); in snprintf_expect_meta_xml() [all …]
|
D | snprintf_default.c | 13 __snprintf_expect_timeout(char *buf, unsigned int len, in __snprintf_expect_timeout() argument 17 return snprintf(buf, len, "%u ", exp->timeout); in __snprintf_expect_timeout() 23 __snprintf_expect_class(char *buf, unsigned int len, in __snprintf_expect_class() argument 27 return snprintf(buf, len, "class=%u ", exp->class); in __snprintf_expect_class() 33 unsigned int len, in __snprintf_expect_proto() argument 36 return(snprintf(buf, len, "proto=%d ", in __snprintf_expect_proto() 41 unsigned int len, in __snprintf_expect_default() argument 51 ret = snprintf(buf, len, "%9s ", "[NEW]"); in __snprintf_expect_default() 54 ret = snprintf(buf, len, "%9s ", "[UPDATE]"); in __snprintf_expect_default() 57 ret = snprintf(buf, len, "%9s ", "[DESTROY]"); in __snprintf_expect_default() [all …]
|
/external/iperf3/src/ |
D | iperf_error.c | 126 int len, perr, herr; in iperf_strerror() local 129 len = sizeof(errstr); in iperf_strerror() 130 memset(errstr, 0, len); in iperf_strerror() 134 snprintf(errstr, len, "no error"); in iperf_strerror() 137 snprintf(errstr, len, "cannot be both server and client"); in iperf_strerror() 140 snprintf(errstr, len, "must either be a client (-c) or server (-s)"); in iperf_strerror() 143 snprintf(errstr, len, "some option you are trying to set is server only"); in iperf_strerror() 146 snprintf(errstr, len, "some option you are trying to set is client only"); in iperf_strerror() 149 snprintf(errstr, len, "test duration too long (maximum = %d seconds)", MAX_TIME); in iperf_strerror() 152 … snprintf(errstr, len, "number of parallel streams too large (maximum = %d)", MAX_STREAMS); in iperf_strerror() [all …]
|
/external/adhd/cras/src/tests/ |
D | dsp_core_unittest.cc | 19 size_t len, in add_sine() argument 23 for (size_t i = 0; i < len; i++) in add_sine() 29 static float magnitude_at(float* data, size_t len, float f) { in magnitude_at() argument 32 for (size_t i = 0; i < len; i++) { in magnitude_at() 36 return sqrt(re * re + im * im) * (2.0 / len); in magnitude_at() 100 size_t len = 44100; in TEST() local 101 float NQ = len / 2; in TEST() 105 float* data = (float*)malloc(sizeof(float) * len); in TEST() 109 memset(data, 0, sizeof(float) * len); in TEST() 110 add_sine(data, len, f_low, 0, 1); // 10Hz sine, magnitude = 1 in TEST() [all …]
|
/external/libnetfilter_conntrack/src/conntrack/ |
D | snprintf_xml.c | 67 unsigned int len, in __snprintf_ipv4_xml() argument 75 return snprintf(buf, len, "%s", inet_ntoa(addr)); in __snprintf_ipv4_xml() 79 unsigned int len, in __snprintf_ipv6_xml() argument 92 return snprintf(buf, len, "%s", tmp); in __snprintf_ipv6_xml() 95 int __snprintf_addr_xml(char *buf, unsigned int len, in __snprintf_addr_xml() argument 103 ret = snprintf(buf, len, "<%s>", tag); in __snprintf_addr_xml() 104 BUFFER_SIZE(ret, size, len, offset); in __snprintf_addr_xml() 108 ret = __snprintf_ipv4_xml(buf+offset, len, tuple, type); in __snprintf_addr_xml() 109 BUFFER_SIZE(ret, size, len, offset); in __snprintf_addr_xml() 112 ret = __snprintf_ipv6_xml(buf+offset, len, tuple, type); in __snprintf_addr_xml() [all …]
|
D | snprintf_default.c | 13 unsigned int len, in __snprintf_l3protocol() argument 16 return (snprintf(buf, len, "%-8s %u ", in __snprintf_l3protocol() 23 unsigned int len, in __snprintf_protocol() argument 26 return (snprintf(buf, len, "%-8s %u ", in __snprintf_protocol() 33 unsigned int len, in __snprintf_timeout() argument 36 return snprintf(buf, len, "%u ", ct->timeout); in __snprintf_timeout() 40 unsigned int len, in __snprintf_protoinfo() argument 43 return snprintf(buf, len, "%s ", in __snprintf_protoinfo() 50 unsigned int len, in __snprintf_protoinfo_sctp() argument 53 return snprintf(buf, len, "%s ", in __snprintf_protoinfo_sctp() [all …]
|
/external/bc/tests/bc/errors/ |
D | 11.txt | 3 define printarray(a[], len) { 7 for (i = 0; i < len; ++i) { 12 define a2(a[], len) { 16 for (i = 0; i < len; ++i) { 20 printarray(len, len) 23 define a4(a__[], len) { 27 for (i = 0; i < len; ++i) { 31 printarray(a__[], len) 34 define a6(*a__[], len) { 38 for (i = 0; i < len; ++i) { [all …]
|
/external/libdrm/tests/amdgpu/ |
D | uvd_enc_tests.c | 280 int len, r; in amdgpu_cs_uvd_enc_session_init() local 282 len = 0; in amdgpu_cs_uvd_enc_session_init() 283 memcpy((ib_cpu + len), uve_session_info, sizeof(uve_session_info)); in amdgpu_cs_uvd_enc_session_init() 284 len += sizeof(uve_session_info) / 4; in amdgpu_cs_uvd_enc_session_init() 285 ib_cpu[len++] = enc.session.addr >> 32; in amdgpu_cs_uvd_enc_session_init() 286 ib_cpu[len++] = enc.session.addr; in amdgpu_cs_uvd_enc_session_init() 288 memcpy((ib_cpu + len), uve_task_info, sizeof(uve_task_info)); in amdgpu_cs_uvd_enc_session_init() 289 len += sizeof(uve_task_info) / 4; in amdgpu_cs_uvd_enc_session_init() 290 ib_cpu[len++] = 0x000000d8; in amdgpu_cs_uvd_enc_session_init() 291 ib_cpu[len++] = 0x00000000; in amdgpu_cs_uvd_enc_session_init() [all …]
|
D | vce_tests.c | 290 int len, r; in amdgpu_cs_vce_create() local 300 len = 0; in amdgpu_cs_vce_create() 302 len += sizeof(vce_session) / 4; in amdgpu_cs_vce_create() 303 memcpy((ib_cpu + len), vce_taskinfo, sizeof(vce_taskinfo)); in amdgpu_cs_vce_create() 304 len += sizeof(vce_taskinfo) / 4; in amdgpu_cs_vce_create() 305 memcpy((ib_cpu + len), vce_create, sizeof(vce_create)); in amdgpu_cs_vce_create() 306 ib_cpu[len + 8] = ALIGN(enc.width, align); in amdgpu_cs_vce_create() 307 ib_cpu[len + 9] = ALIGN(enc.width, align); in amdgpu_cs_vce_create() 310 ib_cpu[len + 11] = 0x01000001; in amdgpu_cs_vce_create() 312 ib_cpu[len + 11] = 0x01000201; in amdgpu_cs_vce_create() [all …]
|
/external/bc/tests/bc/scripts/ |
D | references.bc | 3 define printarray(a[], len) { 7 for (i = 0; i < len; ++i) { 12 define a2(a[], len) { 16 for (i = 0; i < len; ++i) { 20 printarray(a[], len) 23 define a4(a__[], len) { 27 for (i = 0; i < len; ++i) { 31 printarray(a__[], len) 34 define a6(*a__[], len) { 38 for (i = 0; i < len; ++i) { [all …]
|
/external/bc/tests/fuzzing/bc_inputs2/ |
D | references.bc | 3 define printarray(a[], len) { 7 for (i = 0; i < len; ++i) { 12 define a2(a[], len) { 16 for (i = 0; i < len; ++i) { 20 printarray(a[], len) 23 define a4(a__[], len) { 27 for (i = 0; i < len; ++i) { 31 printarray(a__[], len) 34 define a6(*a__[], len) { 38 for (i = 0; i < len; ++i) { [all …]
|
/external/pdfium/third_party/bigint/ |
D | BigUnsigned.cc | 32 if (i < len) { in setBlock() 38 if (i >= len) { in setBlock() 42 for (Index j = len; j < i; j++) in setBlock() 44 len = i+1; in setBlock() 57 Blk leftmostBlock = getBlock(len - 1); in bitLength() 63 return leftmostBlockLen + (len - 1) * N; in bitLength() 77 if (len < x.len) in compareTo() 79 else if (len > x.len) in compareTo() 83 Index i = len; in compareTo() 133 if (a.len == 0) { in add() [all …]
|
/external/apache-http/src/org/apache/http/util/ |
D | CharArrayBuffer.java | 53 private int len; field in CharArrayBuffer 65 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); in expand() 69 public void append(final char[] b, int off, int len) { in append() argument 73 if ((off < 0) || (off > b.length) || (len < 0) || in append() 74 ((off + len) < 0) || ((off + len) > b.length)) { in append() 77 if (len == 0) { in append() 80 int newlen = this.len + len; in append() 84 System.arraycopy(b, off, this.buffer, this.len, len); in append() 85 this.len = newlen; in append() 93 int newlen = this.len + strlen; in append() [all …]
|
D | ByteArrayBuffer.java | 51 private int len; field in ByteArrayBuffer 63 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); in expand() 67 public void append(final byte[] b, int off, int len) { in append() argument 71 if ((off < 0) || (off > b.length) || (len < 0) || in append() 72 ((off + len) < 0) || ((off + len) > b.length)) { in append() 75 if (len == 0) { in append() 78 int newlen = this.len + len; in append() 82 System.arraycopy(b, off, this.buffer, this.len, len); in append() 83 this.len = newlen; in append() 87 int newlen = this.len + 1; in append() [all …]
|
/external/llvm-project/clang/test/Analysis/ |
D | bsd-string.c | 22 size_t len; in f2() local 23 len = strlcpy(buf, "abcd", sizeof(buf)); // expected-no-warning in f2() 24 clang_analyzer_eval(len == 4); // expected-warning{{TRUE}} in f2() 25 len = strlcat(buf, "efgh", sizeof(buf)); // expected-no-warning in f2() 26 clang_analyzer_eval(len == 8); // expected-warning{{TRUE}} in f2() 46 size_t len = strlcat(buf, "defg", 4); in f6() local 47 clang_analyzer_eval(len == 7); // expected-warning{{TRUE}} in f6() 57 size_t len; in f8() local 60 len = strlcpy(buf,"123", sizeof(buf)); in f8() 61 clang_analyzer_eval(len==3);// expected-warning{{TRUE}} in f8() [all …]
|
/external/tcpdump/tests/ |
D | arp-oobr.out | 1 …9 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request … 2 …9 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request … 3 …b > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request … 4 …9 > ff:ff:ff:ff:6b:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request … 5 …9 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request … 6 …d > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request … 7 …9 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request … 8 …9 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request … 9 …9 > ff:ff:84:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request … 10 …6 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Request … [all …]
|
/external/arm-trusted-firmware/drivers/auth/mbedtls/ |
D | mbedtls_x509_parser.c | 75 size_t len; in get_ext() local 86 end = v3_ext.p + v3_ext.len; in get_ext() 88 mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in get_ext() 95 mbedtls_asn1_get_tag(&p, end, &len, MBEDTLS_ASN1_CONSTRUCTED | in get_ext() 97 end_ext_data = p + len; in get_ext() 101 mbedtls_asn1_get_tag(&p, end, &extn_oid.len, MBEDTLS_ASN1_OID); in get_ext() 103 p += extn_oid.len; in get_ext() 109 mbedtls_asn1_get_tag(&p, end_ext_data, &len, in get_ext() 111 end_ext_octet = p + len; in get_ext() 122 *ext_len = (unsigned int)len; in get_ext() [all …]
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/math/raw/ |
D | Nat.java | 15 public static int add(int len, int[] x, int[] y, int[] z) in add() argument 18 for (int i = 0; i < len; ++i) in add() 27 public static int add33At(int len, int x, int[] z, int zPos) in add33At() argument 36 return c == 0 ? 0 : incAt(len, z, zPos + 2); in add33At() 39 public static int add33At(int len, int x, int[] z, int zOff, int zPos) in add33At() argument 48 return c == 0 ? 0 : incAt(len, z, zOff, zPos + 2); in add33At() 51 public static int add33To(int len, int x, int[] z) in add33To() argument 59 return c == 0 ? 0 : incAt(len, z, 2); in add33To() 62 public static int add33To(int len, int x, int[] z, int zOff) in add33To() argument 70 return c == 0 ? 0 : incAt(len, z, zOff, 2); in add33To() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/raw/ |
D | Nat.java | 15 public static int add(int len, int[] x, int[] y, int[] z) in add() argument 18 for (int i = 0; i < len; ++i) in add() 27 public static int add33At(int len, int x, int[] z, int zPos) in add33At() argument 36 return c == 0 ? 0 : incAt(len, z, zPos + 2); in add33At() 39 public static int add33At(int len, int x, int[] z, int zOff, int zPos) in add33At() argument 48 return c == 0 ? 0 : incAt(len, z, zOff, zPos + 2); in add33At() 51 public static int add33To(int len, int x, int[] z) in add33To() argument 59 return c == 0 ? 0 : incAt(len, z, 2); in add33To() 62 public static int add33To(int len, int x, int[] z, int zOff) in add33To() argument 70 return c == 0 ? 0 : incAt(len, z, zOff, 2); in add33To() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/raw/ |
D | Nat.java | 11 public static int add(int len, int[] x, int[] y, int[] z) in add() argument 14 for (int i = 0; i < len; ++i) in add() 23 public static int add33At(int len, int x, int[] z, int zPos) in add33At() argument 32 return c == 0 ? 0 : incAt(len, z, zPos + 2); in add33At() 35 public static int add33At(int len, int x, int[] z, int zOff, int zPos) in add33At() argument 44 return c == 0 ? 0 : incAt(len, z, zOff, zPos + 2); in add33At() 47 public static int add33To(int len, int x, int[] z) in add33To() argument 55 return c == 0 ? 0 : incAt(len, z, 2); in add33To() 58 public static int add33To(int len, int x, int[] z, int zOff) in add33To() argument 66 return c == 0 ? 0 : incAt(len, z, zOff, 2); in add33To() [all …]
|
/external/llvm-project/llvm/test/Analysis/ScalarEvolution/ |
D | umin-umax-folds.ll | 5 define void @umin_sext_x_zext_x(i32 %len) { 8 ; CHECK-NEXT: %len.zext = zext i32 %len to i64 9 ; CHECK-NEXT: --> (zext i32 %len to i64) U: [0,4294967296) S: [0,4294967296) 10 ; CHECK-NEXT: %len.sext = sext i32 %len to i64 11 ; CHECK-NEXT: --> (sext i32 %len to i64) U: [-2147483648,2147483648) S: [-2147483648,2147483648) 13 ; CHECK-NEXT: --> {0,+,1}<%loop> U: [0,4294967296) S: [0,4294967296) Exits: (zext i32 %len to i6… 15 ; CHECK-NEXT: --> {1,+,1}<%loop> U: [1,4294967297) S: [1,4294967297) Exits: (1 + (zext i32 %len … 19 ; CHECK-NEXT: Loop %loop: backedge-taken count is (zext i32 %len to i64) 21 ; CHECK-NEXT: Loop %loop: Predicated backedge-taken count is (zext i32 %len to i64) 26 %len.zext = zext i32 %len to i64 [all …]
|
/external/ImageMagick/MagickWand/tests/ |
D | script-token-test-results.txt | 1 l=8, c=1, stat=0, len=64, token="-option" 2 l=8, c=9, stat=0, len=64, token="key" 3 l=9, c=1, stat=0, len=64, token="+reset" 4 l=9, c=10, stat=0, len=64, token="imbedded#hash" 5 l=11, c=1, stat=0, len=64, token="This is a single token" 6 l=13, c=1, stat=0, len=64, token="And\ 'even '"more "complex" 7 l=15, c=1, stat=0, len=64, token="Backslash chars \n are returned as is" 8 l=16, c=1, stat=0, len=64, token="regardless \n of quoting" 9 l=18, c=1, stat=0, len=64, token="Single quote escapes" 10 l=19, c=2, stat=0, len=64, token="'" [all …]
|