Searched refs:ndx (Results 1 - 24 of 24) sorted by relevance

/external/elfutils/libelf/
H A Dgelf_update_lib.c30 gelf_update_lib (data, ndx, src)
32 int ndx;
38 if (unlikely (ndx < 0))
57 if (unlikely ((ndx + 1) * sizeof (Elf64_Lib) > data_scn->d.d_size))
61 ((Elf64_Lib *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_update_move.c30 gelf_update_move (data, ndx, src)
32 int ndx;
45 if (unlikely (ndx < 0)
46 || unlikely ((ndx + 1) * sizeof (GElf_Move) > data_scn->d.d_size))
61 ((GElf_Move *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_update_syminfo.c30 gelf_update_syminfo (data, ndx, src)
32 int ndx;
42 if (unlikely (ndx < 0))
63 if (unlikely ((ndx + 1) * sizeof (GElf_Syminfo) > data_scn->d.d_size))
69 ((GElf_Syminfo *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_update_versym.c30 gelf_update_versym (data, ndx, src)
32 int ndx;
45 if (unlikely (ndx < 0)
46 || unlikely ((ndx + 1) * sizeof (GElf_Versym) > data_scn->d.d_size))
61 ((GElf_Versym *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_getrel.c29 gelf_getrel (data, ndx, dst)
31 int ndx;
41 if (unlikely (ndx < 0))
63 if (unlikely ((ndx + 1) * sizeof (Elf32_Rel) > data_scn->d.d_size))
70 Elf32_Rel *src = &((Elf32_Rel *) data_scn->d.d_buf)[ndx];
83 if (unlikely ((ndx + 1) * sizeof (Elf64_Rel) > data_scn->d.d_size))
89 result = memcpy (dst, &((Elf64_Rel *) data_scn->d.d_buf)[ndx],
H A Dgelf_getrela.c29 gelf_getrela (data, ndx, dst)
31 int ndx;
41 if (unlikely (ndx < 0))
63 if (unlikely ((ndx + 1) * sizeof (Elf32_Rela) > data_scn->d.d_size))
70 Elf32_Rela *src = &((Elf32_Rela *) data_scn->d.d_buf)[ndx];
84 if (unlikely ((ndx + 1) * sizeof (Elf64_Rela) > data_scn->d.d_size))
90 result = memcpy (dst, &((Elf64_Rela *) data_scn->d.d_buf)[ndx],
H A Dgelf_update_dyn.c29 gelf_update_dyn (data, ndx, src)
31 int ndx;
41 if (unlikely (ndx < 0))
72 if (unlikely ((ndx + 1) * sizeof (Elf32_Dyn) > data_scn->d.d_size))
78 dyn = &((Elf32_Dyn *) data_scn->d.d_buf)[ndx];
86 if (unlikely ((ndx + 1) * sizeof (Elf64_Dyn) > data_scn->d.d_size))
92 ((Elf64_Dyn *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_update_sym.c30 gelf_update_sym (data, ndx, src)
32 int ndx;
42 if (unlikely (ndx < 0))
72 if (unlikely ((ndx + 1) * sizeof (Elf32_Sym) > data_scn->d.d_size))
78 sym = &((Elf32_Sym *) data_scn->d.d_buf)[ndx];
95 if (unlikely ((ndx + 1) * sizeof (Elf64_Sym) > data_scn->d.d_size))
101 ((Elf64_Sym *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_update_symshndx.c31 gelf_update_symshndx (symdata, shndxdata, ndx, src, srcshndx)
34 int ndx;
47 if (unlikely (ndx < 0))
69 if (unlikely ((ndx + 1) * sizeof (Elf32_Word) > shndxdata_scn->d.d_size))
75 shndx = &((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx];
98 if (unlikely ((ndx + 1) * sizeof (Elf32_Sym) > symdata_scn->d.d_size))
104 sym = &((Elf32_Sym *) symdata_scn->d.d_buf)[ndx];
121 if (unlikely ((ndx + 1) * sizeof (Elf64_Sym) > symdata_scn->d.d_size))
127 ((Elf64_Sym *) symdata_scn->d.d_buf)[ndx] = *src;
H A Dgelf_getlib.c30 gelf_getlib (data, ndx, dst)
32 int ndx;
56 if (unlikely ((ndx + 1) * sizeof (GElf_Lib) > data->d_size))
60 *dst = ((GElf_Lib *) data->d_buf)[ndx];
H A Dgelf_getmove.c30 gelf_getmove (data, ndx, dst)
32 int ndx;
53 if (unlikely ((ndx + 1) * sizeof (GElf_Move) > data->d_size))
62 *dst = ((GElf_Move *) data->d_buf)[ndx];
H A Dgelf_getsyminfo.c30 gelf_getsyminfo (data, ndx, dst)
32 int ndx;
54 if (unlikely ((ndx + 1) * sizeof (GElf_Syminfo) > data->d_size))
60 *dst = ((GElf_Syminfo *) data->d_buf)[ndx];
H A Dgelf_getversym.c30 gelf_getversym (data, ndx, dst)
32 int ndx;
62 if (unlikely ((ndx + 1) * sizeof (GElf_Versym) > data->d_size))
69 *dst = ((GElf_Versym *) data->d_buf)[ndx];
H A Dgelf_getsymshndx.c31 gelf_getsymshndx (symdata, shndxdata, ndx, dst, dstshndx)
34 int ndx;
60 if (unlikely ((ndx + 1) * sizeof (Elf32_Word) > shndxdata_scn->d.d_size))
66 shndx = ((Elf32_Word *) shndxdata_scn->d.d_buf)[ndx];
80 if (unlikely ((ndx + 1) * sizeof (Elf32_Sym) > symdata->d_size))
86 src = &((Elf32_Sym *) symdata->d_buf)[ndx];
109 if (unlikely ((ndx + 1) * sizeof (GElf_Sym) > symdata->d_size))
115 *dst = ((GElf_Sym *) symdata->d_buf)[ndx];
H A Dgelf_getdyn.c30 gelf_getdyn (data, ndx, dst)
32 int ndx;
63 if (unlikely ((ndx + 1) * sizeof (Elf32_Dyn) > data_scn->d.d_size))
69 src = &((Elf32_Dyn *) data_scn->d.d_buf)[ndx];
84 if (unlikely ((ndx + 1) * sizeof (GElf_Dyn) > data_scn->d.d_size))
90 *dst = ((GElf_Dyn *) data_scn->d.d_buf)[ndx];
H A Dgelf_getphdr.c29 gelf_getphdr (elf, ndx, dst)
31 int ndx;
67 if (ndx >= elf->state.elf32.ehdr->e_phnum)
77 phdr += ndx;
103 if (ndx >= elf->state.elf64.ehdr->e_phnum)
110 result = memcpy (dst, phdr + ndx, sizeof (GElf_Phdr));
H A Dgelf_getsym.c30 gelf_getsym (data, ndx, dst)
32 int ndx;
60 if (unlikely ((ndx + 1) * sizeof (Elf32_Sym) > data->d_size))
66 src = &((Elf32_Sym *) data->d_buf)[ndx];
89 if (unlikely ((ndx + 1) * sizeof (GElf_Sym) > data->d_size))
95 *dst = ((GElf_Sym *) data->d_buf)[ndx];
H A Dgelf_update_rel.c29 gelf_update_rel (Elf_Data *dst, int ndx, GElf_Rel *src) argument
38 if (unlikely (ndx < 0))
69 if (unlikely ((ndx + 1) * sizeof (Elf32_Rel) > data_scn->d.d_size))
75 rel = &((Elf32_Rel *) data_scn->d.d_buf)[ndx];
84 if (unlikely ((ndx + 1) * sizeof (Elf64_Rel) > data_scn->d.d_size))
90 ((Elf64_Rel *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_update_rela.c29 gelf_update_rela (Elf_Data *dst, int ndx, GElf_Rela *src) argument
38 if (unlikely (ndx < 0))
71 if (unlikely ((ndx + 1) * sizeof (Elf32_Rela) > data_scn->d.d_size))
77 rel = &((Elf32_Rela *) data_scn->d.d_buf)[ndx];
87 if (unlikely ((ndx + 1) * sizeof (Elf64_Rela) > data_scn->d.d_size))
93 ((Elf64_Rela *) data_scn->d.d_buf)[ndx] = *src;
H A Dgelf_update_phdr.c29 gelf_update_phdr (Elf *elf, int ndx, GElf_Phdr *src) argument
71 if (unlikely (ndx >= elf->state.elf32.ehdr->e_phnum))
78 phdr += ndx;
104 if (unlikely (ndx >= elf->state.elf64.ehdr->e_phnum))
111 memcpy (phdr + ndx, src, sizeof (Elf64_Phdr));
/external/webkit/WebCore/platform/graphics/
H A DMediaPlayer.cpp180 for (unsigned ndx = 0; ndx < count; ndx++) {
181 MediaPlayer::SupportsType engineSupport = engines[ndx]->supportsTypeAndCodecs(type, codecs);
184 engine = engines[ndx];
510 for (unsigned ndx = 0; ndx < count; ndx++)
511 engines[ndx]->getSupportedTypes(types);
/external/webkit/WebCore/platform/
H A DMIMETypeRegistry.cpp328 for (unsigned ndx = 0; ndx < numPairs; ++ndx)
329 mediaMIMETypeForExtensionMap->set(pairs[ndx].extension, pairs[ndx].type);
/external/elfutils/libasm/
H A Dasm_end.c177 Elf32_Word ndx; local
199 ndx = SHN_ABS;
201 ndx = SHN_COMMON;
202 else if (unlikely ((ndx = elf_ndxscn (scn)) >= SHN_LORESERVE))
247 xshndx[ptr] = ndx;
250 ndx = SHN_XINDEX;
252 syment.st_shndx = ndx;
/external/webkit/WebCore/html/
H A DHTMLMediaElement.cpp329 for (unsigned ndx = 0; ndx < count; ++ndx)
330 dispatchEvent(pendingEvents[ndx].release(), ec);

Completed in 54 milliseconds