Searched refs:array_bytes (Results 1 – 3 of 3) sorted by relevance
48 jbyte* const array_bytes = env->GetByteArrayElements(array, JNI_FALSE); in JStringToUtf8String() local51 *result = std::string(reinterpret_cast<char*>(array_bytes), length); in JStringToUtf8String()54 env->ReleaseByteArrayElements(array, array_bytes, JNI_ABORT); in JStringToUtf8String()
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()