Home
last modified time | relevance | path

Searched refs:wrapper (Results 1 – 25 of 1186) sorted by relevance

12345678910>>...48

/external/jemalloc_new/include/jemalloc/internal/
Dtsd_generic.h33 tsd_wrapper_t *wrapper = (tsd_wrapper_t *)arg; in tsd_cleanup_wrapper() local
35 if (wrapper->initialized) { in tsd_cleanup_wrapper()
36 wrapper->initialized = false; in tsd_cleanup_wrapper()
37 tsd_cleanup(&wrapper->val); in tsd_cleanup_wrapper()
38 if (wrapper->initialized) { in tsd_cleanup_wrapper()
40 if (pthread_setspecific(tsd_tsd, (void *)wrapper) != 0) in tsd_cleanup_wrapper()
50 malloc_tsd_dalloc(wrapper); in tsd_cleanup_wrapper()
54 tsd_wrapper_set(tsd_wrapper_t *wrapper) { in tsd_wrapper_set() argument
55 if (pthread_setspecific(tsd_tsd, (void *)wrapper) != 0) { in tsd_wrapper_set()
63 tsd_wrapper_t *wrapper = (tsd_wrapper_t *)pthread_getspecific(tsd_tsd); in tsd_wrapper_get() local
[all …]
Dtsd_win.h19 tsd_wrapper_t *wrapper = (tsd_wrapper_t *)TlsGetValue(tsd_tsd); in tsd_cleanup_wrapper() local
22 if (wrapper == NULL) { in tsd_cleanup_wrapper()
26 if (wrapper->initialized) { in tsd_cleanup_wrapper()
27 wrapper->initialized = false; in tsd_cleanup_wrapper()
28 tsd_cleanup(&wrapper->val); in tsd_cleanup_wrapper()
29 if (wrapper->initialized) { in tsd_cleanup_wrapper()
34 malloc_tsd_dalloc(wrapper); in tsd_cleanup_wrapper()
39 tsd_wrapper_set(tsd_wrapper_t *wrapper) { in tsd_wrapper_set() argument
40 if (!TlsSetValue(tsd_tsd, (void *)wrapper)) { in tsd_wrapper_set()
49 tsd_wrapper_t *wrapper = (tsd_wrapper_t *) TlsGetValue(tsd_tsd); in tsd_wrapper_get() local
[all …]
/external/apache-commons-compress/.mvn/wrapper/
Dmaven-wrapper.jar ... apache/maven/ org/apache/maven/wrapper/ org/apache/maven/wrapper/BootstrapMainStarter ...
/external/snakeyaml/.mvn/wrapper/
Dmaven-wrapper.jar ... maven.wrapper public org.apache.maven.wrapper.BootstrapMainStarter extends java.lang.Object { public ...
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DNativeInterpreterWrapperTest.java63 NativeInterpreterWrapper wrapper = new NativeInterpreterWrapper(FLOAT_MODEL_PATH); in testConstructor() local
64 assertThat(wrapper).isNotNull(); in testConstructor()
65 wrapper.close(); in testConstructor()
70 NativeInterpreterWrapper wrapper = in testConstructorWithOptions() local
73 assertThat(wrapper).isNotNull(); in testConstructorWithOptions()
74 wrapper.close(); in testConstructorWithOptions()
80 NativeInterpreterWrapper wrapper = new NativeInterpreterWrapper(INVALID_MODEL_PATH); in testConstructorWithInvalidModel() local
90 NativeInterpreterWrapper wrapper = new NativeInterpreterWrapper(NONEXISTING_MODEL_PATH); in testConstructorWithNonexistingModel() local
101 NativeInterpreterWrapper wrapper = new NativeInterpreterWrapper(MODEL_WITH_CUSTOM_OP_PATH); in testConstructorWithUnresolableCustomOp() local
112 NativeInterpreterWrapper wrapper = new NativeInterpreterWrapper(FLOAT_MODEL_PATH); in testRunWithFloat() local
[all …]
/external/libvpx/libvpx/test/
Dpartial_idct_test.cc40 void wrapper(const tran_low_t *in, uint8_t *out, int stride, int bd) { in wrapper() function
449 make_tuple(&vpx_fdct32x32_c, &wrapper<vpx_idct32x32_1024_add_c>,
450 &wrapper<vpx_idct32x32_1024_add_c>, TX_32X32, 1024, 8, 1),
451 make_tuple(&vpx_fdct32x32_c, &wrapper<vpx_idct32x32_1024_add_c>,
452 &wrapper<vpx_idct32x32_135_add_c>, TX_32X32, 135, 8, 1),
453 make_tuple(&vpx_fdct32x32_c, &wrapper<vpx_idct32x32_1024_add_c>,
454 &wrapper<vpx_idct32x32_34_add_c>, TX_32X32, 34, 8, 1),
455 make_tuple(&vpx_fdct32x32_c, &wrapper<vpx_idct32x32_1024_add_c>,
456 &wrapper<vpx_idct32x32_1_add_c>, TX_32X32, 1, 8, 1),
457 make_tuple(&vpx_fdct16x16_c, &wrapper<vpx_idct16x16_256_add_c>,
[all …]
/external/jemalloc/include/jemalloc/internal/
Dtsd.h311 a_name##tsd_wrapper_t *wrapper = (a_name##tsd_wrapper_t *) \
315 if (wrapper == NULL) \
318 wrapper->initialized) { \
319 wrapper->initialized = false; \
320 a_cleanup(&wrapper->val); \
321 if (wrapper->initialized) { \
326 malloc_tsd_dalloc(wrapper); \
330 a_name##tsd_wrapper_set(a_name##tsd_wrapper_t *wrapper) \
333 if (!TlsSetValue(a_name##tsd_tsd, (void *)wrapper)) { \
343 a_name##tsd_wrapper_t *wrapper = (a_name##tsd_wrapper_t *) \
[all …]
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_compression_options.c58 grpc_rb_compression_options* wrapper = NULL; in grpc_rb_compression_options_free() local
62 wrapper = (grpc_rb_compression_options*)p; in grpc_rb_compression_options_free()
64 if (wrapper->wrapped != NULL) { in grpc_rb_compression_options_free()
65 gpr_free(wrapper->wrapped); in grpc_rb_compression_options_free()
66 wrapper->wrapped = NULL; in grpc_rb_compression_options_free()
90 grpc_rb_compression_options* wrapper = NULL; in grpc_rb_compression_options_alloc() local
94 wrapper = gpr_malloc(sizeof(grpc_rb_compression_options)); in grpc_rb_compression_options_alloc()
95 wrapper->wrapped = NULL; in grpc_rb_compression_options_alloc()
96 wrapper->wrapped = gpr_malloc(sizeof(grpc_compression_options)); in grpc_rb_compression_options_alloc()
97 grpc_compression_options_init(wrapper->wrapped); in grpc_rb_compression_options_alloc()
[all …]
Drb_channel_credentials.c53 grpc_rb_channel_credentials* wrapper = NULL; in grpc_rb_channel_credentials_free() local
57 wrapper = (grpc_rb_channel_credentials*)p; in grpc_rb_channel_credentials_free()
58 grpc_channel_credentials_release(wrapper->wrapped); in grpc_rb_channel_credentials_free()
59 wrapper->wrapped = NULL; in grpc_rb_channel_credentials_free()
66 grpc_rb_channel_credentials* wrapper = NULL; in grpc_rb_channel_credentials_mark() local
70 wrapper = (grpc_rb_channel_credentials*)p; in grpc_rb_channel_credentials_mark()
72 if (wrapper->mark != Qnil) { in grpc_rb_channel_credentials_mark()
73 rb_gc_mark(wrapper->mark); in grpc_rb_channel_credentials_mark()
93 grpc_rb_channel_credentials* wrapper = ALLOC(grpc_rb_channel_credentials); in grpc_rb_channel_credentials_alloc() local
94 wrapper->wrapped = NULL; in grpc_rb_channel_credentials_alloc()
[all …]
Drb_server_credentials.c46 grpc_rb_server_credentials* wrapper = NULL; in grpc_rb_server_credentials_free() local
50 wrapper = (grpc_rb_server_credentials*)p; in grpc_rb_server_credentials_free()
54 if (wrapper->wrapped != NULL && wrapper->mark == Qnil) { in grpc_rb_server_credentials_free()
55 grpc_server_credentials_release(wrapper->wrapped); in grpc_rb_server_credentials_free()
56 wrapper->wrapped = NULL; in grpc_rb_server_credentials_free()
64 grpc_rb_server_credentials* wrapper = NULL; in grpc_rb_server_credentials_mark() local
68 wrapper = (grpc_rb_server_credentials*)p; in grpc_rb_server_credentials_mark()
71 if (wrapper->mark != Qnil) { in grpc_rb_server_credentials_mark()
72 rb_gc_mark(wrapper->mark); in grpc_rb_server_credentials_mark()
93 grpc_rb_server_credentials* wrapper = ALLOC(grpc_rb_server_credentials); in grpc_rb_server_credentials_alloc() local
[all …]
Drb_call_credentials.c139 grpc_rb_call_credentials* wrapper; in grpc_rb_call_credentials_free() local
143 wrapper = (grpc_rb_call_credentials*)p; in grpc_rb_call_credentials_free()
144 grpc_call_credentials_release(wrapper->wrapped); in grpc_rb_call_credentials_free()
145 wrapper->wrapped = NULL; in grpc_rb_call_credentials_free()
152 grpc_rb_call_credentials* wrapper = NULL; in grpc_rb_call_credentials_mark() local
156 wrapper = (grpc_rb_call_credentials*)p; in grpc_rb_call_credentials_mark()
157 if (wrapper->mark != Qnil) { in grpc_rb_call_credentials_mark()
158 rb_gc_mark(wrapper->mark); in grpc_rb_call_credentials_mark()
178 grpc_rb_call_credentials* wrapper = ALLOC(grpc_rb_call_credentials); in grpc_rb_call_credentials_alloc() local
179 wrapper->wrapped = NULL; in grpc_rb_call_credentials_alloc()
[all …]
Drb_channel.c101 grpc_rb_channel* wrapper; member
192 grpc_rb_channel* wrapper = ALLOC(grpc_rb_channel); in grpc_rb_channel_alloc() local
193 wrapper->bg_wrapped = NULL; in grpc_rb_channel_alloc()
194 wrapper->credentials = Qnil; in grpc_rb_channel_alloc()
195 return TypedData_Wrap_Struct(cls, &grpc_channel_data_type, wrapper); in grpc_rb_channel_alloc()
210 grpc_rb_channel* wrapper = NULL; in grpc_rb_channel_init() local
230 TypedData_Get_Struct(self, grpc_rb_channel, &grpc_channel_data_type, wrapper); in grpc_rb_channel_init()
241 wrapper->credentials = credentials; in grpc_rb_channel_init()
248 stack.wrapper = wrapper; in grpc_rb_channel_init()
299 grpc_rb_channel* wrapper = NULL; in grpc_rb_channel_get_connectivity_state() local
[all …]
/external/grpc-grpc/src/php/ext/grpc/
Dchannel.c61 void php_grpc_channel_ref(grpc_channel_wrapper* wrapper) { in php_grpc_channel_ref() argument
62 gpr_mu_lock(&wrapper->mu); in php_grpc_channel_ref()
63 wrapper->ref_count += 1; in php_grpc_channel_ref()
64 gpr_mu_unlock(&wrapper->mu); in php_grpc_channel_ref()
67 void php_grpc_channel_unref(grpc_channel_wrapper* wrapper) { in php_grpc_channel_unref() argument
68 gpr_mu_lock(&wrapper->mu); in php_grpc_channel_unref()
69 wrapper->ref_count -= 1; in php_grpc_channel_unref()
70 if (wrapper->ref_count == 0) { in php_grpc_channel_unref()
71 free_grpc_channel_wrapper(wrapper, true); in php_grpc_channel_unref()
72 gpr_mu_unlock(&wrapper->mu); in php_grpc_channel_unref()
[all …]
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/
DInterpreter.java171 wrapper = new NativeInterpreterWrapper(modelFile.getAbsolutePath(), options); in Interpreter()
224 wrapper = new NativeInterpreterWrapper(byteBuffer, options); in Interpreter()
275 wrapper.run(inputs, outputs); in runForMultipleInputsOutputs()
285 wrapper.resizeInput(idx, dims); in resizeInput()
291 return wrapper.getInputTensorCount(); in getInputTensorCount()
302 return wrapper.getInputIndex(opName); in getInputIndex()
312 return wrapper.getInputTensor(inputIndex); in getInputTensor()
318 return wrapper.getOutputTensorCount(); in getOutputTensorCount()
329 return wrapper.getOutputIndex(opName); in getOutputIndex()
339 return wrapper.getOutputTensor(outputIndex); in getOutputTensor()
[all …]
/external/apache-harmony/support/src/test/java/tests/util/
DCallVerificationStack.java202 BaseTypeWrapper wrapper = (BaseTypeWrapper) this.pop(); in popBoolean() local
203 Boolean value = (Boolean) wrapper.getValue(); in popBoolean()
213 BaseTypeWrapper wrapper = (BaseTypeWrapper) this.pop(); in popChar() local
214 Character value = (Character) wrapper.getValue(); in popChar()
224 BaseTypeWrapper wrapper = (BaseTypeWrapper) this.pop(); in popDouble() local
225 Double value = (Double) wrapper.getValue(); in popDouble()
235 BaseTypeWrapper wrapper = (BaseTypeWrapper) this.pop(); in popFloat() local
236 Float value = (Float) wrapper.getValue(); in popFloat()
246 BaseTypeWrapper wrapper = (BaseTypeWrapper) this.pop(); in popInt() local
247 Integer value = (Integer) wrapper.getValue(); in popInt()
[all …]
/external/python/cpython2/Lib/test/
Dtest_functools.py317 def check_wrapper(self, wrapper, wrapped, argument
322 self.assertTrue(getattr(wrapper, name) is getattr(wrapped, name))
325 wrapper_attr = getattr(wrapper, name)
335 def wrapper(): function
337 functools.update_wrapper(wrapper, f)
338 return wrapper, f
341 wrapper, f = self._default_update()
342 self.check_wrapper(wrapper, f)
343 self.assertEqual(wrapper.__name__, 'f')
344 self.assertEqual(wrapper.attr, 'This is also a test')
[all …]
/external/mesa3d/src/compiler/glsl/
Dstring_to_uint_map.h88 struct string_map_iterate_wrapper_closure *wrapper; in iterate() local
90 wrapper = (struct string_map_iterate_wrapper_closure *) in iterate()
92 if (wrapper == NULL) in iterate()
95 wrapper->callback = func; in iterate()
96 wrapper->closure = closure; in iterate()
98 hash_table_call_foreach(this->ht, subtract_one_wrapper, wrapper); in iterate()
99 free(wrapper); in iterate()
164 struct string_map_iterate_wrapper_closure *wrapper = in subtract_one_wrapper() local
170 wrapper->callback((const char *) key, value, wrapper->closure); in subtract_one_wrapper()
/external/tensorflow/tensorflow/lite/java/src/testhelper/java/org/tensorflow/lite/
DTestHelper.java29 if (interpreter != null && interpreter.wrapper != null) { in getLastNativeInferenceDurationNanoseconds()
30 return interpreter.wrapper.getLastNativeInferenceDurationNanoseconds(); in getLastNativeInferenceDurationNanoseconds()
45 if (interpreter != null && interpreter.wrapper != null) { in getInputDims()
46 return interpreter.wrapper.getInputTensor(index).shape(); in getInputDims()
64 if (interpreter != null && interpreter.wrapper != null) { in getInputDataType()
65 return interpreter.wrapper.getInputTensor(index).dataType().toStringName(); in getInputDataType()
83 if (interpreter != null && interpreter.wrapper != null) { in getOutputDataType()
84 return interpreter.wrapper.getOutputTensor(index).dataType().toStringName(); in getOutputDataType()
/external/tensorflow/tensorflow/contrib/seq2seq/python/kernel_tests/
Dattention_wrapper_v2_test.py25 from tensorflow.contrib.seq2seq.python.ops import attention_wrapper as wrapper unknown
54 ("luong", wrapper.LuongAttentionV2),
55 ("luong_monotonic", wrapper.LuongMonotonicAttentionV2),
56 ("bahdanau", wrapper.BahdanauAttentionV2),
57 ("bahdanau_monotonic", wrapper.BahdanauMonotonicAttentionV2),
67 ("luong", wrapper.LuongAttentionV2),
68 ("luong_monotonic", wrapper.LuongMonotonicAttentionV2),
69 ("bahdanau", wrapper.BahdanauAttentionV2),
70 ("bahdanau_monotonic", wrapper.BahdanauMonotonicAttentionV2),
82 ("luong", wrapper.LuongAttentionV2),
[all …]
/external/flatbuffers/samples/android/gradle/wrapper/
Dgradle-wrapper.jar ... org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/BootstrapMainStarter.class ...
/external/subsampling-scale-image-view/gradle/wrapper/
Dgradle-wrapper.jar ... org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/BootstrapMainStarter.class ...
/external/grpc-grpc-java/examples/android/clientcache/gradle/wrapper/
Dgradle-wrapper.jar ... org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/BootstrapMainStarter.class ...
/external/opencensus-java/gradle/wrapper/
Dgradle-wrapper.jar ... org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/BootstrapMainStarter.class ...
/external/grpc-grpc-java/examples/example-kotlin/android/helloworld/gradle/wrapper/
Dgradle-wrapper.jar ... org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/BootstrapMainStarter.class ...
/external/grpc-grpc-java/examples/android/helloworld/gradle/wrapper/
Dgradle-wrapper.jar ... org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/BootstrapMainStarter.class ...

12345678910>>...48