Home
last modified time | relevance | path

Searched refs:elen (Results 1 – 4 of 4) sorted by relevance

/toolchain/binutils/binutils-2.27/binutils/
Dwinduni.c204 rc_uint_type tlen, elen, idx = 0; in unicode_from_ascii_len() local
243 elen = 0; in unicode_from_ascii_len()
244 elen = wind_MultiByteToWideChar (wind_current_codepage, p, NULL, 0); in unicode_from_ascii_len()
245 if (elen) in unicode_from_ascii_len()
247 utmp = ((unichar *) res_alloc (elen + sizeof (unichar) * 2)); in unicode_from_ascii_len()
248 wind_MultiByteToWideChar (wind_current_codepage, p, utmp, elen); in unicode_from_ascii_len()
249 elen /= sizeof (unichar); in unicode_from_ascii_len()
250 elen --; in unicode_from_ascii_len()
269 up = (unichar *) res_alloc (sizeof (unichar) * (idx + elen)); in unicode_from_ascii_len()
274 if (elen) in unicode_from_ascii_len()
[all …]
Dresrc.c2960 rc_uint_type elen, flags; in write_rc_messagetable() local
2967 elen = windres_get_16 (&wrtarget, mti->length, 2); in write_rc_messagetable()
2969 if ((offset + elen) > length) in write_rc_messagetable()
2980 if (elen > BIN_MESSAGETABLE_ITEM_SIZE * 2) in write_rc_messagetable()
2982 (elen - BIN_MESSAGETABLE_ITEM_SIZE) / 2); in write_rc_messagetable()
2986 if (elen > BIN_MESSAGETABLE_ITEM_SIZE) in write_rc_messagetable()
2988 (elen - BIN_MESSAGETABLE_ITEM_SIZE)); in write_rc_messagetable()
2993 offset += elen; in write_rc_messagetable()
DChangeLog-2015868 Add check of 'elen' being zero.
/toolchain/binutils/binutils-2.27/bfd/
Dvms-lib.c1008 file_ptr elen; in vms_lib_bread() local
1030 elen = vms_lib_bread_raw (abfd, vec->dcx_buf, len); in vms_lib_bread()
1031 if (elen != len) in vms_lib_bread()
1039 elen = vms_lib_dcx (vec, NULL, 0x10000); in vms_lib_bread()
1040 if (elen < 0) in vms_lib_bread()
1042 vec->rec_len = elen; in vms_lib_bread()
1043 vec->rec_rem = elen; in vms_lib_bread()