/arkcompiler/runtime_core/libpandabase/tests/ |
H A D | utf_test.cpp | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 31 const std::vector<uint8_t> in {0xc0, 0x80, 0x00}; in HWTEST() 34 ConvertMUtf8ToUtf16(in.data(), utf::Mutf8Size(in.data()), out.data()); in HWTEST() 40 const std::vector<uint8_t> in {0x7f, 0x00}; in HWTEST() 43 ConvertMUtf8ToUtf16(in.data(), utf::Mutf8Size(in.data()), out.data()); in HWTEST() 49 const std::vector<uint8_t> in {0xc2, 0xa7, 0x33, 0x00}; in HWTEST() 52 ConvertMUtf8ToUtf16(in in HWTEST() [all...] |
H A D | bit_table_test.cpp | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 69 BitMemoryStreamIn in(data.data(), 0, data.size() * BITS_PER_BYTE); in TEST_F() 71 table.Decode(&in); in TEST_F() 88 BitMemoryStreamIn in(data.data(), 0, data.size() * BITS_PER_BYTE); in TEST_F() 90 table.Decode(&in); in TEST_F() 114 BitMemoryStreamIn in(data.data(), 0, data.size() * BITS_PER_BYTE); in TEST_F() 116 table.Decode(&in); in TEST_F() 147 BitMemoryStreamIn in(data.data(), 0, data.size() * BITS_PER_BYTE); in TEST_F() 149 table.Decode(&in); in TEST_F() [all...] |
H A D | alloc_tracker_test.cpp | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 41 static void SkipString(std::istream &in) in SkipString() argument 44 in.read(reinterpret_cast<char *>(&len), sizeof(len)); in SkipString() 45 if (!in) { in SkipString() 48 in.seekg(len, std::ios_base::cur); in SkipString()
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
H A D | utf_test.cpp | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 42 const std::vector<uint8_t> in {0xedU, 0xa0U, 0x81U, 0xedU, 0xb0U, 0xb7U, 0x00U}; in TEST() 45 ConvertMUtf8ToUtf16(in.data(), utf::Mutf8Size(in.data()), out.data()); in TEST() 50 const std::vector<uint8_t> in {0x5bU, 0x61U, 0x62U, 0x63U, 0xedU, 0xa3U, 0x92U, 0x5dU, 0x00U}; in TEST() 53 ConvertMUtf8ToUtf16(in.data(), utf::Mutf8Size(in.data()), out.data()); in TEST() 58 const std::vector<uint8_t> in {0xF0U, 0x9FU, 0x91U, 0xB3U, 0x00U}; in TEST() 61 ConvertMUtf8ToUtf16(in in TEST() [all...] |
H A D | bit_table_test.cpp | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 74 BitMemoryStreamIn in(data.data(), 0U, data.size() * BITS_PER_BYTE); in TEST_F() 76 table.Decode(&in); in TEST_F() 93 BitMemoryStreamIn in(data.data(), 0U, data.size() * BITS_PER_BYTE); in TEST_F() 95 table.Decode(&in); in TEST_F() 119 BitMemoryStreamIn in(data.data(), 0U, data.size() * BITS_PER_BYTE); in TEST_F() 121 table.Decode(&in); in TEST_F() 152 BitMemoryStreamIn in(data.data(), 0U, data.size() * BITS_PER_BYTE); in TEST_F() 154 table.Decode(&in); in TEST_F() [all...] |
H A D | alloc_tracker_test.cpp | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 41 static void SkipString(std::istream &in) in SkipString() argument 44 in.read(reinterpret_cast<char *>(&len), sizeof(len)); in SkipString() 45 if (!in) { in SkipString() 48 in.seekg(len, std::ios_base::cur); in SkipString()
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
H A D | runtime_options.h | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 53 * It extends Options that represents public options (that described in options.yaml) and 55 * via command line tools. Now they are used in unit tests to create minimal runtime for 84 void SetFingerprint(const std::string &in) in SetFingerprint() argument 86 fingerPrint_.assign(in); in SetFingerprint() 94 void SetVerificationMode(VerificationMode in) in SetVerificationMode() argument 96 verificationMode_ = in; in SetVerificationMode() 104 void SetVerifyRuntimeLibraries(bool in) in SetVerifyRuntimeLibraries() argument 106 verifyRuntimeLibraries_ = in; in SetVerifyRuntimeLibraries() 109 SetUnwindStack(void *in) SetUnwindStack() argument 119 SetCrashConnect(void *in) SetCrashConnect() argument [all...] |
/arkcompiler/runtime_core/static_core/scripts/ |
H A D | install-third-party | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software 56 * Manifest file format is documented in the default manifest. 64 for opt in "$@"; do 65 case $opt in 93 mapfile -t REPOS< <(for r in "${REPOS[@]}"; do echo "$r"; done | sort -u) 97 for one_repo in "${REPOS[@]}" 112 for i in `seq 1 $NUM_CLONE_ATTEMPTS` 130 for i in `seq 1 $NUM_CLONE_ATTEMPTS` 157 for patch in " [all...] |
H A D | install-deps-qemu | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software 59 are already present in /usr/bin, they are left intact. 121 for fname in "$prefix"/bin/qemu-*; do 139 for i in "$@" 141 case $i in
|
/arkcompiler/runtime_core/static_core/compiler/tools/ |
H A D | benchmark_coverage.sh | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software 17 for ARGUMENT in "$@"; do 18 case "$ARGUMENT" in 91 # Checks if a test is in the ignore list: 133 for benchmark in $(find "$BENCHMARKS"/*\.pa -maxdepth 0 -exec basename -s .pa {} \;); do 144 for name in $method_names; do 210 for name in $method_names; do 216 for status in "${func_status[@]}"; do 252 for test in [all...] |
H A D | ir_builder_coverage.sh | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software 17 for ARGUMENT in "$@"; do 18 case "$ARGUMENT" in 76 for inst_name in $pbc_instructions; do
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
H A D | registers_description.h | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 84 // size ignored in arm64 85 auto equality = [reg](Reg in) { 86 return ((reg.GetId() == in.GetId()) && (reg.GetType() == in.GetType()) && 87 (reg.GetSize() == in.GetSize())) || 88 (!reg.IsValid() && !in.IsValid()); 105 // Get registers mask which used in codegen, runtime e.t.c 110 // Get vector registers mask which used in codege [all...] |
/arkcompiler/runtime_core/scripts/ |
H A D | install-third-party | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software 40 * Manifest file format is documented in the default manifest. 46 for opt in "$@" 48 case $opt in 79 for patch in "${patches[@]}" 133 for submodule in "${submodules[@]}" 151 echo "$MSG_PREFIX Third-party dependencies are found in $ARK_THIRD_PARTY_DIR, exiting" 156 echo "$MSG_PREFIX Third-party dependencies are not found in $ARK_THIRD_PARTY_DIR"
|
H A D | install-deps-qemu | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software 59 are already present in /usr/bin, they are left intact. 115 for fname in "$prefix"/bin/qemu-*; do 133 for i in "$@" 135 case $i in
|
/arkcompiler/runtime_core/static_core/static_linker/tests/ |
H A D | linker_test.cpp | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 91 auto f = std::ifstream(path, IS_BINARY ? std::ios_base::binary : std::ios_base::in); in ReadFile() 105 std::string_view in = gold; in NormalizeGold() local 108 while (!in.empty()) { in NormalizeGold() 109 auto nxtNl = in.find('\n'); in NormalizeGold() 110 if (in[0] == '#') { in NormalizeGold() 114 in = in.substr(nxtNl + 1); in NormalizeGold() 118 out += in; in NormalizeGold() [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | useless_gate_elimination.cpp | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 51 for (auto in : ins) { in MarkGate() 52 if (acc_.GetMark(in) != MarkCode::VISITED) { in MarkGate() 53 PushGate(in); in MarkGate()
|
H A D | gate_accessor.h | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 213 ConstInsIterator(const Circuit* circuit, const In* in) : circuit_(circuit), in_(in) in ConstInsIterator() 255 InsIterator(const Circuit* circuit, In* in) : circuit_(circuit), in_(in) in InsIterator() 476 void NewIn(GateRef gate, size_t idx, GateRef in); 486 void ReplaceIn(GateRef gate, size_t index, GateRef in); 487 void ReplaceStateIn(GateRef gate, GateRef in, size_t index = 0); 488 void ReplaceDependIn(GateRef gate, GateRef in, size_ [all...] |
/arkcompiler/ets_frontend/test/scripts/sdk_test/ |
H A D | run_ohos_sdk_test.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 32 case "$1" in 45 echo "Error: File $file does not exist in the current directory." 86 for mode in "${modes[@]}"; do
|
/arkcompiler/ets_runtime/test/jsperftest/ |
H A D | run_js_perf_test.sh | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software 45 case $1 in 216 for bench in "${BENCH_FILTER[@]}" 233 for bench in "${EXCLUDE_BENCHMARKS[@]}" 250 for i in $(seq 0 $((cores_count - 1)) ) 274 for core in "${cores[@]}" 286 for core in "${cores[@]}" 333 --platform <platform> - used platform. Possible values in config.json. 376 for js_test in [all...] |
/arkcompiler/runtime_core/verifier/tests/ |
H A D | pull_hap_files.bat | 3 @rem you may not use this file except in compliance with the License. 8 @rem Unless required by applicable law or agreed to in writing, software 29 for /f "delims=" %%i in ('hdc list targets') do ( 60 for /f "delims=" %%f in (hap_files.txt) do (
|
/arkcompiler/ets_frontend/ets2panda/linter/ |
H A D | tslinter.bat | 4 REM you may not use this file except in compliance with the License. 9 REM Unless required by applicable law or agreed to in writing, software
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
H A D | excluded_keys_test.cpp | 4 * you may not use this file except in compliance with the License. 9 * Unless required by applicable law or agreed to in writing, software 94 for (const auto &in : func.ins) { in HWTEST_F() 95 if (in.opcode != panda::pandasm::Opcode::INVALID) { in HWTEST_F() 96 insns.emplace_back(in); in HWTEST_F() 100 // Expected instructions after optimization in binary file in HWTEST_F()
|
/arkcompiler/ets_frontend/test/scripts/auto_xts_test/ |
H A D | run.bat | 3 @REM you may not use this file except in compliance with the License.
8 @REM Unless required by applicable law or agreed to in writing, software
29 for /f "tokens=1,2 delims==" %%i in (running_modules.txt) do (
|
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/lib/ |
H A D | spec.rb | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software 37 warn "Non testable group \"#{ntg['title']}\" not found in ISA." 119 warn "Non testable description \"#{ntda}\" in group \"#{ntg['title']}\" not found in iSA." 130 warn "Non testable instruction \"#{nti['sig']}\" in group \"#{ntg['title']}\" not found in ISA." 141 warn "Non testable exception \"#{nte}\" in group \"#{ntg['title']}\" not found in ISA." 152 warn "Non testable verification \"#{ntv}\" in grou [all...] |
/arkcompiler/runtime_core/tests/cts-coverage-tool/lib/ |
H A D | spec.rb | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software 37 warn "Non testable group \"#{ntg['title']}\" not found in ISA." 119 warn "Non testable description \"#{ntda}\" in group \"#{ntg['title']}\" not found in iSA." 130 warn "Non testable instruction \"#{nti['sig']}\" in group \"#{ntg['title']}\" not found in ISA." 141 warn "Non testable exception \"#{nte}\" in group \"#{ntg['title']}\" not found in ISA." 152 warn "Non testable verification \"#{ntv}\" in grou [all...] |