Home
last modified time | relevance | path

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

12

/external/libusb/examples/
Dsam3u_benchmark.c43 static void LIBUSB_CALL cb_xfr(struct libusb_transfer *xfr) in cb_xfr() argument
47 if (xfr->status != LIBUSB_TRANSFER_COMPLETED) { in cb_xfr()
48 fprintf(stderr, "transfer status %d\n", xfr->status); in cb_xfr()
49 libusb_free_transfer(xfr); in cb_xfr()
53 if (xfr->type == LIBUSB_TRANSFER_TYPE_ISOCHRONOUS) { in cb_xfr()
54 for (i = 0; i < xfr->num_iso_packets; i++) { in cb_xfr()
55 struct libusb_iso_packet_descriptor *pack = &xfr->iso_packet_desc[i]; in cb_xfr()
66 printf("length:%u, actual_length:%u\n", xfr->length, xfr->actual_length); in cb_xfr()
67 for (i = 0; i < xfr->actual_length; i++) { in cb_xfr()
68 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 …]
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 …]
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 …]
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.java64 XMLFileReader xfr = new XMLFileReader().setHandler(new EnglishHandler()); in main() local
65 xfr.read(src + "/en.xmb", XMLFileReader.CONTENT_HANDLER in main()
95 xfr = new XMLFileReader().setHandler(otherHandler); in main()
97 xfr.read(canonicalFile, XMLFileReader.CONTENT_HANDLER in main()
DGenerateTransform.java287 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in transformFromCldrFile() local
288 xfr.read(TRANSFORM_DIRECTORY + transformName + ".xml", XMLFileReader.CONTENT_HANDLER in transformFromCldrFile()
DSearchXml.java254 XMLFileReader xfr = new XMLFileReader().setHandler(listHandler); in getXmlFileAsRelation() local
257 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.java173 XMLFileReader xfr = new XMLFileReader().setHandler(isoCurrentHandler); in IsoCurrencyParser() local
174 xfr.readCLDRResource(ISO_CURRENT_CODES_XML, -1, false); in IsoCurrencyParser()
176 xfr.readCLDRResource(CLDR_EXTENSIONS_XML, -1, false); in IsoCurrencyParser()
DVoteResolver.java1438 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in setVoterToInfo() local
1439 xfr.read(fileName, XMLFileReader.CONTENT_HANDLER | XMLFileReader.ERROR_HANDLER, false); in setVoterToInfo()
1554 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in getIdToPath() local
1555 xfr.read(fileName, XMLFileReader.CONTENT_HANDLER | XMLFileReader.ERROR_HANDLER, false); in getIdToPath()
1577 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in getBaseToAlternateToInfo() local
1578 xfr.read(fileName, XMLFileReader.CONTENT_HANDLER | XMLFileReader.ERROR_HANDLER, false); in getBaseToAlternateToInfo()
DTestUtilities.java402 XMLFileReader xfr = new XMLFileReader().setHandler(new MyHandler()); in writeMetaData() local
403 xfr.read(CLDRPaths.GEN_DIRECTORY + "meta/metaData.xml", XMLFileReader.CONTENT_HANDLER in writeMetaData()
408 XMLFileReader xfr = new XMLFileReader().setHandler(new MyHandler()); in testXMLFileReader() local
409 xfr.read(CLDRPaths.MAIN_DIRECTORY + "root.xml", -1, true); in testXMLFileReader()
DDtdData.java615 XMLFileReader xfr = new XMLFileReader().setHandler(simpleHandler); in getInstance() local
621 readFile(type.rootType, xfr, directory); in getInstance()
623 readFile(type, xfr, directory); in getInstance()
653 public static void readFile(DtdType type, XMLFileReader xfr, File directory) { in readFile() argument
658 xfr.read(type.toString(), s, -1, true); // DTD_TYPE_TO_FILE.get(type) in readFile()
DAnnotations.java598 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in getDataSet() local
599 xfr.read(dir + "/" + locale + ".xml", -1, true); in getDataSet()
DCLDRTransforms.java402 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in getIcuRulesFromXmlFile() local
403xfr.read(dir + cldrFileName, XMLFileReader.CONTENT_HANDLER | XMLFileReader.ERROR_HANDLER, true); in getIcuRulesFromXmlFile()
DLDMLUtilities.java2093 XMLFileReader xfr = new XMLFileReader().setHandler(new SimpleHandler() { in loadFileRevision() local
2109 xfr.read(xmlFile.getPath(), -1, true); in loadFileRevision()
/external/cldr/tools/java/org/unicode/cldr/test/
DTestMetadata.java133 …XMLFileReader xfr = new XMLFileReader().setHandler(new MyHandler(elements, attributes, elementOrde… in getElementsAndAttributes() local
134 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/llvm/test/CodeGen/ARM/
Doptselect-regclass.ll10 define void @xfr() {
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
Doptselect-regclass.ll10 define void @xfr() {
/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.java1439 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in checkDtdComparatorForResource() local
1442 xfr.read(myHandler.fileName, TestBasic.class, -1, true); in checkDtdComparatorForResource()
1462 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in checkDtdComparatorFor() local
1465 xfr.read(myHandler.fileName, -1, true); in checkDtdComparatorFor()

12