Searched refs:new_ht (Results 1 – 2 of 2) sorted by relevance
/freebsd/lib/libc/net/ |
H A D | gethostnamadr.c | 264 struct hostent new_ht; in host_marshal_func() local 314 memcpy(&new_ht, ht, sizeof(struct hostent)); in host_marshal_func() 322 if (new_ht.h_name != NULL) { in host_marshal_func() 323 size = strlen(new_ht.h_name); in host_marshal_func() 324 memcpy(p, new_ht.h_name, size); in host_marshal_func() 325 new_ht.h_name = p; in host_marshal_func() 329 if (new_ht.h_aliases != NULL) { in host_marshal_func() 331 memcpy(p, new_ht.h_aliases, sizeof(char *) * aliases_size); in host_marshal_func() 332 new_ht.h_aliases = (char **)p; in host_marshal_func() 335 for (iter = new_ht.h_aliases; *iter; ++iter) { in host_marshal_func() [all …]
|
/freebsd/contrib/sqlite3/ |
H A D | sqlite3.c | 37001 struct _ht *new_ht; /* The new hash table */ 37020 new_ht = (struct _ht *)sqlite3Malloc( new_size*sizeof(struct _ht) ); 37023 if( new_ht==0 ) return 0; 37025 pH->ht = new_ht; 37026 pH->htsize = new_size = sqlite3MallocSize(new_ht)/sizeof(struct _ht); 37027 memset(new_ht, 0, new_size*sizeof(struct _ht)); 37031 insertElement(pH, &new_ht[h], elem); 194395 struct _fts3ht *new_ht; /* The new hash table */ 194400 new_ht = (struct _fts3ht *)fts3HashMalloc( new_size*sizeof(struct _fts3ht) ); 194401 if( new_ht==0 ) return 1; [all …]
|