Searched refs:buffer_ref (Results 1 – 3 of 3) sorted by relevance
24 jobject buffer_ref = env->NewGlobalRef(buffer); in Java_org_brotli_wrapper_common_CommonJNI_nativeSetDictionaryData() local25 if (!buffer_ref) { in Java_org_brotli_wrapper_common_CommonJNI_nativeSetDictionaryData()30 env->DeleteGlobalRef(buffer_ref); in Java_org_brotli_wrapper_common_CommonJNI_nativeSetDictionaryData()38 env->DeleteGlobalRef(buffer_ref); in Java_org_brotli_wrapper_common_CommonJNI_nativeSetDictionaryData()
25 auto& buffer_ref = *buffer; in MaybeResetBuffer() local26 if (!buffer_ref.get() || buffer_ref->num_frames() != config.num_frames() || in MaybeResetBuffer()27 buffer_ref->num_channels() != config.num_channels()) { in MaybeResetBuffer()28 buffer_ref.reset( in MaybeResetBuffer()
34 auto& buffer_ref = *buffer; in MaybeResetBuffer() local35 if (!buffer_ref.get() || buffer_ref->num_frames() != config.num_frames() || in MaybeResetBuffer()36 buffer_ref->num_channels() != config.num_channels()) { in MaybeResetBuffer()37 buffer_ref.reset( in MaybeResetBuffer()