| /netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
| D | call-rt-st.c | 571 list1 = (struct array_rep_info_t *)malloc(sizeof(struct array_rep_info_t)); in main() 583 struct1 = (struct small_rep_info_t *)malloc(sizeof(struct small_rep_info_t)); in main() 584 cflags = (struct bit_flags_char_t *)malloc(sizeof(struct bit_flags_char_t)); in main() 585 sflags = (struct bit_flags_short_t *)malloc(sizeof(struct bit_flags_short_t)); in main() 586 flags = (struct bit_flags_t *)malloc(sizeof(struct bit_flags_t)); in main() 587 flags_combo = (struct bit_flags_combo_t *)malloc(sizeof(struct bit_flags_combo_t)); in main() 588 three_char = (struct three_char_t *)malloc(sizeof(struct three_char_t)); in main() 589 five_char = (struct five_char_t *)malloc(sizeof(struct five_char_t)); in main() 590 int_char_combo = (struct int_char_combo_t *)malloc(sizeof(struct int_char_combo_t)); in main() 592 d1 = (struct one_double_t *)malloc(sizeof(struct one_double_t)); in main() [all …]
|
| D | call-ar-st.c | 950 list1 = (struct array_rep_info_t *)malloc(sizeof(struct array_rep_info_t)); in main() 951 list2 = (struct array_rep_info_t *)malloc(sizeof(struct array_rep_info_t)); in main() 952 list3 = (struct array_rep_info_t *)malloc(sizeof(struct array_rep_info_t)); in main() 953 list4 = (struct array_rep_info_t *)malloc(sizeof(struct array_rep_info_t)); in main() 973 struct1 = (struct small_rep_info_t *)malloc(sizeof(struct small_rep_info_t)); in main() 974 struct2 = (struct small_rep_info_t *)malloc(sizeof(struct small_rep_info_t)); in main() 975 struct3 = (struct small_rep_info_t *)malloc(sizeof(struct small_rep_info_t)); in main() 976 struct4 = (struct small_rep_info_t *)malloc(sizeof(struct small_rep_info_t)); in main() 977 flags = (struct bit_flags_t *)malloc(sizeof(struct bit_flags_t)); in main() 978 flags_combo = (struct bit_flags_combo_t *)malloc(sizeof(struct bit_flags_combo_t)); in main() [all …]
|
| /netbsd/src/crypto/external/cpl/trousers/dist/src/tspi/ |
| D | tsp_daa.c | 78 if ((pk->modulus = malloc(pk->modulusLength)) == NULL) in Trspi_UnloadBlob_DAA_PK() 88 if ((pk->capitalS = malloc(pk->capitalSLength)) == NULL) in Trspi_UnloadBlob_DAA_PK() 98 if ((pk->capitalZ = malloc(pk->capitalZLength)) == NULL) in Trspi_UnloadBlob_DAA_PK() 108 if ((pk->capitalR0 = malloc(pk->capitalR0Length)) == NULL) in Trspi_UnloadBlob_DAA_PK() 118 if ((pk->capitalR1 = malloc(pk->capitalR1Length)) == NULL) in Trspi_UnloadBlob_DAA_PK() 128 if ((pk->gamma = malloc(pk->gammaLength)) == NULL) in Trspi_UnloadBlob_DAA_PK() 138 if ((pk->capitalGamma = malloc(pk->capitalGammaLength)) == NULL) in Trspi_UnloadBlob_DAA_PK() 148 if ((pk->rho = malloc(pk->rhoLength)) == NULL) in Trspi_UnloadBlob_DAA_PK() 164 if ((pk->capitalY[i] = malloc(pk->capitalYLength2)) == NULL) in Trspi_UnloadBlob_DAA_PK() 177 if ((pk->issuerBaseName = malloc(pk->issuerBaseNameLength)) == NULL) in Trspi_UnloadBlob_DAA_PK()
|
| D | tsp_nv.c | 45 if ((data = malloc(dataLen)) == NULL) { in Transport_NV_DefineOrReleaseSpace() 81 if ((data = malloc(dataLen)) == NULL) { in Transport_NV_WriteValue() 119 if ((data = malloc(dataLen)) == NULL) { in Transport_NV_WriteValueAuth() 158 if ((data = malloc(dataLen)) == NULL) { in Transport_NV_ReadValue() 179 if ((*rgbDataRead = malloc(*pulDataLength)) == NULL) { in Transport_NV_ReadValue() 212 if ((data = malloc(dataLen)) == NULL) { in Transport_NV_ReadValueAuth() 233 if ((*rgbDataRead = malloc(*pulDataLength)) == NULL) { in Transport_NV_ReadValueAuth()
|
| D | tsp_migration.c | 70 if ((data = malloc(dataLen)) == NULL) { in Transport_CreateMigrationBlob() 93 if ((*random = malloc(*randomSize)) == NULL) { in Transport_CreateMigrationBlob() 103 if ((*outData = malloc(*outDataSize)) == NULL) { in Transport_CreateMigrationBlob() 156 if ((data = malloc(dataLen)) == NULL) { in Transport_ConvertMigrationBlob() 178 if ((*outData = malloc(*outDataSize)) == NULL) { in Transport_ConvertMigrationBlob() 239 if ((data = malloc(dataLen)) == NULL) { in Transport_AuthorizeMigrationKey()
|
| /netbsd/src/crypto/external/cpl/trousers/dist/src/tcs/ |
| D | tcsi_caps.c | 87 if ((*resp = malloc(*respSize)) == NULL) { in internal_TCSGetCap() 111 if ((*resp = malloc(sizeof(TSS_BOOL))) == NULL) { in internal_TCSGetCap() 130 if ((*resp = malloc(sizeof(TSS_BOOL))) == NULL) { in internal_TCSGetCap() 139 if ((*resp = malloc(sizeof(UINT32))) == NULL) { in internal_TCSGetCap() 148 if ((*resp = malloc(INTERNAL_CAP_MANUFACTURER_STR_LEN)) == NULL) { in internal_TCSGetCap() 165 if ((*resp = malloc(sizeof(TSS_BOOL))) == NULL) { in internal_TCSGetCap() 189 *resp = malloc(*respSize); in internal_TCSGetCap() 212 *resp = malloc(*respSize); in internal_TCSGetCap()
|
| /netbsd/src/crypto/external/cpl/trousers/dist/src/tspi/daa/ |
| D | daa_structs.c | 78 void *ret = malloc( size); in normal_malloc() 192 result = (BYTE *)malloc( *result_length); in to_bytes_TSS_DAA_SELECTED_ATTRIB_internal() 210 attrib->indicesList = (TSS_BOOL *)malloc( length * sizeof( TSS_BOOL)); in create_TSS_DAA_SELECTED_ATTRIB() 238 … (TSS_DAA_ATTRIB_COMMIT_internal *)malloc( sizeof(TSS_DAA_ATTRIB_COMMIT_internal)); in create_TSS_DAA_ATTRIB_COMMIT() 254 malloc(sizeof(TSS_DAA_PSEUDONYM_PLAIN_internal)); in create_TSS_DAA_PSEUDONYM_PLAIN() 272 (DAA_PRIVATE_KEY_internal *)malloc( sizeof( DAA_PRIVATE_KEY_internal)); in create_TSS_DAA_PRIVATE_KEY() 295 (DAA_PRIVATE_KEY_internal *)malloc( sizeof(DAA_PRIVATE_KEY_internal)); 311 (DAA_PRIVATE_KEY_internal *)malloc( sizeof(DAA_PRIVATE_KEY_internal)); in e_2_i_TSS_DAA_PRIVATE_KEY() 372 (KEY_PAIR_WITH_PROOF_internal *)malloc(sizeof(KEY_PAIR_WITH_PROOF_internal)); 458 pk_internal = (TSS_DAA_PK_internal *)malloc(sizeof(TSS_DAA_PK_internal)); in create_DAA_PK() [all …]
|
| D | daa_debug.c | 22 (KEY_PAIR_WITH_PROOF_internal *)malloc(sizeof(KEY_PAIR_WITH_PROOF_internal)); in load_KEY_PAIR_WITH_PROOF() 49 buffer = (char *)malloc( pk_internal->issuerBaseNameLength + 1); in save_DAA_PK_internal() 64 (TSS_DAA_PK_internal *)malloc(sizeof(TSS_DAA_PK_internal)); in load_DAA_PK_internal() 91 pk_internal->issuerBaseName = malloc( pk_internal->issuerBaseNameLength); in load_DAA_PK_internal() 124 (TSS_DAA_PK_PROOF_internal *)malloc(sizeof(TSS_DAA_PK_PROOF_internal)); in load_DAA_PK_PROOF_internal() 135 proof->response = (bi_array_ptr *)malloc( sizeof(bi_array_ptr) * proof->length_response); in load_DAA_PK_PROOF_internal() 147 (TSS_DAA_CRED_ISSUER *)malloc(sizeof(TSS_DAA_CRED_ISSUER)); in load_TSS_DAA_CRED_ISSUER() 165 credential->attributesIssuer = malloc(credential->attributesIssuerLength*sizeof(BYTE*)); in load_TSS_DAA_CRED_ISSUER() 211 (TSS_DAA_CREDENTIAL *)malloc(sizeof(TSS_DAA_CREDENTIAL)); in load_TSS_DAA_CREDENTIAL() 237 credential->attributes = malloc(credential->attributesLength * sizeof( BYTE *)); in load_TSS_DAA_CREDENTIAL()
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/asn1/ |
| D | der_copy.c | 105 to->data = malloc(to->length + 1); in der_copy_printable_string() 124 to->data = malloc(to->length * sizeof(to->data[0])); in der_copy_bmp_string() 136 to->data = malloc(to->length * sizeof(to->data[0])); in der_copy_universal_string() 158 to->data = malloc(to->length); in der_copy_octet_string() 169 to->data = malloc(to->length); in der_copy_heim_integer() 181 to->components = malloc(to->length * sizeof(*to->components)); in der_copy_oid() 196 to->data = malloc(len); in der_copy_bit_string()
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.arch/ |
| D | i386-mpx-call.c | 86 x = malloc (sizeof (int) * ARRAY_LENGTH); in main() 87 a = malloc (sizeof (int) * ARRAY_LENGTH); in main() 88 b = malloc (sizeof (int) * ARRAY_LENGTH); in main() 89 c = malloc (sizeof (int) * ARRAY_LENGTH); in main() 90 d = malloc (sizeof (int) * ARRAY_LENGTH); in main()
|
| /netbsd/src/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/ |
| D | test_join.c | 80 BYTE *message = (BYTE *)malloc( len_message); in sign() 116 message = (BYTE *)malloc(len_message); in init_key_chain() 122 issuer->key_chain = (RSA **)malloc(sizeof(RSA *) * length_key_chain); in init_key_chain() 123 issuer->pk_signatures = (BYTE **)malloc(sizeof(BYTE *) * length_key_chain); in init_key_chain() 132 signature = (BYTE *)malloc( RSA_size(rsa)); in init_key_chain() 133 modulus = (BYTE *)malloc( DAA_PARAM_KEY_SIZE / 8); in init_key_chain() 175 Issuer *issuer = (Issuer *)malloc(sizeof( Issuer)); in initIssuer() 206 issuer->key_pair_extern = (TSS_DAA_KEY_PAIR *)malloc( sizeof(TSS_DAA_KEY_PAIR)); in initIssuer() 222 modulus_N0_bytes = (BYTE *)malloc( TPM_DAA_SIZE_issuerModulus); in initIssuer() 243 sign_data = (BYTE *)malloc( EVP_MD_CTX_size(mdctx) + len_issuer_settings); in initIssuer() [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.python/ |
| D | py-nested-maps.c | 59 struct map_t *m = (struct map_t *) malloc (sizeof (struct map_t)); in create_map() 73 m->keys = (struct my_key_t *) malloc (sizeof (struct my_key_t) * FIXED_MAP_SIZE); in add_map_element() 74 m->values = (struct my_value_t *) malloc (sizeof (struct my_value_t) * FIXED_MAP_SIZE); in add_map_element() 85 struct map_map_t *mm = (struct map_map_t *) malloc (sizeof (struct map_map_t)); in create_map_map() 96 mm->values = (struct map_t **) malloc (sizeof (struct map_t *) * FIXED_MAP_SIZE); in add_map_map_element()
|
| /netbsd/src/external/bsd/tre/dist/tests/ |
| D | bench.c | 190 str = malloc(sizeof(char) * (len+1)); in main() 210 str = malloc(sizeof(char) * (len+1)); in main() 229 str = malloc(sizeof(char) * (len+1)); in main() 247 str = malloc(sizeof(char) * (len+1)); in main() 265 str = malloc(sizeof(char) * (len+1)); in main() 300 str = malloc(sizeof(char) * (len+7)); in main() 329 str = malloc(sizeof(char) * (len+7)); in main() 355 str = malloc(sizeof(char) * (len+7)); in main() 385 str = malloc(sizeof(char) * (len+7)); in main() 418 str = malloc(sizeof(char)*(len+1)); in main()
|
| /netbsd/src/lib/libc/rpc/ |
| D | getnetconfig.c | 174 nc_addr = malloc(sizeof (int)); in __nc_error() 215 if ((nc_vars = malloc(sizeof(*nc_vars))) == NULL) { in setnetconfig() 296 stringp = malloc(MAXNETCONFIGLINE); in getnetconfig() 318 list = malloc(sizeof(*list)); in getnetconfig() 323 np = malloc(sizeof(*np)); in getnetconfig() 455 if ((linep = malloc(MAXNETCONFIGLINE)) == NULL) { in getnetconfigent() 478 if ((ncp = malloc(sizeof(*ncp))) == NULL) in getnetconfigent() 592 ncp->nc_lookups = malloc(sizeof(*ncp->nc_lookups)); in parse_ncp() 657 if ((tmp = malloc(MAXNETCONFIGLINE)) == NULL) in dup_ncp() 659 if ((p = malloc(sizeof(*p))) == NULL) { in dup_ncp()
|
| /netbsd/src/crypto/external/bsd/openssh/dist/ |
| D | ssh-ed25519.c | 84 if ((k->ed25519_pk = malloc(ED25519_PK_SZ)) == NULL || in ssh_ed25519_generate() 85 (k->ed25519_sk = malloc(ED25519_SK_SZ)) == NULL) in ssh_ed25519_generate() 96 if ((to->ed25519_pk = malloc(ED25519_PK_SZ)) == NULL) in ssh_ed25519_copy_public() 168 if ((sig = malloc(slen)) == NULL) in ssh_ed25519_sign() 186 if ((*sigp = malloc(len)) == NULL) { in ssh_ed25519_sign() 248 if ((sm = malloc(smlen)) == NULL || (m = malloc(mlen)) == NULL) { in ssh_ed25519_verify()
|
| /netbsd/src/external/bsd/flex/dist/lib/ |
| D | malloc.c | 2 #undef malloc 6 void *malloc (); 16 return malloc (n); in rpl_malloc()
|
| /netbsd/src/external/bsd/libbind/dist/irs/ |
| D | hesiod.c | 82 ctx = malloc(sizeof(struct hesiod_p)); in hesiod_init() 95 ctx->LHS = malloc(strlen(DEF_LHS) + 1); in hesiod_init() 96 ctx->RHS = malloc(strlen(DEF_RHS) + 1); in hesiod_init() 115 ctx->RHS = malloc(RHSlen); in hesiod_init() 201 if ((bindname = malloc((cp - name) + strlen(type) + strlen(RHS) + in hesiod_to_bind() 320 *cpp = malloc(strlen(data) + 1); in parse_config_file() 397 list = malloc((ancount + 1) * sizeof(char *)); in get_txt_records() 428 if (!(list[j] = malloc(rr.dlen))) in get_txt_records() 470 res = (struct __res_state *)malloc(sizeof *res); in __hesiod_res_get()
|
| /netbsd/src/external/bsd/flex/dist/tests/ |
| D | yyextra.l | 71 buf = malloc(sizeof(struct Buffer)); in main() 75 buf->data = malloc((size_t) buf->max_len); in main() 103 new_buf = malloc(sizeof(struct Buffer)); in append_char() 106 new_buf->data = malloc((size_t) new_buf->max_len); in append_char()
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| D | copyhostent.c | 51 res = malloc (sizeof (*res)); in copyhostent() 66 res->h_aliases = malloc ((n + 1) * sizeof(*res->h_aliases)); in copyhostent() 83 res->h_addr_list = malloc ((n + 1) * sizeof(*res->h_addr_list)); in copyhostent() 92 res->h_addr_list[i] = malloc (h->h_length); in copyhostent()
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/ |
| D | new_op.cc | 34 using std::malloc; 38 extern "C" void *malloc (std::size_t); 50 while ((p = malloc (sz)) == 0) in operator new()
|
| /netbsd/src/external/gpl3/binutils/dist/libiberty/ |
| D | objalloc.c | 40 extern void *malloc (size_t); 91 ret = (struct objalloc *) malloc (sizeof *ret); in objalloc_create() 95 ret->chunks = (void *) malloc (CHUNK_SIZE); in objalloc_create() 143 ret = (char *) malloc (CHUNK_HEADER_SIZE + len); in _objalloc_alloc() 159 chunk = (struct objalloc_chunk *) malloc (CHUNK_SIZE); in _objalloc_alloc()
|
| /netbsd/src/external/gpl3/gdb/dist/libiberty/ |
| D | objalloc.c | 40 extern void *malloc (size_t); 91 ret = (struct objalloc *) malloc (sizeof *ret); in objalloc_create() 95 ret->chunks = (void *) malloc (CHUNK_SIZE); in objalloc_create() 143 ret = (char *) malloc (CHUNK_HEADER_SIZE + len); in _objalloc_alloc() 159 chunk = (struct objalloc_chunk *) malloc (CHUNK_SIZE); in _objalloc_alloc()
|
| /netbsd/src/external/gpl3/gcc/dist/libiberty/ |
| D | objalloc.c | 40 extern PTR malloc (size_t); 91 ret = (struct objalloc *) malloc (sizeof *ret); in objalloc_create() 95 ret->chunks = (PTR) malloc (CHUNK_SIZE); in objalloc_create() 143 ret = (char *) malloc (CHUNK_HEADER_SIZE + len); in _objalloc_alloc() 159 chunk = (struct objalloc_chunk *) malloc (CHUNK_SIZE); in _objalloc_alloc()
|
| /netbsd/src/lib/libc/stdlib/ |
| D | Makefile.inc | 36 SRCS+= malloc.c 56 malloc.3 memory.3 mi_vector_hash.3 \ 86 MLINKS+=jemalloc.3 malloc.conf.5 88 MLINKS+=malloc.3 calloc.3 malloc.3 realloc.3 malloc.3 free.3
|
| /netbsd/src/tests/usr.bin/cc/ |
| D | t_msan_free.sh | 68 int *a = (int *)malloc(sizeof(int)); 84 int *a = (int *)malloc(sizeof(int)); 107 int *a = (int *)malloc(sizeof(int)); 130 int *a = (int *)malloc(sizeof(int));
|