/dports/net/libwebsockets/libwebsockets-v4.2.2/lib/misc/ |
H A D | lws-ring.c | 36 ring->buflen = (uint32_t)(count * element_len); in lws_ring_create() 37 ring->element_len = (uint32_t)element_len; in lws_ring_create() 60 (ring->oldest_tail + ring->element_len) % in lws_ring_destroy() 84 f = (int)(ring->buflen - ring->element_len); in lws_ring_get_count_free_elements() 88 ring->element_len); in lws_ring_get_count_free_elements() 91 ring->element_len); in lws_ring_get_count_free_elements() 96 return (unsigned int)f / ring->element_len; in lws_ring_get_count_free_elements() 122 return (unsigned int)f / ring->element_len; in lws_ring_get_count_waiting_elements() 168 n = (int)(max_count * ring->element_len); in lws_ring_insert() 214 ring->element_len); in lws_ring_consume() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/ci/ |
H A D | ciObjArrayKlass.cpp | 110 int element_len = element_name->utf8_length(); in construct_array_name() local 111 int buflen = dimension + element_len + 3; // '['+ + 'L'? + (element) + ';'? + '\0' in construct_array_name() 121 strncpy(&name[pos], (char*)element_name->base(), element_len); in construct_array_name() 122 name[pos + element_len] = '\0'; in construct_array_name() 125 strncpy(&name[pos], (char*)element_name->base(), element_len); in construct_array_name() 126 name[pos + element_len] = JVM_SIGNATURE_ENDCLASS; in construct_array_name() 127 name[pos + element_len + 1] = '\0'; in construct_array_name()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/share/ci/ |
H A D | ciObjArrayKlass.cpp | 111 int element_len = element_name->utf8_length(); in construct_array_name() local 112 int buflen = dimension + element_len + 3; // '['+ + 'L'? + (element) + ';'? + '\0' in construct_array_name() 122 strncpy(&name[pos], (char*)element_name->base(), element_len); in construct_array_name() 123 name[pos + element_len] = '\0'; in construct_array_name() 126 strncpy(&name[pos], (char*)element_name->base(), element_len); in construct_array_name() 127 name[pos + element_len] = JVM_SIGNATURE_ENDCLASS; in construct_array_name() 128 name[pos + element_len + 1] = '\0'; in construct_array_name()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/share/ci/ |
H A D | ciObjArrayKlass.cpp | 110 int element_len = element_name->utf8_length(); in construct_array_name() local 111 int buflen = dimension + element_len + 3; // '['+ + 'L'? + (element) + ';'? + '\0' in construct_array_name() 121 strncpy(&name[pos], (char*)element_name->base(), element_len); in construct_array_name() 122 name[pos + element_len] = '\0'; in construct_array_name() 125 strncpy(&name[pos], (char*)element_name->base(), element_len); in construct_array_name() 126 name[pos + element_len] = JVM_SIGNATURE_ENDCLASS; in construct_array_name() 127 name[pos + element_len + 1] = '\0'; in construct_array_name()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/ci/ |
H A D | ciObjArrayKlass.cpp | 110 int element_len = element_name->utf8_length(); in construct_array_name() local 117 base_name_sym->byte_at(element_len-1) == ';')) { in construct_array_name() 119 int new_len = element_len + dimension + 1; // for the ['s and '\0' in construct_array_name() 126 strncpy(name+pos, (char*)element_name->base(), element_len); in construct_array_name() 131 + element_len; in construct_array_name() 139 strncpy(name+pos, (char*)element_name->base(), element_len); in construct_array_name()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/share/ci/ |
H A D | ciObjArrayKlass.cpp | 110 int element_len = element_name->utf8_length(); in construct_array_name() local 117 base_name_sym->char_at(element_len-1) == ';')) { in construct_array_name() 119 int new_len = element_len + dimension + 1; // for the ['s and '\0' in construct_array_name() 126 strncpy(name+pos, (char*)element_name->base(), element_len); in construct_array_name() 131 + element_len; in construct_array_name() 139 strncpy(name+pos, (char*)element_name->base(), element_len); in construct_array_name()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/ci/ |
H A D | ciObjArrayKlass.cpp | 110 int element_len = element_name->utf8_length(); in construct_array_name() local 117 base_name_sym->byte_at(element_len-1) == ';')) { in construct_array_name() 119 int new_len = element_len + dimension + 1; // for the ['s and '\0' in construct_array_name() 126 strncpy(name+pos, (char*)element_name->base(), element_len); in construct_array_name() 131 + element_len; in construct_array_name() 139 strncpy(name+pos, (char*)element_name->base(), element_len); in construct_array_name()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/hotspot/share/ci/ |
H A D | ciObjArrayKlass.cpp | 110 int element_len = element_name->utf8_length(); in construct_array_name() local 117 base_name_sym->char_at(element_len-1) == ';')) { in construct_array_name() 119 int new_len = element_len + dimension + 1; // for the ['s and '\0' in construct_array_name() 126 strncpy(name+pos, (char*)element_name->base(), element_len); in construct_array_name() 131 + element_len; in construct_array_name() 139 strncpy(name+pos, (char*)element_name->base(), element_len); in construct_array_name()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/hotspot/share/ci/ |
H A D | ciObjArrayKlass.cpp | 110 int element_len = element_name->utf8_length(); in construct_array_name() local 117 base_name_sym->char_at(element_len-1) == JVM_SIGNATURE_ENDCLASS)) { in construct_array_name() 119 int new_len = element_len + dimension + 1; // for the ['s and '\0' in construct_array_name() 126 strncpy(name+pos, (char*)element_name->base(), element_len); in construct_array_name() 131 + element_len; in construct_array_name() 139 strncpy(name+pos, (char*)element_name->base(), element_len); in construct_array_name()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/hotspot/src/share/vm/ci/ |
H A D | ciObjArrayKlass.cpp | 110 int element_len = element_name->utf8_length(); in construct_array_name() local 117 base_name_sym->byte_at(element_len-1) == ';')) { in construct_array_name() 119 int new_len = element_len + dimension + 1; // for the ['s and '\0' in construct_array_name() 126 strncpy(name+pos, (char*)element_name->base(), element_len); in construct_array_name() 131 + element_len; in construct_array_name() 139 strncpy(name+pos, (char*)element_name->base(), element_len); in construct_array_name()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/hotspot/src/share/vm/ci/ |
H A D | ciObjArrayKlass.cpp | 110 int element_len = element_name->utf8_length(); in construct_array_name() local 117 base_name_sym->byte_at(element_len-1) == ';')) { in construct_array_name() 119 int new_len = element_len + dimension + 1; // for the ['s and '\0' in construct_array_name() 126 strncpy(name+pos, (char*)element_name->base(), element_len); in construct_array_name() 131 + element_len; in construct_array_name() 139 strncpy(name+pos, (char*)element_name->base(), element_len); in construct_array_name()
|
/dports/security/yubico-piv-tool/yubico-piv-tool-2.2.0/lib/tests/ |
H A D | api.c | 282 int element_len = 128; in import_key() local 295 ck_assert(set_component(p, bn_p, element_len)); in import_key() 296 ck_assert(set_component(q, bn_q, element_len)); in import_key() 305 p, element_len, in import_key() 306 q, element_len, in import_key() 307 dmp1, element_len, in import_key() 308 dmq1, element_len, in import_key() 309 iqmp, element_len, in import_key() 318 p, element_len, in import_key() 319 q, element_len, in import_key() [all …]
|
/dports/lang/php73/php-7.3.33/ext/oci8/ |
H A D | oci8_collection.c | 397 int php_oci_collection_append_string(php_oci_collection *collection, char *element, int element_len) in php_oci_collection_append_string() argument 404 …ingAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); in php_oci_collection_append_string() 435 int php_oci_collection_append(php_oci_collection *collection, char *element, int element_len) in php_oci_collection_append() argument 437 if (element_len == 0) { in php_oci_collection_append() 443 return php_oci_collection_append_date(collection, element, element_len); in php_oci_collection_append() 447 return php_oci_collection_append_string(collection, element, element_len); in php_oci_collection_append() 461 return php_oci_collection_append_number(collection, element, element_len); in php_oci_collection_append() 691 …element_set_string(php_oci_collection *collection, zend_long index, char *element, int element_len) in php_oci_collection_element_set_string() argument 698 …ingAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); in php_oci_collection_element_set_string()
|
/dports/www/mod_php81/php-8.1.1/ext/oci8/ |
H A D | oci8_collection.c | 391 int php_oci_collection_append_string(php_oci_collection *collection, char *element, int element_len) in php_oci_collection_append_string() argument 398 …ingAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); in php_oci_collection_append_string() 429 int php_oci_collection_append(php_oci_collection *collection, char *element, int element_len) in php_oci_collection_append() argument 431 if (element_len == 0) { in php_oci_collection_append() 437 return php_oci_collection_append_date(collection, element, element_len); in php_oci_collection_append() 441 return php_oci_collection_append_string(collection, element, element_len); in php_oci_collection_append() 455 return php_oci_collection_append_number(collection, element, element_len); in php_oci_collection_append() 685 …element_set_string(php_oci_collection *collection, zend_long index, char *element, int element_len) in php_oci_collection_element_set_string() argument 692 …ingAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); in php_oci_collection_element_set_string()
|
/dports/lang/php80/php-8.0.15/ext/oci8/ |
H A D | oci8_collection.c | 391 int php_oci_collection_append_string(php_oci_collection *collection, char *element, int element_len) in php_oci_collection_append_string() argument 398 …ingAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); in php_oci_collection_append_string() 429 int php_oci_collection_append(php_oci_collection *collection, char *element, int element_len) in php_oci_collection_append() argument 431 if (element_len == 0) { in php_oci_collection_append() 437 return php_oci_collection_append_date(collection, element, element_len); in php_oci_collection_append() 441 return php_oci_collection_append_string(collection, element, element_len); in php_oci_collection_append() 455 return php_oci_collection_append_number(collection, element, element_len); in php_oci_collection_append() 685 …element_set_string(php_oci_collection *collection, zend_long index, char *element, int element_len) in php_oci_collection_element_set_string() argument 692 …ingAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); in php_oci_collection_element_set_string()
|
/dports/lang/php81/php-8.1.1/ext/oci8/ |
H A D | oci8_collection.c | 391 int php_oci_collection_append_string(php_oci_collection *collection, char *element, int element_len) in php_oci_collection_append_string() argument 398 …ingAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); in php_oci_collection_append_string() 429 int php_oci_collection_append(php_oci_collection *collection, char *element, int element_len) in php_oci_collection_append() argument 431 if (element_len == 0) { in php_oci_collection_append() 437 return php_oci_collection_append_date(collection, element, element_len); in php_oci_collection_append() 441 return php_oci_collection_append_string(collection, element, element_len); in php_oci_collection_append() 455 return php_oci_collection_append_number(collection, element, element_len); in php_oci_collection_append() 685 …element_set_string(php_oci_collection *collection, zend_long index, char *element, int element_len) in php_oci_collection_element_set_string() argument 692 …ingAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); in php_oci_collection_element_set_string()
|
/dports/lang/php74/php-7.4.27/ext/oci8/ |
H A D | oci8_collection.c | 397 int php_oci_collection_append_string(php_oci_collection *collection, char *element, int element_len) in php_oci_collection_append_string() argument 404 …ingAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); in php_oci_collection_append_string() 435 int php_oci_collection_append(php_oci_collection *collection, char *element, int element_len) in php_oci_collection_append() argument 437 if (element_len == 0) { in php_oci_collection_append() 443 return php_oci_collection_append_date(collection, element, element_len); in php_oci_collection_append() 447 return php_oci_collection_append_string(collection, element, element_len); in php_oci_collection_append() 461 return php_oci_collection_append_number(collection, element, element_len); in php_oci_collection_append() 691 …element_set_string(php_oci_collection *collection, zend_long index, char *element, int element_len) in php_oci_collection_element_set_string() argument 698 …ingAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); in php_oci_collection_element_set_string()
|
/dports/www/mod_php73/php-7.3.33/ext/oci8/ |
H A D | oci8_collection.c | 397 int php_oci_collection_append_string(php_oci_collection *collection, char *element, int element_len) in php_oci_collection_append_string() argument 404 …ingAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); in php_oci_collection_append_string() 435 int php_oci_collection_append(php_oci_collection *collection, char *element, int element_len) in php_oci_collection_append() argument 437 if (element_len == 0) { in php_oci_collection_append() 443 return php_oci_collection_append_date(collection, element, element_len); in php_oci_collection_append() 447 return php_oci_collection_append_string(collection, element, element_len); in php_oci_collection_append() 461 return php_oci_collection_append_number(collection, element, element_len); in php_oci_collection_append() 691 …element_set_string(php_oci_collection *collection, zend_long index, char *element, int element_len) in php_oci_collection_element_set_string() argument 698 …ingAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); in php_oci_collection_element_set_string()
|
/dports/www/mod_php80/php-8.0.15/ext/oci8/ |
H A D | oci8_collection.c | 391 int php_oci_collection_append_string(php_oci_collection *collection, char *element, int element_len) in php_oci_collection_append_string() argument 398 …ingAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); in php_oci_collection_append_string() 429 int php_oci_collection_append(php_oci_collection *collection, char *element, int element_len) in php_oci_collection_append() argument 431 if (element_len == 0) { in php_oci_collection_append() 437 return php_oci_collection_append_date(collection, element, element_len); in php_oci_collection_append() 441 return php_oci_collection_append_string(collection, element, element_len); in php_oci_collection_append() 455 return php_oci_collection_append_number(collection, element, element_len); in php_oci_collection_append() 685 …element_set_string(php_oci_collection *collection, zend_long index, char *element, int element_len) in php_oci_collection_element_set_string() argument 692 …ingAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); in php_oci_collection_element_set_string()
|
/dports/www/mod_php74/php-7.4.27/ext/oci8/ |
H A D | oci8_collection.c | 397 int php_oci_collection_append_string(php_oci_collection *collection, char *element, int element_len) in php_oci_collection_append_string() argument 404 …ingAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); in php_oci_collection_append_string() 435 int php_oci_collection_append(php_oci_collection *collection, char *element, int element_len) in php_oci_collection_append() argument 437 if (element_len == 0) { in php_oci_collection_append() 443 return php_oci_collection_append_date(collection, element, element_len); in php_oci_collection_append() 447 return php_oci_collection_append_string(collection, element, element_len); in php_oci_collection_append() 461 return php_oci_collection_append_number(collection, element, element_len); in php_oci_collection_append() 691 …element_set_string(php_oci_collection *collection, zend_long index, char *element, int element_len) in php_oci_collection_element_set_string() argument 698 …ingAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr)); in php_oci_collection_element_set_string()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/wireless/marvell/mwifiex/ |
H A D | scan.c | 1221 u8 element_len; in mwifiex_update_bss_desc_with_ie() local 1239 element_len = *(current_ptr + 1); in mwifiex_update_bss_desc_with_ie() 1254 element_len); in mwifiex_update_bss_desc_with_ie() 1264 element_len); in mwifiex_update_bss_desc_with_ie() 1266 element_len); in mwifiex_update_bss_desc_with_ie() 1267 rate_size = element_len; in mwifiex_update_bss_desc_with_ie() 1316 if (!element_len) in mwifiex_update_bss_desc_with_ie() 1322 if (!element_len) in mwifiex_update_bss_desc_with_ie() 1351 bytes_to_copy = element_len; in mwifiex_update_bss_desc_with_ie() 1843 u8 element_id, element_len; in mwifiex_parse_single_response_buf() local [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/wireless/marvell/mwifiex/ |
H A D | scan.c | 1221 u8 element_len; in mwifiex_update_bss_desc_with_ie() local 1239 element_len = *(current_ptr + 1); in mwifiex_update_bss_desc_with_ie() 1254 element_len); in mwifiex_update_bss_desc_with_ie() 1264 element_len); in mwifiex_update_bss_desc_with_ie() 1266 element_len); in mwifiex_update_bss_desc_with_ie() 1267 rate_size = element_len; in mwifiex_update_bss_desc_with_ie() 1316 if (!element_len) in mwifiex_update_bss_desc_with_ie() 1322 if (!element_len) in mwifiex_update_bss_desc_with_ie() 1351 bytes_to_copy = element_len; in mwifiex_update_bss_desc_with_ie() 1843 u8 element_id, element_len; in mwifiex_parse_single_response_buf() local [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/wireless/marvell/mwifiex/ |
H A D | scan.c | 1221 u8 element_len; in mwifiex_update_bss_desc_with_ie() local 1239 element_len = *(current_ptr + 1); in mwifiex_update_bss_desc_with_ie() 1254 element_len); in mwifiex_update_bss_desc_with_ie() 1264 element_len); in mwifiex_update_bss_desc_with_ie() 1266 element_len); in mwifiex_update_bss_desc_with_ie() 1267 rate_size = element_len; in mwifiex_update_bss_desc_with_ie() 1316 if (!element_len) in mwifiex_update_bss_desc_with_ie() 1322 if (!element_len) in mwifiex_update_bss_desc_with_ie() 1351 bytes_to_copy = element_len; in mwifiex_update_bss_desc_with_ie() 1843 u8 element_id, element_len; in mwifiex_parse_single_response_buf() local [all …]
|
/dports/security/yubico-piv-tool/yubico-piv-tool-2.2.0/common/ |
H A D | util.c | 367 bool set_component(unsigned char *in_ptr, const BIGNUM *bn, int element_len) { in set_component() argument 370 if(real_len > element_len) { in set_component() 373 memset(in_ptr, 0, (size_t)(element_len - real_len)); in set_component() 374 in_ptr += element_len - real_len; in set_component()
|
/dports/security/yubico-piv-tool/yubico-piv-tool-2.2.0/tool/ |
H A D | yubico-piv-tool.c | 451 int element_len = 128; in import_key() local 453 element_len = 64; in import_key() 465 if(set_component(p, bn_p, element_len) == false) { in import_key() 470 if(set_component(q, bn_q, element_len) == false) { in import_key() 475 if(set_component(dmp1, bn_dmp1, element_len) == false) { in import_key() 491 p, (size_t)element_len, in import_key() 492 q, (size_t)element_len, in import_key() 504 int element_len = 32; in import_key() local 506 element_len = 48; in import_key() 509 if(set_component(s_ptr, s, element_len) == false) { in import_key() [all …]
|