/fuchsia/zircon/kernel/lib/fbl/include/fbl/ |
H A D | name.h | 25 // Size-sized buffer. 26 template <size_t Size> 30 static_assert(Size >= 1u, "Names must have size > 1"); 50 strlcpy(out_name, name_, min(out_len, Size)); 60 if (len >= Size) 61 len = Size - 1; 65 memset(name_ + len, 0, Size - len); 69 Name& operator=(const Name<Size>& other) { 71 char buffer[Size]; 72 other.get(Size, buffe [all...] |
/fuchsia/zircon/third_party/lib/acpica/source/compiler/ |
H A D | aslsupport.y | 64 unsigned int Size) 70 "\nAslLocalAllocate: Expanding Stack to %u\n\n", Size); 72 Mem = ACPI_ALLOCATE_ZEROED (Size);
|
H A D | aslparser.y | 67 unsigned int Size);
|
/fuchsia/zircon/system/utest/fidl-compiler/ |
H A D | max_bytes_tests.cpp | 182 EXPECT_EQ(one_bool->typeshape.Size(), 1); 187 EXPECT_EQ(two_bools->typeshape.Size(), 2); 192 EXPECT_EQ(bool_and_u32->typeshape.Size(), 8); 197 EXPECT_EQ(bool_and_u64->typeshape.Size(), 16); 211 EXPECT_EQ(one_bool->typeshape.Size(), 16); 216 EXPECT_EQ(two_bools->typeshape.Size(), 16); 221 EXPECT_EQ(bool_and_u32->typeshape.Size(), 16); 226 EXPECT_EQ(bool_and_u64->typeshape.Size(), 16); 240 EXPECT_EQ(one_bool->typeshape.Size(), 8); 245 EXPECT_EQ(two_bools->typeshape.Size(), [all...] |
/fuchsia/zircon/kernel/lib/fbl/ |
H A D | name_tests.cpp | 40 template <size_t Size> 44 // Note on |out| sizes: most tests use Size * 2 to ensure the out buffer is 46 char out[Size * 2]; 49 fbl::Name<Size> name; 58 template <size_t Size> 62 char out[Size * 2]; 65 fbl::Name<Size> name("", 1); 74 template <size_t Size> 78 char out[Size * 2]; 81 fbl::Name<Size> nam [all...] |
/fuchsia/zircon/third_party/lib/acpica/source/components/namespace/ |
H A D | nsnames.c | 100 ACPI_SIZE Size; local 106 Size = AcpiNsBuildNormalizedPath (Node, NULL, 0, FALSE); 107 return (Size); 184 * PathSize - Size of returned path name buffer 217 #define ACPI_PATH_PUT8(Path, Size, Byte, Length) \ 219 if ((Length) < (Size)) \ 317 ACPI_SIZE Size; local 325 Size = AcpiNsBuildNormalizedPath (Node, NULL, 0, NoTrailing); 326 if (!Size) 333 NameBuffer = ACPI_ALLOCATE_ZEROED (Size); [all...] |
/fuchsia/zircon/third_party/lib/acpica/source/components/utilities/ |
H A D | uttrack.c | 73 ACPI_SIZE Size, 92 * ObjectSize - Size of each cached object 130 * PARAMETERS: Size - Size of the allocation 143 ACPI_SIZE Size, 154 if (!Size) 158 Size = 1; 161 Allocation = AcpiOsAllocate (Size + sizeof (ACPI_DEBUG_MEM_HEADER)); 167 "Could not allocate size %u", (UINT32) Size)); 173 Allocation, Size, ACPI_MEM_MALLO 142 AcpiUtAllocateAndTrack( ACPI_SIZE Size, UINT32 Component, const char *Module, UINT32 Line) argument 211 AcpiUtAllocateZeroedAndTrack( ACPI_SIZE Size, UINT32 Component, const char *Module, UINT32 Line) argument 406 AcpiUtTrackAllocation( ACPI_DEBUG_MEM_BLOCK *Allocation, ACPI_SIZE Size, UINT8 AllocType, UINT32 Component, const char *Module, UINT32 Line) argument [all...] |
H A D | utalloc.c | 57 * PARAMETERS: Size - Size of the allocation 69 ACPI_SIZE Size) 77 Allocation = AcpiOsAllocate (Size); 82 memset (Allocation, 0, Size); 68 AcpiOsAllocateZeroed( ACPI_SIZE Size) argument
|
H A D | utobject.c | 249 * PARAMETERS: BufferSize - Size of buffer to be created 309 * PARAMETERS: StringSize - Size of string to be created. Does not 339 * Allocate the actual string buffer -- (Size + 1) for NULL terminator. 453 ACPI_DEBUG_PRINT ((ACPI_DB_ALLOCATIONS, "%p Size %X\n", 517 ACPI_SIZE Size; local 584 Size = AcpiNsGetPathnameLength (InternalObject->Reference.Node); 585 if (!Size) 590 Length += ACPI_ROUND_UP_TO_NATIVE_WORD (Size);
|
H A D | utprint.c | 428 * Size - Boundary of the string 441 ACPI_SIZE Size, 461 End = String + Size; 704 if (Size > 0) 725 * Size - Boundary of the string 737 ACPI_SIZE Size, 746 Length = AcpiUtVsnprintf (String, Size, Format, Args); 439 AcpiUtVsnprintf( char *String, ACPI_SIZE Size, const char *Format, va_list Args) argument 735 AcpiUtSnprintf( char *String, ACPI_SIZE Size, const char *Format, ...) argument
|
/fuchsia/zircon/third_party/lib/acpica/source/include/acpica/platform/ |
H A D | aclinuxex.h | 88 ACPI_SIZE Size) 90 return kmalloc (Size, irqs_disabled () ? GFP_ATOMIC : GFP_KERNEL); 95 ACPI_SIZE Size) 97 return kzalloc (Size, irqs_disabled () ? GFP_ATOMIC : GFP_KERNEL); 154 ACPI_SIZE Size); 87 AcpiOsAllocate( ACPI_SIZE Size) argument 94 AcpiOsAllocateZeroed( ACPI_SIZE Size) argument
|
H A D | acdragonfly.h | 103 #define AcpiOsUnmapMemory(LogicalAddress, Size) \ 104 _AcpiOsUnmapMemory((LogicalAddress), (Size), __func__, __LINE__)
|
/fuchsia/zircon/system/ulib/lockdep/include/lockdep/ |
H A D | guard_multiple.h | 19 template <size_t Size, typename LockType, typename Option = void> 48 for (size_t i = 0; i < Size; i++) 55 for (size_t i = 0; i < Size; i++) { 64 // Size is 2 this has been observed to instantiate as an inline swap. 66 static void InsertionSortPointers(T* (&elements)[Size]) { 68 while (i < Size) { 101 Guard<LockType, Option> guards[Size];
|
/fuchsia/zircon/system/ulib/fbl/include/fbl/ |
H A D | type_info.h | 77 static constexpr size_t Size = Get().kSize; member in class:fbl::TypeInfo 82 : TypeInfo(make_index_sequence<Size>{}) {} 85 : name{(Is < Size - 1 ? BaseName[Offset + Is] : '\0')...} {} 87 const char name[Size];
|
/fuchsia/zircon/third_party/lib/acpica/source/os_specific/service_layers/ |
H A D | oslibcfs.c | 129 * Size - Data block size 142 ACPI_SIZE Size, 148 Length = fread (Buffer, Size, Count, File); 164 * Size - Data block size 177 ACPI_SIZE Size, 183 Length = fwrite (Buffer, Size, Count, File); 139 AcpiOsReadFile( ACPI_FILE File, void *Buffer, ACPI_SIZE Size, ACPI_SIZE Count) argument 174 AcpiOsWriteFile( ACPI_FILE File, void *Buffer, ACPI_SIZE Size, ACPI_SIZE Count) argument
|
H A D | osefixf.c | 287 * PARAMETERS: Size - Amount to allocate, in bytes 297 ACPI_SIZE Size) 304 EfiLoaderData, Size, &Mem); 320 * PARAMETERS: Size - Amount to allocate, in bytes 330 ACPI_SIZE Size) 335 Mem = AcpiOsAllocate (Size); 338 memset (Mem, 0, Size); 494 * Size - Data block size 497 * RETURN: Size of successfully read buffer 507 ACPI_SIZE Size, 296 AcpiOsAllocate( ACPI_SIZE Size) argument 329 AcpiOsAllocateZeroed( ACPI_SIZE Size) argument 504 AcpiOsReadFile( ACPI_FILE File, void *Buffer, ACPI_SIZE Size, ACPI_SIZE Count) argument 597 AcpiOsWriteFile( ACPI_FILE File, void *Buffer, ACPI_SIZE Size, ACPI_SIZE Count) argument [all...] |
/fuchsia/zircon/system/host/fidl/include/fidl/ |
H A D | type_shape.h | 20 uint32_t Size() const { return size_; } function in class:TypeShape 44 uint32_t Size() const { return typeshape_.Size(); } function in class:FieldShape
|
/fuchsia/zircon/system/utest/fbl/include/fbl/tests/intrusive_containers/ |
H A D | sequence_container_test_environment.h | 35 static size_t Size(const CType& container) { function in class:fbl::tests::intrusive_containers::SequenceContainerTestEnvironment 46 EXPECT_EQ(i, Size(container), ""); 87 EXPECT_EQ(OBJ_COUNT, Size(container), ""); 106 EXPECT_EQ(i, Size(container()), ""); 126 EXPECT_EQ(OBJ_COUNT, Size(container()), ""); 152 EXPECT_EQ(remaining, Size(container()), ""); 167 EXPECT_EQ(remaining - 1, Size(container()), ""); 205 EXPECT_EQ(remaining, Size(container()), ""); 220 EXPECT_EQ(remaining - 1, Size(container()), ""); 257 EXPECT_EQ(remaining, Size(containe [all...] |
H A D | base_test_environments.h | 182 static size_t Size(const CType& container) { function in class:fbl::tests::intrusive_containers::TestEnvironment 222 EXPECT_EQ(0u, Size(container()), ""); 257 EXPECT_EQ(0u, Size(container()), ""); 295 EXPECT_EQ(remaining, Size(container()), ""); 315 EXPECT_EQ(remaining - 1, Size(container()), ""); 346 EXPECT_EQ(0u, Size(container()), ""); 368 EXPECT_EQ(0u, Size(container()), ""); 390 EXPECT_EQ(0u, Size(container()), ""); 408 EXPECT_EQ(0u, Size(container()), ""); 421 EXPECT_EQ(0u, Size(containe [all...] |
/fuchsia/zircon/system/ulib/blobfs/include/blobfs/ |
H A D | lz4.h | 28 size_t Size() const;
|
/fuchsia/zircon/third_party/lib/acpica/source/tools/acpisrc/ |
H A D | asfile.c | 718 UINT32 Size; local 734 Size = CmGetFileSize (File); 735 if (Size == ACPI_UINT32_MAX) 745 Gbl_TotalSize += Size; 747 Buffer = calloc (Size * 2, 1); 750 printf ("Could not allocate buffer of size %u\n", Size * 2); 756 Actual = fread (Buffer, 1, Size, File); 757 if (Actual != Size) 760 Filename, Size); 764 Buffer [Size] [all...] |
/fuchsia/zircon/third_party/lib/acpica/source/tools/acpibin/ |
H A D | abcompare.c | 109 * Length - Size of the buffer 500 UINT32 Size; local 516 Size = CmGetFileSize (File); 517 if (Size == ACPI_UINT32_MAX) 525 Buffer = calloc (Size, 1); 528 printf ("Could not allocate buffer of size %u\n", Size); 534 Actual = fread (Buffer, 1, Size, File); 535 if (Actual != Size) 543 *FileSize = Size;
|
/fuchsia/zircon/third_party/lib/acpica/source/include/acpica/ |
H A D | acpiosxf.h | 235 ACPI_SIZE Size); 241 ACPI_SIZE Size); 261 ACPI_SIZE Size); 576 ACPI_SIZE Size, 585 ACPI_SIZE Size,
|
/fuchsia/zircon/system/private/efi/protocol/ |
H A D | file.h | 39 uint64_t Size; member in struct:__anon592 54 uint64_t Size; member in struct:__anon593
|
/fuchsia/zircon/system/host/fidl/lib/ |
H A D | json_generator.cpp | 273 if (type->element_count.Value() < flat::Size::Max().Value()) 280 if (type->max_size.Value() < flat::Size::Max().Value()) 387 GenerateObjectMember("maybe_request_size", value.maybe_request->typeshape.Size()); 394 GenerateObjectMember("maybe_response_size", value.maybe_response->typeshape.Size()); 405 GenerateObjectMember("size", value.fieldshape.Size()); 417 GenerateObjectMember("size", value.typeshape.Size()); 431 GenerateObjectMember("size", value.fieldshape.Size()); 444 GenerateObjectMember("size", value.typeshape.Size()); 461 GenerateObjectMember("size", value.maybe_used->typeshape.Size()); 476 GenerateObjectMember("size", value.typeshape.Size()); [all...] |