Home
last modified time | relevance | path

Searched refs:xfr (Results 1 – 25 of 25) sorted by relevance

/external/libusb/examples/
Dsam3u_benchmark.c73 static void LIBUSB_CALL cb_xfr(struct libusb_transfer *xfr) in cb_xfr() argument
77 if (xfr->status != LIBUSB_TRANSFER_COMPLETED) { in cb_xfr()
78 fprintf(stderr, "transfer status %d\n", xfr->status); in cb_xfr()
79 libusb_free_transfer(xfr); in cb_xfr()
83 if (xfr->type == LIBUSB_TRANSFER_TYPE_ISOCHRONOUS) { in cb_xfr()
84 for (i = 0; i < xfr->num_iso_packets; i++) { in cb_xfr()
85 struct libusb_iso_packet_descriptor *pack = &xfr->iso_packet_desc[i]; in cb_xfr()
96 printf("length:%u, actual_length:%u\n", xfr->length, xfr->actual_length); in cb_xfr()
97 for (i = 0; i < xfr->actual_length; i++) { in cb_xfr()
98 printf("%02x", xfr->buffer[i]); in cb_xfr()
[all …]
/external/ltp/testcases/kernel/fs/ftest/
Dftest04.c215 int count, collide, chunk, whenmisc, xfr, i; in dotest() local
326 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest()
337 if (xfr == 0) { in dotest()
340 if (xfr != csize) { in dotest()
344 me, xfr, csize); in dotest()
354 count, xfr); in dotest()
368 if (xfr != csize) { in dotest()
372 me, xfr, csize); in dotest()
383 count, xfr); in dotest()
398 if (lseek(fd, -xfr, 1) < 0) { in dotest()
[all …]
Dftest08.c228 int count, collide, chunk, whenmisc, xfr, i; in dotest() local
339 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest()
350 if (xfr == 0) { in dotest()
353 if (xfr != csize) { in dotest()
357 me, xfr, csize); in dotest()
369 count, xfr); in dotest()
383 if (xfr != csize) { in dotest()
387 me, xfr, csize); in dotest()
400 count, xfr); in dotest()
415 if (lseek64(fd, -xfr, 1) < 0) { in dotest()
[all …]
Dftest01.c262 int count, collide, chunk, whenmisc, xfr, i; in dotest() local
342 if ((xfr = read(fd, buf, csize)) < 0) { in dotest()
357 if (xfr != csize) { in dotest()
361 me, xfr, csize); in dotest()
368 xfr, file_max, zero_buf[0]); in dotest()
389 if (xfr != csize) { in dotest()
393 me, xfr, csize); in dotest()
401 xfr, file_max); in dotest()
423 if (lseek(fd, -xfr, 1) < 0) { in dotest()
429 if ((xfr = write(fd, val_buf, csize)) < csize) { in dotest()
[all …]
Dftest03.c281 int chunk, whenmisc, xfr, count, collide, i; in dotest() local
403 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest()
418 if (xfr != csize) { in dotest()
422 me, xfr, csize); in dotest()
432 count, xfr, file_max); in dotest()
455 if (xfr != csize) { in dotest()
459 me, xfr, csize); in dotest()
470 count, xfr, file_max); in dotest()
494 if (lseek(fd, -xfr, 1) < 0) { in dotest()
500 if ((xfr = in dotest()
[all …]
Dftest07.c281 int count, collide, chunk, whenmisc, xfr, i; in dotest() local
398 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest()
413 if (xfr != csize) { in dotest()
417 me, xfr, csize); in dotest()
427 count, xfr, file_max); in dotest()
450 if (xfr != csize) { in dotest()
454 me, xfr, csize); in dotest()
465 count, xfr, file_max); in dotest()
489 if (lseek64(fd, -((off64_t) xfr), 1) < 0) { in dotest()
495 if ((xfr = in dotest()
[all …]
Dftest05.c260 int i, count, collide, chunk, whenmisc, xfr; in dotest() local
336 if ((xfr = read(fd, buf, csize)) < 0) { in dotest()
351 if (xfr != csize) { in dotest()
360 xfr, file_max, zero_buf[0]); in dotest()
381 if (xfr != csize) { in dotest()
384 me, xfr, csize); in dotest()
391 xfr, file_max); in dotest()
413 if (lseek64(fd, -((off64_t) xfr), 1) < (off64_t) 0) { in dotest()
418 if ((xfr = write(fd, val_buf, csize)) < csize) { in dotest()
427 me, CHUNK(chunk), xfr); in dotest()
/external/cldr/tools/java/org/unicode/cldr/tool/
DReadXMB.java27 XMLFileReader xfr = new XMLFileReader().setHandler(simpleHandler); in load() local
28 xfr.read(directory + "/" + file, XMLFileReader.CONTENT_HANDLER | XMLFileReader.ERROR_HANDLER in load()
DExtractMessages.java65 XMLFileReader xfr = new XMLFileReader().setHandler(new EnglishHandler()); in main() local
66 xfr.read(src + "/en.xmb", XMLFileReader.CONTENT_HANDLER in main()
96 xfr = new XMLFileReader().setHandler(otherHandler); in main()
98 xfr.read(canonicalFile, XMLFileReader.CONTENT_HANDLER in main()
DGenerateTransform.java288 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in transformFromCldrFile() local
289 xfr.read(TRANSFORM_DIRECTORY + transformName + ".xml", XMLFileReader.CONTENT_HANDLER in transformFromCldrFile()
DSearchXml.java256 XMLFileReader xfr = new XMLFileReader().setHandler(listHandler); in getXmlFileAsRelation() local
259 xfr.read(fileName2, XMLFileReader.CONTENT_HANDLER in getXmlFileAsRelation()
DConvertXTB.java460 XMLFileReader xfr = new XMLFileReader().setHandler(handler); in loadOldMessages() local
462 xfr.read(wsbFile.getAbsolutePath(), -1, true); in loadOldMessages()
/external/cldr/tools/java/org/unicode/cldr/util/
DIsoCurrencyParser.java175 XMLFileReader xfr = new XMLFileReader().setHandler(isoCurrentHandler); in IsoCurrencyParser() local
176 xfr.readCLDRResource(ISO_CURRENT_CODES_XML, -1, false); in IsoCurrencyParser()
178 xfr.readCLDRResource(CLDR_EXTENSIONS_XML, -1, false); in IsoCurrencyParser()
DVoteResolver.java1532 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in setVoterToInfo() local
1533 xfr.read(fileName, XMLFileReader.CONTENT_HANDLER | XMLFileReader.ERROR_HANDLER, false); in setVoterToInfo()
1649 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in getIdToPath() local
1650 xfr.read(fileName, XMLFileReader.CONTENT_HANDLER | XMLFileReader.ERROR_HANDLER, false); in getIdToPath()
1673 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in getBaseToAlternateToInfo() local
1674 xfr.read(fileName, XMLFileReader.CONTENT_HANDLER | XMLFileReader.ERROR_HANDLER, false); in getBaseToAlternateToInfo()
DTestUtilities.java403 XMLFileReader xfr = new XMLFileReader().setHandler(new MyHandler()); in writeMetaData() local
404 xfr.read(CLDRPaths.GEN_DIRECTORY + "meta/metaData.xml", XMLFileReader.CONTENT_HANDLER in writeMetaData()
409 XMLFileReader xfr = new XMLFileReader().setHandler(new MyHandler()); in testXMLFileReader() local
410 xfr.read(CLDRPaths.MAIN_DIRECTORY + "root.xml", -1, true); in testXMLFileReader()
DDtdData.java701 XMLFileReader xfr = new XMLFileReader().setHandler(simpleHandler); in getInstance() local
704 readFile(type.rootType, xfr, directory); in getInstance()
706 readFile(type, xfr, directory); in getInstance()
736 public static void readFile(DtdType type, XMLFileReader xfr, File directory) { in readFile() argument
741 xfr.read(type.toString(), s, -1, true); // DTD_TYPE_TO_FILE.get(type) in readFile()
DCLDRTransforms.java402 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in getIcuRulesFromXmlFile() local
403xfr.read(dir + cldrFileName, XMLFileReader.CONTENT_HANDLER | XMLFileReader.ERROR_HANDLER, true); in getIcuRulesFromXmlFile()
DAnnotations.java615 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in getDataSet() local
616 xfr.read(dir + "/" + locale + ".xml", -1, true); in getDataSet()
DSupplementalDataInfo.java1031 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler);
1058 xfr.read(name, -1, true);
/external/llvm-project/llvm/test/CodeGen/ARM/
Doptselect-regclass.ll10 define void @xfr() {
/external/llvm/test/CodeGen/ARM/
Doptselect-regclass.ll10 define void @xfr() {
/external/cldr/tools/java/org/unicode/cldr/test/
DTestMetadata.java132 …XMLFileReader xfr = new XMLFileReader().setHandler(new MyHandler(elements, attributes, elementOrde… in getElementsAndAttributes() local
133 xfr.read(fileWithDTD, -1, true); in getElementsAndAttributes()
DCasingInfo.java109 XMLFileReader xfr = new XMLFileReader().setHandler(handler); in loadFromXml() local
110 xfr.read(casingFile.toString(), -1, true); in loadFromXml()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestBcp47Transforms.java229 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in getIcuRulesFromXmlFile() local
230 xfr.read(dir + cldrFileName, XMLFileReader.CONTENT_HANDLER in getIcuRulesFromXmlFile()
DTestBasic.java1437 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in checkDtdComparatorForResource() local
1440 xfr.read(myHandler.fileName, TestBasic.class, -1, true); in checkDtdComparatorForResource()
1460 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in checkDtdComparatorFor() local
1463 xfr.read(myHandler.fileName, -1, true); in checkDtdComparatorFor()