/external/bison/lib/ |
basename-lgpl.c | 61 size_t prefix_len = FILE_SYSTEM_PREFIX_LEN (name); local 70 if (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE && prefix_len 71 && len == prefix_len && ISSLASH (name[prefix_len])) 72 return prefix_len + 1;
|
/external/autotest/client/common_lib/cros/network/ |
netblock.py | 9 def from_addr(addr, prefix_len=None): 14 prefix length, then use the |prefix_len| parameter. 15 @param prefix_len: int number of bits forming the IP subnet prefix for 18 has no prefix length and |prefix_len| is None, then an error 35 # Rely on passed in |prefix_len| 38 if prefix_len is not None and prefix_len_str is not None: 40 'passed in value %d', prefix_len_str, prefix_len) 41 elif prefix_len is not None and prefix_len_str is None: 43 elif prefix_len is None and prefix_len_str is not None: 44 prefix_len = int(prefix_len_str 91 def prefix_len(self): member in class:Netblock [all...] |
/bootable/recovery/edify/ |
expr.cpp | 156 int prefix_len; local 160 prefix_len = strlen(err_src); 161 memcpy(err_src + prefix_len, state->script + argv[i]->start, len); 162 err_src[prefix_len + len] = '\0';
|
/external/libselinux/utils/ |
sefcontext_compile.c | 71 * u32 - The specs prefix_len if >= SELINUX_COMPILED_FCONTEXT_PREFIX_LEN 145 size_t prefix_len = specs[i].prefix_len; local 192 to_write = prefix_len;
|
/external/srtp/crypto/include/ |
auth.h | 139 int prefix_len; /* length of keystream prefix */ member in struct:auth_t
|
/hardware/invensense/6515/libsensors_iio/ |
MPLSupport.cpp | 223 int prefix_len = strlen(dev_prefix); local 228 snprintf(&cand_name[prefix_len], 239 snprintf(&cand_name[prefix_len], 250 snprintf(&cand_name[prefix_len],
|
/hardware/invensense/65xx/libsensors_iio/ |
MPLSupport.cpp | 223 int prefix_len = strlen(dev_prefix); local 228 snprintf(&cand_name[prefix_len], 239 snprintf(&cand_name[prefix_len], 250 snprintf(&cand_name[prefix_len],
|
/toolchain/binutils/binutils-2.25/binutils/ |
elfcomm.c | 415 size_t prefix_len = base_name - file_name; local 416 member_file_name = (char *) malloc (prefix_len + name_len + 1); 422 memcpy (member_file_name, file_name, prefix_len); 423 memcpy (member_file_name + prefix_len, name, name_len); 424 member_file_name[prefix_len + name_len] = '\0';
|
/external/avahi/avahi-core/ |
iface.h | 127 unsigned prefix_len; member in struct:AvahiInterfaceAddress 185 AvahiInterfaceAddress *avahi_interface_address_new(AvahiInterfaceMonitor *m, AvahiInterface *i, const AvahiAddress *addr, unsigned prefix_len);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer_libcdep.cc | 21 uptr prefix_len = internal_strcspn(str, delims); local 22 *result = (char*)InternalAlloc(prefix_len + 1); 23 internal_memcpy(*result, str, prefix_len); 24 (*result)[prefix_len] = '\0'; 25 const char *prefix_end = str + prefix_len; 53 uptr prefix_len = local 55 *result = (char *)InternalAlloc(prefix_len + 1); 56 internal_memcpy(*result, str, prefix_len); 57 (*result)[prefix_len] = '\0'; 58 const char *prefix_end = str + prefix_len; [all...] |
sanitizer_common.cc | 435 uptr prefix_len = end - beg; local 436 if (prefix_len + name_len + 2 <= kMaxPathLength) { 437 internal_memcpy(buffer.data(), beg, prefix_len); 438 buffer[prefix_len] = '/'; 439 internal_memcpy(&buffer[prefix_len + 1], name, name_len); 440 buffer[prefix_len + 1 + name_len] = '\0';
|
/external/elfutils/libebl/ |
eblopenbackend.c | 54 int prefix_len; member in struct:__anon10787 348 assert (machines[cnt].prefix_len <= MAX_PREFIX_LEN); 352 machines[cnt].prefix_len), "_init");
|
/external/elfutils/src/ |
size.c | 360 size_t prefix_len = prefix == NULL ? 0 : strlen (prefix); local 362 char new_prefix[prefix_len + 1 + fname_len]; 368 cp = mempcpy (cp, prefix, prefix_len); 645 size_t prefix_len = prefix == NULL ? 0 : strlen (prefix); local 647 char fullname[prefix_len + 1 + fname_len]; 653 cp = mempcpy (cp, prefix, prefix_len);
|
/external/libunwind/tests/ |
test-coredump-unwind.c | 90 int prefix_len, strerr_len, msgeol_len, used; local 104 prefix_len = msg_prefix[0] ? strlen(msg_prefix) + 2 : 0; 108 char *msg1 = (char*) realloc(msg, prefix_len + used + strerr_len + msgeol_len + 3); 116 if (prefix_len) 119 memmove(msg + prefix_len, msg, used); 120 used += prefix_len; 145 syslog(LOG_ERR, "%s", msg + prefix_len);
|
/external/selinux/libselinux/utils/ |
sefcontext_compile.c | 89 * u32 - The specs prefix_len if >= SELINUX_COMPILED_FCONTEXT_PREFIX_LEN 163 size_t prefix_len = specs[i].prefix_len; local 210 to_write = prefix_len;
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_tls_common.c | 1015 size_t num_methods = 0, prefix_len; local 1024 prefix_len = os_strlen(prefix); 1032 start = pos + prefix_len; 1036 start = pos + prefix_len; [all...] |
/libcore/ojluni/src/main/native/ |
System.c | 148 int prefix_len = (int) strlen(JNI_LIB_PREFIX); local 161 cpchars(chars, JNI_LIB_PREFIX, prefix_len); 162 (*env)->GetStringRegion(env, libname, 0, len, chars + prefix_len); 163 len += prefix_len;
|
/system/core/liblog/ |
pmsg_reader.c | 286 size_t len, prefix_len; local 316 prefix_len = 0; 327 prefix_len = strlen(prefix); 362 if (prefix_len && strncmp(msg + sizeof(prio), prefix, prefix_len)) { 382 if ((prefix_len > offset) && 383 strncmp(&msg[offset + sizeof(prio)], split + 1, prefix_len - offset)) {
|
/development/ndk/platforms/android-21/include/linux/ |
inet_diag.h | 87 __u8 prefix_len; member in struct:inet_diag_hostcond
|
/external/boringssl/src/crypto/rsa/ |
rsa.c | 407 unsigned prefix_len = sig_prefix->len; local 411 signed_msg_len = prefix_len + msg_len; 412 if (signed_msg_len < prefix_len) { 423 memcpy(signed_msg, prefix, prefix_len); 424 memcpy(signed_msg + prefix_len, msg, msg_len);
|
/external/compiler-rt/lib/profile/ |
GCDAProfiling.c | 163 size_t filename_len, prefix_len; local 194 prefix_len = strlen(prefix); 195 new_filename = malloc(prefix_len + 1 + filename_len + 1); 196 memcpy(new_filename, prefix, prefix_len); 198 if (prefix[prefix_len - 1] != '/') 199 new_filename[prefix_len++] = '/'; 200 memcpy(new_filename + prefix_len, fname, filename_len + 1);
|
/external/e2fsprogs/debugfs/ |
set_fields.c | 279 int suffix, prefix_len; local 287 prefix_len = strlen(prefix); 288 if (strncmp(field, prefix, prefix_len) == 0) 289 field += prefix_len;
|
/external/libselinux/src/ |
label_file.h | 43 size_t prefix_len; /* length of fixed path prefix */ member in struct:spec 157 spec->prefix_len = len; 174 spec->prefix_len = c - spec->regex_str;
|
/external/selinux/libselinux/src/ |
label_file.h | 40 size_t prefix_len; /* length of fixed path prefix */ member in struct:spec 154 spec->prefix_len = len; 171 spec->prefix_len = c - spec->regex_str;
|
/external/srtp/srtp/ |
srtp.c | 608 int prefix_len; local 786 prefix_len = auth_get_prefix_length(stream->rtp_auth); 787 if (prefix_len) { 788 status = cipher_output(stream->rtp_cipher, auth_tag, prefix_len); 792 octet_string_hex_string(auth_tag, prefix_len)); 852 int tag_len, prefix_len; local 1001 if (stream->rtp_auth->prefix_len != 0) { 1003 prefix_len = auth_get_prefix_length(stream->rtp_auth); 1004 status = cipher_output(stream->rtp_cipher, tmp_tag, prefix_len); 1006 octet_string_hex_string(tmp_tag, prefix_len)); 1456 int prefix_len; local 1642 int prefix_len; local [all...] |