Searched refs:array_bytes (Results 1 – 3 of 3) sorted by relevance
25 jbyte* const array_bytes = env->GetByteArrayElements(array, JNI_FALSE); in JByteArrayToString() local26 if (array_bytes == nullptr) { in JByteArrayToString()31 *result = std::string(reinterpret_cast<char*>(array_bytes), array_length); in JByteArrayToString()33 env->ReleaseByteArrayElements(array, array_bytes, JNI_ABORT); in JByteArrayToString()
4463 size_t array_bytes; in upb_inttable_sizedinit() local4470 array_bytes = t->array_size * sizeof(upb_value); in upb_inttable_sizedinit()4471 t->array = malloc(array_bytes); in upb_inttable_sizedinit()4476 memset(mutable_array(t), 0xff, array_bytes); in upb_inttable_sizedinit()
4710 size_t array_bytes; in upb_inttable_sizedinit() local4717 array_bytes = t->array_size * sizeof(upb_value); in upb_inttable_sizedinit()4718 t->array = upb_malloc(a, array_bytes); in upb_inttable_sizedinit()4723 memset(mutable_array(t), 0xff, array_bytes); in upb_inttable_sizedinit()