/external/libvncserver/libvncserver/ |
D | rfbserver.c | 125 static void rfbProcessClientProtocolVersion(rfbClientPtr cl); 126 static void rfbProcessClientNormalMessage(rfbClientPtr cl); 127 static void rfbProcessClientInitMessage(rfbClientPtr cl); 130 void rfbIncrClientRef(rfbClientPtr cl) in rfbIncrClientRef() argument 132 LOCK(cl->refCountMutex); in rfbIncrClientRef() 133 cl->refCount++; in rfbIncrClientRef() 134 UNLOCK(cl->refCountMutex); in rfbIncrClientRef() 137 void rfbDecrClientRef(rfbClientPtr cl) in rfbDecrClientRef() argument 139 LOCK(cl->refCountMutex); in rfbDecrClientRef() 140 cl->refCount--; in rfbDecrClientRef() [all …]
|
D | zrle.c | 33 { char *fbptr = (cl->scaledScreen->frameBuffer \ 34 + (cl->scaledScreen->paddedWidthInBytes * ty) \ 35 + (tx * (cl->scaledScreen->bitsPerPixel / 8))); \ 37 (*cl->translateFn)(cl->translateLookupTable, &cl->screen->serverFormat,\ 38 &cl->format, fbptr, (char*)buf, \ 39 cl->scaledScreen->paddedWidthInBytes, tw, th); } 41 #define EXTRA_ARGS , rfbClientPtr cl 104 rfbBool rfbSendRectEncodingZRLE(rfbClientPtr cl, int x, int y, int w, int h) in rfbSendRectEncodingZRLE() argument 112 if (cl->zrleBeforeBuf == NULL) { in rfbSendRectEncodingZRLE() 113 cl->zrleBeforeBuf = (char *) malloc(rfbZRLETileWidth * rfbZRLETileHeight * 4 + 4); in rfbSendRectEncodingZRLE() [all …]
|
D | ultra.c | 30 void rfbFreeUltraData(rfbClientPtr cl) { in rfbFreeUltraData() argument 31 if (cl->compStreamInitedLZO) { in rfbFreeUltraData() 32 free(cl->lzoWrkMem); in rfbFreeUltraData() 33 cl->compStreamInitedLZO=FALSE; in rfbFreeUltraData() 39 rfbSendOneRectEncodingUltra(rfbClientPtr cl, in rfbSendOneRectEncodingUltra() argument 49 char *fbptr = (cl->scaledScreen->frameBuffer + (cl->scaledScreen->paddedWidthInBytes * y) in rfbSendOneRectEncodingUltra() 50 + (x * (cl->scaledScreen->bitsPerPixel / 8))); in rfbSendOneRectEncodingUltra() 55 maxRawSize = (w * h * (cl->format.bitsPerPixel / 8)); in rfbSendOneRectEncodingUltra() 57 if (cl->beforeEncBufSize < maxRawSize) { in rfbSendOneRectEncodingUltra() 58 cl->beforeEncBufSize = maxRawSize; in rfbSendOneRectEncodingUltra() [all …]
|
D | tight.c | 172 static rfbBool SendRectEncodingTight(rfbClientPtr cl, int x, int y, 174 static void FindBestSolidArea (rfbClientPtr cl, int x, int y, int w, int h, 176 static void ExtendSolidArea (rfbClientPtr cl, int x, int y, int w, int h, 179 static rfbBool CheckSolidTile (rfbClientPtr cl, int x, int y, int w, int h, 181 static rfbBool CheckSolidTile8 (rfbClientPtr cl, int x, int y, int w, int h, 183 static rfbBool CheckSolidTile16 (rfbClientPtr cl, int x, int y, int w, int h, 185 static rfbBool CheckSolidTile32 (rfbClientPtr cl, int x, int y, int w, int h, 188 static rfbBool SendRectSimple (rfbClientPtr cl, int x, int y, int w, int h); 189 static rfbBool SendSubrect (rfbClientPtr cl, int x, int y, int w, int h); 190 static rfbBool SendTightHeader (rfbClientPtr cl, int x, int y, int w, int h); [all …]
|
D | corre.c | 39 static int subrectEncode8(rfbClientPtr cl, uint8_t *data, int w, int h); 40 static int subrectEncode16(rfbClientPtr cl, uint16_t *data, int w, int h); 41 static int subrectEncode32(rfbClientPtr cl, uint32_t *data, int w, int h); 43 static rfbBool rfbSendSmallRectEncodingCoRRE(rfbClientPtr cl, int x, int y, 53 rfbSendRectEncodingCoRRE(rfbClientPtr cl, in rfbSendRectEncodingCoRRE() argument 59 if (h > cl->correMaxHeight) { in rfbSendRectEncodingCoRRE() 60 return (rfbSendRectEncodingCoRRE(cl, x, y, w, cl->correMaxHeight) && in rfbSendRectEncodingCoRRE() 61 rfbSendRectEncodingCoRRE(cl, x, y + cl->correMaxHeight, w, in rfbSendRectEncodingCoRRE() 62 h - cl->correMaxHeight)); in rfbSendRectEncodingCoRRE() 65 if (w > cl->correMaxWidth) { in rfbSendRectEncodingCoRRE() [all …]
|
D | auth.c | 33 void rfbClientSendString(rfbClientPtr cl, const char *reason); 110 rfbVncAuthSendChallenge(rfbClientPtr cl) in rfbVncAuthSendChallenge() argument 115 rfbRandomBytes(cl->authChallenge); in rfbVncAuthSendChallenge() 116 if (rfbWriteExact(cl, (char *)cl->authChallenge, CHALLENGESIZE) < 0) { in rfbVncAuthSendChallenge() 118 rfbCloseClient(cl); in rfbVncAuthSendChallenge() 123 cl->state = RFB_AUTHENTICATION; in rfbVncAuthSendChallenge() 142 rfbVncAuthNone(rfbClientPtr cl) in rfbVncAuthNone() argument 160 …if (cl->protocolMajorVersion==3 && cl->protocolMinorVersion > 7 && cl->protocolMinorVersion != 889… in rfbVncAuthNone() 163 if (rfbWriteExact(cl, (char *)&authResult, 4) < 0) { in rfbVncAuthNone() 165 rfbCloseClient(cl); in rfbVncAuthNone() [all …]
|
D | zlib.c | 81 rfbSendOneRectEncodingZlib(rfbClientPtr cl, in rfbSendOneRectEncodingZlib() argument 92 char *fbptr = (cl->scaledScreen->frameBuffer + (cl->scaledScreen->paddedWidthInBytes * y) in rfbSendOneRectEncodingZlib() 93 + (x * (cl->scaledScreen->bitsPerPixel / 8))); in rfbSendOneRectEncodingZlib() 98 maxRawSize = (cl->scaledScreen->width * cl->scaledScreen->height in rfbSendOneRectEncodingZlib() 99 * (cl->format.bitsPerPixel / 8)); in rfbSendOneRectEncodingZlib() 112 if (( w * h * (cl->scaledScreen->bitsPerPixel / 8)) < in rfbSendOneRectEncodingZlib() 123 if (( cl->format.bitsPerPixel > 8 ) && in rfbSendOneRectEncodingZlib() 124 ( cl->ublen % ( cl->format.bitsPerPixel / 8 )) != 0 ) { in rfbSendOneRectEncodingZlib() 125 if (!rfbSendUpdateBuf(cl)) in rfbSendOneRectEncodingZlib() 129 result = rfbSendRectEncodingRaw(cl, x, y, w, h); in rfbSendOneRectEncodingZlib() [all …]
|
D | main.c | 162 rfbBool rfbEnableExtension(rfbClientPtr cl, rfbProtocolExtension* extension, in rfbEnableExtension() argument 168 for(extData = cl->extensions; extData; extData = extData->next) in rfbEnableExtension() 175 extData->next = cl->extensions; in rfbEnableExtension() 176 cl->extensions = extData; in rfbEnableExtension() 181 rfbBool rfbDisableExtension(rfbClientPtr cl, rfbProtocolExtension* extension) in rfbDisableExtension() argument 186 for(extData = cl->extensions; extData; extData = extData->next) { in rfbDisableExtension() 191 cl->extensions = extData->next; in rfbDisableExtension() 202 void* rfbGetExtensionClientData(rfbClientPtr cl, rfbProtocolExtension* extension) in rfbGetExtensionClientData() argument 204 rfbExtensionData* data = cl->extensions; in rfbGetExtensionClientData() 270 rfbClientPtr cl; in rfbScheduleCopyRegion() local [all …]
|
D | translate.c | 30 static rfbBool rfbSetClientColourMapBGR233(rfbClientPtr cl); 245 rfbSetTranslateFunction(rfbClientPtr cl) in rfbSetTranslateFunction() argument 247 rfbLog("Pixel format for client %s:\n",cl->host); in rfbSetTranslateFunction() 248 PrintPixelFormat(&cl->format); in rfbSetTranslateFunction() 254 if ((cl->screen->serverFormat.bitsPerPixel != 8) && in rfbSetTranslateFunction() 255 (cl->screen->serverFormat.bitsPerPixel != 16) && in rfbSetTranslateFunction() 257 (cl->screen->serverFormat.bitsPerPixel != 24) && in rfbSetTranslateFunction() 259 (cl->screen->serverFormat.bitsPerPixel != 32)) in rfbSetTranslateFunction() 263 cl->screen->serverFormat.bitsPerPixel); in rfbSetTranslateFunction() 264 rfbCloseClient(cl); in rfbSetTranslateFunction() [all …]
|
D | rre.c | 38 static int subrectEncode8(rfbClientPtr cl, uint8_t *data, int w, int h); 39 static int subrectEncode16(rfbClientPtr cl, uint16_t *data, int w, int h); 40 static int subrectEncode32(rfbClientPtr cl, uint32_t *data, int w, int h); 49 rfbSendRectEncodingRRE(rfbClientPtr cl, in rfbSendRectEncodingRRE() argument 59 char *fbptr = (cl->scaledScreen->frameBuffer + (cl->scaledScreen->paddedWidthInBytes * y) in rfbSendRectEncodingRRE() 60 + (x * (cl->scaledScreen->bitsPerPixel / 8))); in rfbSendRectEncodingRRE() 62 int maxRawSize = (cl->scaledScreen->width * cl->scaledScreen->height in rfbSendRectEncodingRRE() 63 * (cl->format.bitsPerPixel / 8)); in rfbSendRectEncodingRRE() 65 if (cl->beforeEncBufSize < maxRawSize) { in rfbSendRectEncodingRRE() 66 cl->beforeEncBufSize = maxRawSize; in rfbSendRectEncodingRRE() [all …]
|
D | hextile.c | 30 static rfbBool sendHextiles8(rfbClientPtr cl, int x, int y, int w, int h); 31 static rfbBool sendHextiles16(rfbClientPtr cl, int x, int y, int w, int h); 32 static rfbBool sendHextiles32(rfbClientPtr cl, int x, int y, int w, int h); 40 rfbSendRectEncodingHextile(rfbClientPtr cl, in rfbSendRectEncodingHextile() argument 48 if (cl->ublen + sz_rfbFramebufferUpdateRectHeader > UPDATE_BUF_SIZE) { in rfbSendRectEncodingHextile() 49 if (!rfbSendUpdateBuf(cl)) in rfbSendRectEncodingHextile() 59 memcpy(&cl->updateBuf[cl->ublen], (char *)&rect, in rfbSendRectEncodingHextile() 61 cl->ublen += sz_rfbFramebufferUpdateRectHeader; in rfbSendRectEncodingHextile() 63 rfbStatRecordEncodingSent(cl, rfbEncodingHextile, in rfbSendRectEncodingHextile() 65 sz_rfbFramebufferUpdateRectHeader + w * (cl->format.bitsPerPixel / 8) * h); in rfbSendRectEncodingHextile() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | CommandFlags.h | 34 cl::opt<std::string> 35 MArch("march", cl::desc("Architecture to generate code for (see --version)")); 37 cl::opt<std::string> 39 cl::desc("Target a specific cpu type (-mcpu=help for details)"), 40 cl::value_desc("cpu-name"), 41 cl::init("")); 43 cl::list<std::string> 45 cl::CommaSeparated, 46 cl::desc("Target specific attributes (-mattr=help for details)"), 47 cl::value_desc("a1,+a2,-a3,...")); [all …]
|
/external/llvm/tools/llvm-cov/ |
D | gcov.cpp | 93 cl::list<std::string> SourceFiles(cl::Positional, cl::OneOrMore, in gcovMain() 94 cl::desc("SOURCEFILE")); in gcovMain() 96 cl::opt<bool> AllBlocks("a", cl::Grouping, cl::init(false), in gcovMain() 97 cl::desc("Display all basic blocks")); in gcovMain() 98 cl::alias AllBlocksA("all-blocks", cl::aliasopt(AllBlocks)); in gcovMain() 100 cl::opt<bool> BranchProb("b", cl::Grouping, cl::init(false), in gcovMain() 101 cl::desc("Display branch probabilities")); in gcovMain() 102 cl::alias BranchProbA("branch-probabilities", cl::aliasopt(BranchProb)); in gcovMain() 104 cl::opt<bool> BranchCount("c", cl::Grouping, cl::init(false), in gcovMain() 105 cl::desc("Display branch counts instead " in gcovMain() [all …]
|
/external/llvm/tools/llvm-readobj/ |
D | llvm-readobj.cpp | 48 cl::list<std::string> InputFilenames(cl::Positional, 49 cl::desc("<input object files>"), 50 cl::ZeroOrMore); 53 cl::opt<bool> FileHeaders("file-headers", 54 cl::desc("Display file headers ")); 55 cl::alias FileHeadersShort("h", 56 cl::desc("Alias for --file-headers"), 57 cl::aliasopt(FileHeaders)); 60 cl::opt<bool> Sections("sections", 61 cl::desc("Display all sections.")); [all …]
|
/external/libcxx/test/std/utilities/function.objects/func.invoke/ |
D | invoke.pass.cpp | 151 TestClass cl(42); in bullet_one_two_tests() local 152 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests() 153 test_b12<int const&(NonCopyable&&) const &, int const&>(cl); in bullet_one_two_tests() 154 test_b12<int volatile&(NonCopyable&&) volatile &, int volatile&>(cl); in bullet_one_two_tests() 155 test_b12<int const volatile&(NonCopyable&&) const volatile &, int const volatile&>(cl); in bullet_one_two_tests() 157 test_b12<int&&(NonCopyable&&) &&, int&&>(std::move(cl)); in bullet_one_two_tests() 158 test_b12<int const&&(NonCopyable&&) const &&, int const&&>(std::move(cl)); in bullet_one_two_tests() 159 test_b12<int volatile&&(NonCopyable&&) volatile &&, int volatile&&>(std::move(cl)); in bullet_one_two_tests() 160 …st_b12<int const volatile&&(NonCopyable&&) const volatile &&, int const volatile&&>(std::move(cl)); in bullet_one_two_tests() 163 DerivedFromTestClass cl(42); in bullet_one_two_tests() local [all …]
|
/external/libvncserver/libvncserver/tightvnc-filetransfer/ |
D | rfbtightserver.c | 41 rfbGetTightClientData(rfbClientPtr cl) in rfbGetTightClientData() argument 44 rfbGetExtensionClientData(cl, in rfbGetTightClientData() 48 rfbCloseClient(cl); in rfbGetTightClientData() 59 rfbVncAuthSendChallenge(rfbClientPtr cl) in rfbVncAuthSendChallenge() argument 64 rfbRandomBytes(cl->authChallenge); in rfbVncAuthSendChallenge() 65 if (rfbWriteExact(cl, (char *)cl->authChallenge, CHALLENGESIZE) < 0) { in rfbVncAuthSendChallenge() 67 rfbCloseClient(cl); in rfbVncAuthSendChallenge() 73 rfbAuthProcessClientMessage(cl); in rfbVncAuthSendChallenge() 85 if (cl->protocolMajorVersion==3 && cl->protocolMinorVersion > 7) { \ 89 if (rfbWriteExact(cl, (char *)&authResult, 4) < 0) { \ [all …]
|
D | handlefiletransferrequest.c | 255 HandleFileListRequest(rfbClientPtr cl, rfbTightClientRec* data) in HandleFileListRequest() argument 266 if(cl == NULL) { in HandleFileListRequest() 272 if((n = rfbReadExact(cl, ((char *)&msg)+1, sz_rfbFileListRequestMsg-1)) <= 0) { in HandleFileListRequest() 278 rfbCloseClient(cl); in HandleFileListRequest() 292 if((n = rfbReadExact(cl, path, msg.flr.dirNameSize)) <= 0) { in HandleFileListRequest() 298 rfbCloseClient(cl); in HandleFileListRequest() 319 rfbWriteExact(cl, fileListMsg.data, fileListMsg.length); in HandleFileListRequest() 329 void HandleFileDownloadLengthError(rfbClientPtr cl, short fNameSize); 330 void SendFileDownloadLengthErrMsg(rfbClientPtr cl); 331 void HandleFileDownload(rfbClientPtr cl, rfbTightClientPtr data); [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonSubtarget.cpp | 29 static cl::opt<bool> EnableMemOps("enable-hexagon-memops", 30 cl::Hidden, cl::ZeroOrMore, cl::ValueDisallowed, cl::init(true), 31 cl::desc("Generate V4 MEMOP in code generation for Hexagon target")); 33 static cl::opt<bool> DisableMemOps("disable-hexagon-memops", 34 cl::Hidden, cl::ZeroOrMore, cl::ValueDisallowed, cl::init(false), 35 cl::desc("Do not generate V4 MEMOP in code generation for Hexagon target")); 37 static cl::opt<bool> EnableIEEERndNear("enable-hexagon-ieee-rnd-near", 38 cl::Hidden, cl::ZeroOrMore, cl::init(false), 39 cl::desc("Generate non-chopped conversion from fp to int.")); 41 static cl::opt<bool> EnableBSBSched("enable-bsb-sched", [all …]
|
D | HexagonTargetMachine.cpp | 29 static cl:: opt<bool> DisableHardwareLoops("disable-hexagon-hwloops", 30 cl::Hidden, cl::desc("Disable Hardware Loops for Hexagon target")); 32 static cl::opt<bool> DisableHexagonCFGOpt("disable-hexagon-cfgopt", 33 cl::Hidden, cl::ZeroOrMore, cl::init(false), 34 cl::desc("Disable Hexagon CFG Optimization")); 36 static cl::opt<bool> DisableStoreWidening("disable-store-widen", 37 cl::Hidden, cl::init(false), cl::desc("Disable store widening")); 39 static cl::opt<bool> EnableExpandCondsets("hexagon-expand-condsets", 40 cl::init(true), cl::Hidden, cl::ZeroOrMore, 41 cl::desc("Early expansion of MUX")); [all …]
|
/external/llvm/lib/CodeGen/ |
D | Passes.cpp | 37 static cl::opt<bool> DisablePostRA("disable-post-ra", cl::Hidden, 38 cl::desc("Disable Post Regalloc")); 39 static cl::opt<bool> DisableBranchFold("disable-branch-fold", cl::Hidden, 40 cl::desc("Disable branch folding")); 41 static cl::opt<bool> DisableTailDuplicate("disable-tail-duplicate", cl::Hidden, 42 cl::desc("Disable tail duplication")); 43 static cl::opt<bool> DisableEarlyTailDup("disable-early-taildup", cl::Hidden, 44 cl::desc("Disable pre-register allocation tail duplication")); 45 static cl::opt<bool> DisableBlockPlacement("disable-block-placement", 46 cl::Hidden, cl::desc("Disable probability-driven block placement")); [all …]
|
/external/libchrome/base/ |
D | command_line_unittest.cc | 49 CommandLine cl(arraysize(argv), argv); in TEST() local 51 EXPECT_FALSE(cl.GetCommandLineString().empty()); in TEST() 52 EXPECT_FALSE(cl.HasSwitch("cruller")); in TEST() 53 EXPECT_FALSE(cl.HasSwitch("flim")); in TEST() 54 EXPECT_FALSE(cl.HasSwitch("program")); in TEST() 55 EXPECT_FALSE(cl.HasSwitch("dog")); in TEST() 56 EXPECT_FALSE(cl.HasSwitch("cat")); in TEST() 57 EXPECT_FALSE(cl.HasSwitch("output-rotation")); in TEST() 58 EXPECT_FALSE(cl.HasSwitch("not-a-switch")); in TEST() 59 EXPECT_FALSE(cl.HasSwitch("--")); in TEST() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetMachine.cpp | 27 static cl::opt<bool> 28 EnableCCMP("aarch64-ccmp", cl::desc("Enable the CCMP formation pass"), 29 cl::init(true), cl::Hidden); 31 static cl::opt<bool> EnableMCR("aarch64-mcr", 32 cl::desc("Enable the machine combiner pass"), 33 cl::init(true), cl::Hidden); 35 static cl::opt<bool> 36 EnableStPairSuppress("aarch64-stp-suppress", cl::desc("Suppress STP for AArch64"), 37 cl::init(true), cl::Hidden); 39 static cl::opt<bool> [all …]
|
/external/llvm/tools/opt/ |
D | opt.cpp | 63 static cl::list<const PassInfo*, bool, PassNameParser> 64 PassList(cl::desc("Optimizations available:")); 70 static cl::opt<std::string> PassPipeline( 72 cl::desc("A textual description of the pass pipeline for optimizing"), 73 cl::Hidden); 77 static cl::opt<std::string> 78 InputFilename(cl::Positional, cl::desc("<input bitcode file>"), 79 cl::init("-"), cl::value_desc("filename")); 81 static cl::opt<std::string> 82 OutputFilename("o", cl::desc("Override output filename"), [all …]
|
/external/llvm/tools/llvm-objdump/ |
D | llvm-objdump.h | 24 extern cl::opt<std::string> TripleName; 25 extern cl::opt<std::string> ArchName; 26 extern cl::opt<std::string> MCPU; 27 extern cl::list<std::string> MAttrs; 28 extern cl::list<std::string> FilterSections; 29 extern cl::opt<bool> Disassemble; 30 extern cl::opt<bool> DisassembleAll; 31 extern cl::opt<bool> NoShowRawInsn; 32 extern cl::opt<bool> PrivateHeaders; 33 extern cl::opt<bool> ExportsTrie; [all …]
|
/external/llvm/tools/llvm-extract/ |
D | llvm-extract.cpp | 38 static cl::opt<std::string> 39 InputFilename(cl::Positional, cl::desc("<input bitcode file>"), 40 cl::init("-"), cl::value_desc("filename")); 42 static cl::opt<std::string> 43 OutputFilename("o", cl::desc("Specify output filename"), 44 cl::value_desc("filename"), cl::init("-")); 46 static cl::opt<bool> 47 Force("f", cl::desc("Enable binary output on terminals")); 49 static cl::opt<bool> 50 DeleteFn("delete", cl::desc("Delete specified Globals from Module")); [all …]
|