| /external/libwebsockets/minimal-examples/http-client/minimal-http-client-jit-trust/ |
| D | CMakeLists.txt | 1 project(lws-minimal-http-client-jit-trust C) 8 set(SAMP lws-minimal-http-client-jit-trust) 9 set(SRCS minimal-http-client.c) 47 set(mytests http-client-warmcat-h1) 49 add_test(NAME http-client-warmcat COMMAND lws-minimal-http-client ) 50 list(APPEND mytests http-client-warmcat) 54 add_test(NAME http-client-warmcat-h1 COMMAND lws-minimal-http-client --h1) 60 list(APPEND mytests http-client-fi-ctx1) 61 …add_test(NAME http-client-fi-ctx1 COMMAND lws-minimal-http-client --expected-exit 5 --fault-inject… 65 # list(APPEND mytests http-client-fi-pi) [all …]
|
| /external/curl/tests/ |
| D | ech_tests.sh | 22 # SPDX-License-Identifier: curl 31 # TODO: Translate this into something that approximates a valid curl test:-) 34 # ECH-enabled server and a DoH server. For now, this is just run manually. 37 # set -x 43 active_ech=$(grep ech "$CURL_CFG_FILE" | grep -v "#.*ech") 48 echo "it out - exiting." 50 fi 53 # Targets we expect to be ECH-enabled servers 57 declare -A ech_targets=( 58 [my-own.net]="ech-check.php" [all …]
|
| /external/libwebsockets/minimal-examples/http-client/minimal-http-client/ |
| D | CMakeLists.txt | 1 project(lws-minimal-http-client C) 8 set(SAMP lws-minimal-http-client) 9 set(SRCS minimal-http-client.c) 48 set(mytests http-client-warmcat-h1) 50 add_test(NAME http-client-warmcat COMMAND lws-minimal-http-client ) 51 list(APPEND mytests http-client-warmcat) 55 add_test(NAME http-client-warmcat-h1 COMMAND lws-minimal-http-client --h1) 61 list(APPEND mytests http-client-fi-ctx1) 62 …add_test(NAME http-client-fi-ctx1 COMMAND lws-minimal-http-client --expected-exit 5 --fault-inject… 66 # list(APPEND mytests http-client-fi-pi) [all …]
|
| /external/libwebsockets/lib/system/fault-injection/ |
| D | fault-injection.c | 4 * Copyright (C) 2019 - 2021 Andy Green <andy@warmcat.com> 25 #include "private-lib-core.h" 32 lws_start_foreach_dll(struct lws_dll2 *, p, fic->fi_owner.head) { in lws_fi_lookup() 35 if (!strcmp(pv->fi.name, name)) in lws_fi_lookup() 54 switch (pv->fi.type) { in lws_fi() 59 pv->fi.times++; in lws_fi() 60 if (pv->fi.times >= pv->fi.pre) in lws_fi() 61 if (pv->fi.times < pv->fi.pre + pv->fi.count) in lws_fi() 66 if (lws_xos_percent((lws_xos_t *)&fic->xos, (int)pv->fi.pre)) in lws_fi() 72 n = (int)((pv->fi.times++) % pv->fi.count); in lws_fi() [all …]
|
| /external/toybox/toys/pending/ |
| D | lsof.c | 1 /* lsof.c - list open files. 11 usage: lsof [-lt] [-p PID1,PID2,...] [FILE...] 16 -l list uids numerically 17 -p for given comma-separated pids only (default all pids) 18 -t terse (pid only) output 50 struct file_info *fi = data; in print_info() local 57 if (same_dev_ino(TT.sought_files+i, &fi->di)) break; in print_info() 62 if (fi->pi.pid != TT.last_shown_pid) in print_info() 63 printf("%d\n", TT.last_shown_pid = fi->pi.pid); in print_info() 67 printf("%-9s %5s %10.10s %4s %7s %18s %9s %10s %s\n", "COMMAND", "PID", in print_info() [all …]
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/MCTargetDesc/ |
| D | NVPTXTargetStreamer.cpp | 1 //=====- NVPTXTargetStreamer.cpp - NVPTXTargetStreamer class ------------=====// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 42 static bool isDwarfSection(const MCObjectFileInfo *FI, in isDwarfSection() argument 46 if (!Section || Section->getKind().isText() || in isDwarfSection() 47 Section->getKind().isWriteable()) in isDwarfSection() 49 return Section == FI->getDwarfAbbrevSection() || in isDwarfSection() 50 Section == FI->getDwarfInfoSection() || in isDwarfSection() 51 Section == FI->getDwarfMacinfoSection() || in isDwarfSection() [all …]
|
| /external/lzma/CPP/7zip/UI/FileManager/ |
| D | FSFolder.cpp | 121 CFileInfo fi; in Init() local 124 if (!findFile.FindFirst(path2, fi)) in Init() 138 RINOK(Progress->SetCompleted(NULL)) in Enumerate() 144 CDirEntry fi; in Enumerate() local 145 while (enumerator.Next(fi)) in Enumerate() 147 if (fi.IsDir()) in Enumerate() 151 Path += fi.Name; in Enumerate() 157 Size += fi.Size; in Enumerate() 205 CDirItem fi; in LoadSubItems() local 206 fi.FolderStat_Defined = false; in LoadSubItems() [all …]
|
| /external/linux-kselftest/tools/testing/selftests/firmware/ |
| D | fw_lib.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 set -e 13 # I believe the issue is firmware loaded cached vs. non-cached 15 # To reproduce rename this to test-firmware.bin 16 TEST_FIRMWARE_INTO_BUF_FILENAME=test-firmware-into-buf.bin 18 # Kselftest framework requirement - SKIP code is 4. 30 if [ ! -d $DIR ]; then 32 fi 37 local uid=$(id -u) 38 if [ $uid -ne 0 ]; then [all …]
|
| /external/cronet/stable/third_party/libxml/src/ |
| D | configure.ac | 13 LIBXML_MAJOR_VERSION=`echo $LIBXML_VERSION | cut -d . -f 1` 14 LIBXML_MINOR_VERSION=`echo $LIBXML_VERSION | cut -d . -f 2` 15 LIBXML_MICRO_VERSION=`echo $LIBXML_VERSION | cut -d . -f 3` 21 LIBXML_AGE=`expr $LIBXML_MINOR_VERSION - $LIBXML_MINOR_COMPAT` 26 if test -d .git ; then 31 LIBXML_VERSION_EXTRA="-GIT$extra" 32 fi 33 fi 45 AM_INIT_AUTOMAKE([1.16.3 foreign no-dist-gzip dist-xz]) 59 LT_INIT([disable-static]) [all …]
|
| /external/cronet/tot/third_party/libxml/src/ |
| D | configure.ac | 13 LIBXML_MAJOR_VERSION=`echo $LIBXML_VERSION | cut -d . -f 1` 14 LIBXML_MINOR_VERSION=`echo $LIBXML_VERSION | cut -d . -f 2` 15 LIBXML_MICRO_VERSION=`echo $LIBXML_VERSION | cut -d . -f 3` 21 LIBXML_AGE=`expr $LIBXML_MINOR_VERSION - $LIBXML_MINOR_COMPAT` 26 if test -d .git ; then 31 LIBXML_VERSION_EXTRA="-GIT$extra" 32 fi 33 fi 45 AM_INIT_AUTOMAKE([1.16.3 foreign no-dist-gzip dist-xz]) 59 LT_INIT([disable-static]) [all …]
|
| /external/ltp/testcases/lib/ |
| D | tst_test.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 3 # Copyright (c) Linux Test Project, 2014-2022 8 [ -n "$TST_LIB_LOADED" ] && return 0 20 if [ -z "$TST_FS_TYPE" ]; then 21 export TST_FS_TYPE="${LTP_DEV_FS_TYPE:-ext2}" 22 fi 33 if [ -n "$TST_DO_CLEANUP" -a -n "$TST_CLEANUP" -a -z "$LTP_NO_CLEANUP" ]; then 34 if command -v $TST_CLEANUP >/dev/null 2>/dev/null; then 39 fi 40 fi [all …]
|
| /external/libxml2/ |
| D | configure.ac | 14 LIBXML_MAJOR_VERSION=`echo $LIBXML_VERSION | cut -d . -f 1` 15 LIBXML_MINOR_VERSION=`echo $LIBXML_VERSION | cut -d . -f 2` 16 LIBXML_MICRO_VERSION=`echo $LIBXML_VERSION | cut -d . -f 3` 22 LIBXML_AGE=`expr $LIBXML_MINOR_VERSION - $LIBXML_MINOR_COMPAT` 27 if test -d .git ; then 32 LIBXML_VERSION_EXTRA="-GIT$extra" 33 fi 34 fi 44 AM_INIT_AUTOMAKE([1.16.3 foreign subdir-objects no-dist-gzip dist-xz]) 58 LT_INIT([disable-static]) [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/NVPTX/MCTargetDesc/ |
| D | NVPTXTargetStreamer.cpp | 1 //=====- NVPTXTargetStreamer.cpp - NVPTXTargetStreamer class ------------=====// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 45 static bool isDwarfSection(const MCObjectFileInfo *FI, in isDwarfSection() argument 49 if (!Section || Section->getKind().isText() || in isDwarfSection() 50 Section->getKind().isWriteable()) in isDwarfSection() 52 return Section == FI->getDwarfAbbrevSection() || in isDwarfSection() 53 Section == FI->getDwarfInfoSection() || in isDwarfSection() 54 Section == FI->getDwarfMacinfoSection() || in isDwarfSection() [all …]
|
| /external/freetype/src/tools/ |
| D | test_afm.c | 2 * gcc -DFT2_BUILD_LIBRARY -I../../include -o test_afm test_afm.c \ 3 * -L../../objs/.libs -lfreetype -lz -static 9 void dump_fontinfo( AFM_FontInfo fi ) in dump_fontinfo() argument 15 ( fi->IsCIDFont ) ? "" : "non-" ); in dump_fontinfo() 17 printf( "FontBBox: %.2f %.2f %.2f %.2f\n", fi->FontBBox.xMin / 65536., in dump_fontinfo() 18 fi->FontBBox.yMin / 65536., in dump_fontinfo() 19 fi->FontBBox.xMax / 65536., in dump_fontinfo() 20 fi->FontBBox.yMax / 65536. ); in dump_fontinfo() 21 printf( "Ascender: %.2f\n", fi->Ascender / 65536. ); in dump_fontinfo() 22 printf( "Descender: %.2f\n\n", fi->Descender / 65536. ); in dump_fontinfo() [all …]
|
| /external/python/cpython3/Lib/test/ |
| D | test_fileinput.py | 45 encoding = None if "b" in mode else "utf-8" 71 def readlines(self, hint=-1): 98 fi = FileInput(files=(t1, t2, t3, t4), encoding="utf-8") 99 lines = list(fi) 100 fi.close() 104 self.assertEqual(fi.lineno(), 31) 105 self.assertEqual(fi.filename(), t4) 109 fi = FileInput(files=(t1, t2, t3, t4), encoding="utf-8") 112 s = fi.readline() 113 self.assertEqual(fi.filename(), t2) [all …]
|
| /external/AFLplusplus/ |
| D | afl-whatsup | 3 # american fuzzy lop++ - status check tool 4 # ---------------------------------------- 9 # Copyright 2019-2024 AFLplusplus Project. All rights reserved. 15 # https://www.apache.org/licenses/LICENSE-2.0 17 # This tool summarizes the status of any locally-running synchronized 18 # instances of afl-fuzz. 21 test "$1" = "-h" -o "$1" = "-hh" && { 22 echo "$0 status check tool for afl-fuzz by Michal Zalewski" 24 echo "Usage: $0 [-s] [-d] afl_output_directory" 27 echo " -d - include dead fuzzer stats" [all …]
|
| /external/freetype/src/type1/ |
| D | t1afm.c | 7 * Copyright (C) 1996-2023 by 40 AFM_FontInfo fi ) in T1_Done_Metrics() argument 42 FT_FREE( fi->KernPairs ); in T1_Done_Metrics() 43 fi->NumKernPair = 0; in T1_Done_Metrics() 45 FT_FREE( fi->TrackKerns ); in T1_Done_Metrics() 46 fi->NumTrackKern = 0; in T1_Done_Metrics() 48 FT_FREE( fi ); in T1_Done_Metrics() 62 /* PS string/name length must be < 16-bit */ in t1_get_index() 66 for ( n = 0; n < type1->num_glyphs; n++ ) in t1_get_index() 68 char* gname = (char*)type1->glyph_names[n]; in t1_get_index() [all …]
|
| /external/libcups/config-scripts/ |
| D | cups-directories.m4 | 4 dnl Copyright 2007-2017 by Apple Inc. 5 dnl Copyright 1997-2007 by Easy Software Products, all rights reserved. 15 fi 23 fi 24 fi 29 fi 36 fi 41 if test "$sharedstatedir" = "\${prefix}/com" -a "$prefix" = "/"; then 43 fi 51 fi [all …]
|
| /external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/ |
| D | cpuset_memory_testset.sh | 19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # 38 cpus_all="$(seq -s, 0 $((nr_cpus-1)))" 39 mems_all="$(seq -s, 0 $((nr_mems-1)))" 44 HUGEPAGESIZE=$((${HUGEPAGESIZE:-0} * 1024)) 49 # $1 - cpuset_memory_test's pid 50 # $2 - move cpuset_memory_test's pid to this cpuset 55 /bin/kill -s SIGUSR1 $1 57 /bin/kill -s SIGUSR1 $1 59 /bin/kill -s SIGINT $1 67 if [ $? -ne 0 ]; then [all …]
|
| /external/perfetto/tools/ |
| D | tmux | 8 # http://www.apache.org/licenses/LICENSE-2.0 15 set -e 20 fi 25 "$SCRIPT_DIR/gn" args "$out" --list=$key --short | awk '{print $3}' \ 26 | tr -d '"' 42 [[ -n "$SSH_TARGET" ]] 47 ! test -d /proc 53 tmux send-keys "bash" Enter 54 fi 59 adb shell 'test -d /sys/kernel/tracing && echo 0 > /sys/kernel/tracing/tracing_on' [all …]
|
| /external/libaom/test/ |
| D | aomenc.sh | 20 if [ ! -e "${YUV_RAW_INPUT}" ]; then 23 fi 25 if [ ! -e "${Y4M_NOSQ_PAR_INPUT}" ]; then 29 fi 30 fi 31 if [ -z "$(aom_tool_path aomenc)" ]; then 34 fi 40 fi 60 cat "${input}" | eval "${AOM_TEST_PREFIX}" "${encoder}" - \ 61 --test-decode=fatal \ [all …]
|
| /external/linux-kselftest/tools/testing/selftests/net/mptcp/ |
| D | mptcp_join.sh | 2 # SPDX-License-Identifier: GPL-2.0 30 declare -A all_tests 31 declare -a only_tests_ids 32 declare -a only_tests_names 33 declare -A failed_tests 63 rndh=$(mktemp -u XXXXXX) 65 ns1="ns1-$rndh" 66 ns2="ns2-$rndh" 71 ip -net $netns link set lo up 72 ip netns exec $netns sysctl -q net.mptcp.enabled=1 [all …]
|
| /external/jazzer-api/examples/junit-spring-web/ |
| D | mvnw | 2 # ---------------------------------------------------------------------------- 11 # https://www.apache.org/licenses/LICENSE-2.0 19 # ---------------------------------------------------------------------------- 21 # ---------------------------------------------------------------------------- 25 # ------------------ 26 # JAVA_HOME - location of a JDK home dir 29 # ----------------- 30 # M2_HOME - location of maven2's installed home dir 31 # MAVEN_OPTS - parameters passed to the Java VM when running Maven 33 # set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 [all …]
|
| /external/snakeyaml/ |
| D | mvnw | 2 # ---------------------------------------------------------------------------- 11 # http://www.apache.org/licenses/LICENSE-2.0 19 # ---------------------------------------------------------------------------- 21 # ---------------------------------------------------------------------------- 25 # ------------------ 26 # JAVA_HOME - location of a JDK home dir 29 # ----------------- 30 # M2_HOME - location of maven2's installed home dir 31 # MAVEN_OPTS - parameters passed to the Java VM when running Maven 33 # set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 [all …]
|
| /external/iproute2/ip/ |
| D | ifcfg | 7 if [ -d $sbase ]; then 13 fi 18 killall -HUP rdisc || rdisc -fs 25 if [ "$1" = "" -o $class -eq 0 -o $class -ge 224 ]; then return 0 26 elif [ $class -ge 224 ]; then return 0 27 elif [ $class -ge 192 ]; then return 24 28 elif [ $class -ge 128 ]; then return 16 29 else return 8; fi 35 if [ "$dev" = "" -o "$1" = "help" ]; then 37 echo " add - add new address" 1>&2 [all …]
|