Home
last modified time | relevance | path

Searched refs:context_map (Results 1 – 25 of 391) sorted by relevance

12345678910>>...16

/dports/cad/iverilog/verilog-11.0/
H A Dnet_func_eval.cc64 map<perm_string,LocalVar>context_map; in evaluate_function() local
81 LocalVar&input_var = context_map[aname]; in evaluate_function()
116 ptr = context_map.find(scope()->basename()); in evaluate_function()
118 context_map.erase(ptr); in evaluate_function()
121 for (ptr = context_map.begin() ; ptr != context_map.end() ; ++ptr) { in evaluate_function()
167 map<perm_string,LocalVar>&context_map) const in evaluate_function_find_locals()
313 map<perm_string,LocalVar>&context_map, in eval_func_lval_() argument
504 ; cur != context_map.end() ; ++cur) { in evaluate_function()
553 map<perm_string,LocalVar>&context_map) const in evaluate_function_vect_()
615 map<perm_string,LocalVar>&context_map) const in evaluate_function_real_()
[all …]
/dports/graphics/libjxl/libjxl-0.6.1/lib/jxl/
H A Ddec_context_map.cc40 bool VerifyContextMap(const std::vector<uint8_t>& context_map, in VerifyContextMap() argument
44 for (const uint8_t htree : context_map) { in VerifyContextMap()
67 for (size_t i = 0; i < context_map->size(); i++) { in DecodeContextMap()
68 (*context_map)[i] = input->ReadBits(bits_per_entry); in DecodeContextMap()
71 std::fill(context_map->begin(), context_map->end(), 0); in DecodeContextMap()
83 /*disallow_lz77=*/context_map->size() <= 2)); in DecodeContextMap()
86 while (i < context_map->size()) { in DecodeContextMap()
91 (*context_map)[i] = sym; in DecodeContextMap()
98 InverseMoveToFrontTransform(context_map->data(), context_map->size()); in DecodeContextMap()
101 *num_htrees = *std::max_element(context_map->begin(), context_map->end()) + 1; in DecodeContextMap()
[all …]
H A Dcoeff_order.cc48 const std::vector<uint8_t>& context_map) { in ReadPermutation() argument
54 reader->ReadHybridUint(CoeffOrderContext(size), br, context_map) + skip; in ReadPermutation()
61 reader->ReadHybridUint(CoeffOrderContext(last), br, context_map); in ReadPermutation()
76 std::vector<uint8_t> context_map; in DecodePermutation() local
79 DecodeHistograms(br, kPermutationContexts, &code, &context_map)); in DecodePermutation()
82 ReadPermutation(skip, size, order, br, &reader, context_map)); in DecodePermutation()
93 const std::vector<uint8_t>& context_map) { in DecodeCoeffOrder() argument
99 ReadPermutation(llf, size, order, br, reader, context_map)); in DecodeCoeffOrder()
113 std::vector<uint8_t> context_map; in DecodeCoeffOrders() local
119 DecodeHistograms(br, kPermutationContexts, &code, &context_map)); in DecodeCoeffOrders()
[all …]
H A Denc_context_map.cc58 void EncodeContextMap(const std::vector<uint8_t>& context_map, in EncodeContextMap() argument
68 std::vector<uint8_t> transformed_symbols = MoveToFrontTransform(context_map); in EncodeContextMap()
72 for (size_t i = 0; i < context_map.size(); i++) { in EncodeContextMap()
73 tokens[0].emplace_back(0, context_map[i]); in EncodeContextMap()
89 use_mtf ? transformed_symbols[i] : context_map[i]); in EncodeContextMap()
92 size_t simple_cost = entry_bits * context_map.size(); in EncodeContextMap()
96 for (size_t i = 0; i < context_map.size(); i++) { in EncodeContextMap()
97 writer->Write(entry_bits, context_map[i]); in EncodeContextMap()
/dports/www/firefox/firefox-99.0/third_party/jpeg-xl/lib/jxl/
H A Ddec_context_map.cc40 bool VerifyContextMap(const std::vector<uint8_t>& context_map, in VerifyContextMap() argument
44 for (const uint8_t htree : context_map) { in VerifyContextMap()
67 for (size_t i = 0; i < context_map->size(); i++) { in DecodeContextMap()
68 (*context_map)[i] = input->ReadBits(bits_per_entry); in DecodeContextMap()
71 std::fill(context_map->begin(), context_map->end(), 0); in DecodeContextMap()
83 /*disallow_lz77=*/context_map->size() <= 2)); in DecodeContextMap()
86 while (i < context_map->size()) { in DecodeContextMap()
91 (*context_map)[i] = sym; in DecodeContextMap()
98 InverseMoveToFrontTransform(context_map->data(), context_map->size()); in DecodeContextMap()
101 *num_htrees = *std::max_element(context_map->begin(), context_map->end()) + 1; in DecodeContextMap()
[all …]
H A Dcoeff_order.cc38 const std::vector<uint8_t>& context_map) { in ReadPermutation() argument
44 reader->ReadHybridUint(CoeffOrderContext(size), br, context_map) + skip; in ReadPermutation()
51 reader->ReadHybridUint(CoeffOrderContext(last), br, context_map); in ReadPermutation()
66 std::vector<uint8_t> context_map; in DecodePermutation() local
69 DecodeHistograms(br, kPermutationContexts, &code, &context_map)); in DecodePermutation()
72 ReadPermutation(skip, size, order, br, &reader, context_map)); in DecodePermutation()
84 const std::vector<uint8_t>& context_map) { in DecodeCoeffOrder() argument
90 ReadPermutation(llf, size, order, br, reader, context_map)); in DecodeCoeffOrder()
103 std::vector<uint8_t> context_map; in DecodeCoeffOrders() local
110 DecodeHistograms(br, kPermutationContexts, &code, &context_map)); in DecodeCoeffOrders()
[all …]
H A Denc_context_map.cc58 void EncodeContextMap(const std::vector<uint8_t>& context_map, in EncodeContextMap() argument
68 std::vector<uint8_t> transformed_symbols = MoveToFrontTransform(context_map); in EncodeContextMap()
72 for (size_t i = 0; i < context_map.size(); i++) { in EncodeContextMap()
73 tokens[0].emplace_back(0, context_map[i]); in EncodeContextMap()
89 use_mtf ? transformed_symbols[i] : context_map[i]); in EncodeContextMap()
92 size_t simple_cost = entry_bits * context_map.size(); in EncodeContextMap()
96 for (size_t i = 0; i < context_map.size(); i++) { in EncodeContextMap()
97 writer->Write(entry_bits, context_map[i]); in EncodeContextMap()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/jpeg-xl/lib/jxl/
H A Ddec_context_map.cc40 bool VerifyContextMap(const std::vector<uint8_t>& context_map, in VerifyContextMap() argument
44 for (const uint8_t htree : context_map) { in VerifyContextMap()
67 for (size_t i = 0; i < context_map->size(); i++) { in DecodeContextMap()
68 (*context_map)[i] = input->ReadBits(bits_per_entry); in DecodeContextMap()
71 std::fill(context_map->begin(), context_map->end(), 0); in DecodeContextMap()
83 /*disallow_lz77=*/context_map->size() <= 2)); in DecodeContextMap()
86 while (i < context_map->size()) { in DecodeContextMap()
91 (*context_map)[i] = sym; in DecodeContextMap()
98 InverseMoveToFrontTransform(context_map->data(), context_map->size()); in DecodeContextMap()
101 *num_htrees = *std::max_element(context_map->begin(), context_map->end()) + 1; in DecodeContextMap()
[all …]
H A Dcoeff_order.cc48 const std::vector<uint8_t>& context_map) { in ReadPermutation() argument
54 reader->ReadHybridUint(CoeffOrderContext(size), br, context_map) + skip; in ReadPermutation()
61 reader->ReadHybridUint(CoeffOrderContext(last), br, context_map); in ReadPermutation()
76 std::vector<uint8_t> context_map; in DecodePermutation() local
79 DecodeHistograms(br, kPermutationContexts, &code, &context_map)); in DecodePermutation()
82 ReadPermutation(skip, size, order, br, &reader, context_map)); in DecodePermutation()
93 const std::vector<uint8_t>& context_map) { in DecodeCoeffOrder() argument
99 ReadPermutation(llf, size, order, br, reader, context_map)); in DecodeCoeffOrder()
113 std::vector<uint8_t> context_map; in DecodeCoeffOrders() local
119 DecodeHistograms(br, kPermutationContexts, &code, &context_map)); in DecodeCoeffOrders()
[all …]
H A Denc_context_map.cc58 void EncodeContextMap(const std::vector<uint8_t>& context_map, in EncodeContextMap() argument
68 std::vector<uint8_t> transformed_symbols = MoveToFrontTransform(context_map); in EncodeContextMap()
72 for (size_t i = 0; i < context_map.size(); i++) { in EncodeContextMap()
73 tokens[0].emplace_back(0, context_map[i]); in EncodeContextMap()
89 use_mtf ? transformed_symbols[i] : context_map[i]); in EncodeContextMap()
92 size_t simple_cost = entry_bits * context_map.size(); in EncodeContextMap()
96 for (size_t i = 0; i < context_map.size(); i++) { in EncodeContextMap()
97 writer->Write(entry_bits, context_map[i]); in EncodeContextMap()
/dports/www/firefox-esr/firefox-91.8.0/third_party/jpeg-xl/lib/jxl/
H A Ddec_context_map.cc40 bool VerifyContextMap(const std::vector<uint8_t>& context_map, in VerifyContextMap() argument
44 for (const uint8_t htree : context_map) { in VerifyContextMap()
67 for (size_t i = 0; i < context_map->size(); i++) { in DecodeContextMap()
68 (*context_map)[i] = input->ReadBits(bits_per_entry); in DecodeContextMap()
71 std::fill(context_map->begin(), context_map->end(), 0); in DecodeContextMap()
83 /*disallow_lz77=*/context_map->size() <= 2)); in DecodeContextMap()
86 while (i < context_map->size()) { in DecodeContextMap()
91 (*context_map)[i] = sym; in DecodeContextMap()
98 InverseMoveToFrontTransform(context_map->data(), context_map->size()); in DecodeContextMap()
101 *num_htrees = *std::max_element(context_map->begin(), context_map->end()) + 1; in DecodeContextMap()
[all …]
H A Dcoeff_order.cc48 const std::vector<uint8_t>& context_map) { in ReadPermutation() argument
54 reader->ReadHybridUint(CoeffOrderContext(size), br, context_map) + skip; in ReadPermutation()
61 reader->ReadHybridUint(CoeffOrderContext(last), br, context_map); in ReadPermutation()
76 std::vector<uint8_t> context_map; in DecodePermutation() local
79 DecodeHistograms(br, kPermutationContexts, &code, &context_map)); in DecodePermutation()
82 ReadPermutation(skip, size, order, br, &reader, context_map)); in DecodePermutation()
93 const std::vector<uint8_t>& context_map) { in DecodeCoeffOrder() argument
99 ReadPermutation(llf, size, order, br, reader, context_map)); in DecodeCoeffOrder()
113 std::vector<uint8_t> context_map; in DecodeCoeffOrders() local
119 DecodeHistograms(br, kPermutationContexts, &code, &context_map)); in DecodeCoeffOrders()
[all …]
/dports/devel/apitrace/apitrace-9.0/wrappers/
H A Dgltrace_state.cpp40 static std::map<uintptr_t, context_ptr_t> context_map; variable
77 if (context_map.find(context_id) != context_map.end()) in retainContext()
78 _retainContext(context_map[context_id]); in retainContext()
101 if (context_map.find(context_id) != context_map.end()) { in releaseContext()
102 res = _releaseContext(context_map[context_id]); in releaseContext()
104 context_map.erase(context_id); in releaseContext()
115 if (context_map.find(context_id) != context_map.end()) { in createContext()
124 context_map[context_id] = ctx; in createContext()
136 assert(context_map.find(context_id) != context_map.end()); in setContext()
137 ctx = context_map[context_id]; in setContext()
/dports/www/ilias/ILIAS-5.4.25/Services/Captcha/classes/
H A Dclass.ilCaptchaUtil.php21 protected static $context_map; variable in ilCaptchaUtil
53 if (!isset($requested_context, self::$context_map)) {
89 if (null !== self::$context_map) {
90 return self::$context_map;
93 self::$context_map = array();
99 self::$context_map[strtolower(substr($name, strlen('CONTEXT_')))] = $value;
103 return self::$context_map;
/dports/www/ilias6/ILIAS-6.14/Services/Captcha/classes/
H A Dclass.ilCaptchaUtil.php21 protected static $context_map; variable in ilCaptchaUtil
53 if (!isset($requested_context, self::$context_map)) {
89 if (null !== self::$context_map) {
90 return self::$context_map;
93 self::$context_map = array();
99 self::$context_map[strtolower(substr($name, strlen('CONTEXT_')))] = $value;
103 return self::$context_map;
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
H A Dinspector_backend_unittest.py19 context_map = self._devtools_client.GetUpdatedInspectableContexts()
20 backend = context_map.GetInspectorBackend(context_map.contexts[0]['id'])
27 context_map = self._devtools_client.GetUpdatedInspectableContexts()
28 backend = context_map.GetInspectorBackend(context_map.contexts[0]['id'])
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/powerpc/mm/book3s32/
H A Dmmu_context.c56 static unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1]; variable
62 while (test_and_set_bit(ctx, context_map)) { in __init_new_context()
63 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in __init_new_context()
88 clear_bit(ctx, context_map); in __destroy_context()
111 context_map[0] = (1 << FIRST_CONTEXT) - 1; in mmu_context_init()
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/powerpc/mm/book3s32/
H A Dmmu_context.c56 static unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1]; variable
62 while (test_and_set_bit(ctx, context_map)) { in __init_new_context()
63 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in __init_new_context()
88 clear_bit(ctx, context_map); in __destroy_context()
111 context_map[0] = (1 << FIRST_CONTEXT) - 1; in mmu_context_init()
/dports/multimedia/libv4l/linux-5.13-rc2/arch/powerpc/mm/book3s32/
H A Dmmu_context.c56 static unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1]; variable
62 while (test_and_set_bit(ctx, context_map)) { in __init_new_context()
63 ctx = find_next_zero_bit(context_map, LAST_CONTEXT+1, ctx); in __init_new_context()
88 clear_bit(ctx, context_map); in __destroy_context()
111 context_map[0] = (1 << FIRST_CONTEXT) - 1; in mmu_context_init()
/dports/security/aws-c-auth/aws-c-auth-0.6.5/tests/
H A Dseed_tests.py54 def generate_test_case(source_dir, dest_dir, test_name, context_map): argument
71 test_context = merge_dicts(context_map, test_context)
108 context_map = default_context_map
110 context_map = token_context
112 context_map = sign_body_context
117 … generate_test_case(test_case_source_dir, v4_test_case_dest_dir, dir_name, context_map)
118 … generate_test_case(test_case_source_dir, v4a_test_case_dest_dir, dir_name, context_map)
/dports/www/firefox/firefox-99.0/third_party/jpeg-xl/lib/jxl/modular/encoding/
H A Ddec_ma.cc37 const std::vector<uint8_t> &context_map, Tree *tree, in DecodeTree() argument
50 uint32_t prop1 = reader->ReadHybridUint(kPropertyContext, br, context_map); in DecodeTree()
55 reader->ReadHybridUint(kPredictorContext, br, context_map); in DecodeTree()
60 UnpackSigned(reader->ReadHybridUint(kOffsetContext, br, context_map)); in DecodeTree()
62 reader->ReadHybridUint(kMultiplierLogContext, br, context_map); in DecodeTree()
67 reader->ReadHybridUint(kMultiplierBitsContext, br, context_map); in DecodeTree()
77 UnpackSigned(reader->ReadHybridUint(kSplitValContext, br, context_map)); in DecodeTree()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/jpeg-xl/lib/jxl/modular/encoding/
H A Ddec_ma.cc36 const std::vector<uint8_t> &context_map, Tree *tree, in DecodeTree() argument
48 reader->ReadHybridUint(kPropertyContext, br, context_map) - 1; in DecodeTree()
54 reader->ReadHybridUint(kPredictorContext, br, context_map); in DecodeTree()
59 UnpackSigned(reader->ReadHybridUint(kOffsetContext, br, context_map)); in DecodeTree()
61 reader->ReadHybridUint(kMultiplierLogContext, br, context_map); in DecodeTree()
66 reader->ReadHybridUint(kMultiplierBitsContext, br, context_map); in DecodeTree()
76 UnpackSigned(reader->ReadHybridUint(kSplitValContext, br, context_map)); in DecodeTree()
/dports/graphics/libjxl/libjxl-0.6.1/lib/jxl/modular/encoding/
H A Ddec_ma.cc36 const std::vector<uint8_t> &context_map, Tree *tree, in DecodeTree() argument
48 context_map)) - in DecodeTree()
55 reader->ReadHybridUint(kPredictorContext, br, context_map); in DecodeTree()
60 UnpackSigned(reader->ReadHybridUint(kOffsetContext, br, context_map)); in DecodeTree()
62 reader->ReadHybridUint(kMultiplierLogContext, br, context_map); in DecodeTree()
67 reader->ReadHybridUint(kMultiplierBitsContext, br, context_map); in DecodeTree()
77 UnpackSigned(reader->ReadHybridUint(kSplitValContext, br, context_map)); in DecodeTree()
/dports/www/firefox-esr/firefox-91.8.0/third_party/jpeg-xl/lib/jxl/modular/encoding/
H A Ddec_ma.cc36 const std::vector<uint8_t> &context_map, Tree *tree, in DecodeTree() argument
48 reader->ReadHybridUint(kPropertyContext, br, context_map) - 1; in DecodeTree()
54 reader->ReadHybridUint(kPredictorContext, br, context_map); in DecodeTree()
59 UnpackSigned(reader->ReadHybridUint(kOffsetContext, br, context_map)); in DecodeTree()
61 reader->ReadHybridUint(kMultiplierLogContext, br, context_map); in DecodeTree()
66 reader->ReadHybridUint(kMultiplierBitsContext, br, context_map); in DecodeTree()
76 UnpackSigned(reader->ReadHybridUint(kSplitValContext, br, context_map)); in DecodeTree()
/dports/devel/apitrace/apitrace-9.0/retrace/
H A Dglretrace_glx.cpp45 static ContextMap context_map; variable
70 it = context_map.find(context_ptr); in getContext()
71 if (it == context_map.end()) { in getContext()
72 return (context_map[context_ptr] = glretrace::createContext()); in getContext()
87 context_map[orig_context] = context; in retrace_glXCreateContext()
102 context_map[orig_context] = context; in retrace_glXCreateContextAttribsARB()
121 it = context_map.find(call.arg(1).toUIntPtr()); in retrace_glXDestroyContext()
122 if (it == context_map.end()) { in retrace_glXDestroyContext()
128 context_map.erase(it); in retrace_glXDestroyContext()
168 context_map[orig_context] = context; in retrace_glXCreateNewContext()

12345678910>>...16