/freebsd/sys/contrib/device-tree/src/arm64/arm/ |
H A D | juno-r1.dts | 21 #size-cells = <2>; 38 #size-cells = <0>; 93 i-cache-size = <0xc000>; 94 i-cache-line-size = <64>; 96 d-cache-size = <0x8000>; 110 i-cache-size = <0xc000>; 113 d-cache-size = <0x8000>; 127 i-cache-size = <0x8000>; 130 d-cache-size = <0x8000>; 194 cache-line-size = <64>; [all …]
|
H A D | juno-r2.dts | 21 #size-cells = <2>; 38 #size-cells = <0>; 93 i-cache-size = <0xc000>; 94 i-cache-line-size = <64>; 96 d-cache-size = <0x8000>; 97 d-cache-line-size = <64>; 111 i-cache-size = <0xc000>; 114 d-cache-size = <0x8000>; 129 i-cache-size = <0x8000>; 132 d-cache-size = <0x8000>; [all …]
|
H A D | juno.dts | 20 #size-cells = <2>; 37 #size-cells = <0>; 92 i-cache-size = <0xc000>; 93 i-cache-line-size = <64>; 95 d-cache-size = <0x8000>; 96 d-cache-line-size = <64>; 110 i-cache-size = <0xc000>; 113 d-cache-size = <0x8000>; 128 i-cache-size = <0x8000>; 131 d-cache-size = <0x8000>; [all …]
|
/freebsd/sys/ddb/ |
H A D | db_access.c | 53 db_get_value(db_addr_t addr, int size, bool is_signed) in db_get_value() argument 59 if (db_read_bytes(addr, size, data) != 0) { in db_get_value() 67 for (i = 0; i < size; i++) in db_get_value() 69 for (i = size - 1; i >= 0; i--) in db_get_value() 75 if (size < 4) { in db_get_value() 76 if (is_signed && (value & db_extend[size]) != 0) in db_get_value() 77 value |= db_extend[size]; in db_get_value() 83 db_put_value(db_addr_t addr, int size, db_expr_t value) in db_put_value() argument 89 for (i = size - 1; i >= 0; i--) in db_put_value() 91 for (i = 0; i < size; i++) in db_put_value() [all …]
|
/freebsd/sys/dev/drm2/ |
H A D | drm_buffer.c | 46 int nr_pages = size / PAGE_SIZE + 1; in drm_buffer_alloc() 57 size, nr_pages); in drm_buffer_alloc() 61 (*buf)->size = size; in drm_buffer_alloc() 66 malloc(min(PAGE_SIZE, size - idx * PAGE_SIZE), in drm_buffer_alloc() 73 idx + 1, size, nr_pages); in drm_buffer_alloc() 103 void __user *user_data, int size) in drm_buffer_copy_from_user() argument 105 int nr_pages = size / PAGE_SIZE + 1; in drm_buffer_copy_from_user() 108 if (size > buf->size) { in drm_buffer_copy_from_user() 111 size, buf->size); in drm_buffer_copy_from_user() 119 min(PAGE_SIZE, size - idx * PAGE_SIZE))) { in drm_buffer_copy_from_user() [all …]
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_read_filter_uudecode.c | 80 size_t size; in test_read_uu_sub() local 99 size = extra * 1024; in test_read_uu_sub() 102 while (size) { in test_read_uu_sub() 103 if (size > sizeof(extradata)-1) { in test_read_uu_sub() 106 size -= sizeof(extradata)-1; in test_read_uu_sub() 108 memcpy(p, extradata_ptr, size-1); in test_read_uu_sub() 109 p += size-1; in test_read_uu_sub() 116 size = extra * 1024 + uusize; in test_read_uu_sub() 143 size = 512 * 1024; in test_read_uu_sub() 146 buff[size - 1] = '\n'; in test_read_uu_sub() [all …]
|
/freebsd/usr.sbin/nscd/agents/ |
H A D | passwd.c | 50 size_t desired_size, size; in passwd_marshal_func() local 80 size = strlen(new_pwd.pw_name); in passwd_marshal_func() 83 p += size + 1; in passwd_marshal_func() 90 p += size + 1; in passwd_marshal_func() 97 p += size + 1; in passwd_marshal_func() 104 p += size + 1; in passwd_marshal_func() 108 size = strlen(new_pwd.pw_dir); in passwd_marshal_func() 111 p += size + 1; in passwd_marshal_func() 118 p += size + 1; in passwd_marshal_func() 132 size_t size; in passwd_lookup_func() local [all …]
|
/freebsd/sbin/zfsbootcfg/ |
H A D | zfsbootcfg.c | 48 size_t size; in add_pair() local 68 size = sizeof (v); in add_pair() 76 size = sizeof (v); in add_pair() 84 size = sizeof (v); in add_pair() 92 size = sizeof (v); in add_pair() 100 size = sizeof (v); in add_pair() 108 size = sizeof (v); in add_pair() 116 size = sizeof (v); in add_pair() 124 size = sizeof (v); in add_pair() 132 size = sizeof (v); in add_pair() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/ |
H A D | mop.cpp | 55 void testw(int size) { in testw() argument 56 switch (size) { in testw() 65 int size = 8; in main() local 68 size = atoi(argv[1]); in main() 69 if (size != 1 && size != 2 && size != 4 && size != 8) in main() 70 size = 8; in main() 74 printf("%s%d\n", write ? "write" : "read", size); in main() 76 testw<true>(size); in main() 78 testw<false>(size); in main()
|
/freebsd/contrib/netbsd-tests/include/sys/ |
H A D | t_types.c | 51 ssize_t size; in ATF_TC_BODY() local 60 size = SSIZE_MAX; in ATF_TC_BODY() 61 ATF_REQUIRE(size > 0); in ATF_TC_BODY() 63 size = size + 1; in ATF_TC_BODY() 64 ATF_REQUIRE(size < 0); in ATF_TC_BODY() 87 ssize_t size; in ATF_TC_BODY() local 99 size = 0; in ATF_TC_BODY() 105 ATF_CHECK((size - 1) <= 0); in ATF_TC_BODY() 119 size_t size; in ATF_TC_BODY() local 127 size = 0; in ATF_TC_BODY() [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_wrapper_malloc.h | 165 #define malloc(size) _malloc_dbg((size), KMP_MEM_BLOCK, __FILE__, __LINE__) argument 166 #define calloc(num, size) \ argument 167 _calloc_dbg((num), (size), KMP_MEM_BLOCK, __FILE__, __LINE__) 168 #define realloc(ptr, size) \ argument 169 _realloc_dbg((ptr), (size), KMP_MEM_BLOCK, __FILE__, __LINE__) 172 #define _malloc_src_loc(size, file, line) \ argument 173 _malloc_dbg((size), KMP_MEM_BLOCK, (file), (line)) 180 #define _malloc_src_loc(size, file, line) malloc((size)) argument 189 #define _malloc_src_loc(size) malloc((size)) argument
|
/freebsd/sys/kern/ |
H A D | kern_xxx.c | 167 size_t size; in ogetkerninfo() local 179 0, 0, 0, &size, 0); in ogetkerninfo() 188 0, 0, 0, &size, 0); in ogetkerninfo() 195 0, 0, 0, &size, 0); in ogetkerninfo() 257 size = needed; in ogetkerninfo() 262 if ((error = copyin(uap->size, &size, sizeof(size))) != 0) in ogetkerninfo() 266 if (size > needed) in ogetkerninfo() 267 size = needed; in ogetkerninfo() 270 left = size; in ogetkerninfo() 290 if (uap->size) { in ogetkerninfo() [all …]
|
H A D | subr_memdesc.c | 57 while (size > 0) { in phys_copyback() 61 size -= todo; in phys_copyback() 87 todo = size; in vlist_copyback() 95 size -= todo; in vlist_copyback() 119 todo = size; in plist_copyback() 127 size -= todo; in plist_copyback() 209 size -= todo; in phys_copydata() 235 todo = size; in vlist_copydata() 243 size -= todo; in vlist_copydata() 267 todo = size; in plist_copydata() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | BreakableToken.cpp | 54 return Lhs.size() > Rhs.size(); in getLineCommentIndentPrefix() 276 Prefix.size(), Tok.TokenText.size() - Prefix.size() - Postfix.size()); in BreakableStringLiteral() 496 Content.resize(Lines.size()); in BreakableBlockComment() 501 Tokens.resize(Lines.size()); in BreakableBlockComment() 846 return Split(TrimmedLine.size(), Line.size() - TrimmedLine.size()); in getSplitAfterLastLine() 886 Tokens.resize(Lines.size()); in BreakableLineCommentSection() 898 assert(Lines[i].size() > IndentPrefix.size()); in BreakableLineCommentSection() 929 if (SpacesInPrefix < Minimum && Lines[i].size() > IndentPrefix.size() && in BreakableLineCommentSection() 941 if (Lines[i].size() != IndentPrefix.size()) { in BreakableLineCommentSection() 949 assert(Lines[i].size() > IndentPrefix.size()); in BreakableLineCommentSection() [all …]
|
/freebsd/contrib/sendmail/src/ |
H A D | udb.c | 219 key.size = keylen; 286 size = info.size; 293 usersize += size; 294 userleft += size; 363 key.size = keylen; 393 key.size = keylen; 495 key.size = keylen; 655 key.size = keylen; 681 key.size = keylen; 756 key.size = keylen; [all …]
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | OutputSections.cpp | 72 shdr->sh_size = size; in writeHeaderTo() 259 return Out::elfHeader->size + Out::programHeaders->size; in getHeaderSize() 270 if (size == 0) in nopInstrFill() 273 if (size == 0) in nopInstrFill() 276 unsigned num = size / nopFiller.back().size(); in nopInstrFill() 378 zob.size = out.size(); in maybeCompress() 388 size = sizeof(Elf_Chdr) + out.size(); in maybeCompress() 422 size += shardsOut[i].size(); in maybeCompress() 435 if (size == 1) in writeInt() 437 else if (size == 2) in writeInt() [all …]
|
/freebsd/contrib/libcbor/oss-fuzz/ |
H A D | cbor_load_fuzzer.cc | 12 void *limited_malloc(size_t size) { in limited_malloc() argument 13 if (size + allocated_mem > kMemoryLimit) { in limited_malloc() 16 if (size == 0) { in limited_malloc() 19 void* m = malloc(size); in limited_malloc() 21 allocated_mem += size; in limited_malloc() 22 allocated_len_map[m] = size; in limited_malloc() 43 return limited_malloc(size); in limited_realloc() 49 void* new_ptr = realloc(ptr, size); in limited_realloc() 50 if (size > 0 && new_ptr == nullptr) { in limited_realloc() 55 if (size > 0) { in limited_realloc() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | asan_interface.h | 35 size_t size); 50 size_t size); 69 #define ASAN_POISON_MEMORY_REGION(addr, size) \ argument 70 __asan_poison_memory_region((addr), (size)) 79 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) \ argument 80 __asan_unpoison_memory_region((addr), (size)) 82 #define ASAN_POISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument 83 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument 107 void *SANITIZER_CDECL __asan_region_is_poisoned(void *beg, size_t size); 222 size_t size, int *thread_id); [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | fsl-lx2162a-qds.dts | 38 #size-cells = <0>; 43 #size-cells = <0>; 55 #size-cells = <0>; 67 #size-cells = <0>; 73 #size-cells = <0>; 79 #size-cells = <0>; 85 #size-cells = <0>; 91 #size-cells = <0>; 97 #size-cells = <0>; 103 #size-cells = <0>; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | ConvertUTFWrapper.cpp | 30 memcpy(ResultPtr, Source.data(), Source.size()); in ConvertUTF8toWide() 31 ResultPtr += Source.size(); in ConvertUTF8toWide() 88 if (SrcBytes.size() % 2) in convertUTF16ToUTF8String() 118 UTF8 *DstEnd = Dst + Out.size(); in convertUTF16ToUTF8String() 146 if (SrcBytes.size() % 4) in convertUTF32ToUTF8String() 176 UTF8 *DstEnd = Dst + Out.size(); in convertUTF32ToUTF8String() 219 DstUTF16.resize(SrcUTF8.size()+1); in convertUTF8ToUTF16String() 221 UTF16 *DstEnd = Dst + DstUTF16.size(); in convertUTF8ToUTF16String() 248 Result.resize(Source.size() + 1); in ConvertUTF8toWideInternal() 278 Result.resize(Source.size()); in convertWideToUTF8() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan.cpp | 260 if (end < d + size) in CopyOrigin() 295 if (end < d + size) in ReverseCopyOrigin() 355 if (size == 0) in SetOrigin() 434 CopyShadow(dst, src, size); in __dfsan_mem_shadow_origin_transfer() 463 CopyShadow(dst, src, size); in __dfsan_mem_shadow_origin_conditional_exchange() 602 for (dfsan_label *labelp = shadow_for(addr); size != 0; --size, ++labelp) in dfsan_add_label() 642 if (size == 0) in dfsan_read_label() 1076 uptr size = end - start; in dfsan_flush() local 1131 if (size > 0) { in CheckMemoryRangeAvailability() 1144 if (size > 0) { in ProtectMemoryRange() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVMatInt.cpp | 17 return Res.size(); in getInstSeqCost() 188 if ((TmpSeq.size() + 1) < Res.size() || in generateInstSeqLeadingZeros() 200 if ((TmpSeq.size() + 1) < Res.size() || in generateInstSeqLeadingZeros() 215 if ((TmpSeq.size() + 1) < Res.size() || in generateInstSeqLeadingZeros() 270 if ((TmpSeq.size() + 1) < Res.size()) { in generateInstSeq() 290 if (!TmpSeq.empty() && (TmpSeq.size() + 1) < Res.size()) { in generateInstSeq() 305 if ((TmpSeq.size() + 1) < Res.size()) { in generateInstSeq() 332 if ((TmpSeq.size() + 1) < Res.size()) { in generateInstSeq() 360 if (TmpSeq.size() < Res.size()) in generateInstSeq() 384 if ((TmpSeq.size() + 1) < Res.size()) { in generateInstSeq() [all …]
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_disk_entry_from_file.c | 452 ssize_t size; in setup_xattr() local 488 if (size > 0 && (value = malloc(size)) == NULL) { in setup_xattr() 496 size = fgetxattr(fd, name, value, size); in setup_xattr() 498 size = fgetxattr(fd, name, value, size, 0, 0); in setup_xattr() 500 size = fgetea(fd, name, value, size); in setup_xattr() 504 size = lgetxattr(accpath, name, value, size); in setup_xattr() 508 size = lgetea(accpath, name, value, size); in setup_xattr() 512 size = getxattr(accpath, name, value, size); in setup_xattr() 514 size = getxattr(accpath, name, value, size, 0, 0); in setup_xattr() 516 size = getea(accpath, name, value, size); in setup_xattr() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/ti/ |
H A D | k3-am625.dtsi | 17 #size-cells = <0>; 44 i-cache-size = <0x8000>; 45 i-cache-line-size = <64>; 47 d-cache-size = <0x8000>; 48 d-cache-line-size = <64>; 60 i-cache-size = <0x8000>; 63 d-cache-size = <0x8000>; 76 i-cache-size = <0x8000>; 79 d-cache-size = <0x8000>; 151 cache-size = <0x80000>; [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | parse_time-test.c | 42 size_t size; member 66 if (sz != tests[i].size) in main() 68 (unsigned long)sz, i, (unsigned long)tests[i].size); in main() 70 for (buf_sz = 0; buf_sz < tests[i].size + 2; buf_sz++) { in main() 75 if (sz != tests[i].size) in main() 78 (unsigned long)tests[i].size, in main() 87 NULL, tests[i].size); in main() 89 if (sz != tests[i].size) in main() 92 (unsigned long)tests[i].size, in main() 102 tests[i].str, tests[i].size + 1); in main() [all …]
|