Lines Matching +full:ascii +full:- +full:based

9 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
10 Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
11 SPDX-License-Identifier: BSD-2-Clause-Patent
137 // Static Analyzers may issue errors about potential NULL-dereferences when
139 // NULL-check. This may lead to false positives, such as when using ASSERT()
230 /// 4-byte buffer. An IPv4 internet protocol address.
237 /// 16-byte buffer. An IPv6 internet protocol address.
244 // 8-bytes unsigned value that represents a physical system address.
266 /// Datum is read-only.
343 #define MIN_INT8 (((INT8) -127) - 1)
344 #define MIN_INT16 (((INT16) -32767) - 1)
345 #define MIN_INT32 (((INT32) -2147483647) - 1)
346 #define MIN_INT64 (((INT64) -9223372036854775807LL) - 1)
529 // VA_LIST - typedef for argument list.
530 // VA_START (VA_LIST Marker, argument before the ...) - Init Marker for use.
531 // VA_END (VA_LIST Marker) - Clear Marker
532 // VA_ARG (VA_LIST Marker, var arg type) - Use Marker to get an argument from
536 // VA_COPY (VA_LIST Dest, VA_LIST Start) - Initialize Dest as a copy of Start.
567 // - Functions that call VA_START() / VA_END() must have a variable
569 // - Functions that call VA_COPY() / VA_END() must be declared EFIAPI.
570 // - Functions that only use VA_LIST and VA_ARG() need not be EFIAPI.
580 #define _INT_SIZE_OF(n) ((sizeof (n) + sizeof (UINTN) - 1) &~(sizeof (UINTN) - 1))
620 … (*(TYPE *) ((Marker += _INT_SIZE_OF (TYPE) + ((-(INTN)Marker) & (sizeof(TYPE) - 1))) - _…
628 // X64 only. Use MS ABI version of GCC built-in macros for variable argument lists.
650 // Use GCC built-in macros for variable argument lists.
677 Retrieves a pointer to the beginning of a variable argument list, based on
682 pointer to the next argument in the argument list is CPU-specific following the
701 pointer to the next argument in the argument list is CPU-specific following the EFIAPI ABI.
710 #define VA_ARG(Marker, TYPE) (*(TYPE *) ((Marker += _INT_SIZE_OF (TYPE)) - _INT_SIZE_OF (TYPE)))
751 #define _BASE_INT_SIZE_OF(TYPE) ((sizeof (TYPE) + sizeof (UINTN) - 1) / sizeof (UINTN))
769 #define BASE_ARG(Marker, TYPE) (*(TYPE *) ((Marker += _BASE_INT_SIZE_OF (TYPE)) - _BASE_INT_SIZE_…
789 #define OFFSET_OF(TYPE, Field) ((UINTN) &(((TYPE *)0)->Field))
867 #define BASE_CR(Record, TYPE, Field) ((TYPE *) ((CHAR8 *) (Record) - OFFSET_OF (TYPE, Field)))
881 #define ALIGN_VALUE(Value, Alignment) ((Value) + (((Alignment) - (Value)) & ((Alignment) - 1)))
900 This is 4-bytes for 32-bit CPUs and 8-bytes for 64-bit CPUs.
955 (((a) < 0) ? (-(a)) : (a))
1201 /// The resulting buffer contains UEFI-compliant file system.
1207 Returns a 16-bit signature built from 2 ASCII characters.
1209 This macro returns a 16-bit value built from the two ASCII characters specified
1212 @param A The first ASCII character.
1213 @param B The second ASCII character.
1215 @return A 16-bit value built from the two ASCII characters specified by A and B.
1221 Returns a 32-bit signature built from 4 ASCII characters.
1223 This macro returns a 32-bit value built from the four ASCII characters specified
1226 @param A The first ASCII character.
1227 @param B The second ASCII character.
1228 @param C The third ASCII character.
1229 @param D The fourth ASCII character.
1231 @return A 32-bit value built from the two ASCII characters specified by A, B,
1238 Returns a 64-bit signature built from 8 ASCII characters.
1240 This macro returns a 64-bit value built from the eight ASCII characters specified
1243 @param A The first ASCII character.
1244 @param B The second ASCII character.
1245 @param C The third ASCII character.
1246 @param D The fourth ASCII character.
1247 @param E The fifth ASCII character.
1248 @param F The sixth ASCII character.
1249 @param G The seventh ASCII character.
1250 @param H The eighth ASCII character.
1252 @return A 64-bit value built from the two ASCII characters specified by A, B,
1265 Based on intrinsic function _ReturnAddress that provides the address of
1280 Based on built-in Function __builtin_return_address that returns