Home
last modified time | relevance | path

Searched refs:scratchpad (Results 1 – 16 of 16) sorted by relevance

/external/grpc-grpc/test/core/json/
Djson_test.cc144 char* scratchpad = gpr_strdup(pair->input); in test_pairs() local
149 json = grpc_json_parse_string(scratchpad); in test_pairs()
167 gpr_free(scratchpad); in test_pairs()
172 char* scratchpad = gpr_strdup("[[],[],[]]"); in test_atypical() local
173 grpc_json* json = grpc_json_parse_string(scratchpad); in test_atypical()
183 gpr_free(scratchpad); in test_atypical()
Djson_rewrite.cc41 char* scratchpad; member
73 state->scratchpad = static_cast<char*>( in check_string()
74 gpr_realloc(state->scratchpad, state->allocated + needed)); in check_string()
89 state->scratchpad[state->string_len++] = static_cast<char>(c); in json_reader_string_add_char()
154 grpc_json_writer_object_key(state->writer, state->scratchpad); in json_reader_set_key()
161 grpc_json_writer_value_string(state->writer, state->scratchpad); in json_reader_set_string()
167 grpc_json_writer_value_raw_with_len(state->writer, state->scratchpad, in json_reader_set_number()
209 reader_user.scratchpad = nullptr; in rewrite()
221 free(reader_user.scratchpad); in rewrite()
Djson_rewrite_test.cc42 char* scratchpad; member
84 state->scratchpad = static_cast<char*>( in check_string()
85 gpr_realloc(state->scratchpad, state->allocated + needed)); in check_string()
100 state->scratchpad[state->string_len++] = static_cast<char>(c); in json_reader_string_add_char()
172 grpc_json_writer_object_key(state->writer, state->scratchpad); in json_reader_set_key()
179 grpc_json_writer_value_string(state->writer, state->scratchpad); in json_reader_set_string()
185 grpc_json_writer_value_raw_with_len(state->writer, state->scratchpad, in json_reader_set_number()
230 reader_user.scratchpad = nullptr; in rewrite_and_compare()
245 free(reader_user.scratchpad); in rewrite_and_compare()
/external/u-boot/drivers/usb/host/
Dxhci-mem.c105 if (!ctrl->scratchpad) in xhci_scratchpad_free()
110 free((void *)(uintptr_t)ctrl->scratchpad->sp_array[0]); in xhci_scratchpad_free()
111 free(ctrl->scratchpad->sp_array); in xhci_scratchpad_free()
112 free(ctrl->scratchpad); in xhci_scratchpad_free()
113 ctrl->scratchpad = NULL; in xhci_scratchpad_free()
351 struct xhci_scratchpad *scratchpad; in xhci_scratchpad_alloc() local
361 scratchpad = malloc(sizeof(*scratchpad)); in xhci_scratchpad_alloc()
362 if (!scratchpad) in xhci_scratchpad_alloc()
364 ctrl->scratchpad = scratchpad; in xhci_scratchpad_alloc()
366 scratchpad->sp_array = xhci_malloc(num_sp * sizeof(u64)); in xhci_scratchpad_alloc()
[all …]
Dxhci.h1230 struct xhci_scratchpad *scratchpad; member
/external/grpc-grpc/test/core/security/
Djson_token_test.cc209 char** scratchpad) { in parse_json_part_from_jwt() argument
226 *scratchpad = decoded; in parse_json_part_from_jwt()
380 char* scratchpad; in test_jwt_encode_and_sign() local
389 &scratchpad); in test_jwt_encode_and_sign()
394 gpr_free(scratchpad); in test_jwt_encode_and_sign()
399 jwt + offset, static_cast<size_t>(dot - (jwt + offset)), &scratchpad); in test_jwt_encode_and_sign()
404 gpr_free(scratchpad); in test_jwt_encode_and_sign()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorDeviceCuda.h31 virtual void* scratchpad() const = 0;
158 virtual void* scratchpad() const { in initializeDeviceProp() function
167 char* scratch = static_cast<char*>(scratchpad()) + kCudaScratchSize; in initializeDeviceProp()
205 EIGEN_STRONG_INLINE void* scratchpad() const { in initializeDeviceProp() function
206 return stream_->scratchpad(); in initializeDeviceProp()
DTensorReductionCuda.h321 half2* scratch = static_cast<half2*>(device.scratchpad());
/external/grpc-grpc/src/core/lib/security/credentials/jwt/
Djson_token.cc121 char* scratchpad = gpr_strdup(json_string); in grpc_auth_json_key_create_from_string() local
122 grpc_json* json = grpc_json_parse_string(scratchpad); in grpc_auth_json_key_create_from_string()
125 gpr_free(scratchpad); in grpc_auth_json_key_create_from_string()
/external/grpc-grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc78 char* scratchpad = gpr_strdup(json_string); in grpc_auth_refresh_token_create_from_string() local
79 grpc_json* json = grpc_json_parse_string(scratchpad); in grpc_auth_refresh_token_create_from_string()
83 gpr_free(scratchpad); in grpc_auth_refresh_token_create_from_string()
/external/python/cpython3/Lib/test/
D_test_multiprocessing.py2571 scratchpad = [None]
2573 scratchpad[0] = exc
2577 self.assertTrue(scratchpad[0])
2578 self.assertIsInstance(scratchpad[0], KeyError)
2590 scratchpad = [None]
2592 scratchpad[0] = exc
2596 wrapped = scratchpad[0]
2598 self.assertIsInstance(scratchpad[0], MaybeEncodingError)
/external/skqp/src/compute/skc/platforms/cl_12/kernels/
Dplace.cl209 // zero the volatile smem scratchpad using vector syntax
Drasterize.cl164 // SIMT subgroup scratchpad for max scan -- also shared with 'winner' member
1400 // zero the volatile smem scratchpad using vector syntax
1438 // zero the volatile smem scratchpad using vector syntax
/external/skia/src/compute/skc/platforms/cl_12/kernels/
Dplace.cl209 // zero the volatile smem scratchpad using vector syntax
Drasterize.cl164 // SIMT subgroup scratchpad for max scan -- also shared with 'winner' member
1400 // zero the volatile smem scratchpad using vector syntax
1438 // zero the volatile smem scratchpad using vector syntax
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device.cc180 void* scratchpad() const override { return scratch_; } in scratchpad() function in tensorflow::EigenGpuStreamDevice