/aosp_15_r20/external/pdfium/core/fxcodec/jbig2/ |
H A D | JBig2_ArithDecoder.cpp | 2 // Use of this source code is governed by a BSD-style license that can be 17 // Stupid hack to keep clang-format from reformatting this badly. 41 int JBig2ArithCtx::DecodeNLPS(const JBig2ArithQe& qe) { in DecodeNLPS() argument 43 if (qe.bSwitch) in DecodeNLPS() 45 m_I = qe.NLPS; in DecodeNLPS() 50 int JBig2ArithCtx::DecodeNMPS(const JBig2ArithQe& qe) { in DecodeNMPS() argument 51 m_I = qe.NMPS; in DecodeNMPS() 58 m_B = m_pStream->getCurByte_arith(); in CJBig2_ArithDecoder() 62 m_CT = m_CT - 7; in CJBig2_ArithDecoder() 69 CHECK_LT(pCX->I(), std::size(kQeTable)); in Decode() [all …]
|
H A D | JBig2_ArithDecoder.h | 2 // Use of this source code is governed by a BSD-style license that can be 20 uint16_t Qe; member 28 int DecodeNLPS(const JBig2ArithQe& qe); 29 int DecodeNMPS(const JBig2ArithQe& qe);
|
/aosp_15_r20/external/libfuse/lib/ |
H A D | fuse.c | 3 Copyright (C) 2001-2007 Miklos Szeredi <[email protected]> 5 Implementation of the high-level FUSE API on top of the low-level 90 const typeof( ((type *)0)->member ) *__mptr = (ptr); \ 91 (type *)( (char *)__mptr - offsetof(type,member) );}) 155 #define TREELOCK_WRITE -1 211 return -1; in fuse_register_module() 213 mod->name = strdup(name); in fuse_register_module() 214 if (!mod->name) { in fuse_register_module() 217 return -1; in fuse_register_module() 219 mod->factory = factory; in fuse_register_module() [all …]
|
/aosp_15_r20/external/skia/src/gpu/ganesh/effects/ |
H A D | GrBezierEffect.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 66 varyingHandler->emitAttributes(gp); in onEmitCode() 69 varyingHandler->addVarying("ConicCoeffs", &v); in onEmitCode() 70 vertBuilder->codeAppendf("%s = %s;", v.vsOut(), gp.inConicCoeffs().name()); in onEmitCode() 74 fragBuilder->codeAppendf("half4 %s;", args.fOutputColor); in onEmitCode() 75 this->setupUniformColor(fragBuilder, uniformHandler, args.fOutputColor, &fColorUniform); in onEmitCode() 108 fragBuilder->declAppend(edgeAlpha); in onEmitCode() 109 fragBuilder->declAppend(dklmdx); in onEmitCode() 110 fragBuilder->declAppend(dklmdy); in onEmitCode() 111 fragBuilder->declAppend(dfdx); in onEmitCode() [all …]
|
/aosp_15_r20/external/libjpeg-turbo/ |
H A D | jcarith.c | 5 * Developed 1997-2009 by Guido Vollbeding. 6 * libjpeg-turbo Modifications: 7 * Copyright (C) 2015, 2018, 2021-2022, D. R. Commander. 12 * (implementing Recommendation ITU-T T.81 | ISO/IEC 10918-1). 19 * Recommendation ITU-T T.81 (1992) | ISO/IEC 10918-1:1994. 44 int next_restart_num; /* next restart number to write (0-7) */ 75 * of the spec (Kx = Kmin + SRL (8 + Se - Kmin) 4). 80 * (a few - around 5 or so - bytes even for very large files), 84 * Note that currently the marker writing module emits 12-byte 85 * DAC segments for a full-component scan in a color image. [all …]
|
H A D | jdarith.c | 5 * Developed 1997-2015 by Guido Vollbeding. 6 * libjpeg-turbo Modifications: 7 * Copyright (C) 2015-2020, 2022, D. R. Commander. 12 * (implementing Recommendation ITU-T T.81 | ISO/IEC 10918-1). 19 * Recommendation ITU-T T.81 (1992) | ISO/IEC 10918-1:1994. 27 #define NEG_1 ((unsigned int)-1) 38 /* init: ct = -16 */ 40 /* error: ct = -1 */ 77 struct jpeg_source_mgr *src = cinfo->src; in get_byte() 79 if (src->bytes_in_buffer == 0) in get_byte() [all …]
|
/aosp_15_r20/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
H A D | CryptEccKeyExchange.c | 36 // This file contains the functions that are used for the two-phase, ECC, 37 // key-exchange protocols 74 // This function performs the key exchange defined in SP800-56A 114 // 1. implicitsigA = (de,A + avf(Qe,A)ds,A ) mod n. in C_2_2_MQV() 115 // 2. P = h(implicitsigA)(Qe,B + avf(Qe,B)Qs,B). in C_2_2_MQV() 117 // 4. Z=xP, where xP is the x-coordinate of P. in C_2_2_MQV() 124 // 1. implicitsigA = (de,A + avf(Qe,A)ds,A ) mod n. in C_2_2_MQV() 128 BnCopy(bnTa, pQeA->x); in C_2_2_MQV() 136 // 2. P = h(implicitsigA)(Qe,B + avf(Qe,B)Qs,B). in C_2_2_MQV() 144 // 'outZ' = (tA)(Qe,B + avf(Qe,B)Qs,B). in C_2_2_MQV() [all …]
|
/aosp_15_r20/external/eigen/Eigen/src/Geometry/arch/ |
H A D | Geometry_SIMD.h | 5 // Copyright (C) 2009-2010 Gael Guennebaud <[email protected]> 57 evaluator<typename Derived::Coefficients> qe(q.coeffs()); 62 …pstoret<float,Packet4f,ResAlignment>(&res.x(), pxor(mask, qe.template packet<traits<Derived>::Alig… 121 * t2 = zz*xy - xx*zw 122 * res.xy = t1 +/- swap(t2) 129 * t1 = ww*zw - yy*xy 131 * res.zw = t1 -/+ swap(t2) = swap( swap(t1) +/- t2) 149 evaluator<typename Derived::Coefficients> qe(q.coeffs()); 156 …pstoret<double,Packet2d,ResAlignment>(&res.x(), pxor(mask0, qe.template packet<traits<Derived>::Al… 157 …pstoret<double,Packet2d,ResAlignment>(&res.z(), pxor(mask2, qe.template packet<traits<Derived>::Al…
|
/aosp_15_r20/external/executorch/.ci/scripts/ |
H A D | test_llama.sh | 5 # This source code is licensed under the BSD-style license found in the 8 set -exu 12 while [[ $# -gt 0 ]]; do 14 -model) 18 -build_tool) 22 -dtype) 26 -mode) 27 MODE="$2" # portable or xnnpack+custom or xnnpack+custom+qe 30 -upload) 42 MODE=${MODE:-"xnnpack+custom"} [all …]
|
/aosp_15_r20/external/skia/src/gpu/ganesh/ops/ |
H A D | AAConvexPathRenderer.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 134 // at i=1 and make the last iteration i=count-2. in center_of_mass() 135 pj = segments[1].endPt() - p0; in center_of_mass() 136 for (int i = 1; i < count - 1; ++i) { in center_of_mass() 138 pj = segments[i + 1].endPt() - p0; in center_of_mass() 167 return !SkIsNaN(c->fX) && !SkIsNaN(c->fY) && c->isFinite(); in center_of_mass() 178 int count = segments->size(); in compute_vectors() 199 segb.fNorms[p] = segb.fPts[p] - *prevPt; in compute_vectors() 213 // compute mid-vectors where segments meet. TODO: Detect shallow corners in compute_vectors() 251 switch (data->fStage) { in update_degenerate_test() [all …]
|
/aosp_15_r20/external/AFLplusplus/test/ |
H A D | test-pre.sh | 3 # All tests should start with sourcing test-pre.sh and finish with sourcing test-post.sh 14 # Ensure we have: test, type, diff, grep -qE 16 test -z "" 2>/dev/null || { echo Error: test command not found ; exit 1 ; } 19 echo foobar | grep -qE 'asd|oob' 2>/dev/null || { echo Error: grep command does not support -q and/… 20 test -e ./test-all.sh || cd $(dirname $0) || exit 1 21 test -e ./test-all.sh || { echo Error: you must be in the test/ directory ; exit 1 ; } 29 rm -f test.1 test.2 30 test -z "$OK" && { echo Error: diff is not working ; exit 1 ; } 31 test -z "$LLVM_CONFIG" && LLVM_CONFIG=llvm-config 33 # check for '-a' option of grep [all …]
|
/aosp_15_r20/external/AFLplusplus/ |
H A D | afl-cmin.bash | 3 # american fuzzy lop++ - corpus minimization tool 4 # --------------------------------------------- 10 # Copyright 2019-2024 AFLplusplus 16 # https://www.apache.org/licenses/LICENSE-2.0 22 # - Screening large corpora of input files before using them as a seed for 23 # afl-fuzz. The tool will remove functionally redundant files and likely 26 # (In this case, you probably also want to consider running afl-tmin on 29 # - Minimizing the corpus generated organically by afl-fuzz, perhaps when 30 # planning to feed it to more resource-intensive tools. The tool achieves 35 # afl-tmin. [all …]
|
/aosp_15_r20/external/autotest/cli/ |
H A D | job.py | 19 # pylint: disable=missing-docstring 47 """ 'job create --clone' became 'job clone --id' """ 49 for option in ['-l', '--clone']: 51 argv[argv.index(option)] = '--id' 110 """atest job list [<jobs>] [--all] [--running] [--user <username>]""" 113 self.parser.add_option('-a', '--all', help='List jobs for all ' 115 self.parser.add_option('-r', '--running', help='List only running ' 117 self.parser.add_option('-u', '--user', help='List jobs for given ' 127 self.invalid_syntax('Only specify --all or --user, not both.') 156 self.parser.add_option('-f', '--control-file', [all …]
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/ |
H A D | test_suite_rsa.function | 193 digest, message_str->len, message_str->x, 197 TEST_ASSERT(mbedtls_test_hexcmp(output, result_str->x, 198 ctx.len, result_str->len) == 0); 229 TEST_ASSERT(mbedtls_rsa_pkcs1_verify(&ctx, digest, message_str->len, message_str->x, 230 result_str->x) == result); 275 hash_result->len, 276 hash_result->x, output) == 0); 279 TEST_ASSERT(mbedtls_test_hexcmp(output, result_str->x, 280 ctx.len, result_str->len) == 0); 316 TEST_ASSERT(mbedtls_rsa_pkcs1_verify(&ctx, MBEDTLS_MD_NONE, hash_result->len, hash_result->x, [all …]
|
/aosp_15_r20/external/mbedtls/tests/suites/ |
H A D | test_suite_rsa.function | 191 digest, message_str->len, message_str->x, 195 TEST_ASSERT(mbedtls_test_hexcmp(output, result_str->x, 196 ctx.len, result_str->len) == 0); 226 TEST_ASSERT(mbedtls_rsa_pkcs1_verify(&ctx, digest, message_str->len, message_str->x, 227 result_str->x) == result); 271 hash_result->len, 272 hash_result->x, output) == 0); 275 TEST_ASSERT(mbedtls_test_hexcmp(output, result_str->x, 276 ctx.len, result_str->len) == 0); 311 TEST_ASSERT(mbedtls_rsa_pkcs1_verify(&ctx, MBEDTLS_MD_NONE, hash_result->len, hash_result->x, [all …]
|
/aosp_15_r20/external/libconfig/tinytest/ |
H A D | tinytest.c | 1 /* ---------------------------------------------------------------------------- 2 tinytest - A tiny C unit-testing library 3 Copyright (C) 2010-2018 Mark A Lindner 20 ---------------------------------------------------------------------------- 59 for(p = s + len - 1; p > s; --p) { in __tt_chop() 171 char *p, *q, *pe, *qe; in __tt_compare_files() local 179 qe = buf2 + r2; in __tt_compare_files() 181 while(p < pe && q < qe) in __tt_compare_files() 202 if(p < pe || q < qe) in __tt_compare_files() 228 suite->name = strdup(name); in tt_suite_create() [all …]
|
/aosp_15_r20/external/skia/demos.skia.org/demos/mesh2d/ |
H A D | canvaskit.js | 12 …f,this.Bf);b?this.Od.getContext("2d").putImageData(e,0,0,b[0],b[1],b[2]-b[0],b[3]-b[1]):this.Od.ge… 20 …rn q?q:(q=E.cloneNode(!0),E.parentNode.replaceChild(q,E),q.classList.add("ck-replaced"),a.MakeSWCa… 25 …+)c[y*g+(y*t+l+g)%g]=d[y];return c}function e(d){for(var c=d*d,g=Array(c);c--;)g[c]=0===c%(d+1)?1:… 26 …d.map(h)}function u(d){if(void 0===d)return 1;var c=parseFloat(d);return d&&-1!==d.indexOf("%")?c/… 30 …return v(d,"HEAPF32",c||Xb)}function ua(){for(var d=0,c=0;c<arguments.length-1;c+=2)d+=arguments[c… 34 …startsWith("rgba")?(d=d.slice(5,-1),d=d.split(","),a.Color(+d[0],+d[1],+d[2],u(d[3]))):d.startsWit… 39 …ay.prototype.slice.call(arguments),g=c[0],l=!1;"boolean"===typeof c[c.length-1]&&(l=c.pop());if(1=… 41 …;a.Path.prototype.arc=function(c,g,l,t,y,B){c=a.LTRBRect(c-l,g-l,c+l,g+l);y=(y-t)/Math.PI*180-360*… 68 …-d[2]*d[4]*d[6]-d[1]*d[3]*d[8]-d[0]*d[5]*d[7];return c?[(d[4]*d[8]-d[5]*d[7])/c,(d[2]*d[7]-d[1]*d[… 69 …-d[1]*d[3])/c]:null};a.Matrix.mapPoints=function(d,c){for(var g=0;g<c.length;g+=2){var l=c[g],t=c[… [all …]
|
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/kprobe/ |
H A D | kprobe_args_string.tc | 2 # SPDX-License-Identifier: GPL-2.0 6 case `uname -m` in 40 grep -qe "testprobe.* arg1=\"test\"" trace 47 grep -qe "testprobe.* arg1=\"test\" arg2=\"test\"" trace
|
/aosp_15_r20/external/pytorch/torch/backends/quantized/ |
H A D | __init__.py | 1 # mypy: allow-untyped-defs 10 def _get_qengine_id(qengine: str) -> int: 22 ret = -1 28 def _get_qengine_str(qengine: int) -> str: 34 def __get__(self, obj, objtype) -> str: 37 def __set__(self, obj, val: str) -> None: 42 def __get__(self, obj, objtype) -> List[str]: 44 return [_get_qengine_str(qe) for qe in qengines] 46 def __set__(self, obj, val) -> None: 63 # https://stackoverflow.com/questions/2447353/getattr-on-a-module/7668273#7668273
|
/aosp_15_r20/external/AFLplusplus/utils/crash_triage/ |
H A D | triage_crashes.sh | 3 # american fuzzy lop++ - crash triage utility 4 # ----------------------------------------- 14 # http://www.apache.org/licenses/LICENSE-2.0 25 echo "crash triage utility for afl-fuzz by Michal Zalewski" 28 ulimit -v 100000 2>/dev/null 29 ulimit -d 100000 2>/dev/null 31 if [ "$#" -lt "2" ]; then 44 echo "$DIR" | grep -qE '^(/var)?/tmp/' 47 echo "$BIN" | grep -qE '^(/var)?/tmp/' 50 if [ "$T1" = "0" -o "$T2" = "0" ]; then [all …]
|
/aosp_15_r20/development/tools/mergetool/ |
H A D | remerge3.sh | 10 -t, --tool {bcompare,meld,vimdiff} 23 rm -rf "${TEMP_FILES[@]}" 29 set -x 43 if grep -qE "${CONFLICT_MARKER_BASE}" "$file"; then 47 $has_base && awk -f "$SPLIT3" -v TARGET=BASE <"$file" >"$BASE" 48 awk -f "$SPLIT3" -v TARGET=LOCAL <"$file" >"$LOCAL" 49 awk -f "$SPLIT3" -v TARGET=REMOTE <"$file" >"$REMOTE" 54 xtrace bcompare "$LOCAL" "$REMOTE" "$BASE" -mergeoutput="$MERGED" 56 xtrace bcompare "$LOCAL" "$REMOTE" -mergeoutput="$MERGED" 61 xtrace meld "$LOCAL" "$BASE" "$REMOTE" -o "$MERGED" [all …]
|
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/share/info/ |
D | libquadmath.info | 4 Copyright (C) 2010-2013 Free Software Foundation, Inc. 9 Foundation; with no Invariant Sections, with the Front-Cover Texts 10 being "A GNU Manual," and with the Back-Cover Texts as in (a) 14 (a) The FSF's Back-Cover Text is: "You have the freedom to copy and 16 INFO-DIR-SECTION GNU Libraries 17 START-INFO-DIR-ENTRY 18 * libquadmath: (libquadmath). GCC Quad-Precision Math Library 19 END-INFO-DIR-ENTRY 21 This manual documents the GCC Quad-Precision Math Library API. 24 Floor Boston, MA 02110-1301 USA [all …]
|
/aosp_15_r20/frameworks/base/ravenwood/tools/hoststubgen/scripts/ |
H A D | dump-jar | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -e 22 dump-jar: Dump java classes in jar files 25 dump-jar [-v] CLASS-FILE [...] 29 dump-jar [-v] [-s] [-o OUTPUT-FILENAME] JAR-FILE[: class internal name regex] [...] 39 -v: Enable verbose output. 41 -s: Simple output mode, used to check HostStubGen output jars. 43 -o: Write the output to a specified file. 73 shift $(($OPTIND - 1)) 75 JAVAP_OPTS="${JAVAP_OPTS:--v -p -s -sysinfo -constants}" [all …]
|
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/netfilter/ |
H A D | nft_conntrack_helper.sh | 5 # 2. auto-assign still works. 7 # Kselftest framework requirement - SKIP code is 4. 11 sfx=$(mktemp -u "XXXXXXXX") 12 ns1="ns1-$sfx" 13 ns2="ns2-$sfx" 22 nft --version > /dev/null 2>&1 23 if [ $? -ne 0 ];then 28 ip -Version > /dev/null 2>&1 29 if [ $? -ne 0 ];then 34 conntrack -V > /dev/null 2>&1 [all …]
|
/aosp_15_r20/external/mesa3d/.gitlab-ci/ |
H A D | vkd3d-runner.sh | 3 set -e 10 if [[ -z "$VK_DRIVER" ]]; then 15 INSTALL=$(realpath -s "$PWD"/install) 21 export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$INSTALL/lib/:/vkd3d-proton-tests/x64/" 25 ARCH=$(uname -m) 29 export WINEDEBUG="-all" 30 export WINEPREFIX="/vkd3d-proton-wine64" 33 if [ -f "$INSTALL/$GPU_VERSION-vkd3d-skips.txt" ]; then 34 mapfile -t skips < <(grep -vE '^#|^$' "$INSTALL/$GPU_VERSION-vkd3d-skips.txt") 43 if ! vulkaninfo | grep driverInfo | tee /tmp/version.txt | grep -F "Mesa $MESA_VERSION"; then [all …]
|