/third_party/vixl/benchmarks/aarch32/ |
H A D | bench-literal.cc | 45 void benchmark(int iterations, int literals, InstructionSet isa) { in benchmark() argument 55 // Load a number of distinct literals, for a number of iterations, forcing in benchmark() 58 for (int j = 0; j < literals; j++) { in benchmark() 77 int literals = 0; in main() local 82 literals = kDefaultLiteralCount; in main() 86 literals = kDefaultLiteralCount; in main() 90 literals = atoi(argv[2]); in main() 93 printf("Usage: %s [#iterations] [#literals]\n", argv[0]); in main() 98 benchmark(iterations, literals, A32); in main() 101 benchmark(iterations, literals, T3 in main() [all...] |
/third_party/node/deps/brotli/c/enc/ |
H A D | block_splitter.c | 55 uint8_t* literals) { in CopyLiteralsToByteArray() 63 memcpy(literals + pos, data + from_pos, head_size); in CopyLiteralsToByteArray() 69 memcpy(literals + pos, data + from_pos, insert_len); in CopyLiteralsToByteArray() 134 uint8_t* literals = BROTLI_ALLOC(m, uint8_t, literals_count); in BrotliSplitBlock() local 135 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(literals)) return; in BrotliSplitBlock() 136 /* Create a continuous array of literals. */ in BrotliSplitBlock() 137 CopyLiteralsToByteArray(cmds, num_commands, data, pos, mask, literals); in BrotliSplitBlock() 138 /* Create the block split on the array of literals. in BrotliSplitBlock() 141 m, literals, literals_count, in BrotliSplitBlock() 146 BROTLI_FREE(m, literals); in BrotliSplitBlock() 50 CopyLiteralsToByteArray(const Command* cmds, const size_t num_commands, const uint8_t* data, const size_t offset, const size_t mask, uint8_t* literals) CopyLiteralsToByteArray() argument [all...] |
H A D | compress_fragment_two_pass.c | 242 uint8_t** literals, uint32_t** commands) { in CreateCommands() 333 memcpy(*literals, next_emit, (size_t)insert); in CreateCommands() 334 *literals += insert; in CreateCommands() 446 /* Emit the remaining bytes as literals. */ in CreateCommands() 450 memcpy(*literals, next_emit, insert); in CreateCommands() 451 *literals += insert; in CreateCommands() 456 const uint8_t* literals, const size_t num_literals, in StoreCommands() 481 ++lit_histo[literals[i]]; in StoreCommands() 512 const uint8_t lit = *literals; in StoreCommands() 514 ++literals; in StoreCommands() 239 CreateCommands(const uint8_t* input, size_t block_size, size_t input_size, const uint8_t* base_ip, int* table, size_t table_bits, size_t min_match, uint8_t** literals, uint32_t** commands) CreateCommands() argument 455 StoreCommands(MemoryManager* m, const uint8_t* literals, const size_t num_literals, const uint32_t* commands, const size_t num_commands, size_t* storage_ix, uint8_t* storage) StoreCommands() argument 571 uint8_t* literals = literal_buf; BrotliCompressFragmentTwoPassImpl() local [all...] |
/third_party/skia/third_party/externals/brotli/c/enc/ |
H A D | block_splitter.c | 55 uint8_t* literals) { in CopyLiteralsToByteArray() 63 memcpy(literals + pos, data + from_pos, head_size); in CopyLiteralsToByteArray() 69 memcpy(literals + pos, data + from_pos, insert_len); in CopyLiteralsToByteArray() 134 uint8_t* literals = BROTLI_ALLOC(m, uint8_t, literals_count); in BrotliSplitBlock() local 135 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(literals)) return; in BrotliSplitBlock() 136 /* Create a continuous array of literals. */ in BrotliSplitBlock() 137 CopyLiteralsToByteArray(cmds, num_commands, data, pos, mask, literals); in BrotliSplitBlock() 138 /* Create the block split on the array of literals. in BrotliSplitBlock() 141 m, literals, literals_count, in BrotliSplitBlock() 146 BROTLI_FREE(m, literals); in BrotliSplitBlock() 50 CopyLiteralsToByteArray(const Command* cmds, const size_t num_commands, const uint8_t* data, const size_t offset, const size_t mask, uint8_t* literals) CopyLiteralsToByteArray() argument [all...] |
H A D | compress_fragment_two_pass.c | 242 uint8_t** literals, uint32_t** commands) { in CreateCommands() 333 memcpy(*literals, next_emit, (size_t)insert); in CreateCommands() 334 *literals += insert; in CreateCommands() 446 /* Emit the remaining bytes as literals. */ in CreateCommands() 450 memcpy(*literals, next_emit, insert); in CreateCommands() 451 *literals += insert; in CreateCommands() 456 const uint8_t* literals, const size_t num_literals, in StoreCommands() 481 ++lit_histo[literals[i]]; in StoreCommands() 512 const uint8_t lit = *literals; in StoreCommands() 514 ++literals; in StoreCommands() 239 CreateCommands(const uint8_t* input, size_t block_size, size_t input_size, const uint8_t* base_ip, int* table, size_t table_bits, size_t min_match, uint8_t** literals, uint32_t** commands) CreateCommands() argument 455 StoreCommands(MemoryManager* m, const uint8_t* literals, const size_t num_literals, const uint32_t* commands, const size_t num_commands, size_t* storage_ix, uint8_t* storage) StoreCommands() argument 571 uint8_t* literals = literal_buf; BrotliCompressFragmentTwoPassImpl() local [all...] |
/third_party/rust/crates/regex/src/literal/ |
H A D | imp.rs | 22 /// No literals. (Never advances through the input.) 24 /// A set of four or more single byte literals. 120 /// Returns an iterator over all literals to be matched. 158 /// Return the approximate heap usage of literals in bytes. 183 if lits.literals().is_empty() { in new() 198 if lits.literals().len() == 1 { in new() 199 return Matcher::Memmem(Memmem::new(&lits.literals()[0])); in new() 202 let pats = lits.literals().to_owned(); in new() 204 if lits.literals().len() <= 100 && !is_aho_corasick_fast { in new() 296 for lit in lits.literals() { in prefixes() [all...] |
/third_party/jerryscript/jerry-core/api/ |
H A D | jerry-snapshot.c | 166 const char * const error_message_p = "Unsupported feature: tagged template literals."; in snapshot_add_compiled_code() 350 /* Regular expression literals are not supported. */ in static_snapshot_add_compiled_code() 351 const char * const error_message_p = "Regular expression literals are not supported."; in static_snapshot_add_compiled_code() 815 const char * const error_message_p = "Cannot allocate memory for literals."; in jerry_generate_snapshot_with_args() 1057 * Collect all literals from a snapshot file. 1397 jerry_save_literals_heap_max (ecma_string_t *literals[], /**< array of literals */ in jerry_save_literals_heap_max() argument 1406 && jerry_save_literals_compare (literals[max_idx], literals[child_idx1])) in jerry_save_literals_heap_max() 1412 && jerry_save_literals_compare (literals[max_id in jerry_save_literals_heap_max() 1424 jerry_save_literals_down_heap(ecma_string_t *literals[], lit_utf8_size_t num_of_nodes, lit_utf8_size_t node_idx) jerry_save_literals_down_heap() argument 1452 jerry_save_literals_sort(ecma_string_t *literals[], lit_utf8_size_t num_of_literals) jerry_save_literals_sort() argument [all...] |
/third_party/json/tests/src/ |
H A D | unit-udl.cpp | 13 TEST_CASE("user-defined string literals") 18 SECTION("using namespace nlohmann::literals::json_literals") 20 using namespace nlohmann::literals::json_literals; // NOLINT(google-build-using-namespace) 34 SECTION("using namespace nlohmann::literals") 36 using namespace nlohmann::literals; // NOLINT(google-build-using-namespace)
|
/third_party/python/Lib/re/ |
H A D | _parser.py | 998 # parse 're' replacement string into list of literals and 1003 literals = [] 1010 literals.append(''.join(literal)) 1012 groups.append((len(literals), index)) 1013 literals.append(None) 1083 literals.append(''.join(literal)) 1087 literals = [None if s is None else s.encode('latin-1') for s in literals] 1088 return groups, literals 1093 groups, literals [all...] |
/third_party/skia/third_party/externals/tint/fuzzers/tint_regex_fuzzer/ |
H A D | wgsl_mutator.cc | 72 // Looks for integer literals in decimal or hexadecimal form. in GetIntLiterals() 73 // Regex obtained here: https://www.w3.org/TR/WGSL/#literals in GetIntLiterals() 156 // Get all identifiers and integer literals to use as potential return values. in InsertReturnStatement() 333 std::vector<std::pair<size_t, size_t>> literals = GetIntLiterals(wgsl_code); in ReplaceRandomIntLiteral() local 336 if (literals.size() < 1) { in ReplaceRandomIntLiteral() 341 generator.GetUInt32(static_cast<uint32_t>(literals.size())); in ReplaceRandomIntLiteral() 350 ReplaceInterval(literals[literal_index].first, literals[literal_index].second, in ReplaceRandomIntLiteral()
|
/third_party/node/deps/v8/src/debug/ |
H A D | liveedit.cc | 553 // If the literals start in the same position, we want the one with the in LessThan() 563 // If the literals end in the same position, we want the one with the in LessThan() 596 const std::vector<FunctionLiteral*>& literals, in CalculateFunctionLiteralChanges() 600 events.reserve(literals.size() * 2 + diffs.size() * 2); in CalculateFunctionLiteralChanges() 601 for (FunctionLiteral* literal : literals) { in CalculateFunctionLiteralChanges() 745 void Run(std::vector<FunctionLiteral*>* literals) { in Run() argument 746 literals_ = literals; in Run() 756 bool compile_as_well, std::vector<FunctionLiteral*>* literals, in ParseScript() 785 CollectFunctionLiterals(isolate, parse_info->literal()).Run(literals); in ParseScript() 994 std::vector<FunctionLiteral*> literals; in PatchScript() local 595 CalculateFunctionLiteralChanges( const std::vector<FunctionLiteral*>& literals, const std::vector<SourceChangeRange>& diffs, FunctionLiteralChanges* result) CalculateFunctionLiteralChanges() argument 755 ParseScript(Isolate* isolate, Handle<Script> script, ParseInfo* parse_info, bool compile_as_well, std::vector<FunctionLiteral*>* literals, debug::LiveEditResult* result) ParseScript() argument [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/ |
H A D | issue-1676-macro-namespace-prefix.hpp | 2 nssv_inline_ns namespace literals {} namespace
|
/third_party/skia/third_party/externals/imgui/misc/fonts/ |
H A D | binary_to_compressed_c.cpp | 296 if (best < 3) { // fast path literals in stb_compress_chunk() 326 } else { // fallback literals if no match was a balanced tradeoff in stb_compress_chunk() 331 // if we didn't get all the way, add the rest to literals in stb_compress_chunk() 335 // the literals are everything from lit_start to q in stb_compress_chunk() 344 int literals = 0; in stb_compress_inner() local 363 len = stb_compress_chunk(input, input, input+length, length, &literals, chash, stb__hashsize-1); in stb_compress_inner() 366 outliterals(input+length - literals, literals); in stb_compress_inner()
|
/third_party/json/docs/examples/ |
H A D | operator_array__json_pointer_const.cpp | 5 using namespace nlohmann::literals;
|
H A D | operator_literal_json.cpp | 6 using namespace nlohmann::literals;
|
H A D | operator_literal_json_pointer.cpp | 6 using namespace nlohmann::literals;
|
H A D | contains__keytype.c++17.cpp | 7 using namespace nlohmann::literals;
|
H A D | contains__object_t_key_type.cpp | 5 using namespace nlohmann::literals;
|
H A D | to_msgpack.cpp | 6 using namespace nlohmann::literals;
|
H A D | to_bson.cpp | 6 using namespace nlohmann::literals;
|
H A D | to_cbor.cpp | 6 using namespace nlohmann::literals;
|
H A D | value__json_ptr.cpp | 5 using namespace nlohmann::literals;
|
H A D | contains__json_pointer.cpp | 5 using namespace nlohmann::literals;
|
H A D | diff.cpp | 6 using namespace nlohmann::literals;
|
H A D | other_error.cpp | 5 using namespace nlohmann::literals;
|