Searched refs:ptr (Results 1 - 11 of 11) sorted by relevance

/sendmail/libsm/
H A Dheap.c97 void *ptr; local
100 ptr = malloc(MALLOC_SIZE(size));
102 if (ptr == NULL)
104 return ptr;
123 void *ptr; local
126 ptr = malloc(MALLOC_SIZE(size));
128 return ptr;
135 ** ptr -- pointer to old memory area.
143 sm_realloc(ptr, size)
144 void *ptr;
365 void *ptr; local
419 void *ptr; local
[all...]
H A Drpool.c138 char *ptr; local
150 ptr = rpool->sm_poolptr;
153 return ptr;
188 ptr = sm_rpool_allocblock_x(rpool, rpool->sm_poolsize);
189 rpool->sm_poolptr = ptr + size;
194 return ptr;
234 char *ptr; local
246 ptr = rpool->sm_poolptr;
249 return ptr;
284 ptr
[all...]
H A Dvfprintf.c220 #define PRINT(ptr, len) do { \
221 iovp->iov_base = (ptr); \
/sendmail/include/sm/
H A Dheap.h33 # define sm_free(ptr) sm_free_tagged(ptr, __FILE__, __LINE__)
46 # define sm_free_tagged(ptr, file, line) sm_free(ptr)
47 # define sm_heap_register(ptr, size, file, line, grp) (true)
48 # define sm_heap_checkptr_tagged(ptr, tag, num) ((void)0)
59 # define sm_heap_checkptr(ptr) sm_heap_checkptr_tagged(ptr, __FILE__, __LINE__)
94 #define SM_FREE(ptr) \
97 if ((ptr) !
[all...]
H A Dstring.h24 #define SPACELEFT(buf, ptr) (sizeof buf - ((ptr) - buf))
/sendmail/libsmdb/
H A Dsmdb.c540 dbtype *ptr = DatabaseDefs; local
542 while (ptr != NULL && ptr->type != NULL)
544 if (strcmp(type, ptr->type) == 0)
545 return ptr->dbdef;
546 ptr++;
/sendmail/sendmail/
H A Dutil.c213 char *ptr = string; local
224 while (*ptr != '\0')
232 if (*ptr == '\\')
234 else if (*ptr == '(')
239 else if (*ptr == ')')
246 if (parencount <= 0 && *ptr == '"')
251 if (length - (ptr - string) <= (size_t) ((backslash ? 1 : 0) +
256 if (*ptr == '\\')
258 else if (*ptr == '(' && !quoted)
260 else if (*ptr
[all...]
H A Dmap.c4167 char *ptr; local
4169 if ((ptr = strchr(p, ' ')) != NULL)
4170 *ptr = '\0';
4173 if (ptr != NULL)
4174 *ptr = ' ';
4233 char *ptr; local
4235 if ((ptr = strchr(p, ' ')) != NULL)
4236 *ptr = '\0';
4239 if (ptr != NULL)
4240 *ptr
4268 char *ptr; local
5287 char *ptr = map_rewrite(map, string, strlen(string), args); local
5386 char *ptr = map_rewrite(map, string, strlen(string), args); local
5642 char *ptr; local
[all...]
H A Dparseaddr.c869 char *ptr = p; local
872 while (isascii(*ptr) && isspace(*ptr))
873 ptr++;
874 if (*ptr == '@')
1024 register struct match *mlp; /* cur ptr into mlist */
H A Dmilter.c150 char *ptr = response; \
153 while (*ptr != '\0') \
155 if (*ptr == '%' && *++ptr != '%') \
161 ptr++; \
/sendmail/mail.local/
H A Dmail.local.c100 #define REALLOC(ptr, size) (((ptr) == NULL) ? malloc(size) : realloc(ptr, size))

Completed in 292 milliseconds