/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
H A D | napi_pub_key.cpp | 52 const char *algName = this->GetPubKey()->base.getAlgorithm(&(this->GetPubKey()->base)); in ConvertToJsPubKey() 53 const char *format = this->GetPubKey()->base.getFormat(&(this->GetPubKey()->base)); in ConvertToJsPubKey() 85 HcfResult res = pubKey->base.getEncoded(&pubKey->base, &returnBlob); in JsGetEncoded() 191 HcfResult res = pubKey->base.getEncodedPem(&pubKey->base, format.c_str(), &returnString); in JsGetEncodedPem()
|
/base/security/crypto_framework/test/unittest/src/ |
H A D | crypto_md_test.cpp | 396 mdObj->base.destroy(nullptr); in HWTEST_F() 406 invalidMdObj.base.getClass = GetInvalidMdClass; in HWTEST_F() 419 mdObj->base.destroy(&(invalidMdObj.base)); in HWTEST_F() 427 invalidSpi.base.getClass = GetInvalidMdClass; in HWTEST_F() 435 (void)spiObj->base.destroy(nullptr); in HWTEST_F() 436 (void)spiObj->base.destroy(&(invalidSpi.base)); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | device.cpp | 22 #include <base/containers/array_view.h> 23 #include <base/containers/fixed_string.h> 24 #include <base/containers/string.h> 25 #include <base/containers/string_view.h> 26 #include <base/containers/type_traits.h> 27 #include <base/containers/unique_ptr.h> 28 #include <base/containers/vector.h> 29 #include <base/util/formats.h>
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/loaders/ |
H A D | image_loader_stb_image.cpp | 60 #include <base/containers/array_view.h> 61 #include <base/containers/string.h> 62 #include <base/containers/string_view.h> 63 #include <base/containers/type_traits.h> 64 #include <base/containers/unique_ptr.h> 65 #include <base/math/mathf.h> 66 #include <base/namespace.h> 67 #include <base/util/formats.h>
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/ecs/ |
H A D | entity_manager.cpp | 21 #include <base/containers/generic_iterator.h> 22 #include <base/containers/iterator.h> 23 #include <base/containers/refcnt_ptr.h> 24 #include <base/containers/type_traits.h> 25 #include <base/containers/unique_ptr.h> 26 #include <base/containers/unordered_map.h> 27 #include <base/containers/vector.h> 28 #include <base/namespace.h>
|
/third_party/gn/src/gn/ |
H A D | rust_project_writer_unittest.cc | 6 #include "base/files/file_path.h" 7 #include "base/strings/string_util.h" 50 base::ReplaceSubstringsAfterOffset(&out, 0, "\r\n", "\n"); in TEST_F() 115 base::ReplaceSubstringsAfterOffset(&out, 0, "\r\n", "\n"); in TEST_F() 213 base::ReplaceSubstringsAfterOffset(&out, 0, "\r\n", "\n"); in TEST_F() 350 base::ReplaceSubstringsAfterOffset(&out, 0, "\r\n", "\n"); in TEST_F() 453 base::ReplaceSubstringsAfterOffset(&out, 0, "\r\n", "\n"); in TEST_F() 508 base::ReplaceSubstringsAfterOffset(&out, 0, "\r\n", "\n"); in TEST_F() 563 base::ReplaceSubstringsAfterOffset(&out, 0, "\r\n", "\n"); in TEST_F() 619 base in TEST_F() [all...] |
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
H A D | GatherAPIData.java | 77 String base; // strip this prefix field in GatherAPIData 89 } else if (option.equals("-base")) { in optionLength() 127 } else if (opt.equals("-base")) { in GatherAPIData() 128 this.base = options[i][1]; // should not include '.' in GatherAPIData() 186 bw.write((base == null ? "" : base) + APIInfo.SEP); // base in run() 322 if (base != null) { in trimBase() 323 for (int n = arg.indexOf(base); n != -1; n = arg.indexOf(base, in trimBase() [all...] |
H A D | GatherAPIDataOld.java | 76 String base; // strip this prefix field in GatherAPIDataOld 88 } else if (option.equals("-base")) { in optionLength() 118 } else if (opt.equals("-base")) { in GatherAPIDataOld() 119 this.base = options[i][1]; // should not include '.' in GatherAPIDataOld() 177 bw.write((base == null ? "" : base) + APIInfo.SEP); // base in run() 246 if (base != null) { in trimBase() 247 for (int n = arg.indexOf(base); n != -1; n = arg.indexOf(base, in trimBase() [all...] |
/third_party/mbedtls/scripts/mbedtls_dev/ |
H A D | crypto_knowledge.py | 302 """Return an expression for the "base" of the algorithm. 480 def permitted_truncations(cls, base: str) -> FrozenSet[int]: 481 """Permitted output lengths for the given MAC or AEAD base algorithm. 488 if base in cls.PERMITTED_TAG_LENGTHS: 489 return cls.PERMITTED_TAG_LENGTHS[base] 490 max_length = cls.MAC_LENGTH.get(base, None) 492 m = cls.HMAC_RE.match(base) 496 raise ValueError('Unknown permitted lengths for ' + base) 501 r'\((?P<base>.*),' 512 base [all...] |
/third_party/mbedtls/programs/ssl/ |
H A D | ssl_mail_client.c | 325 unsigned char base[1024]; in main() local 326 /* buf is used as the destination buffer for printing base with the format: in main() 327 * "%s\r\n". Hence, the size of buf should be at least the size of base in main() 330 unsigned char buf[sizeof(base) + 2]; in main() 690 ret = mbedtls_base64_encode(base, sizeof(base), &n, (const unsigned char *) opt.user_name, in main() 697 len = sprintf((char *) buf, "%s\r\n", base); in main() 709 ret = mbedtls_base64_encode(base, sizeof(base), &n, (const unsigned char *) opt.user_pwd, in main() 716 len = sprintf((char *) buf, "%s\r\n", base); in main() [all...] |
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_job.c | 37 struct vc4_bo **referenced_bos = job->bo_pointers.base; in vc4_job_free() 121 struct vc4_bo **referenced_bos = job->bo_pointers.base; in vc4_flush_jobs_reading_resource() 338 VC4_SET_FIELD(vc4_rt_format_is_565(surf->base.format) ? in vc4_submit_setup_rcl_render_config_surface() 385 vc4_dump_cl(job->bcl.base, cl_offset(&job->bcl), false); in vc4_job_submit() 448 submit.bo_handles = (uintptr_t)job->bo_handles.base; in vc4_job_submit() 450 submit.bin_cl = (uintptr_t)job->bcl.base; in vc4_job_submit() 452 submit.shader_rec = (uintptr_t)job->shader_rec.base; in vc4_job_submit() 455 submit.uniforms = (uintptr_t)job->uniforms.base; in vc4_job_submit()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_sampler.c | 188 /* just use the base level image */ in define_sampler_state_object() 372 sv->base = *templ; in svga_create_sampler_view() 373 sv->base.reference.count = 1; in svga_create_sampler_view() 374 sv->base.texture = NULL; in svga_create_sampler_view() 375 pipe_resource_reference(&sv->base.texture, texture); in svga_create_sampler_view() 377 sv->base.context = pipe; in svga_create_sampler_view() 384 return &sv->base; in svga_create_sampler_view() 405 pipe_resource_reference(&sv->base.texture, NULL); in svga_sampler_view_destroy() 556 &svga->polygon_stipple.sampler_view->base); in svga_cleanup_sampler_state()
|
/third_party/node/src/ |
H A D | node_url.cc | 125 // args[1] // base url in CanParse() 132 ada::result<ada::url_aggregator> base; in CanParse() local 135 base = ada::parse<ada::url_aggregator>( in CanParse() 137 if (!base) { in CanParse() 140 base_pointer = &base.value(); in CanParse() 195 // args[1] // base url in Parse() 203 ada::result<ada::url_aggregator> base; in Parse() local 206 base = ada::parse<ada::url_aggregator>( in Parse() 208 if (!base) { in Parse() 211 base_pointer = &base in Parse() [all...] |
/third_party/node/deps/v8/src/bigint/ |
H A D | tostring.cc | 20 // base-N string representation of a number. To increase accuracy, the array 36 // Raises {base} to the power of {exponent}. Does not check for overflow. 37 digit_t digit_pow(digit_t base, digit_t exponent) { in digit_pow() argument 41 result *= base; in digit_pow() 44 base *= base; in digit_pow() 50 constexpr digit_t digit_pow_rec(digit_t base, digit_t exponent) { in digit_pow_rec() argument 51 return exponent == 1 ? base : base * digit_pow_rec(base, exponen in digit_pow_rec() [all...] |
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-starboard.cc | 9 #include "src/base/lazy-instance.h" 10 #include "src/base/macros.h" 11 #include "src/base/platform/platform.h" 12 #include "src/base/platform/time.h" 13 #include "src/base/timezone-cache.h" 14 #include "src/base/utils/random-number-generator.h" 26 namespace base { namespace 162 // Add the maximum misalignment so we are guaranteed an aligned base address. in Allocate() 165 void* result = base::Allocate(address, request_size, access); in Allocate() 168 // Unmap memory allocated before the aligned base addres in Allocate() [all...] |
/third_party/node/deps/v8/src/torque/ |
H A D | declaration-visitor.cc | 65 base::Optional<Statement*> body) { in CreateBuiltin() 124 TypeVisitor::MakeSignature(decl), base::nullopt); in Visit() 172 TypeVisitor::MakeSignature(decl), base::nullopt, decl->op); in Visit() 190 decl->name->value, decl->export_to_csa, base::nullopt, in Visit() 329 base::Optional<Statement*> body = key.generic->CallableBody(); in SpecializeImplicit() 339 Callable* result = Specialize(key, key.generic->declaration(), base::nullopt, in SpecializeImplicit() 352 base::Optional<const SpecializationDeclaration*> explicit_specialization, in Specialize() 353 base::Optional<Statement*> body, SourcePosition position) { in Specialize()
|
/third_party/mesa3d/src/tool/pps/ |
H A D | pps_datasource.cc | 115 packet->set_timestamp(perfetto::base::GetBootTimeNs().count()); in close_callback() 246 uint64_t cpu_ts = perfetto::base::GetBootTimeNs().count(); in add_timestamp() 269 descriptor_timestamp = perfetto::base::GetBootTimeNs().count(); in trace() 279 descriptor_timestamp = perfetto::base::GetBootTimeNs().count(); in trace() 298 last_correlation_timestamp = perfetto::base::GetBootTimeNs().count(); in trace() 340 uint64_t cpu_ts = perfetto::base::GetBootTimeNs().count(); in trace() 369 auto time_zero = perfetto::base::GetBootTimeNs(); in trace_callback() 374 data_source->time_to_trace = perfetto::base::GetBootTimeNs() - time_zero; in trace_callback()
|
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
H A D | transformation_composite_insert_test.cpp | 40 OpName %12 "base" in TEST() 183 OpName %12 "base" in TEST() 250 OpName %12 "base" in TEST() 301 OpName %12 "base" in TEST() 406 OpName %12 "base" in TEST() 516 OpName %12 "base" in TEST() 650 OpName %12 "base" in TEST() 727 OpName %12 "base" in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
H A D | transformation_composite_insert_test.cpp | 40 OpName %12 "base" in TEST() 183 OpName %12 "base" in TEST() 250 OpName %12 "base" in TEST() 301 OpName %12 "base" in TEST() 406 OpName %12 "base" in TEST() 516 OpName %12 "base" in TEST() 650 OpName %12 "base" in TEST() 727 OpName %12 "base" in TEST()
|
/third_party/tzdata/ |
H A D | strftime.c | 395 int base; in _fmt() local 401 base = TM_YEAR_BASE; in _fmt() 409 len = isleap_sum(year, base) ? in _fmt() 428 ++base; in _fmt() 437 --base; in _fmt() 438 yday += isleap_sum(year, base) ? in _fmt() 454 pt = _yconv(year, base, in _fmt() 457 } else pt = _yconv(year, base, in _fmt()
|
/third_party/python/Modules/_xxtestfuzz/ |
H A D | fuzzer.c | 40 /* Pick a random valid base. (When the fuzzed function takes extra in fuzz_builtin_int() 43 int base = _Py_HashBytes(data, size) % 37; in fuzz_builtin_int() local 44 if (base == 1) { in fuzz_builtin_int() 45 // 1 is the only number between 0 and 36 that is not a valid base. in fuzz_builtin_int() 46 base = 0; in fuzz_builtin_int() 48 if (base == -1) { in fuzz_builtin_int() 51 if (base < 0) { in fuzz_builtin_int() 52 base = -base; in fuzz_builtin_int() 62 PyObject* l = PyLong_FromUnicodeObject(s, base); in fuzz_builtin_int() [all...] |
/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_composite_insert_test.cpp | 40 OpName %12 "base" in TEST() 187 OpName %12 "base" in TEST() 254 OpName %12 "base" in TEST() 305 OpName %12 "base" in TEST() 411 OpName %12 "base" in TEST() 522 OpName %12 "base" in TEST() 658 OpName %12 "base" in TEST() 735 OpName %12 "base" in TEST()
|
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/ |
H A D | compatible_bind_sub_session.c | 128 int32_t result = GetDuplicateAppId(params, &(subSession->base.appId)); in CreateBaseBindSubSession() 134 subSession->base.type = sessionType; in CreateBaseBindSubSession() 135 subSession->base.callback = callback; in CreateBaseBindSubSession() 136 subSession->base.curTaskId = 0; in CreateBaseBindSubSession() 137 subSession->base.status = STATUS_INITIAL; in CreateBaseBindSubSession() 283 ProcessSessionKeyCallback(session->reqId, sessionKey, DEFAULT_RETURN_KEY_LENGTH, session->base.callback); in InformSelfBindSuccess() 295 ProcessFinishCallback(session->reqId, session->opCode, jsonDataStr, session->base.callback); in InformSelfBindSuccess() 371 ((result = SetGroupOwner(session->base.appId, groupParams)) != HC_SUCCESS) || in GenerateGroupParams() 550 if (AddStringToJson(errorData, FIELD_APP_ID, session->base.appId) != HC_SUCCESS) { in InformPeerModuleError() 573 int32_t res = ProcessTask(session->base in ProcessModule() [all...] |
/third_party/gn/src/base/containers/ |
H A D | circular_deque.h | 14 #include "base/containers/vector_buffer.h" 15 #include "base/logging.h" 16 #include "base/template_util.h" 18 // base::circular_deque is similar to std::deque. Unlike std::deque, the 35 // If you want a similar container with only a queue API, use base::queue in 36 // base/containers/queue.h. 116 namespace base { namespace 327 using base = circular_deque_const_iterator<T>; 338 // Expose the base class' constructor. 342 T& operator*() const { return const_cast<T&>(base [all...] |
/third_party/libwebsockets/lib/roles/h2/ |
H A D | ops-h2.c | 410 unsigned char flags = 0, base = (*wp) & 0x1f; in rops_write_role_protocol_h2() local 420 base != LWS_WRITE_HTTP && in rops_write_role_protocol_h2() 421 base != LWS_WRITE_HTTP_FINAL && in rops_write_role_protocol_h2() 422 base != LWS_WRITE_HTTP_HEADERS_CONTINUATION && in rops_write_role_protocol_h2() 423 base != LWS_WRITE_HTTP_HEADERS && lwsi_state(wsi) != LRS_BODY && in rops_write_role_protocol_h2() 429 || base != LWS_WRITE_CLOSE in rops_write_role_protocol_h2() 458 base = (*wp) & 0x1f; in rops_write_role_protocol_h2() 470 if (base == LWS_WRITE_HTTP_HEADERS) { in rops_write_role_protocol_h2() 481 if (base == LWS_WRITE_HTTP_HEADERS_CONTINUATION) { in rops_write_role_protocol_h2() 492 if ((base in rops_write_role_protocol_h2() [all...] |