/sendmail/include/sm/ |
H A D | heap.h | 32 # define sm_malloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, SmHeapGroup) 44 # define sm_malloc_tagged(size, file, line, grp) sm_malloc(size) 45 # define sm_malloc_tagged_x(size, file, line, grp) sm_malloc_x(size) 47 # define sm_heap_register(ptr, size, file, line, grp) (true) 87 # define sm_pmalloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, 0) 88 # define sm_pmalloc_x(size) sm_malloc_tagged_ [all...] |
H A D | rpool.h | 86 ** in the current pool, and the request size > bigobjectsize, 146 # define sm_rpool_malloc_x(rpool, size) \ 147 sm_rpool_malloc_tagged_x(rpool, size, __FILE__, __LINE__, SmHeapGroup) 155 # define sm_rpool_malloc(rpool, size) \ 156 sm_rpool_malloc_tagged(rpool, size, __FILE__, __LINE__, SmHeapGroup)
|
/sendmail/libsm/ |
H A D | fwrite.c | 30 ** size -- number of bytes to be written 39 sm_io_write(fp, timeout, buf, size) 43 size_t size; 57 uio.uio_resid = iov.iov_len = size; 63 return size; 66 return size - uio.uio_resid;
|
H A D | rpool.c | 50 ** size -- size of block. 60 sm_rpool_allocblock_x(rpool, size) 62 size_t size; 66 p = sm_malloc_x(sizeof(SM_POOLHDR_T) + size); 77 ** size -- size of block. 84 sm_rpool_allocblock(rpool, size) 86 size_t size; 90 p = sm_malloc(sizeof(SM_POOLHDR_T) + size); [all...] |
H A D | heap.c | 62 ** The behaviour of malloc with size==0 is platform dependent (it 66 ** two choices: "size = 1" or "return NULL". We use the former in the 70 ** use size. 73 #define MALLOC_SIZE(size) ((size) == 0 ? 1 : (size)) 79 ** size -- size of requested memory. 94 sm_malloc_x(size) 95 size_t size; [all...] |
H A D | setvbuf.c | 31 ** If 'size' is == 0 then an "optimal" size will be selected. 32 ** If 'buf' is == NULL then space will be allocated at 'size'. 39 ** size -- size of 'buf' 47 sm_io_setvbuf(fp, timeout, buf, mode, size) 52 size_t size; 63 ** Verify arguments. The `int' limit on `size' is due to this 64 ** particular implementation. Note, buf and size are ignored 70 mode != SM_IO_NOW) || (int) size < [all...] |
H A D | fread.c | 30 ** size -- size of each chunk of data 41 sm_io_read(fp, timeout, buf, size) 45 size_t size; 47 register size_t resid = size; 61 ** or a size of 0. Peculiarily, it imposes no such requirements 88 return size - resid; 93 return size - resid; 99 return size;
|
H A D | strl.c | 30 ** SM_STRLCPY -- size bounded string copy 33 ** If size > 0, copy up to size-1 characters from the nul terminated 34 ** string src to dst, nul terminating the result. If size == 0, 51 ** size -- size of destination buffer 58 sm_strlcpy(dst, src, size) 61 ssize_t size; 65 if (size-- <= 0) 67 for (i = 0; i < size [all...] |
H A D | strio.c | 52 ** size -- new storage size request 61 sm_strgrow(s, size) 63 size_t size; 67 if (s->strio_size >= size) 69 p = sm_realloc(s->strio_base, size); 73 s->strio_end = s->strio_base + size; 74 s->strio_size = size; 458 ** Attempts to write more than size-1 characters into the buffer will fail 467 ** size [all...] |
H A D | shm.c | 26 ** size -- size of segment. 40 sm_shmstart(key, size, shmflg, shmid, owner) 42 int size; 55 *shmid = shmget(key, size, shmflg);
|
H A D | makebuf.c | 45 size_t size; local 54 flags = sm_whatbuf(fp, &size, &couldbetty); 55 if ((p = sm_malloc(size)) == NULL) 66 fp->f_bf.smb_size = size; 75 ** Plus it fills in 'bufsize' for recommended buffer size and 81 ** bufsize -- new buffer size (a return)
|
H A D | t-shm.c | 101 ** size -- size of segment. 111 shmbig(owner, size) 113 int size; 118 shm = (int *) sm_shmstart(T_SHMKEY, size, 0, &shmid, owner); 125 for (i = 0; i < size / sizeof(int); i++) 127 for (i = 0; i < size / sizeof(int); i++)
|
H A D | vfprintf.c | 193 int realsz; /* field size expanded by dprec */ 194 int size; /* size of converted field or string */ local 207 ** Choose PADSIZE to trade efficiency vs. size. If larger printf 211 #define PADSIZE 16 /* pad chunk size */ 475 size = 1; 620 size = p - cp; 621 if (size > prec) 622 size = prec; 625 size [all...] |
/sendmail/sendmail/ |
H A D | udb.c | 33 size_t size; /* length of data */ 217 key.size = keylen; 239 if (i > 0 || info.size <= 0) 255 (int) key.size, (char *) key.data, 256 (int) info.size, (char *) info.data); 259 while (i == 0 && key.size == keylen && 278 if (info.size >= userleft - 1) 281 int size = MEMCHUNKSIZE; local 283 if (info.size > MEMCHUNKSIZE) 284 size [all...] |
H A D | sasl.c | 23 ** older sasl packages incorrectly specifies the size of a block 44 ** proportional to the size of an e-mail, which is unacceptable. 51 ** size -- size of requested memory. 58 sm_sasl_malloc(size) 59 SM_SASL_SIZE_T size; 61 return sm_malloc((size_t) size); 69 ** elemsize -- size of each element. 83 size_t size; local 86 size [all...] |
H A D | shmticklib.c | 45 int size = sizeof(STATUSD_SHM); local 47 shmid = shmget(STATUSD_SHM_KEY, size, 0);
|
H A D | sm_resolve.c | 214 int type, class, ttl, size, txtlen; local 227 GETSHORT(size, p); 228 if (p + size > data + len) 231 ** announced size of data exceeds length of 238 size, len - (p - data)); 258 (*rr)->rr_size = size; 330 ** of RDLENGTH (size). Nevertheless, txtlen 331 ** must be less than size because the latter 337 if (txtlen >= size) 341 "ERROR: DNS TXT record size [all...] |
H A D | sfsasl.c | 176 ** size -- the number of bytes to read after decryption 186 sasl_read(fp, buf, size) 189 size_t size; 206 ** data since it might be larger than the allowed size. 220 len = sm_io_read(so->fp, SM_TIME_DEFAULT, buf, size); 243 if (outlen - offset > size) 246 (void) memcpy(buf, outbuf + offset, size); 247 offset += size; 248 len = size; 271 ** size [all...] |
H A D | trace.c | 28 ** size -- number of flags in trace vector. 43 tTsetup(vect, size, defflags) 45 unsigned int size; 49 tTsize = size;
|
/sendmail/libsmdb/ |
H A D | smdb1.c | 197 dbkey.size = key->size; 239 dbkey.size = key->size; 249 data->size = dbdata.size; 266 dbkey.size = key->size; 268 dbdata.size = data->size; [all...] |
H A D | smdb2.c | 253 dbkey.size = key->size; 290 dbkey.size = key->size; 294 data->size = dbdata.size; 311 dbkey.size = key->size; 313 dbdata.size = data->size; [all...] |
/sendmail/praliases/ |
H A D | praliases.c | 335 if (db_key.size == 2 && 338 db_value.size == 2 && 346 (int) db_key.size, 348 (int) db_value.size, 367 db_key.size = strlen(*argv); 371 db_key.size++; 379 (int) db_key.size, 381 (int) db_value.size,
|
/sendmail/editmap/ |
H A D | editmap.c | 326 db_key.size = strlen(keyname); 328 db_key.size++; 341 printf("%.*s\n", (int) db_val.size, 351 db_key.size = strlen(keyname); 353 db_key.size++; 355 db_val.size = strlen(value); 357 db_val.size++; 376 db_key.size = strlen(keyname); 378 db_key.size++;
|
/sendmail/vacation/ |
H A D | vacation.c | 839 key.size = sizeof(VIT); 851 key.size = strlen(From); 867 key.size = strlen(domain); 897 key.size = sizeof(VIT); 899 data.size = sizeof(interval); 929 key.size = strlen(from); 931 data.size = sizeof(when); 1113 if (db_key.size == strlen(VIT) + 1 && 1115 (int)db_key.size - 1) == 0) 1119 if (db_value.size ! [all...] |
/sendmail/makemap/ |
H A D | makemap.c | 386 (int) db_key.size, 389 (int) db_val.size, 442 db_key.size = p - ibuf; 444 db_key.size++; 461 db_val.size = strlen(p); 463 db_val.size++;
|