/external/elfutils/libasm/ |
H A D | asm_newsym.c | 73 size_t name_len = strlen (name) + 1; local 75 result = (AsmSym_t *) malloc (sizeof (AsmSym_t) + name_len); 88 memcpy (result + 1, name, name_len), 0);
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | dirblock.c | 28 unsigned int name_len, rec_len; local 42 dirent->name_len = ext2fs_swab16(dirent->name_len); 44 name_len = dirent->name_len; 47 dirent->name_len = ext2fs_swab16(dirent->name_len); 54 } else if (((name_len & 0xFF) + 8) > rec_len) 96 dirent->name_len = ext2fs_swab16(dirent->name_len); [all...] |
/external/chromium/base/debug/ |
H A D | trace_event_win.cc | 43 size_t name_len, 76 event.SetField(0, name_len + 1, name); 97 size_t name_len, 105 if (name_len == -1) 106 name_len = (name == NULL) ? 0 : strlen(name); 110 provider->TraceEvent(name, name_len, type, id, extra, extra_len); 42 TraceEvent(const char* name, size_t name_len, EventType type, const void* id, const char* extra, size_t extra_len) argument 96 Trace(const char* name, size_t name_len, EventType type, const void* id, const char* extra, size_t extra_len) argument
|
H A D | trace_event_win_unittest.cc | 163 size_t name_len, 169 str.sputn(name, name_len + 1); 160 ExpectEvent(REFGUID guid, EtwEventType type, const char* name, size_t name_len, const void* id, const char* extra, size_t extra_len) argument
|
/external/chromium_org/base/debug/ |
H A D | trace_event_win.cc | 44 size_t name_len, 77 event.SetField(0, name_len + 1, name); 101 size_t name_len, 109 if (name_len == -1) 110 name_len = (name == NULL) ? 0 : strlen(name); 114 provider->TraceEvent(name, name_len, type, id, extra, extra_len); 43 TraceEvent(const char* name, size_t name_len, char type, const void* id, const char* extra, size_t extra_len) argument 100 Trace(const char* name, size_t name_len, char type, const void* id, const char* extra, size_t extra_len) argument
|
H A D | trace_event_win_unittest.cc | 169 size_t name_len, 175 str.sputn(name, name_len + 1); 166 ExpectEvent(REFGUID guid, EtwEventType type, const char* name, size_t name_len, const void* id, const char* extra, size_t extra_len) argument
|
/external/libnfc-nci/src/nfc/llcp/ |
H A D | llcp_sdp.c | 94 UINT16 name_len = (UINT16) strlen (p_name); local 99 UINT8_TO_BE_STREAM (p, (1 + name_len)); 101 ARRAY_TO_BE_STREAM (p, p_name, name_len); 103 llcp_cb.sdp_cb.p_snl->len += LLCP_SDREQ_MIN_LEN + name_len; 119 UINT16 name_len; local 142 name_len = (UINT16) strlen (p_name); 145 if ( (available_bytes >= LLCP_SDREQ_MIN_LEN + name_len) 146 &&(llcp_cb.sdp_cb.p_snl->len + LLCP_SDREQ_MIN_LEN + name_len <= llcp_cb.lcb.effective_miu) )
|
/external/grub/stage2/ |
H A D | fsys_iso9660.c | 179 unsigned int name_len = idr->name_len.l; local 182 if (name_len == 1) 188 if (name_len > 2 && CHECK2(name + name_len - 2, ';', '1')) 190 name_len -= 2; /* truncate trailing file version */ 191 if (name_len > 1 && name[name_len - 1] == '.') 192 name_len--; /* truncate trailing dot */ 198 rr_len = (idr->length.l - idr->name_len [all...] |
/external/libvpx/libvpx/ |
H A D | args.c | 55 const size_t name_len = strlen(def->long_name); local 57 if (strlen(arg.argv[0]) >= name_len + 2 59 && !strncmp(arg.argv[0] + 2, def->long_name, name_len) 60 && (arg.argv[0][name_len + 2] == '=' 61 || arg.argv[0][name_len + 2] == '\0')) { 64 arg.val = arg.name[name_len] == '=' ? arg.name + name_len + 1 : NULL;
|
/external/oprofile/libutil/ |
H A D | op_file.c | 92 int name_len; local 94 name_len = strlen(basedir) + strlen("/") + strlen(ent->d_name) + 1; 95 name = xmalloc(name_len);
|
/external/bluetooth/bluedroid/stack/hid/ |
H A D | hidh_api.c | 80 UINT16 name_len; local 84 if((name_len = SDP_DISC_ATTR_LEN(p_attr->attr_len_type)) < max_len ) 86 memcpy( str, (char *) p_attr->attr_value.v.array, name_len ); local 87 str[name_len] = '\0';
|
/external/chromium_org/gpu/command_buffer/service/ |
H A D | shader_translator.cc | 43 ANGLEGetInfoType name_len = 0, mapped_name_len = 0; local 46 ShGetInfo(compiler, SH_ACTIVE_ATTRIBUTE_MAX_LENGTH, &name_len); 49 ShGetInfo(compiler, SH_ACTIVE_UNIFORM_MAX_LENGTH, &name_len); 52 ShGetInfo(compiler, SH_VARYING_MAX_LENGTH, &name_len); 57 if (name_len <= 1 || mapped_name_len <= 1) return; 58 scoped_ptr<char[]> name(new char[name_len]); 74 // In theory we should CHECK(len <= name_len - 1) here, but ANGLE needs 78 std::string name_string(name.get(), std::min(len, name_len - 1));
|
/external/chromium_org/ppapi/native_client/tests/nacl_browser/fault_injection/ |
H A D | fault_pm_nameservice_test.cc | 93 size_t name_len; local 96 p += name_len) { 97 name_len = strlen(p) + 1;
|
/external/chromium_org/ppapi/native_client/tests/nacl_browser/nameservice/ |
H A D | pm_nameservice_test.cc | 93 size_t name_len; local 96 p += name_len) { 97 name_len = strlen(p) + 1;
|
/external/chromium_org/ui/base/l10n/ |
H A D | l10n_util_win.cc | 40 int name_len = std::min(static_cast<int>(font_family.size()), local 42 memcpy(logfont->lfFaceName, font_family.data(), name_len * sizeof(WORD)); 43 logfont->lfFaceName[name_len] = 0;
|
/external/e2fsprogs/intl/ |
H A D | l10nflist.c | 369 _nl_normalize_codeset (const char *codeset, size_t name_len) argument 377 for (cnt = 0; cnt < name_len; ++cnt) 395 for (cnt = 0; cnt < name_len; ++cnt)
|
/external/libnfc-nci/src/nfc/ndef/ |
H A D | ndef_cho_utils.c | 379 UINT8 name_len, UINT8 *p_name) 396 UINT8_TO_STREAM (p, name_len + 1); 407 ARRAY_TO_STREAM (p, p_name, name_len); 408 eir_data_len = name_len + 2; 377 NDEF_MsgAppendMediaBtOobName(UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, char *p_id_str, BOOLEAN is_complete, UINT8 name_len, UINT8 *p_name) argument
|
/external/ppp/pppd/plugins/pppoatm/ |
H A D | ans.c | 46 int answer_len,name_len,data_len,found_len; local 65 if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) < 0) 67 pos += name_len; 80 if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) 82 pos += name_len;
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/osf/ |
H A D | SDL_syscdrom.c | 208 int name_len; local 212 name_len = SDL_strlen(checklist[i].name); 214 if (SDL_memcmp(checklist[i].name, devent->d_name, name_len) == 0)
|
/external/chromium_org/ppapi/native_client/tests/nacl_browser/manifest_file/ |
H A D | pm_manifest_file_test.cc | 217 size_t name_len; local 220 p += name_len) { 221 name_len = strlen(p) + 1; 488 size_t name_len; local 495 p += name_len + 1) { 496 name_len = strlen(p); 497 sb->Printf("%.*s\n", (int) name_len, p);
|
/external/chromium_org/third_party/mesa/src/src/egl/main/ |
H A D | egldriver.c | 470 size_t name_len = 0; local 484 name_len = (suffix) ? suffix - env : strlen(env); 488 name_len = strlen(env); 496 if (name_len) { 501 if (strlen(_eglBuiltInDrivers[i].name) == name_len && 502 !strncmp(_eglBuiltInDrivers[i].name, env, name_len)) {
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
H A D | glxextensions.c | 53 unsigned name_len; member in struct:extension_info 287 * \param name_len Length, in characters, of the extension name. 293 const char *name, unsigned name_len, GLboolean state, 300 if ((name_len == ext[i].name_len) 301 && (strncmp(ext[i].name, name, name_len) == 0)) { 508 ext_str_len += ext[i].name_len + 1; 518 (void) memcpy(point, ext[i].name, ext[i].name_len); 519 point += ext[i].name_len; 292 set_glx_extension(const struct extension_info *ext, const char *name, unsigned name_len, GLboolean state, unsigned char *supported) argument
|
/external/chromium_org/tools/gn/ |
H A D | filesystem_utils.cc | 254 size_t name_len; local 256 name_len = path->size() - filename_offset; 258 name_len = extension_offset - filename_offset - 1; 260 return base::StringPiece(&(*path).data()[filename_offset], name_len);
|
/external/compiler-rt/lib/asan/ |
H A D | asan_mac.cc | 118 uptr name_len = internal_strlen(name); local 121 if (len > name_len) { 123 if (!internal_memcmp(p, name, name_len) && p[name_len] == '=') {
|
/external/mesa3d/src/egl/main/ |
H A D | egldriver.c | 470 size_t name_len = 0; local 484 name_len = (suffix) ? suffix - env : strlen(env); 488 name_len = strlen(env); 496 if (name_len) { 501 if (strlen(_eglBuiltInDrivers[i].name) == name_len && 502 !strncmp(_eglBuiltInDrivers[i].name, env, name_len)) {
|