/netbsd-src/tests/include/sys/ |
H A D | t_pslist.c | 60 } elements[] = { in ATF_TC_BODY() local 78 PSLIST_ENTRY_DESTROY(&elements[0], entry); in ATF_TC_BODY() 80 for (i = 0; i < __arraycount(elements); i++) in ATF_TC_BODY() 81 PSLIST_ENTRY_INIT(&elements[i], entry); in ATF_TC_BODY() 83 PSLIST_WRITER_INSERT_HEAD(&h, &elements[4], entry); in ATF_TC_BODY() 84 PSLIST_WRITER_INSERT_BEFORE(&elements[4], &elements[2], entry); in ATF_TC_BODY() 85 PSLIST_WRITER_INSERT_BEFORE(&elements[4], &elements[3], entry); in ATF_TC_BODY() 86 PSLIST_WRITER_INSERT_BEFORE(&elements[2], &elements[1], entry); in ATF_TC_BODY() 87 PSLIST_WRITER_INSERT_HEAD(&h, &elements[0], entry); in ATF_TC_BODY() 88 PSLIST_WRITER_INSERT_AFTER(&elements[4], &elements[5], entry); in ATF_TC_BODY() [all …]
|
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/ |
H A D | partition.c | 53 part->elements[e].class_element = e; in partition_new() 54 part->elements[e].next = &(part->elements[e]); in partition_new() 55 part->elements[e].class_count = 1; in partition_new() 77 struct partition_elem *elements = part->elements; in partition_union() local 83 int class_element = elements[elem1].class_element; in partition_union() 86 if (class_element == elements[elem2].class_element) in partition_union() 91 if (elements[elem1].class_count < elements[elem2].class_count) in partition_union() 96 class_element = elements[elem1].class_element; in partition_union() 99 e1 = &(elements[elem1]); in partition_union() 100 e2 = &(elements[elem2]); in partition_union() [all …]
|
/netbsd-src/external/gpl3/binutils/dist/libiberty/ |
H A D | partition.c | 53 part->elements[e].class_element = e; in partition_new() 54 part->elements[e].next = &(part->elements[e]); in partition_new() 55 part->elements[e].class_count = 1; in partition_new() 77 struct partition_elem *elements = part->elements; in partition_union() local 83 int class_element = elements[elem1].class_element; in partition_union() 86 if (class_element == elements[elem2].class_element) in partition_union() 91 if (elements[elem1].class_count < elements[elem2].class_count) in partition_union() 96 class_element = elements[elem1].class_element; in partition_union() 99 e1 = &(elements[elem1]); in partition_union() 100 e2 = &(elements[elem2]); in partition_union() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libiberty/ |
H A D | partition.c | 53 part->elements[e].class_element = e; in partition_new() 54 part->elements[e].next = &(part->elements[e]); in partition_new() 55 part->elements[e].class_count = 1; in partition_new() 77 struct partition_elem *elements = part->elements; in partition_union() local 83 int class_element = elements[elem1].class_element; in partition_union() 86 if (class_element == elements[elem2].class_element) in partition_union() 91 if (elements[elem1].class_count < elements[elem2].class_count) in partition_union() 96 class_element = elements[elem1].class_element; in partition_union() 99 e1 = &(elements[elem1]); in partition_union() 100 e2 = &(elements[elem2]); in partition_union() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libiberty/ |
H A D | partition.c | 53 part->elements[e].class_element = e; in partition_new() 54 part->elements[e].next = &(part->elements[e]); in partition_new() 55 part->elements[e].class_count = 1; in partition_new() 77 struct partition_elem *elements = part->elements; in partition_union() local 83 int class_element = elements[elem1].class_element; in partition_union() 86 if (class_element == elements[elem2].class_element) in partition_union() 91 if (elements[elem1].class_count < elements[elem2].class_count) in partition_union() 96 class_element = elements[elem1].class_element; in partition_union() 99 e1 = &(elements[elem1]); in partition_union() 100 e2 = &(elements[elem2]); in partition_union() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libcc1/ |
H A D | marshall-cp.hh | 35 delete[] p->elements; in operator ()() 45 delete[] p->elements; in operator ()() 56 delete[] p->elements; in operator ()() 78 if (!marshall_array_elmts (conn, len * sizeof (a->elements[0]), in marshall() 79 a->elements)) in marshall() 106 gva->elements = new gcc_type[len]; in unmarshall() 109 len * sizeof (gva->elements[0]), in unmarshall() 110 gva->elements)) in unmarshall() 145 return marshall_array_elmts (conn, len * sizeof (a->elements[0]), in marshall() 146 a->elements); in marshall() [all …]
|
H A D | marshall.cc | 117 void *elements) in marshall_array_elmts() argument 119 return conn->send (elements, n_bytes); in marshall_array_elmts() 140 void *elements) in unmarshall_array_elmts() argument 142 return conn->get (elements, n_bytes); in unmarshall_array_elmts() 161 return marshall_array_elmts (conn, len * sizeof (a->elements[0]), in marshall() 162 a->elements); in marshall() 182 gta->elements = new gcc_type[len]; in unmarshall() 185 len * sizeof (gta->elements[0]), in unmarshall() 186 gta->elements)) in unmarshall()
|
/netbsd-src/external/gpl3/gcc.old/dist/libcc1/ |
H A D | marshall-cp.hh | 85 if (!marshall_array_elmts (conn, len * sizeof (a->elements[0]), in marshall() 86 a->elements)) in marshall() 113 gva->elements = new gcc_type[len]; in unmarshall() 116 len * sizeof (gva->elements[0]), in unmarshall() 117 gva->elements)) in unmarshall() 119 delete[] gva->elements; in unmarshall() 131 delete[] gva->elements; in unmarshall() 161 return marshall_array_elmts (conn, len * sizeof (a->elements[0]), in marshall() 162 a->elements); in marshall() 196 gva->elements = new gcc_cp_template_arg[len]; in unmarshall() [all …]
|
H A D | marshall.cc | 116 void *elements) in marshall_array_elmts() argument 118 return conn->send (elements, n_bytes); in marshall_array_elmts() 139 void *elements) in unmarshall_array_elmts() argument 141 return conn->get (elements, n_bytes); in unmarshall_array_elmts() 160 return marshall_array_elmts (conn, len * sizeof (a->elements[0]), in marshall() 161 a->elements); in marshall() 181 gta->elements = new gcc_type[len]; in unmarshall() 184 len * sizeof (gta->elements[0]), in unmarshall() 185 gta->elements)) in unmarshall() 187 delete[] gta->elements; in unmarshall()
|
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/ |
H A D | acl.c | 61 acl->elements = NULL; in dns_acl_create() 72 acl->elements = isc_mem_get(mctx, n * sizeof(dns_aclelement_t)); in dns_acl_create() 74 memset(acl->elements, 0, n * sizeof(dns_aclelement_t)); in dns_acl_create() 222 dns_aclelement_t *e = &acl->elements[i]; in dns_acl_match() 276 memmove(newmem, dest->elements, in dns_acl_merge() 280 isc_mem_put(dest->mctx, dest->elements, in dns_acl_merge() 282 dest->elements = newmem; in dns_acl_merge() 295 if (source->elements[i].node_num > max_node) { in dns_acl_merge() 296 max_node = source->elements[i].node_num; in dns_acl_merge() 300 dest->elements[nelem + i].type = source->elements[i].type; in dns_acl_merge() [all …]
|
H A D | opensslrsa_link.c | 747 priv.elements[i].tag = TAG_RSA_MODULUS; in opensslrsa_tofile() 748 priv.elements[i].length = BN_num_bytes(n); in opensslrsa_tofile() 750 priv.elements[i].data = bufs[i]; in opensslrsa_tofile() 753 priv.elements[i].tag = TAG_RSA_PUBLICEXPONENT; in opensslrsa_tofile() 754 priv.elements[i].length = BN_num_bytes(e); in opensslrsa_tofile() 756 priv.elements[i].data = bufs[i]; in opensslrsa_tofile() 760 priv.elements[i].tag = TAG_RSA_PRIVATEEXPONENT; in opensslrsa_tofile() 761 priv.elements[i].length = BN_num_bytes(d); in opensslrsa_tofile() 763 priv.elements[i].data = bufs[i]; in opensslrsa_tofile() 768 priv.elements[i].tag = TAG_RSA_PRIME1; in opensslrsa_tofile() [all …]
|
/netbsd-src/external/mpl/bind/dist/lib/dns/ |
H A D | acl.c | 35 * for 'n' ACL elements. The elements are uninitialized and the 46 .elements = isc_mem_cget(mctx, n, sizeof(acl->elements[0])), in dns_acl_create() 196 /* Now search non-radix elements for a match with a lower node_num. */ in dns_acl_match() 198 dns_aclelement_t *e = &acl->elements[i]; in dns_acl_match() 291 dest->elements = isc_mem_creget(dest->mctx, dest->elements, in dns_acl_match_port_transport() 293 sizeof(dest->elements[0])); in dns_acl_match_port_transport() 298 * Now copy in the new elements, increasin in dns_acl_match_port_transport() [all...] |
/netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
H A D | hash-set-tests.c | 39 ASSERT_EQ (0, s.elements ()); in test_set_of_strings() 60 ASSERT_EQ (3, s.elements ()); in test_set_of_strings() 67 ASSERT_EQ (2, s.elements ()); in test_set_of_strings() 73 ASSERT_EQ (2, s.elements ()); in test_set_of_strings() 87 ASSERT_EQ (0, t.elements ()); in test_set_of_strings() 105 ASSERT_EQ (3, t.elements ()); in test_set_of_strings() 128 ASSERT_EQ (2, t.elements ()); in test_set_of_strings() 134 ASSERT_EQ (2, t.elements ()); in test_set_of_strings() 243 ASSERT_EQ (true, 1 == s.elements ()); in test_set_of_type_with_ctor_and_dtor() 252 ASSERT_EQ (true, 1 == s.elements ()); in test_set_of_type_with_ctor_and_dtor() [all …]
|
H A D | ordered-hash-map-tests.cc | 70 ASSERT_EQ (0, m.elements ()); in test_map_of_strings_to_int() 82 ASSERT_EQ (6, m.elements ()); in test_map_of_strings_to_int() 127 ASSERT_EQ (0, m.elements ()); in test_map_of_int_to_strings() 139 ASSERT_EQ (6, m.elements ()); in test_map_of_int_to_strings() 175 ASSERT_EQ (1, m.elements ()); in test_removal() 188 ASSERT_EQ (0, m.elements ()); in test_removal() 197 ASSERT_EQ (1, m.elements ()); in test_removal() 218 ASSERT_EQ (1, m.elements ()); in test_copy_ctor() 222 ASSERT_EQ (1, copy.elements ()); in test_copy_ctor() 227 ASSERT_EQ (0, m.elements ()); in test_copy_ctor() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | hash-set-tests.cc | 39 ASSERT_EQ (0, s.elements ()); in test_set_of_strings() 60 ASSERT_EQ (3, s.elements ()); in test_set_of_strings() 67 ASSERT_EQ (2, s.elements ()); in test_set_of_strings() 73 ASSERT_EQ (2, s.elements ()); in test_set_of_strings() 87 ASSERT_EQ (0, t.elements ()); in test_set_of_strings() 105 ASSERT_EQ (3, t.elements ()); in test_set_of_strings() 128 ASSERT_EQ (2, t.elements ()); in test_set_of_strings() 134 ASSERT_EQ (2, t.elements ()); in test_set_of_strings() 243 ASSERT_EQ (true, 1 == s.elements ()); in test_set_of_type_with_ctor_and_dtor() 252 ASSERT_EQ (true, 1 == s.elements ()); in test_set_of_type_with_ctor_and_dtor() [all …]
|
H A D | ordered-hash-map-tests.cc | 70 ASSERT_EQ (0, m.elements ()); in test_map_of_strings_to_int() 82 ASSERT_EQ (6, m.elements ()); in test_map_of_strings_to_int() 127 ASSERT_EQ (0, m.elements ()); in test_map_of_int_to_strings() 139 ASSERT_EQ (6, m.elements ()); in test_map_of_int_to_strings() 175 ASSERT_EQ (1, m.elements ()); in test_removal() 188 ASSERT_EQ (0, m.elements ()); in test_removal() 197 ASSERT_EQ (1, m.elements ()); in test_removal() 218 ASSERT_EQ (1, m.elements ()); in test_copy_ctor() 222 ASSERT_EQ (1, copy.elements ()); in test_copy_ctor() 227 ASSERT_EQ (0, m.elements ()); in test_copy_ctor() [all …]
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/mech/ |
H A D | gss_buffer_set.c | 51 set->elements = NULL; in gss_create_empty_buffer_set() 78 set->elements = realloc(set->elements, in gss_add_buffer_set_member() 79 (set->count + 1) * sizeof(set->elements[0])); in gss_add_buffer_set_member() 80 if (set->elements == NULL) { in gss_add_buffer_set_member() 85 p = &set->elements[set->count]; in gss_add_buffer_set_member() 114 gss_release_buffer(&minor, &((*buffer_set)->elements[i])); in gss_release_buffer_set() 116 free((*buffer_set)->elements); in gss_release_buffer_set() 118 (*buffer_set)->elements = NULL; in gss_release_buffer_set()
|
H A D | gss_utils.c | 40 to_oid->elements = malloc(len); in _gss_copy_oid() 41 if (!to_oid->elements) { in _gss_copy_oid() 47 memcpy(to_oid->elements, from_oid->elements, len); in _gss_copy_oid() 55 if (oid->elements) { in _gss_free_oid() 56 free(oid->elements); in _gss_free_oid() 57 oid->elements = NULL; in _gss_free_oid()
|
/netbsd-src/external/gpl3/binutils/dist/ld/ |
H A D | ldctor.c | 79 p->elements = NULL; in ldctor_add_set_entry() 97 if (p->elements != NULL in ldctor_add_set_entry() 99 && p->elements->section->owner != NULL in ldctor_add_set_entry() 101 bfd_get_target (p->elements->section->owner)) != 0) in ldctor_add_set_entry() 115 for (epp = &p->elements; *epp != NULL; epp = &(*epp)->u.next) in ldctor_add_set_entry() 217 if (p->elements == NULL) in ldctor_build_sets() 221 for (e = p->elements; e != NULL; e = e->u.next) in ldctor_build_sets() 227 for (e = p->elements; e != NULL; e = enext) in ldctor_build_sets() 238 p->elements = e; in ldctor_build_sets() 288 if (p->elements->section->owner != NULL) in ldctor_build_sets() [all …]
|
/netbsd-src/external/gpl3/binutils.old/dist/ld/ |
H A D | ldctor.c | 78 p->elements = NULL; in ldctor_add_set_entry() 96 if (p->elements != NULL in ldctor_add_set_entry() 98 && p->elements->section->owner != NULL in ldctor_add_set_entry() 100 bfd_get_target (p->elements->section->owner)) != 0) in ldctor_add_set_entry() 114 for (epp = &p->elements; *epp != NULL; epp = &(*epp)->u.next) in ldctor_add_set_entry() 216 if (p->elements == NULL) in ldctor_build_sets() 220 for (e = p->elements; e != NULL; e = e->u.next) in ldctor_build_sets() 226 for (e = p->elements; e != NULL; e = enext) in ldctor_build_sets() 237 p->elements = e; in ldctor_build_sets() 287 if (p->elements->section->owner != NULL) in ldctor_build_sets() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/ |
H A D | valarray | 111 * Classes and functions for representing and manipulating arrays of elements. 142 /// Construct an array with @a n elements. 145 /// Construct an array with @a n elements initialized to @a t. 148 /// Construct an array initialized to the first @a n elements of @a t. 183 * @brief Assign elements to an array. 185 * Assign elements of array to values in @a v. 193 * @brief Move assign elements to an array. 195 * Move assign elements of array to values in @a v. 203 * @brief Assign elements to a value. 205 * Assign all elements of array to @a t. [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/ |
H A D | valarray | 111 * Classes and functions for representing and manipulating arrays of elements. 142 /// Construct an array with @a n elements. 145 /// Construct an array with @a n elements initialized to @a t. 148 /// Construct an array initialized to the first @a n elements of @a t. 183 * @brief Assign elements to an array. 185 * Assign elements of array to values in @a v. 193 * @brief Move assign elements to an array. 195 * Move assign elements of array to values in @a v. 203 * @brief Assign elements to a value. 205 * Assign all elements of array to @a t. [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
H A D | ctfeexpr.c | 46 for (size_t j = 0; j < value->elements->dim; j++) in getFieldIndex() 57 return (int)(value->elements->dim - fieldsSoFar - cd->fields.dim + (j-fieldsSoFar)); in getFieldIndex() 69 for (size_t j = 0; j < value->elements->dim; j++) in findFieldIndexByName() 79 return (int)(value->elements->dim - fieldsSoFar - cd->fields.dim + (j-fieldsSoFar)); in findFieldIndexByName() 128 Expression *e = resolveSlice((*thrown->value->elements)[0], &ue); in generateUncaughtError() 265 Expressions *elements = copyLiteralArray(ale->elements, ale->basis); in copyLiteral() local 267 new(&ue) ArrayLiteralExp(e->loc, e->type, elements); in copyLiteral() 289 Expressions *oldelems = sle->elements; in copyLiteral() 360 r->elements = copyLiteralArray(r->elements); in copyLiteral() 537 return ale->elements ? ale->elements->dim : 0; in resolveArrayLength() [all …]
|
H A D | initsem.c | 83 Expressions *elements = new Expressions(); in visit() local 84 elements->setDim(nfields); in visit() 85 for (size_t j = 0; j < elements->dim; j++) in visit() 86 (*elements)[j] = NULL; in visit() 131 if ((*elements)[fieldi]) in visit() 140 if (vd->isOverlappedWith(v2) && (*elements)[k]) in visit() 159 (*elements)[fieldi] = doCopyOrMove(sc, ex); in visit() 168 StructLiteralExp *sle = new StructLiteralExp(i->loc, sd, elements, t); in visit() 169 if (!sd->fill(i->loc, elements, false)) in visit() 485 dim2 = ale->elements ? ale->elements->dim : 0; in visit() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/aarch64/ |
H A D | aarch64-sve-builtins.def | 37 DEF_SVE_MODE (index, none, none, elements) 39 DEF_SVE_MODE (s32index, none, svint32_t, elements) 41 DEF_SVE_MODE (s64index, none, svint64_t, elements) 44 DEF_SVE_MODE (u32base_index, svuint32_t, none, elements) 46 DEF_SVE_MODE (u32base_s32index, svuint32_t, svint32_t, elements) 48 DEF_SVE_MODE (u32base_u32index, svuint32_t, svuint32_t, elements) 50 DEF_SVE_MODE (u32index, none, svuint32_t, elements) 53 DEF_SVE_MODE (u64base_index, svuint64_t, none, elements) 55 DEF_SVE_MODE (u64base_s64index, svuint64_t, svint64_t, elements) 57 DEF_SVE_MODE (u64base_u64index, svuint64_t, svuint64_t, elements) [all …]
|