/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/net/ |
H A D | psock_tpacket.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 * - TPACKET_V1: RX_RING, TX_RING 21 * - TPACKET_V2: RX_RING, TX_RING 22 * - TPACKET_V3: RX_RING 67 #define ALIGN_8(x) (((x) + 8 - 1) & ~(8 - 1)) 96 } *v2; member 105 if (sock == -1) { in pfsocket() 111 if (ret == -1) { in pfsocket() 137 if (eth->h_proto != htons(ETH_P_IP)) { in test_payload() 139 "type: 0x%x!\n", ntohs(eth->h_proto)); in test_payload() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/distrib/ |
D | fix_build_deps.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 148 'google/devtools/cloudtrace/v2/tracing.grpc.pb.h': 150 'google/logging/v2/logging.grpc.pb.h': 152 'google/logging/v2/logging.pb.h': 154 'google/logging/v2/log_entry.pb.h': 163 'opencensus-stats-stackdriver_exporter', 165 'opencensus-trace-stackdriver_exporter', 167 'opencensus-trace-context_util', 169 'opencensus-trace-propagation', 171 'opencensus-tags-context_util', [all …]
|
/aosp_15_r20/external/grpc-grpc/tools/distrib/ |
H A D | fix_build_deps.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 121 "google/devtools/cloudtrace/v2/tracing.grpc.pb.h": ( 124 "google/logging/v2/logging.grpc.pb.h": "googleapis_logging_grpc_service", 125 "google/logging/v2/logging.pb.h": "googleapis_logging_cc_proto", 126 "google/logging/v2/log_entry.pb.h": "googleapis_logging_cc_proto", 133 "opencensus-stats-stackdriver_exporter" 136 "opencensus-trace-stackdriver_exporter" 138 "opencensus/trace/context_util.h": "opencensus-trace-context_util", 140 "opencensus-trace-propagation" 142 "opencensus/tags/context_util.h": "opencensus-tags-context_util", [all …]
|
/aosp_15_r20/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | astcenc_color_unquantize.cpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // ---------------------------------------------------------------------------- 3 // Copyright 2011-2021 Arm Limited 9 // http://www.apache.org/licenses/LICENSE-2.0 16 // ---------------------------------------------------------------------------- 41 const uint8_t* unq = color_unquant_tables[quant_level - QUANT_6]; in unquant_color() 50 * @param value The value to convert. This may be outside of the 0-255 range and will be 60 return color_unquant_tables[quant_level - QUANT_6][value]; in unquant_color() 64 * @brief Un-blue-contract a color. 68 * @param input The input color that has been blue-contracted. [all …]
|
/aosp_15_r20/external/wpa_supplicant_8/src/ap/ |
H A D | dpp_hostapd.c | 4 * Copyright (c) 2018-2020, The Linux Foundation 5 * Copyright (c) 2021-2022, Qualcomm Innovation Center, Inc. 51 * hostapd_dpp_qr_code - Parse and add DPP bootstrapping info from a QR Code 54 * Returns: Identifier of the stored info or -1 on failure 59 struct dpp_authentication *auth = hapd->dpp_auth; in hostapd_dpp_qr_code() 61 bi = dpp_add_qr_code(hapd->iface->interfaces->dpp, cmd); in hostapd_dpp_qr_code() 63 return -1; in hostapd_dpp_qr_code() 65 if (auth && auth->response_pending && in hostapd_dpp_qr_code() 69 wpa_msg(hapd->msg_ctx, MSG_INFO, DPP_EVENT_TX "dst=" MACSTR in hostapd_dpp_qr_code() 71 MAC2STR(auth->peer_mac_addr), auth->curr_freq, in hostapd_dpp_qr_code() [all …]
|
/aosp_15_r20/external/mesa3d/src/freedreno/decode/ |
H A D | pgmdump.c | 3 * SPDX-License-Identifier: MIT 137 } v2; member 218 struct pgm_header *hdr; member 240 uint8_t *end = ptr + sz - 3; in find_sect_end() 262 char *end = find_sect_end(state->buf, state->sz); in next_sect() 268 *sect_size = end - state->buf; in next_sect() 272 memcpy(sect, state->buf, *sect_size); in next_sect() 274 state->sz -= *sect_size + 4; in next_sect() 275 state->buf = end + 4; in next_sect() 305 printf("\tR%d, CONST(%d): %s\n", attrib->reg, attrib->const_idx, in dump_attribute() [all …]
|
/aosp_15_r20/hardware/google/graphics/common/include/displaycolor/ |
D | displaycolor.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 42 * 7.0.0.2022-03-22 Interface refactor 43 * 6.2.0.2022-05-18 Get calibrated serial number. 44 * 6.1.0.2022-04-29 dim solid color layer 45 * 6.0.0.2022-02-22 Get whether dimming in linear. 46 * 5.0.0.2022-02-17 Add layer dim ratio. 47 * 4.0.0.2021-12-20 Get pixel format and dataspace of blending stage. 48 * 3.0.0.2021-11-18 calibration info intf 49 * 2.0.0.2021-08-27 pass brightness table for hdr10+ 50 * 1.0.0.2021-08-25 Initial release [all …]
|
/aosp_15_r20/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/ |
D | Astc.comp | 7 // http://www.apache.org/licenses/LICENSE-2.0 39 // HDR CEM: 2, 3, 7, 11, 14, 15 152 uint bitMask = (1 << bitCount) - 1; 153 if (firstIdx == ((bitStart + bitCount - 1) / 32)) { 154 return (u[3 - firstIdx] >> firstOffset) & bitMask; 156 uint firstCount = 32 - firstOffset; 157 uint ret = u[3 - firstIdx - 1] << firstCount; 158 ret |= ((u[3 - firstIdx] >> firstOffset) & ((1 << firstCount) - 1)); 167 return bits128(u, bitStart, min(bitEnd - bitStart, bitCount)); 226 uint bitMask = (1 << n) - 1; [all …]
|
/aosp_15_r20/system/tools/mkbootimg/rust/ |
D | bootimg.rs | 7 // http://www.apache.org/licenses/LICENSE-2.0 32 V2(LayoutVerified<B, boot_img_hdr_v2>), enumerator 57 /// Catch-all for remaining errors. 62 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() 76 fn parse_header<B: ByteSlice + PartialEq, T>(buffer: B) -> BootResult<LayoutVerified<B, T>> { in parse_header() 81 /// Given a byte buffer, attempt to parse the contents and return a zero-copy reference 85 /// * `buffer` - buffer to parse 89 /// * `Ok(BootImage)` - if parsing was successful. 90 /// * `Err(ImageError)` - if `buffer` does not contain a valid boot image header. 101 pub fn parse(buffer: B) -> BootResult<Self> { in parse() [all …]
|
/aosp_15_r20/bootable/libbootloader/gbl/libgbl/src/android_boot/ |
H A D | mod.rs | 7 // http://www.apache.org/licenses/LICENSE-2.0 46 /// A helper to convert a bytes slice containing a null-terminated string to `str` 47 fn cstr_bytes_to_str(data: &[u8]) -> core::result::Result<&str, Error> { in cstr_bytes_to_str() 58 /// * `ops`: [GblOps] providing device-specific backend. 74 ) -> Result<()> { in avb_verify_slot() 99 // TODO(b/337846185): For demo, we use the same setting as Cuttlefish u-boot. in avb_verify_slot() 133 hdr: &BootImage<B>, in boot_header_elements() 134 ) -> Result<(usize, &str, usize, usize, usize, usize)> { in boot_header_elements() 136 Ok(match hdr { in boot_header_elements() 137 BootImage::V2(ref hdr) => ( in boot_header_elements() [all …]
|
/aosp_15_r20/external/tcpdump/ |
H A D | print-udp.c | 28 #include "netdissect-stdinc.h" 61 ntp64 sr_ntp; /* 64-bit ntp timestamp */ 69 * Time stamps are middle 32-bits of ntp timestamp. 96 vat_print(netdissect_options *ndo, const u_char *hdr, u_int length) in vat_print() argument 101 ndo->ndo_protocol = "vat"; in vat_print() 106 ts = GET_BE_U_2(hdr); in vat_print() 120 i0 = GET_BE_U_4(&((const u_int *)hdr)[0]); in vat_print() 121 i1 = GET_BE_U_4(&((const u_int *)hdr)[1]); in vat_print() 123 length - 8, in vat_print() 135 rtp_print(netdissect_options *ndo, const u_char *hdr, u_int len) in rtp_print() argument [all …]
|
/aosp_15_r20/external/wpa_supplicant_8/src/common/ |
H A D | dpp.h | 4 * Copyright (c) 2018-2020, The Linux Foundation 5 * Copyright (c) 2021-2022, Qualcomm Innovation Center, Inc. 121 /* DPP Reconfig Flags object - connectorKey values */ 137 /* DPP Configuration Request - Enrollee Capabilities */ 210 unsigned int v2:1; member 392 struct wpabuf *priv_key; /* DER-encoded private key used for csr */ 612 unsigned int freq, const u8 *hdr, const u8 *attr_start, 615 dpp_auth_resp_rx(struct dpp_authentication *auth, const u8 *hdr, 625 int dpp_auth_conf_rx(struct dpp_authentication *auth, const u8 *hdr, 654 const u8 *hdr, [all …]
|
H A D | dpp_backup.c | 3 * Copyright (c) 2019-2020, The Linux Foundation 23 struct dpp_asymmetric_key *next = key->next; in dpp_free_asymmetric_key() 25 crypto_ec_key_deinit(key->csign); in dpp_free_asymmetric_key() 26 crypto_ec_key_deinit(key->pp_key); in dpp_free_asymmetric_key() 27 str_clear_free(key->config_template); in dpp_free_asymmetric_key() 28 str_clear_free(key->connector_template); in dpp_free_asymmetric_key() 40 …const char *conf_template = "{\"wi-fi_tech\":\"infra\",\"discovery\":{\"ssid\":\"test\"},\"cred\":… in dpp_build_conf_params() 43 if (!conf->pp_key) in dpp_build_conf_params() 46 priv_key = crypto_ec_key_get_ecprivate_key(conf->pp_key, false); in dpp_build_conf_params() 85 * aa-DPPConfigurationParameters ATTRIBUTE ::= in dpp_build_attribute() [all …]
|
H A D | dpp_pkex.c | 4 * Copyright (c) 2018-2020, The Linux Foundation 30 bool v2) in dpp_pkex_build_exchange_req() argument 37 const struct dpp_curve_params *curve = pkex->own_bi->curve; in dpp_pkex_build_exchange_req() 40 v2 ? "" : "Version 1 "); in dpp_pkex_build_exchange_req() 42 /* Qi = H([MAC-Initiator |] [identifier |] code) * Pi */ in dpp_pkex_build_exchange_req() 43 Qi = dpp_pkex_derive_Qi(curve, v2 ? NULL : pkex->own_mac, pkex->code, in dpp_pkex_build_exchange_req() 44 pkex->code_len, pkex->identifier, &ec); in dpp_pkex_build_exchange_req() 54 "DPP: TESTING - override ephemeral key x/X"); in dpp_pkex_build_exchange_req() 55 pkex->x = dpp_set_keypair(&tmp_curve, in dpp_pkex_build_exchange_req() 59 pkex->x = dpp_gen_keypair(curve); in dpp_pkex_build_exchange_req() [all …]
|
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/ |
D | transcoder_v1.projects.locations.jobTemplates.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
D | transcoder_v1.projects.locations.jobs.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
D | transcoder_v1beta1.projects.locations.jobTemplates.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
/aosp_15_r20/trusty/user/base/app/apploader/tests/ |
D | apploader_test.c | 8 * http://www.apache.org/licenses/LICENSE-2.0 32 #define TLOG_TAG "apploader-unittest" 50 struct apploader_header hdr = { in make_request() local 53 struct iovec req_iov[2] = {{&hdr, sizeof(hdr)}, {req, req_size}}; in make_request() 63 ASSERT_EQ(rc, (ssize_t)sizeof(hdr) + (ssize_t)req_size); in make_request() 87 ASSERT_EQ(resp.hdr.cmd, cmd | APPLOADER_RESP_BIT); in make_request() 105 ptrdiff_t app_size = app_end - app_start; in load_test_app() 205 _state->channel = (handle_t)rc; in TEST_F_SETUP() 206 ASSERT_GE(_state->channel, 0); in TEST_F_SETUP() 212 close(_state->channel); in TEST_F_TEARDOWN() [all …]
|
/aosp_15_r20/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | dpp_supplicant.c | 2 * wpa_supplicant - DPP 4 * Copyright (c) 2018-2020, The Linux Foundation 5 * Copyright (c) 2021-2022, Qualcomm Innovation Center, Inc. 71 * wpas_dpp_qr_code - Parse and add DPP bootstrapping info from a QR Code 74 * Returns: Identifier of the stored info or -1 on failure 79 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_qr_code() 81 bi = dpp_add_qr_code(wpa_s->dpp, cmd); in wpas_dpp_qr_code() 83 return -1; in wpas_dpp_qr_code() 85 if (auth && auth->response_pending && in wpas_dpp_qr_code() 91 MAC2STR(auth->peer_mac_addr), auth->curr_freq, in wpas_dpp_qr_code() [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | TarWriter.cpp | 1 //===-- TarWriter.cpp - Tar archive file creator --------------------------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 // class because we don't need a full-fledged archive file generator in LLVM 17 // POSIX.1-2001. 22 //===----------------------------------------------------------------------===// 57 UstarHeader Hdr = {}; in makeUstarHeader() local 58 memcpy(Hdr.Magic, "ustar", 5); // Ustar magic in makeUstarHeader() 59 memcpy(Hdr.Version, "00", 2); // Ustar version in makeUstarHeader() [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Support/ |
H A D | TarWriter.cpp | 1 //===-- TarWriter.cpp - Tar archive file creator --------------------------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 // class because we don't need a full-fledged archive file generator in LLVM 17 // POSIX.1-2001. 22 //===----------------------------------------------------------------------===// 57 UstarHeader Hdr = {}; in makeUstarHeader() local 58 memcpy(Hdr.Magic, "ustar", 5); // Ustar magic in makeUstarHeader() 59 memcpy(Hdr.Version, "00", 2); // Ustar version in makeUstarHeader() [all …]
|
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/UDK2017/MdePkg/Include/IndustryStandard/ |
H A D | SmBios.h | 4 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> 5 (C) Copyright 2015-2017 Hewlett Packard Enterprise Development LP<BR> 9 http://opensource.org/licenses/bsd-license.php. 21 /// For v2.1 and later, handle values in the range 0FF00h to 0FFFFh are reserved for 104 /// Upper-level software that interprets the SMBIOS structure-table should bypass an 110 /// End-of-table type is added from SMBIOS 2.2. Reference SMBIOS 2.6, chapter 3.3.44. 111 /// The end-of-table indicator is used in the last physical structure in a table 120 /// specification. Types 128 through 256 (80h to FFh) are available for system- and OEM-specific in… 125 /// Specifies the structure's handle, a unique 16-bit number in the range 0 to 0FFFEh (for version 128 /// contiguous. For v2.1 and later, handle values in the range 0FF00h to 0FFFFh are reserved for [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/ |
H A D | GsymReader.cpp | 1 //===- GsymReader.cpp -----------------------------------------------------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 63 BinaryStreamReader FileData(MemBuffer->getBuffer(), in parse() 68 if (FileData.readObject(Hdr)) in parse() 73 switch (Hdr->Magic) { in parse() 90 DataExtractor Data(MemBuffer->getBuffer(), DataIsLittleEndian, 4); in parse() 92 Swap->Hdr = ExpectedHdr.get(); in parse() 95 Hdr = &Swap->Hdr; in parse() [all …]
|
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202111/MdePkg/Include/IndustryStandard/ |
H A D | SmBios.h | 4 Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR> 5 (C) Copyright 2015-2017 Hewlett Packard Enterprise Development LP<BR> 6 (C) Copyright 2015 - 2019 Hewlett Packard Enterprise Development LP<BR> 7 SPDX-License-Identifier: BSD-2-Clause-Patent 16 /// For v2.1 and later, handle values in the range 0FF00h to 0FFFFh are reserved for 100 /// Upper-level software that interprets the SMBIOS structure-table should bypass an 106 /// End-of-table type is added from SMBIOS 2.2. Reference SMBIOS 2.6, chapter 3.3.44. 107 /// The end-of-table indicator is used in the last physical structure in a table 116 /// specification. Types 128 through 256 (80h to FFh) are available for system- and OEM-specific in… 121 /// Specifies the structure's handle, a unique 16-bit number in the range 0 to 0FFFEh (for version [all …]
|
/aosp_15_r20/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202005/MdePkg/Include/IndustryStandard/ |
H A D | SmBios.h | 4 Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> 5 (C) Copyright 2015-2017 Hewlett Packard Enterprise Development LP<BR> 6 (C) Copyright 2015 - 2019 Hewlett Packard Enterprise Development LP<BR> 7 SPDX-License-Identifier: BSD-2-Clause-Patent 16 /// For v2.1 and later, handle values in the range 0FF00h to 0FFFFh are reserved for 100 /// Upper-level software that interprets the SMBIOS structure-table should bypass an 106 /// End-of-table type is added from SMBIOS 2.2. Reference SMBIOS 2.6, chapter 3.3.44. 107 /// The end-of-table indicator is used in the last physical structure in a table 116 /// specification. Types 128 through 256 (80h to FFh) are available for system- and OEM-specific in… 121 /// Specifies the structure's handle, a unique 16-bit number in the range 0 to 0FFFEh (for version [all …]
|