/freebsd-13-stable/contrib/libevent/include/event2/ |
H A D | event.h | 75 @section base Creating an event base 347 Reinitialize the event base after a fork 349 Some event mechanisms do not survive across fork. The event base needs 352 @param base the event base that needs to be re-initialized 357 int event_reinit(struct event_base *base); 362 This loop will run the event base until either there are no more pending or 366 @param base the event_base structure returned by event_base_new() or 403 int event_gettime_monotonic(struct event_base *base, struc [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
H A D | SectionMemoryManager.cpp | 68 Addr = (uintptr_t)FreeMB.Free.base(); 83 PendingMB = sys::MemoryBlock(PendingMB.base(), 84 Addr + Size - (uintptr_t)PendingMB.base()); 117 Addr = (uintptr_t)MB.base(); 178 (PageSize - ((uintptr_t)M.base() % PageSize)) % PageSize; 184 sys::MemoryBlock Trimmed((void *)((uintptr_t)M.base() + StartOverlap), 187 assert(((uintptr_t)Trimmed.base() % PageSize) == 0); 189 assert(M.base() <= Trimmed.base() && 224 sys::Memory::InvalidateInstructionCache(Block.base(), [all...] |
/freebsd-13-stable/contrib/ntp/sntp/libevent/include/event2/ |
H A D | event.h | 75 @section base Creating an event base 347 Reinitialize the event base after a fork 349 Some event mechanisms do not survive across fork. The event base needs 352 @param base the event base that needs to be re-initialized 357 int event_reinit(struct event_base *base); 362 This loop will run the event base until either there are no more pending or 366 @param base the event_base structure returned by event_base_new() or 403 int event_gettime_monotonic(struct event_base *base, struc [all...] |
/freebsd-13-stable/contrib/nvi/vi/ |
H A D | v_increment.c | 55 int base, isempty, rval; local 103 * Look for 0[Xx], or leading + or - signs, guess at the base. 111 base = 16; 117 base = 8; 123 base = 10; 129 decimal: base = 10; 138 /* Find the end of the word, possibly correcting the base. */ 140 switch (base) { 145 base = 10; 185 if (base [all...] |
/freebsd-13-stable/contrib/wpa/src/wps/ |
H A D | http_client.c | 317 char * http_link_update(char *url, const char *base) argument 332 if (os_strncmp(base, "http://", 7) != 0) 333 return url; /* unable to handle base URL */ 335 len = os_strlen(url) + 1 + os_strlen(base) + 1; 341 pos = os_strchr(base + 7, '/'); 343 os_snprintf(n, len, "%s%s", base, url); 345 os_memcpy(n, base, pos - base); 346 os_memcpy(n + (pos - base), url, os_strlen(url) + 1); 349 pos = os_strrchr(base [all...] |
/freebsd-13-stable/contrib/apr/strings/ |
H A D | apr_strings.c | 237 char **endptr, int base) 240 *offset = APR_OFF_T_STRFN(nptr, endptr, base); 244 APR_DECLARE(apr_int64_t) apr_strtoi64(const char *nptr, char **endptr, int base) 248 return APR_INT64_STRFN(nptr, endptr, base); 259 * If base is 0, allow 0x for hex and 0 for octal, else 260 * assume decimal; if base is already 16, allow 0x. 274 if ((base == 0 || base == 16) && 278 base = 16; 280 if (base [all...] |
/freebsd-13-stable/libexec/rtld-elf/ |
H A D | rtld_printf.c | 108 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) argument 115 c = upper ? hex2ascii_upper(num % base) : 116 hex2ascii(num % base); 118 } while (num /= base); 133 int base, lflag, qflag, tmp, width, ladjust, sharpflag, neg, sign, dot; local 247 base = 10; 284 base = 8; 287 base = 16; 296 base = radix; 325 base [all...] |
/freebsd-13-stable/sys/dev/fdt/ |
H A D | fdt_common.c | 76 fdt_get_range_by_busaddr(phandle_t node, u_long addr, u_long *base, argument 85 *base = 0; 107 base, size)); 119 *base = 0; 138 *base = pbase; 140 *base = par_bus_addr; 151 fdt_get_range(phandle_t node, int range_id, u_long *base, u_long *size) argument 171 *base = 0; 185 *base = 0; 189 *base 210 u_long base, size; local 363 fdt_regsize(phandle_t node, u_long *base, u_long *size) argument [all...] |
/freebsd-13-stable/sys/mips/nlm/ |
H A D | xlp_pci.c | 402 uint64_t base; local 409 base = nlm_pcicfg_base(XLP_IO_PCIE0_OFFSET(node)); 412 base = nlm_pcicfg_base(XLP_IO_PCIE1_OFFSET(node)); 415 base = nlm_pcicfg_base(XLP_IO_PCIE2_OFFSET(node)); 418 base = nlm_pcicfg_base(XLP_IO_PCIE3_OFFSET(node)); 424 nlm_write_pci_reg(base, reg, 0xFFFFFFFF); 457 uint64_t base; local 465 base = nlm_pcicfg_base(XLP_IO_PCIE_OFFSET(node,link)); 468 nlm_write_pci_reg(base, PCIE_MSI_EN, PCIE_MSI_VECTOR_INT_EN); 470 val = nlm_read_pci_reg(base, PCIE_INT_EN [all...] |
H A D | xlp.h | 133 uint64_t base; local 135 base = nlm_pcicfg_base(offset); 136 return (nlm_irtstart(base));
|
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
H A D | argon2-core.c | 75 void * base; local 93 (*region)->base = (*region)->memory = NULL; 96 if ((base = mmap(NULL, memory_size, PROT_READ | PROT_WRITE, 99 base = NULL; /* LCOV_EXCL_LINE */ 101 memcpy(&memory, &base, sizeof memory); 103 if ((errno = posix_memalign((void **) &base, 64, memory_size)) != 0) { 104 base = NULL; 106 memcpy(&memory, &base, sizeof memory); 110 base = NULL; 112 } else if ((base [all...] |
/freebsd-13-stable/stand/libsa/ |
H A D | printf.c | 61 static char *ksprintn (char *buf, uintmax_t num, int base, int *len, int upper); 200 * Put a NUL-terminated ASCII number (base <= 36) in a buffer in reverse 206 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) argument 213 c = hex2ascii(num % base); 215 } while (num /= base); 229 * printf("reg=%b\n", regval, "<base><arg>*"); 231 * where <base> is the output base expressed as a control character, e.g. 268 int base, lflag, qflag, tmp, width, ladjust, sharpflag, neg, sign, dot; local 385 base [all...] |
/freebsd-13-stable/sys/contrib/zstd/lib/compress/ |
H A D | zstd_double_fast.c | 24 const BYTE* const base = ms->window.base; local 25 const BYTE* ip = base + ms->nextToUpdate; 34 U32 const curr = (U32)(ip - base); 61 const BYTE* const base = ms->window.base; local 65 const U32 endIndex = (U32)((size_t)(istart - base) + srcSize); 68 const BYTE* const prefixLowest = base + prefixLowestIndex; 85 dms->window.base : NULL; 111 U32 const curr = (U32)(ip - base); 374 const BYTE* const base = ms->window.base; local [all...] |
H A D | zstd_lazy.c | 32 const BYTE* const base = ms->window.base; local 33 U32 const target = (U32)(ip - base); 42 assert(idx >= ms->window.dictLimit); /* condition for valid base+idx */ 44 size_t const h = ZSTD_hashPtr(base + idx, hashLog, mls); /* assumption : ip + 8 <= iend */ 74 const BYTE* const base = ms->window.base; local 77 const BYTE* const ip = (curr>=dictLimit) ? base + curr : dictBase + curr; 80 const BYTE* const prefixStart = base + dictLimit; 109 base 169 const BYTE* const base = ms->window.base; local 243 const BYTE* const base = ms->window.base; local 459 const BYTE* const base = ms->window.base; local 481 const BYTE* const base = ms->window.base; local 607 const BYTE* const base = ms->window.base; local 867 const BYTE* const base = ms->window.base; local 1214 const BYTE* const base = ms->window.base; local [all...] |
/freebsd-13-stable/contrib/openbsm/config/ |
H A D | depcomp | 71 # global variable '$base'. 74 base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` 305 tmpdepfile1=$dir$base.u 306 tmpdepfile2=$base.u 307 tmpdepfile3=$dir.libs/$base.u 310 tmpdepfile1=$dir$base.u 311 tmpdepfile2=$dir$base.u 312 tmpdepfile3=$dir$base.u 375 # Use the source, not the object, to determine the base name, since 378 tmpdepfile=$base [all...] |
/freebsd-13-stable/sbin/dump/ |
H A D | cache.c | 57 Block *base; local 67 base = calloc(sizeof(Block), NBlocks); 72 base[i].b_Data = DataBase + i * BlockSize; 73 base[i].b_Offset = (off_t)-1; 75 base[i].b_HNext = BlockHash[hi]; 76 BlockHash[hi] = &base[i];
|
/freebsd-13-stable/contrib/bc/tests/ |
H A D | errors.sh | 103 base=$(basename "$testfile") 104 base="${base%.*}" 105 printf 'Running %s %s...' "$d" "$base"
|
/freebsd-13-stable/contrib/libevent/test/ |
H A D | test-changelist.c | 166 struct event_base* base; local 186 if (!(base = event_base_new())) 190 timeout = evtimer_new(base,timeout_cb,&timeout); 192 ev = event_new(base,pair[1],EV_WRITE | EV_PERSIST, write_cb, &ev); 203 event_base_dispatch(base); 207 event_base_free(base);
|
/freebsd-13-stable/contrib/ntp/sntp/libevent/test/ |
H A D | test-changelist.c | 166 struct event_base* base; local 186 if (!(base = event_base_new())) 190 timeout = evtimer_new(base,timeout_cb,&timeout); 192 ev = event_new(base,pair[1],EV_WRITE | EV_PERSIST, write_cb, &ev); 203 event_base_dispatch(base); 207 event_base_free(base);
|
/freebsd-13-stable/sys/sys/ |
H A D | qmath.h | 34 * The 3 LSBs of all base data types are reserved for embedded control data: 65 /* The underlying base type of 'q'. */ 160 * Calculate the number of bits required per 'base' digit, rounding up or down 163 #define Q_BITSPERBASEDOWN(base) (flsll(base) - 1) 164 #define Q_BITSPERBASEUP(base) (flsll(base) - (__builtin_popcountll(base) == 1)) 165 #define Q_BITSPERBASE(base, rnd) Q_BITSPERBASE##rnd(base) [all...] |
/freebsd-13-stable/tests/sys/geom/class/mirror/ |
H A D | 9_test.sh | 11 m1=`mktemp $base.XXXXXX` || exit 1 12 m2=`mktemp $base.XXXXXX` || exit 1 13 m3=`mktemp $base.XXXXXX` || exit 1
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Memory.h | 37 void *base() const { return Address; } function in class:llvm::sys::MemoryBlock 155 void *base() const { return M.base(); } function in class:llvm::sys::OwningMemoryBlock
|
/freebsd-13-stable/sys/arm/freescale/imx/ |
H A D | imx51_ipuv3_fbd.c | 205 uintptr_t base; local 227 base = 0; 229 base = reg - IPU_CM_BASE(0); 231 err = bus_space_map(iot, IPU_CM_BASE(base), IPU_CM_SIZE, 0, &ioh); 237 err = bus_space_map(iot, IPU_DMFC_BASE(base), IPU_DMFC_SIZE, 0, &ioh); 243 err = bus_space_map(iot, IPU_DI0_BASE(base), IPU_DI0_SIZE, 0, &ioh); 249 err = bus_space_map(iot, IPU_DI1_BASE(base), IPU_DI0_SIZE, 0, &ioh); 255 err = bus_space_map(iot, IPU_DP_BASE(base), IPU_DP_SIZE, 0, &ioh); 261 err = bus_space_map(iot, IPU_DC_BASE(base), IPU_DC_SIZE, 0, &ioh); 267 err = bus_space_map(iot, IPU_IDMAC_BASE(base), IPU_IDMAC_SIZ [all...] |
/freebsd-13-stable/stand/i386/libi386/ |
H A D | biosacpi.c | 48 static ACPI_TABLE_RSDP *biosacpi_search_rsdp(char *base, int length); 122 biosacpi_search_rsdp(char *base, int length) argument 130 rsdp = (ACPI_TABLE_RSDP *)PTOV(base + ofs);
|
/freebsd-13-stable/usr.bin/newkey/ |
H A D | generic.c | 85 MINT *base = mp_itom((short)BASE); local 96 mp_mult(sk, base, sk); 109 mp_mfree(base);
|