/freebsd-current/contrib/libdiff/lib/ |
H A D | diff_output_unidiff.c | 48 return diff_range_empty(&cc->chunk); 114 .chunk = { 133 return diff_ranges_touch(&cc->chunk, &other->chunk) 142 diff_ranges_merge(&cc->chunk, &other->chunk); 161 struct diff_chunk *chunk = &result->chunks.head[i]; local 162 enum diff_chunk_type t = diff_chunk_type(chunk); 179 * chunks may be joined up to this chunk by being 187 /* There already is a previous chunk note [all...] |
H A D | diff_output_plain.c | 112 * chunk followed by a addition chunk. Print a marker to break up the 116 for (c_idx = cc->chunk.start; !headers_only && c_idx < cc->chunk.end; 143 if (cc->chunk.end == result->chunks.len) { 208 struct diff_chunk *chunk = &result->chunks.head[i]; local 209 enum diff_chunk_type t = diff_chunk_type(chunk); 217 * chunks may be joined up to this chunk by being 223 /* There already is a previous chunk noted down for being 231 /* When we merge the last chunk w [all...] |
/freebsd-current/sys/contrib/openzfs/include/sys/ |
H A D | blake3.h | 63 blake3_chunk_state_t chunk; member in struct:__anon388 69 * 8th chunk requires a 4th entry, rather than merging everything down
|
/freebsd-current/contrib/libcbor/src/cbor/ |
H A D | bytestrings.h | 29 * @return length of the binary data. Zero if no chunk has been attached yet 90 * @return The chunk count. 0 for freshly created items. 95 /** Appends a chunk to the bytestring 99 * May realloc the chunk storage. 102 * @param chunk A definite byte string. Its reference count will be be increased 105 * of `chunk` is not increased and the `item` is left intact. 109 cbor_item_t *chunk); 124 * The chunks array is initialized to `NULL` and chunk count to 0
|
H A D | strings.h | 30 * @return length of the string. Zero if no chunk has been attached yet 107 * @return The chunk count. 0 for freshly created items. 112 /** Appends a chunk to the string 116 * May realloc the chunk storage. 119 * @param chunk A definite string item. Its reference count will be increased 122 * case, the refcount of @p `chunk` is not increased and the @p `item` is left 126 cbor_item_t *chunk);
|
/freebsd-current/usr.bin/mkimg/ |
H A D | image.c | 58 struct chunk { struct 59 TAILQ_ENTRY(chunk) ch_list; 60 size_t ch_size; /* Size of chunk in bytes. */ 73 #define CH_TYPE_FILE 1 /* File-backed chunk. */ 74 #define CH_TYPE_MEMORY 2 /* Memory-backed chunk */ 77 static TAILQ_HEAD(chunk_head, chunk) image_chunks; 128 * Image chunk handling. 131 static struct chunk * 134 static struct chunk *last = NULL; 135 struct chunk *c [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_descriptions.cpp | 104 AsanChunkView chunk, uptr addr, 107 if (chunk.AddrIsAtLeft(addr, access_size, &descr->offset)) { 109 } else if (chunk.AddrIsAtRight(addr, access_size, &descr->offset)) { 115 } else if (chunk.AddrIsInside(addr, access_size, &descr->offset)) { 120 descr->chunk_begin = chunk.Beg(); 121 descr->chunk_size = chunk.UsedSize(); 122 descr->user_requested_alignment = chunk.UserRequestedAlignment(); 123 descr->alloc_type = chunk.GetAllocType(); 157 AsanChunkView chunk = FindHeapChunkByAddress(addr); local 158 if (!chunk 103 GetAccessToHeapChunkInformation(ChunkAccess *descr, AsanChunkView chunk, uptr addr, uptr access_size) argument [all...] |
H A D | asan_poisoning.cpp | 56 u8 *chunk; member in struct:__asan::ShadowSegmentEndpoint 58 s8 value; // = *chunk; 61 chunk = (u8*)MemToShadow(address); 63 value = *chunk; 111 if (beg.chunk == end.chunk) { 119 *beg.chunk = Min(value, beg.offset); 121 *beg.chunk = kAsanUserPoisonedMemoryMagic; 126 CHECK_LT(beg.chunk, end.chunk); [all...] |
H A D | asan_memory_profile.cpp | 97 static void ChunkCallback(uptr chunk, void *arg) { argument 99 FindHeapChunkByAllocBeg(chunk));
|
/freebsd-current/contrib/llvm-project/libcxx/src/pstl/ |
H A D | libdispatch.cpp | 18 void __dispatch_apply(size_t chunk_count, void* context, void (*func)(void* context, size_t chunk)) noexcept {
|
/freebsd-current/lib/libc/amd64/string/ |
H A D | memccpy.S | 94 movdqa 16(%rsi), %xmm3 # load second string chunk 97 sub %ecx, %r8d # head length + length of second chunk 99 pcmpeqb %xmm3, %xmm1 # NUL found in second chunk? 101 sub %r8, %rdx # enough space left for the second chunk? 104 /* process second chunk */ 109 /* string didn't end in second chunk and neither did buffer -- not a runt! */ 110 movdqa 32(%rsi), %xmm0 # load next string chunk 114 movdqu %xmm3, 16(%rdi) # deposit second chunk 128 movdqa 16(%rsi), %xmm0 # load next string chunk 130 cmp $16, %rdx # more than a full chunk lef [all...] |
H A D | strlcpy.S | 83 movdqa 16(%rsi), %xmm3 # load second string chunk 86 sub %ecx, %r8d # head length + length of second chunk 88 pcmpeqb %xmm3, %xmm1 # NUL found in second chunk? 90 sub %r8, %rdx # enough space left for the second chunk? 93 /* process second chunk */ 98 /* string didn't end in second chunk and neither did buffer -- not a runt! */ 99 movdqa 32(%rsi), %xmm0 # load next string chunk 103 movdqu %xmm3, 16(%rdi) # deposit second chunk 117 movdqa 16(%rsi), %xmm0 # load next string chunk 119 cmp $16, %rdx # more than a full chunk lef [all...] |
H A D | memrchr.S | 96 mov %rdi, %rsi # pointer to matching chunk 107 cmp $16, %rdx # enough left for second chunk? 115 test %ecx, %ecx # match found in second chunk? 116 cmovz %r8d, %ecx # if not, use match data from first chunk 142 /* end of chunk reached within first half iteration */ 143 2: test %r8d, %r8d # match in previous chunk?
|
/freebsd-current/crypto/openssl/crypto/asn1/ |
H A D | a_d2i_fp.c | 206 size_t chunk = want > chunk_max ? chunk_max : want; local 208 if (!BUF_MEM_grow_clean(b, len + chunk)) { 212 want -= chunk; 213 while (chunk > 0) { 214 i = BIO_read(in, &(b->data[len]), chunk); 224 chunk -= i;
|
/freebsd-current/usr.sbin/bsdinstall/distfetch/ |
H A D | distfetch.c | 120 size_t chunk; local 197 while ((chunk = fread(block, 1, sizeof(block), fetch_out)) 199 if (fwrite(block, 1, chunk, file_out) < chunk) 202 current_bytes += chunk; 203 fsize += chunk;
|
/freebsd-current/crypto/openssl/providers/implementations/include/prov/ |
H A D | ciphercommon.h | 294 size_t chunk = MAXCHUNK; \ 298 if (len < chunk) \ 299 chunk = len; \ 300 while (len > 0 && len >= chunk) { \ 301 FUNC_PREFIX##_encrypt(in, out, (long)chunk, key, ctx->iv, &num, \ 303 len -= chunk; \ 304 in += chunk; \ 305 out += chunk; \ 306 if (len < chunk) \ 307 chunk [all...] |
/freebsd-current/crypto/openssl/providers/implementations/kdfs/ |
H A D | tls1_prf.c | 292 size_t chunk; local 300 chunk = EVP_MAC_CTX_get_mac_size(ctx_init); 301 if (chunk == 0) 317 /* calc next chunk: HMAC_<hash>(secret, A(i) + seed) */ 324 if (olen > chunk) { 331 if (olen <= chunk) { 332 /* last chunk - use Ai as temp bounce buffer */ 342 out += chunk; 343 olen -= chunk;
|
/freebsd-current/sys/kern/ |
H A D | kern_dump.c | 97 dumpsys_gen_unmap_chunk(vm_paddr_t pa __unused, size_t chunk __unused, 178 size_t counter, sz, chunk; local 182 error = 0; /* catch case in which chunk size is 0 */ 191 printf(" chunk %d: %juMB (%ju pages)", seqnr, (uintmax_t)PG2MB(pgs), 196 chunk = pgs; 197 if (chunk > maxdumppgs) 198 chunk = maxdumppgs; 199 sz = chunk << PAGE_SHIFT; 206 dumpsys_map_chunk(pa, chunk, &va); 210 dumpsys_unmap_chunk(pa, chunk, v [all...] |
/freebsd-current/crypto/openssl/crypto/whrlpool/ |
H A D | wp_dgst.c | 74 * Well, largest suitable chunk size actually is 78 size_t chunk = ((size_t)1) << (sizeof(size_t) * 8 - 4); local 81 while (bytes >= chunk) { 82 WHIRLPOOL_BitUpdate(c, inp, chunk * 8); 83 bytes -= chunk; 84 inp += chunk;
|
/freebsd-current/sys/netinet/ |
H A D | sctp_auth.h | 98 #define sctp_auth_is_required_chunk(chunk, list) ((list == NULL) ? (0) : (list->chunks[chunk] != 0)) 109 extern int sctp_auth_add_chunk(uint8_t chunk, sctp_auth_chklist_t *list); 110 extern int sctp_auth_delete_chunk(uint8_t chunk, sctp_auth_chklist_t *list); 209 struct sctp_tcb *stcb, uint8_t chunk);
|
/freebsd-current/contrib/ntp/ntpd/ |
H A D | ntp_monitor.c | 34 * Memory is usually allocated by grabbing a big chunk of new memory and 180 mon_entry *chunk; local 188 chunk = eallocarray(entries, sizeof(*chunk)); 190 for (chunk += entries; entries; entries--) 191 mon_free_entry(--chunk);
|
/freebsd-current/contrib/libcbor/test/ |
H A D | cbor_serialize_test.c | 145 cbor_item_t *chunk = cbor_new_definite_bytestring(); local 148 cbor_bytestring_set_handle(chunk, data, 256); 150 assert_true(cbor_bytestring_add_chunk(item, cbor_move(chunk))); 165 // Fake having a huge chunk of data 188 cbor_item_t *chunk = cbor_new_definite_bytestring(); local 190 cbor_bytestring_set_handle(chunk, data, 256); 191 assert_true(cbor_bytestring_add_chunk(item, cbor_move(chunk))); 196 // Not enough space for the chunk 201 cbor_serialize(item, buffer, 1 + cbor_serialized_size(chunk)), 0); 251 cbor_item_t *chunk local 284 cbor_item_t *chunk = cbor_new_definite_string(); local 523 cbor_item_t *chunk = cbor_new_definite_string(); local [all...] |
/freebsd-current/sys/dev/sfxge/common/ |
H A D | siena_nvram.c | 96 size_t chunk; local 100 chunk = MIN(size, SIENA_NVRAM_CHUNK); 102 if ((rc = efx_mcdi_nvram_read(enp, partn, offset, data, chunk, 107 size -= chunk; 108 data += chunk; 109 offset += chunk; 149 size_t chunk; local 153 chunk = MIN(size, SIENA_NVRAM_CHUNK); 156 data, chunk)) != 0) { 160 size -= chunk; [all...] |
/freebsd-current/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_dispatch.cpp | 174 // type of schedule,chunk. The loop description is found in lb (lower bound), 191 typename traits_t<T>::signed_t chunk, 210 "schedule:%%d chunk:%%%s nproc:%%%s tid:%%%s\n", 214 KD_TRACE(10, (buff, gtid, pr, lb, ub, st, schedule, chunk, nproc, tid)); 279 // Use the chunk size specified by OMP_SCHEDULE (or default if not 281 chunk = team->t.t_sched.chunk; 284 *cur_chunk = chunk; 291 "schedule:%%d chunk:%%%s\n", 293 KD_TRACE(10, (buff, gtid, schedule, chunk)); 184 __kmp_dispatch_init_algorithm(ident_t *loc, int gtid, dispatch_private_info_template<T> *pr, enum sched_type schedule, T lb, T ub, typename traits_t<T>::signed_t st, kmp_uint64 *cur_chunk, typename traits_t<T>::signed_t chunk, T nproc, T tid) argument 962 __kmp_dispatch_init(ident_t *loc, int gtid, enum sched_type schedule, T lb, T ub, typename traits_t<T>::signed_t st, typename traits_t<T>::signed_t chunk, int push_ws) argument 1369 T chunk = pr->u.p.parm1; local 1866 T chunk = pr->u.p.parm1; local 2231 T chunk = pr->u.p.parm1; local 2741 UT chunk = trip_count / nteams; local [all...] |
/freebsd-current/crypto/openssl/crypto/ |
H A D | mem_sec.c | 601 char *chunk = NULL; local 607 chunk = sh.arena + ((bit & ((ONE << list) - 1)) * (sh.arena_size >> list)); 609 return chunk; 616 char *chunk; local 664 chunk = sh.freelist[list]; 665 OPENSSL_assert(sh_testbit(chunk, list, sh.bittable)); 666 sh_setbit(chunk, list, sh.bitmalloc); 667 sh_remove_from_list(chunk); 669 OPENSSL_assert(WITHIN_ARENA(chunk)); 672 memset(chunk, [all...] |