HomeSort by relevance Sort by last modified time
    Searched refs:ifd (Results 1 - 25 of 36) sorted by null

1 2

  /external/chromium/base/
file_descriptor_posix.h 24 FileDescriptor(int ifd, bool iauto_close)
25 : fd(ifd),
  /external/bison/lib/
spawn-pipe.c 124 int ifd[2]; local
139 if (pipe2_safer (ifd, O_BINARY | O_CLOEXEC) < 0)
148 * parent <- ifd[0] <- ifd[1] <- child if pipe_stdout
167 && (!pipe_stdout || dup2 (ifd[1], STDOUT_FILENO) >= 0)
185 /* The child process doesn't inherit ifd[0], ifd[1], ofd[0], ofd[1],
229 close (ifd[1]);
236 close (ifd[0]);
244 fd[0] = ifd[0]
    [all...]
  /packages/apps/Gallery2/tests/exiftool_parser/
parser.py 31 # 2. IFD indicator:
45 # IFD indicator
48 ifd = s[2][l + 3:].split()[0] variable
51 ifds.append(ifd)
55 ifds[-1] = ifd
88 print (' <tag ifd="' + ifds[-1] + '" id="'
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
ExifParser.java 30 * InputStream, the caller can request which IFD's to read via
33 * Below is an example of getting EXIF data from IFD 0 and EXIF IFD using the
73 * When the parser reaches a new IFD area. Call {@link #getCurrentIfd()} to
74 * know which IFD we are in.
115 * Option bit to request to parse Exif-IFD.
119 * Option bit to request to parse GPS-IFD.
123 * Option bit to request to parse Interoperability-IFD.
245 * Parses the the given InputStream with default options; that is, every IFD
303 Log.w(TAG, "Invalid size of link to next IFD: " + offsetSize)
591 int ifd = tag.getIfd(); local
891 int ifd; field in class:ExifParser.IfdEvent
    [all...]
ExifData.java 124 * Returns the {@link IfdData} object corresponding to a given IFD if it
135 * Adds IFD data. If IFD data of the same type already exists, it will be
143 * Returns the {@link IfdData} object corresponding to a given IFD or
156 * Returns the tag with a given TID in the given IFD if the tag exists.
159 protected ExifTag getTag(short tag, int ifd) {
160 IfdData ifdData = mIfdDatas[ifd];
165 * Adds the given ExifTag to its default IFD and returns an existing ExifTag
170 int ifd = tag.getIfd(); local
171 return addTag(tag, ifd);
    [all...]
ExifModifier.java 56 // Do not require any IFD;
129 for (IfdData ifd : ifdDatas) {
130 if (ifd != null && ifd.getTagCount() > 0) {
ExifOutputStream.java 281 private void writeIfd(IfdData ifd, OrderedDataOutputStream dataOutputStream)
283 ExifTag[] tags = ifd.getAllTags();
301 dataOutputStream.writeInt(ifd.getOffsetToNextIfd());
309 private int calculateOffsetOfIfd(IfdData ifd, int offset) {
310 offset += 2 + ifd.getTagCount() * TAG_SIZE + 4;
311 ExifTag[] tags = ifd.getAllTags();
335 // Exif IFD is required for all files.
342 // GPS IFD
353 // Interoperability IFD
ExifTag.java 98 // The ifd that this tag should be put in
108 * Returns true if the given IFD is a valid IFD.
127 ExifTag(short tagId, short type, int componentCount, int ifd,
133 mIfd = ifd;
154 * Returns the ID of the IFD this tag belongs to.
    [all...]
ExifInterface.java 57 * directory (IFD) as specified by the exif standard. A tag definition can be
58 * looked up with a constant that is a combination of TID and IFD. This
73 // IFD 0
134 // IFD 1
139 // IFD Exif Tags
254 // IFD GPS tags
317 // IFD Interoperability tags
345 * Returns the constant representing a tag with a given TID and default IFD.
360 * Returns the default IFD for a tag constant.
1701 int ifd = tag.getIfd(); local
    [all...]
  /external/ppp/pppd/
tty.c 922 start_charshunt(ifd, ofd)
923 int ifd, ofd;
927 cpid = safe_fork(ifd, ofd, (log_to_fd >= 0? log_to_fd: 2));
972 * (We assume ofd >= ifd which is true the way this gets called. :-).
975 charshunt(ifd, ofd, record_file)
976 int ifd, ofd;
1038 if (ifd >= FD_SETSIZE || ofd >= FD_SETSIZE || pty_master >= FD_SETSIZE)
1040 ifd, ofd, pty_master);
1056 flags = fcntl(ifd, F_GETFL);
1058 || fcntl(ifd, F_SETFL, flags | O_NONBLOCK) == -1
    [all...]
sys-solaris.c 575 int ifd, x; local
627 ifd = open(PPP_DEV_NAME, O_RDWR, 0);
628 if (ifd < 0)
632 strioctl(ifd, PPPIO_DEBUG, &x, sizeof(int), 0);
638 close(ifd);
648 if (ioctl(ifd, I_PUSH, IP_MOD_NAME) < 0) {
649 close(ifd);
660 if (sifppa(ifd, ifunit) < 0) {
661 close (ifd);
675 close(ifd);
    [all...]
  /development/tools/yuv420sp2rgb/
yuv420sp2rgb.c 200 int ifd, ofd, rc; local
230 ifd = open(infile, O_RDONLY);
231 FAILIF(ifd < 0, "open(%s) failed: %s (%d)\n",
240 in = mmap(0, width * height * 3 / 2, PROT_READ, MAP_PRIVATE, ifd, 0);
  /packages/apps/Gallery2/tests/src/com/android/gallery3d/exif/
ExifModifierTest.java 150 private void checkIfd(IfdData ifd, Map<Short, List<String>> ifdValue,
152 if (ifd == null) {
156 ExifTag[] tags = ifd.getAllTags();
ExifParserTest.java 99 private void parseOneIfd(int ifd, int options) throws Exception {
101 Map<Short, List<String>> expectedResult = mGroundTruth.get(ifd);
108 assertEquals(getImageTitle(), ifd, parser.getCurrentIfd()); local
ExifReaderTest.java 145 private void checkIfd(IfdData ifd, Map<Short, List<String>> ifdValue) {
146 if (ifd == null) {
150 ExifTag[] tags = ifd.getAllTags();
  /external/blktrace/btreplay/
btreplay.c 99 * @ifd: Input file descriptor
113 int cpu, ifd, ofd, iterations; member in struct:thr_info
870 tip->ifd = open(file_name, O_RDONLY);
871 if (tip->ifd < 0) {
875 if (fstat(tip->ifd, &buf) < 0) {
885 if (read(tip->ifd, &hdr, sizeof(hdr)) != sizeof(hdr)) {
904 close(tip->ifd);
938 close(tip->ifd);
1122 result = read(tip->ifd, &bunch->hdr, sizeof(bunch->hdr));
1134 result = read(tip->ifd, &bunch->pkts, count)
    [all...]
btrecord.c 51 * @ifd: Input file descriptor (when opened)
57 int cpu, ifd; member in struct:ifile_info
295 close(iip->ifd);
316 iip->ifd = open(file_name, O_RDONLY);
317 if (iip->ifd < 0) {
494 ret = read(iip->ifd, &t, sizeof(t));
530 ret = read(iip->ifd, buf, pdu_len);
  /frameworks/native/cmds/dumpstate/
utils.c 497 int ifd = inotify_init(); local
498 if (ifd < 0) {
503 int wfd = inotify_add_watch(ifd, traces_path, IN_CLOSE_WRITE);
545 struct pollfd pfd = { ifd, POLLIN, 0 };
553 read(ifd, &ie, sizeof(ie));
582 close(ifd);
  /external/zlib/src/test/
minigzip.c 397 int ifd = fileno(in); local
403 if (fstat(ifd, &sb) < 0) return Z_ERRNO;
408 buf = mmap((caddr_t) 0, buf_len, PROT_READ, MAP_SHARED, ifd, (off_t)0);
  /external/blktrace/
blktrace.c 240 * ifn & ifd represent input information
264 int ifd, ofd; member in struct:io_info
1443 ret = sendfile(iop->ofd, iop->ifd, NULL, iop->ready);
    [all...]
  /prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/include/
bfd.h 4994 int ifd; member in struct:bfd
    [all...]
  /prebuilts/gcc/darwin-x86/arm/arm-eabi-4.7/include/
bfd.h 5475 int ifd; member in struct:bfd
    [all...]
  /prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/include/
bfd.h 4994 int ifd; member in struct:bfd
    [all...]
  /prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.7/include/
bfd.h 5475 int ifd; member in struct:bfd
    [all...]
  /prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.6/include/
bfd.h 4994 int ifd; member in struct:bfd
    [all...]

Completed in 1279 milliseconds

1 2