/system/core/toolbox/upstream-netbsd/bin/dd/ |
H A D | conv.c | 11 * Redistribution and use in source and binary forms, with or without 16 * 2. Redistributions in binary form must reproduce the above copyright 17 * notice, this list of conditions and the following disclaimer in the 69 for (inp = in.dbp - (cnt = in.dbrcnt); cnt--; ++inp) 73 out.dbp = in.dbp; 74 out.dbcnt = in.dbcnt; 76 if (in.dbcnt >= out.dbsz) { 85 in.dbp = out.dbp; 86 in [all...] |
H A D | position.c | 11 * Redistribution and use in source and binary forms, with or without 16 * 2. Redistributions in binary form must reproduce the above copyright 17 * notice, this list of conditions and the following disclaimer in the 72 if (!(in.flags & (ISPIPE|ISTAPE))) { 73 if (ddop_lseek(in, in.fd, 74 (off_t)in.offset * (off_t)in.dbsz, SEEK_CUR) == -1) { 75 err(EXIT_FAILURE, "%s", in.name); 87 for (bcnt = in [all...] |
H A D | dd.c | 11 * Redistribution and use in source and binary forms, with or without 16 * 2. Redistributions in binary form must reproduce the above copyright 17 * notice, this list of conditions and the following disclaimer in the 78 IO in, out; /* input/output state */ variable 157 if (in.name == NULL) { 158 in.name = "stdin"; 159 in.fd = STDIN_FILENO; 160 in.ops = &ddfops_stdfd; 162 in.ops = prog_ops; 163 in [all...] |
/system/core/fastboot/ |
H A D | p12topem.sh | 9 openssl pkcs12 -passin pass:"$2" -passout pass:"$2" -in $1.p12 -out $1.pem
|
H A D | genkey.sh | 20 openssl pkcs12 -export -in $1-cert.pem -inkey $1.pem -passin pass:"$2" \
|
/system/bt/stack/smp/ |
H A D | aes.h | 14 of conditions and the following disclaimer in their documentation; 22 in respect of its properties, including, but not limited to, correctness 77 be entered as a length in bytes (valid inputs are hence 90 return_type aes_encrypt( const unsigned char in[N_BLOCK], 94 return_type aes_cbc_encrypt( const unsigned char *in, 103 return_type aes_decrypt( const unsigned char in[N_BLOCK], 107 return_type aes_cbc_decrypt( const unsigned char *in, 117 The encryption subroutines take a key in an array of bytes in 120 data, in[] wit [all...] |
/system/bt/test/ |
H A D | run_unit_tests.sh | 15 for name in ${known_tests[*]} 22 for name in $*
|
/system/core/libsparse/ |
H A D | img2simg.c | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 48 int in; local 70 in = STDIN_FILENO; 72 in = open(argv[1], O_RDONLY | O_BINARY); 73 if (in < 0) { 89 len = lseek64(in, 0, SEEK_END); 90 lseek64(in, 0, SEEK_SET); 99 ret = sparse_file_read(s, in, false, false); 111 close(in); [all...] |
H A D | simg2img.c | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 40 int in; local 59 in = STDIN_FILENO; 61 in = open(argv[i], O_RDONLY | O_BINARY); 62 if (in < 0) { 68 s = sparse_file_import(in, true, false); 82 close(in);
|
H A D | simg2simg.c | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 44 int in; local 61 in = open(argv[1], O_RDONLY | O_BINARY); 62 if (in < 0) { 67 s = sparse_file_import(in, true, false); 112 close(in);
|
/system/netd/server/ |
H A D | ResolverController.h | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 20 #include <netinet/in.h> 21 #include <linux/in.h>
|
H A D | PppController.h | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 20 #include <linux/in.h>
|
/system/core/libmincrypt/ |
H A D | p256_ec.c | 4 * Redistribution and use in source and binary forms, with or without 8 * * Redistributions in binary form must reproduce the above copyright 9 * notice, this list of conditions and the following disclaimer in the 30 // WARNING: Implementing these functions in a constant-time manner is far from 53 * That is, each limb is alternately 29 or 28-bits wide in little-endian 61 * Finally, the values stored in an felem are in Montgomery form. So the value 191 /* felem_reduce_carry adds a multiple of p in order to cancel |carry|, 201 /* carry < 2**3 thus (carry << 11) < 2**14 and we added 2**28 in the 208 /* This may underflow if carry is non-zero but, if so, we'll fix it in th 218 felem_sum(felem out, const felem in, const felem in2) argument 256 felem_diff(felem out, const felem in, const felem in2) argument 480 felem_square(felem out, const felem in) argument 529 felem_mul(felem out, const felem in, const felem in2) argument 598 felem_assign(felem out, const felem in) argument 609 felem_inv(felem out, const felem in) argument 761 felem_is_zero_vartime(const felem in) argument 977 copy_conditional(felem out, const felem in, limb mask) argument 1179 to_montgomery(felem out, const p256_int* in) argument 1200 from_montgomery(p256_int* out, const felem in) argument [all...] |
/system/extras/tests/workloads/ |
H A D | capture.sh | 6 # do a throw-away adb in case the server is out-of-date 11 case "$1" in 28 in=$1 32 echo $in 34 ((out=in*scale/max)) 40 case $DEVICE in 65 case $code in
|
/system/bt/embdrv/sbc/decoder/srce/ |
H A D | synthesis-dct8.c | 7 * you may not use this file except in compliance with the License. 12 * Unless required by applicable law or agreed to in writing, software 82 PRIVATE void float_dct2_8(float * RESTRICT out, OI_INT32 const *RESTRICT in) argument 95 in0 = FLOAT_SCALE(in[0], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in0)); 96 in1 = FLOAT_SCALE(in[1], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in1)); 97 in2 = FLOAT_SCALE(in[2], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in2)); 98 in3 = FLOAT_SCALE(in[3], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in3)); 99 in4 = FLOAT_SCALE(in[4], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in4)); 100 in5 = FLOAT_SCALE(in[5], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in5)); 101 in6 = FLOAT_SCALE(in[ 209 dct2_8(SBC_BUFFER_T * RESTRICT out, OI_INT32 const *RESTRICT in) argument [all...] |
/system/core/cpio/ |
H A D | mkbootfs.c | 46 /* Each line in the canned file should be a path plus three ints (uid, 81 // Use the compiled-in fs_config() function. 91 // Nothing is special about this value, just picked something in the 151 static void _archive(char *in, char *out, int ilen, int olen); 157 static void _archive_dir(char *in, char *out, int ilen, int olen) argument 165 in, out, ilen, olen); 168 d = opendir(in); 169 if(d == 0) die("cannot open directory '%s'", in); 208 in[ilen] = '/'; 209 memcpy(in 230 _archive(char *in, char *out, int ilen, int olen) argument 275 char in[8192]; local [all...] |
/system/media/camera/docs/ |
H A D | CaptureResultTest.mako | 6 ## you may not use this file except in compliance with the License. 11 ## Unless required by applicable law or agreed to in writing, software 19 * definitions in /system/media/camera/docs. Do not modify by hand or 25 % for sec in find_all_sections(metadata): 26 % for entry in find_unique_entries(sec):
|
H A D | camera_metadata_tag_info.mako | 6 * you may not use this file except in compliance with the License. 11 * Unless required by applicable law or agreed to in writing, software 24 * Array assignments are done using specified-index syntax to keep things in 35 % for i in find_all_sections(metadata): 41 % for i in find_all_sections(metadata): 47 % for sec in find_all_sections(metadata): 50 % for entry in remove_synthetic(find_unique_entries(sec)): 59 % for i in find_all_sections(metadata): 72 % for sec in find_all_sections(metadata): 73 % for idx,entry in enumerat [all...] |
H A D | metadata_template.mako | 6 you may not use this file except in compliance with the License. 11 Unless required by applicable law or agreed to in writing, software 23 % for tag in metadata.tags: 33 % for typedef in metadata.types: 35 % for (language, klass) in typedef.languages.iteritems(): 42 % for root in metadata.outer_namespaces: 44 % for section in root.sections: 51 % for kind in section.kinds: # dynamic,static,controls 55 % for nested in node.namespaces: 59 % for entry in nod [all...] |
H A D | CameraMetadataEnums.mako | 6 ## you may not use this file except in compliance with the License. 11 ## Unless required by applicable law or agreed to in writing, software 22 * definitions in /system/media/camera/docs. Do not modify by hand or 32 % for value in entry.enum.values: 52 % for outer_namespace in metadata.outer_namespaces: ## assumes single 'android' namespace 53 % for section in outer_namespace.sections: 56 % for inner_namespace in get_children_by_filtering_kind(section, xml_name, 'namespaces'): 59 % for entry in filter_visibility(inner_namespace.entries, ('hidden','public')): 67 % for entry in filter_visibility( \
|
H A D | CameraMetadataKeys.mako | 6 ## you may not use this file except in compliance with the License. 11 ## Unless required by applicable law or agreed to in writing, software 23 * definitions in /system/media/camera/docs. Do not modify by hand or 44 ## Glue description and details together before javadoc-izing. Otherwise @see in middle of javadoc. 47 % for value in entry.enum.values: 75 % for outer_namespace in metadata.outer_namespaces: ## assumes single 'android' namespace 76 % for section in outer_namespace.sections: 79 % for inner_namespace in get_children_by_filtering_kind(section, xml_name, 'namespaces'): 82 % for entry in filter_visibility(inner_namespace.merged_entries, ('hidden','public')): 86 % for entry in filter_visibilit [all...] |
H A D | camera_metadata_tags.mako | 6 * you may not use this file except in compliance with the License. 11 * Unless required by applicable law or agreed to in writing, software 42 /** TODO: Nearly every enum in this file needs a description */ 51 % for i in find_all_sections(metadata): 60 * Hierarchy positions in enum space. All vendor extension tags must be 64 % for i in find_all_sections(metadata): 77 % for sec in find_all_sections(metadata): 78 % for idx,entry in enumerate(remove_synthetic(find_unique_entries(sec))): 95 % for sec in find_all_sections(metadata): 96 % for entry in remove_syntheti [all...] |
/system/extras/tests/net_test/ |
H A D | all_tests.sh | 6 # you may not use this file except in compliance with the License. 11 # Unless required by applicable law or agreed to in writing, software 38 for test in $tests; do
|
/system/extras/perfprofd/quipper/ |
H A D | perf_utils.cc | 3 // found in the LICENSE file. 24 // Number of hex digits in a byte. 154 std::ifstream in(filename.c_str(), std::ios::binary); 155 if (!in.good()) { 159 in.seekg(0, in.end); 160 size_t length = in.tellg(); 161 in.seekg(0, in.beg); 164 in [all...] |
/system/bt/audio_a2dp_hw/ |
H A D | audio_a2dp_hw.c | 6 * you may not use this file except in compliance with the License. 11 * Unless required by applicable law or agreed to in writing, software 154 pprev is optional in case a dedicated diff is required */ 466 ERROR("%s Audiopath start failed - in call, move to suspended", __func__); 566 /* only allow autostarting if we are in stopped or standby */ 586 ERROR("stream not in stopped or standby"); 676 // Do nothing in SUSPENDED state. 784 /* volume controlled in audioflinger mixer (digital) */ 825 struct a2dp_stream_in *in = (struct a2dp_stream_in *)stream; local 828 return in 833 struct a2dp_stream_in *in = (struct a2dp_stream_in *)stream; local 853 struct a2dp_stream_in *in = (struct a2dp_stream_in *)stream; local 927 struct a2dp_stream_in *in = (struct a2dp_stream_in *)stream; local 1224 struct a2dp_stream_in *in; local 1291 struct a2dp_stream_in* in = (struct a2dp_stream_in *)stream; local [all...] |