Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Ddbmmodule.c100 int tmp_size; in dbm_subscript() local
102 if (!PyArg_Parse(key, "s#", &krec.dptr, &tmp_size) ) in dbm_subscript()
105 krec.dsize = tmp_size; in dbm_subscript()
125 int tmp_size; in dbm_ass_sub() local
127 if ( !PyArg_Parse(v, "s#", &krec.dptr, &tmp_size) ) { in dbm_ass_sub()
132 krec.dsize = tmp_size; in dbm_ass_sub()
146 if ( !PyArg_Parse(w, "s#", &drec.dptr, &tmp_size) ) { in dbm_ass_sub()
151 drec.dsize = tmp_size; in dbm_ass_sub()
250 int tmp_size; in dbm_has_key() local
252 if (!PyArg_ParseTuple(args, "s#:has_key", &tmp_ptr, &tmp_size)) in dbm_has_key()
[all …]
/external/python/cpython3/Modules/
D_dbmmodule.c108 Py_ssize_t tmp_size; in dbm_subscript() local
110 if (!PyArg_Parse(key, "s#", &krec.dptr, &tmp_size) ) in dbm_subscript()
113 krec.dsize = tmp_size; in dbm_subscript()
132 Py_ssize_t tmp_size; in dbm_ass_sub() local
134 if ( !PyArg_Parse(v, "s#", &krec.dptr, &tmp_size) ) { in dbm_ass_sub()
139 krec.dsize = tmp_size; in dbm_ass_sub()
159 if ( !PyArg_Parse(w, "s#", &drec.dptr, &tmp_size) ) { in dbm_ass_sub()
164 drec.dsize = tmp_size; in dbm_ass_sub()
329 Py_ssize_t tmp_size; in _dbm_dbm_setdefault_impl() local
345 if ( !PyArg_Parse(default_value, "s#", &val.dptr, &tmp_size) ) { in _dbm_dbm_setdefault_impl()
[all …]
/external/libchrome/base/process/
Dmemory.cc20 size_t tmp_size = size; in OnNoMemory() local
21 base::debug::Alias(&tmp_size); in OnNoMemory()
22 LOG(FATAL) << "Out of memory. size=" << tmp_size; in OnNoMemory()
/external/pdfium/fpdfsdk/
Dfpdf_structtree.cpp56 pdfium::base::CheckedNumeric<int> tmp_size = tree->CountTopElements(); in FPDF_StructTree_CountChildren() local
57 return tmp_size.ValueOrDefault(-1); in FPDF_StructTree_CountChildren()
116 pdfium::base::CheckedNumeric<int> tmp_size = elem->CountKids(); in FPDF_StructElement_CountChildren() local
117 return tmp_size.ValueOrDefault(-1); in FPDF_StructElement_CountChildren()
/external/minijail/
Dminijail0_cli.c436 int *pivot_root, int chroot, size_t *tmp_size) in use_profile() argument
458 if (!*tmp_size) { in use_profile()
460 *tmp_size = DEFAULT_TMP_SIZE; in use_profile()
661 size_t tmp_size = 0; in parse_args() local
768 if (!tmp_size) { in parse_args()
773 tmp_size = DEFAULT_TMP_SIZE; in parse_args()
776 0 != parse_size(&tmp_size, optarg)) { in parse_args()
942 use_profile(j, optarg, &pivot_root, chroot, &tmp_size); in parse_args()
1060 if (tmp_size) in parse_args()
1061 minijail_mount_tmp_size(j, tmp_size); in parse_args()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv98_video.c96 u32 tmp_size = 0; in nv98_create_decoder() local
204 tmp_size = mb(templ->height)*16 * mb(templ->width)*16; in nv98_create_decoder()
210 tmp_size = mb(templ->height)*16 * mb(templ->width)*16; in nv98_create_decoder()
217 tmp_size = dec->tmp_stride * (templ->max_references + 1); in nv98_create_decoder()
244 dec->ref_stride * (templ->max_references+2) + tmp_size, in nv98_create_decoder()
/external/webrtc/sdk/android/src/jni/
Dnv12_buffer.cc49 const int tmp_size = crop_chroma_height * (tmp_stride_u + tmp_stride_v); in JNI_NV12Buffer_CropAndScale() local
66 std::vector<uint8_t> tmp_buffer(tmp_size); in JNI_NV12Buffer_CropAndScale()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_video.c106 u32 tmp_size = 0; in nvc0_create_decoder() local
226 tmp_size = mb(templ->height)*16 * mb(templ->width)*16; in nvc0_create_decoder()
232 tmp_size = mb(templ->height)*16 * mb(templ->width)*16; in nvc0_create_decoder()
239 tmp_size = dec->tmp_stride * (templ->max_references + 1); in nvc0_create_decoder()
268 dec->ref_stride * (templ->max_references+2) + tmp_size, in nvc0_create_decoder()
/external/vboot_reference/firmware/2lib/
D2sha256.c251 unsigned int new_size, rem_size, tmp_size; in vb2_sha256_update() local
254 tmp_size = VB2_SHA256_BLOCK_SIZE - ctx->size; in vb2_sha256_update()
255 rem_size = size < tmp_size ? size : tmp_size; in vb2_sha256_update()
D2sha512.c281 unsigned int new_size, rem_size, tmp_size; in vb2_sha512_update() local
284 tmp_size = VB2_SHA512_BLOCK_SIZE - ctx->size; in vb2_sha512_update()
285 rem_size = size < tmp_size ? size : tmp_size; in vb2_sha512_update()
/external/webrtc/p2p/base/
Ddtls_transport.cc760 size_t tmp_size = size; in HandleDtlsPacket() local
761 while (tmp_size > 0) { in HandleDtlsPacket()
762 if (tmp_size < kDtlsRecordHeaderLen) in HandleDtlsPacket()
766 if ((record_len + kDtlsRecordHeaderLen) > tmp_size) in HandleDtlsPacket()
770 tmp_size -= record_len + kDtlsRecordHeaderLen; in HandleDtlsPacket()
/external/igt-gpu-tools/lib/
Digt_draw.c441 int tmp_used = 0, tmp_size; in draw_rect_pwrite_tiled() local
450 tmp_size = sizeof(tmp) / pixel_size; in draw_rect_pwrite_tiled()
455 for (i = 0; i < tmp_size; i++) in draw_rect_pwrite_tiled()
481 if (tmp_used == tmp_size || (flush_tmp && tmp_used > 0) || in draw_rect_pwrite_tiled()
/external/webp/src/dec/
Dio_dec.c303 size_t tmp_size, rescaler_size; in InitYUVRescaler() local
308 tmp_size = (work_size + 2 * uv_work_size) * sizeof(*work); in InitYUVRescaler()
310 tmp_size += work_size * sizeof(*work); in InitYUVRescaler()
314 p->memory = WebPSafeMalloc(1ULL, tmp_size + rescaler_size); in InitYUVRescaler()
320 scalers = (WebPRescaler*)WEBP_ALIGN((const uint8_t*)work + tmp_size); in InitYUVRescaler()
/external/libusb/libusb/os/
Dwindows_winusb.c3233 size_t tmp_size; in _hid_get_config_descriptor() local
3270 tmp_size = LIBUSB_DT_HID_SIZE; in _hid_get_config_descriptor()
3271 _hid_get_hid_descriptor(hid_priv, hd, &tmp_size); in _hid_get_config_descriptor()
3304 size_t tmp_size = 0; in _hid_get_string_descriptor() local
3312 tmp_size = sizeof(string_langid) + 2; in _hid_get_string_descriptor()
3317 tmp_size = (_hid_wcslen(hid_priv->string[i]) + 1) * sizeof(WCHAR); in _hid_get_string_descriptor()
3326 tmp_size = (_hid_wcslen(string) + 1) * sizeof(WCHAR); in _hid_get_string_descriptor()
3330 if (!tmp_size) in _hid_get_string_descriptor()
3333 if (tmp_size < *size) in _hid_get_string_descriptor()
3334 *size = tmp_size; in _hid_get_string_descriptor()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp3207 unsigned tmp_size = 0; in emit_load() local
3209 while ((!tmp_size || (tmp_size % component_size)) && i < num_vals) { in emit_load()
3212 tmp_size += vals[i].bytes(); in emit_load()
3220 tmp[0] = bld.tmp(RegClass::get(reg_type, tmp_size)); in emit_load()
3236 if (tmp_size == elem_rc.bytes()) { in emit_load()
3239 assert(tmp_size % elem_rc.bytes() == 0); in emit_load()
3241 aco_opcode::p_split_vector, Format::PSEUDO, 1, tmp_size / elem_rc.bytes())}; in emit_load()
/external/deqp/external/openglcts/modules/gl/
Dgl3cTransformFeedbackTests.cpp877 glw::GLsizei tmp_size = 0; in testExtension1() local
882 &tmp_size, &tmp_type, tmp_buffer); in testExtension1()