/external/protobuf/src/google/protobuf/stubs/ |
D | status_test.cc | 40 TEST(Status, Empty) { in TEST() argument 41 util::Status status; in TEST() 42 EXPECT_EQ(util::error::OK, util::Status::OK.error_code()); in TEST() 43 EXPECT_EQ("OK", util::Status::OK.ToString()); in TEST() 46 TEST(Status, GenericCodes) { in TEST() argument 47 EXPECT_EQ(util::error::OK, util::Status::OK.error_code()); in TEST() 48 EXPECT_EQ(util::error::CANCELLED, util::Status::CANCELLED.error_code()); in TEST() 49 EXPECT_EQ(util::error::UNKNOWN, util::Status::UNKNOWN.error_code()); in TEST() 52 TEST(Status, ConstructorZero) { in TEST() argument 53 util::Status status(util::error::OK, "msg"); in TEST() [all …]
|
D | status.cc | 85 const Status Status::OK = Status(); 86 const Status Status::CANCELLED = Status(error::CANCELLED, ""); 87 const Status Status::UNKNOWN = Status(error::UNKNOWN, ""); 89 Status::Status() : error_code_(error::OK) { in Status() function in google::protobuf::util::Status 92 Status::Status(error::Code error_code, StringPiece error_message) in Status() function in google::protobuf::util::Status 99 Status::Status(const Status& other) in Status() function in google::protobuf::util::Status 103 Status& Status::operator=(const Status& other) { in operator =() 109 bool Status::operator==(const Status& x) const { in operator ==() 114 string Status::ToString() const { in ToString() 127 ostream& operator<<(ostream& os, const Status& x) { in operator <<()
|
D | status.h | 65 class LIBPROTOBUF_EXPORT Status { 68 Status(); 74 Status(error::Code error_code, StringPiece error_message); 75 Status(const Status&); 76 Status& operator=(const Status& x); 77 ~Status() {} in ~Status() 80 static const Status OK; // Identical to 0-arg constructor 81 static const Status CANCELLED; 82 static const Status UNKNOWN; 95 bool operator==(const Status& x) const; [all …]
|
/external/autotest/client/common_lib/ |
D | host_queue_entry_states.py | 15 Status = enum.Enum(*Status_list, string_values=True) variable 16 ACTIVE_STATUSES = (Status.STARTING, Status.RESETTING, Status.VERIFYING, 17 Status.PROVISIONING, Status.PENDING, Status.RUNNING, 18 Status.GATHERING, Status.CLEANING) 19 COMPLETE_STATUSES = (Status.ABORTED, Status.COMPLETED, Status.FAILED, 20 Status.STOPPED, Status.TEMPLATE) 21 PRE_JOB_STATUSES = (Status.RESETTING, Status.PROVISIONING, Status.VERIFYING, 22 Status.PENDING, Status.QUEUED) 23 IDLE_PRE_JOB_STATUSES = (Status.PENDING, Status.QUEUED)
|
/external/syslinux/gnu-efi/gnu-efi-3.0/lib/ |
D | hand.c | 31 EFI_STATUS Status; in LibLocateProtocol() local 37 Status = LibLocateHandle (ByProtocol, ProtocolGuid, NULL, &NumberHandles, &Handles); in LibLocateProtocol() 38 if (EFI_ERROR(Status)) { in LibLocateProtocol() 40 return Status; in LibLocateProtocol() 44 Status = uefi_call_wrapper(BS->HandleProtocol, 3, Handles[Index], ProtocolGuid, Interface); in LibLocateProtocol() 45 if (!EFI_ERROR(Status)) { in LibLocateProtocol() 54 return Status; in LibLocateProtocol() 67 EFI_STATUS Status; in LibLocateHandle() local 74 Status = EFI_SUCCESS; in LibLocateHandle() 82 while (GrowBuffer (&Status, (VOID **) Buffer, BufferSize)) { in LibLocateHandle() [all …]
|
D | sread.c | 63 EFI_STATUS Status; in OpenSimpleReadFile() local 75 Status = EFI_OUT_OF_RESOURCES; in OpenSimpleReadFile() 90 Status = EFI_SUCCESS; in OpenSimpleReadFile() 99 … Status = uefi_call_wrapper(BS->LocateDevicePath, 3, &FileSystemProtocol, FilePath, DeviceHandle); in OpenSimpleReadFile() 100 if (!EFI_ERROR(Status)) { in OpenSimpleReadFile() 104 Status = FileHandle ? EFI_SUCCESS : EFI_UNSUPPORTED; in OpenSimpleReadFile() 121 Status = EFI_UNSUPPORTED; in OpenSimpleReadFile() 128 if (EFI_ERROR(Status)) { in OpenSimpleReadFile() 139 Status = uefi_call_wrapper( in OpenSimpleReadFile() 166 if (!EFI_ERROR(Status)) { in OpenSimpleReadFile() [all …]
|
D | hw.c | 49 EFI_STATUS Status; in InitializeGlobalIoDevice() local 56 Status = uefi_call_wrapper(BS->LocateDevicePath, 3, Protocol, &DevicePath, &Handle); in InitializeGlobalIoDevice() 57 if (!EFI_ERROR(Status)) { in InitializeGlobalIoDevice() 62 Status = uefi_call_wrapper(BS->LocateDevicePath, 3, &DeviceIoProtocol, &DevicePath, &Handle); in InitializeGlobalIoDevice() 63 if (!EFI_ERROR(Status)) { in InitializeGlobalIoDevice() 64 … Status = uefi_call_wrapper(BS->HandleProtocol, 3, Handle, &DeviceIoProtocol, (VOID*)GlobalIoFncs); in InitializeGlobalIoDevice() 67 ASSERT (!EFI_ERROR(Status)); in InitializeGlobalIoDevice() 68 return Status; in InitializeGlobalIoDevice() 79 EFI_STATUS Status; in ReadPort() local 81 … Status = uefi_call_wrapper(GlobalIoFncs->Io.Read, 5, GlobalIoFncs, Width, (UINT64)Port, 1, &Data); in ReadPort() [all …]
|
D | event.c | 30 EFI_STATUS Status; in LibCreateProtocolNotifyEvent() local 37 Status = uefi_call_wrapper( in LibCreateProtocolNotifyEvent() 46 ASSERT (!EFI_ERROR(Status)); in LibCreateProtocolNotifyEvent() 52 Status = uefi_call_wrapper( in LibCreateProtocolNotifyEvent() 60 ASSERT (!EFI_ERROR(Status)); in LibCreateProtocolNotifyEvent() 78 EFI_STATUS Status; in WaitForSingleEvent() local 88 Status = uefi_call_wrapper(BS->CreateEvent, 5, EVT_TIMER, 0, NULL, NULL, &TimerEvent); in WaitForSingleEvent() 89 if (!EFI_ERROR(Status)) { in WaitForSingleEvent() 103 Status = uefi_call_wrapper(BS->WaitForEvent, 3, 2, WaitList, &Index); in WaitForSingleEvent() 110 if (!EFI_ERROR(Status) && Index == 1) { in WaitForSingleEvent() [all …]
|
D | misc.c | 30 EFI_STATUS Status; in AllocatePool() local 33 Status = uefi_call_wrapper(BS->AllocatePool, 3, PoolAllocationType, Size, &p); in AllocatePool() 34 if (EFI_ERROR(Status)) { in AllocatePool() 35 DEBUG((D_ERROR, "AllocatePool: out of pool %x\n", Status)); in AllocatePool() 133 IN OUT EFI_STATUS *Status, in GrowBuffer() argument 167 *Status = EFI_BUFFER_TOO_SMALL; in GrowBuffer() 175 if (*Status == EFI_BUFFER_TOO_SMALL) { in GrowBuffer() 186 *Status = EFI_OUT_OF_RESOURCES; in GrowBuffer() 194 if (!TryAgain && EFI_ERROR(*Status) && *Buffer) { in GrowBuffer() 211 EFI_STATUS Status; in LibMemoryMap() local [all …]
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | json_stream_parser.h | 43 class Status; variable 79 util::Status Parse(StringPiece json); 83 util::Status FinishParse(); 124 util::Status ParseChunk(StringPiece json); 129 util::Status RunParser(); 133 util::Status ParseValue(TokenType type); 136 util::Status ParseString(); 139 util::Status ParseStringHelper(); 145 util::Status ParseUnicodeEscape(); 149 util::Status ParseNumber(); [all …]
|
D | json_stream_parser.cc | 55 using util::Status; 118 util::Status JsonStreamParser::Parse(StringPiece json) { in Parse() 135 util::Status status = ParseChunk(chunk.substr(0, n)); in Parse() 143 return util::Status::OK; in Parse() 147 util::Status JsonStreamParser::FinishParse() { in FinishParse() 151 return util::Status::OK; in FinishParse() 170 util::Status result = RunParser(); in FinishParse() 180 util::Status JsonStreamParser::ParseChunk(StringPiece chunk) { in ParseChunk() 182 if (chunk.empty()) return util::Status::OK; in ParseChunk() 187 util::Status result = RunParser(); in ParseChunk() [all …]
|
D | protostream_objectsource.h | 83 virtual util::Status NamedWriteTo(StringPiece name, ObjectWriter* ow) const; 126 virtual util::Status WriteMessage(const google::protobuf::Type& descriptor, 136 typedef util::Status (*TypeRenderer)(const ProtoStreamObjectSource*, 163 util::Status RenderPacked(const google::protobuf::Field* field, 167 static util::Status RenderTimestamp(const ProtoStreamObjectSource* os, 172 static util::Status RenderDuration(const ProtoStreamObjectSource* os, 178 static util::Status RenderDouble(const ProtoStreamObjectSource* os, 181 static util::Status RenderFloat(const ProtoStreamObjectSource* os, 184 static util::Status RenderInt64(const ProtoStreamObjectSource* os, 187 static util::Status RenderUInt64(const ProtoStreamObjectSource* os, [all …]
|
D | protostream_objectsource.cc | 56 using util::Status; 69 using util::Status; 109 return Status(util::error::INTERNAL, "Invalid map key type."); in MapKeyDefaultValueAsString() 147 Status ProtoStreamObjectSource::NamedWriteTo(StringPiece name, in NamedWriteTo() 172 Status ProtoStreamObjectSource::WriteMessage(const google::protobuf::Type& type, in WriteMessage() 227 return Status::OK; in WriteMessage() 282 return Status(util::error::INTERNAL, "Invalid map entry."); in RenderMap() 290 return Status(util::error::INTERNAL, "Invalid map entry."); in RenderMap() 298 Status ProtoStreamObjectSource::RenderPacked( in RenderPacked() 307 return Status::OK; in RenderPacked() [all …]
|
/external/clang/test/SemaCXX/ |
D | warn-consumed-analysis.cpp | 695 Status { 699 static Status OK; 701 Status() RETURN_TYPESTATE(consumed); 702 Status(int c) RETURN_TYPESTATE(unconsumed); 704 Status(const Status &other); 705 Status(Status &&other); 707 Status& operator=(const Status &other) CALLABLE_WHEN("unknown", "consumed"); 708 Status& operator=(Status &&other) CALLABLE_WHEN("unknown", "consumed"); 710 bool operator==(const Status &other) const SET_TYPESTATE(consumed); 718 ~Status() CALLABLE_WHEN("unknown", "consumed"); [all …]
|
D | warn-unused-result.cpp | 47 class Status; 50 Status doStuff(); 53 struct [[clang::warn_unused_result]] Status { struct 55 Status& operator=(const Status& x); 56 inline void Update(const Status& new_status) { in Update() argument 62 Status DoSomething(); 63 Status& DoSomethingElse(); 64 Status* DoAnotherThing(); 65 Status** DoYetAnotherThing(); 67 Status s = DoSomething(); in lazy() [all …]
|
/external/syslinux/gnu-efi/gnu-efi-3.0/apps/ |
D | drv0_use.c | 19 EFI_STATUS Status; in PlayWithGnuEfiAppsDrv0Protocol() local 23 Status = uefi_call_wrapper(BS->OpenProtocol, 6, in PlayWithGnuEfiAppsDrv0Protocol() 30 if (EFI_ERROR(Status)) { in PlayWithGnuEfiAppsDrv0Protocol() 31 Print(L"Cannot open proto: %d\n", Status); in PlayWithGnuEfiAppsDrv0Protocol() 32 return Status; in PlayWithGnuEfiAppsDrv0Protocol() 35 Status = uefi_call_wrapper(drv->SayHello, 2, drv, L"Sample UEFI Driver"); in PlayWithGnuEfiAppsDrv0Protocol() 36 if (EFI_ERROR(Status)) { in PlayWithGnuEfiAppsDrv0Protocol() 37 Print(L"Cannot call SayHello: %d\n", Status); in PlayWithGnuEfiAppsDrv0Protocol() 40 Status = uefi_call_wrapper(drv->GetNumberOfHello, 2, drv, &NumberOfHello); in PlayWithGnuEfiAppsDrv0Protocol() 41 if (EFI_ERROR(Status)) { in PlayWithGnuEfiAppsDrv0Protocol() [all …]
|
/external/clang/lib/Basic/ |
D | FileSystemStatCache.cpp | 22 static void copyStatusToFileData(const vfs::Status &Status, in copyStatusToFileData() argument 24 Data.Name = Status.getName(); in copyStatusToFileData() 25 Data.Size = Status.getSize(); in copyStatusToFileData() 26 Data.ModTime = Status.getLastModificationTime().toEpochTime(); in copyStatusToFileData() 27 Data.UniqueID = Status.getUniqueID(); in copyStatusToFileData() 28 Data.IsDirectory = Status.isDirectory(); in copyStatusToFileData() 29 Data.IsNamedPipe = Status.getType() == llvm::sys::fs::file_type::fifo_file; in copyStatusToFileData() 31 Data.IsVFSMapped = Status.IsVFSMapped; in copyStatusToFileData() 55 llvm::ErrorOr<vfs::Status> Status = FS.status(Path); in get() local 56 if (!Status) { in get() [all …]
|
/external/syslinux/com32/include/syslinux/ |
D | pxe_api.h | 96 pxenv_status_t Status; member 107 pxenv_status_t Status; member 116 pxenv_status_t Status; member 120 pxenv_status_t Status; member 124 pxenv_status_t Status; member 128 pxenv_status_t Status; member 137 pxenv_status_t Status; member 141 pxenv_status_t Status; member 148 pxenv_status_t Status; member 162 pxenv_status_t Status; member [all …]
|
/external/syslinux/gpxe/src/arch/i386/include/ |
D | pxe_api.h | 249 PXENV_STATUS_t Status; /**< PXE status code */ member 285 PXENV_STATUS_t Status; /**< PXE status code */ member 443 PXENV_STATUS_t Status; /**< PXE status code */ member 515 PXENV_STATUS_t Status; /**< PXE status code */ member 536 PXENV_STATUS_t Status; /**< PXE status code */ member 557 PXENV_STATUS_t Status; /**< PXE status code */ member 587 PXENV_STATUS_t Status; /**< PXE status code */ member 619 PXENV_STATUS_t Status; /**< PXE status code */ member 640 PXENV_STATUS_t Status; /**< PXE status code */ member 664 PXENV_STATUS_t Status; /**< PXE status code */ member [all …]
|
/external/skia/tools/ |
D | ok.cpp | 102 virtual bool spawn(std::function<Status(void)>) = 0; 103 virtual Status wait_one() = 0; 107 Status last = Status::None; 109 bool spawn(std::function<Status(void)> fn) override { in spawn() 114 Status wait_one() override { in wait_one() 115 Status s = last; in wait_one() 116 last = Status::None; in wait_one() 122 std::list<std::future<Status>> live; 125 bool spawn(std::function<Status(void)> fn) override { in spawn() 130 Status wait_one() override { in wait_one() [all …]
|
D | ok_vias.cpp | 18 static std::unique_ptr<Src> proxy(Src* original, std::function<Status(SkCanvas*)> fn) { in proxy() 21 std::function<Status(SkCanvas*)> fn; in proxy() 25 Status draw(SkCanvas* canvas) override { return fn(canvas); } in proxy() 43 Status draw(Src* src) override { in draw() 49 for (auto status = src->draw(rec.getRecordingCanvas()); status != Status::OK; ) { in draw() 56 return Status::OK; in draw() 77 Status draw(Src* src) override { in draw() 78 for (auto status = target->draw(src); status != Status::OK; ) { in draw() 86 return Status::Failed; in draw() 97 return SkPngEncoder::Encode(&dst, pm, options) ? Status::OK in draw() [all …]
|
/external/syslinux/gpxe/src/arch/i386/interface/pxe/ |
D | pxe_file.c | 73 file_open->Status = PXENV_STATUS ( fd ); in pxenv_file_open() 80 file_open->Status = PXENV_STATUS_SUCCESS; in pxenv_file_open() 99 file_close->Status = PXENV_STATUS_SUCCESS; in pxenv_file_close() 123 file_select->Status = PXENV_STATUS ( ready ); in pxenv_file_select() 128 file_select->Status = PXENV_STATUS_SUCCESS; in pxenv_file_select() 158 file_read->Status = PXENV_STATUS ( len ); in pxenv_file_read() 165 file_read->Status = PXENV_STATUS_SUCCESS; in pxenv_file_read() 187 get_file_size->Status = PXENV_STATUS ( filesize ); in pxenv_get_file_size() 194 get_file_size->Status = PXENV_STATUS_SUCCESS; in pxenv_get_file_size() 227 file_exec->Status = PXENV_STATUS ( rc ); in pxenv_file_exec() [all …]
|
/external/testng/src/test/java/test/ |
D | DynamicGraphTest.java | 6 import org.testng.internal.DynamicGraph.Status; 36 dg.setStatus(freeNodes, Status.RUNNING); in test8() 37 dg.setStatus("a1", Status.FINISHED); in test8() 40 dg.setStatus("a2", Status.FINISHED); in test8() 43 dg.setStatus("b2", Status.RUNNING); in test8() 44 dg.setStatus("b1", Status.FINISHED); in test8() 47 dg.setStatus("b2", Status.FINISHED); in test8() 63 dg.setStatus(freeNodes, Status.RUNNING); in test2() 64 dg.setStatus("a1", Status.FINISHED); in test2() 67 dg.setStatus("a2", Status.FINISHED); in test2() [all …]
|
/external/tcpdump/tests/ |
D | aoe_1-v.out | 10 AFlags: [none], Err/Feature: 0, Sector Count: 1, Cmd/Status: 236 15 AFlags: [none], Err/Feature: 0, Sector Count: 0, Cmd/Status: 64 20 AFlags: [Ext48], Err/Feature: 0, Sector Count: 2, Cmd/Status: 36 25 AFlags: [Ext48], Err/Feature: 0, Sector Count: 2, Cmd/Status: 36 30 AFlags: [Ext48], Err/Feature: 0, Sector Count: 2, Cmd/Status: 36 35 AFlags: [Ext48], Err/Feature: 0, Sector Count: 2, Cmd/Status: 36 40 AFlags: [Ext48], Err/Feature: 0, Sector Count: 0, Cmd/Status: 64 45 AFlags: [Ext48], Err/Feature: 0, Sector Count: 0, Cmd/Status: 64 50 AFlags: [Ext48], Err/Feature: 0, Sector Count: 0, Cmd/Status: 64 55 AFlags: [Ext48], Err/Feature: 0, Sector Count: 0, Cmd/Status: 64 [all …]
|
/external/jsilver/src/com/google/streamhtmlparser/util/ |
D | EntityResolver.java | 76 public enum Status { enum in EntityResolver 83 private Status(String message) { in Status() method in EntityResolver.Status 124 private Status status; 134 status = Status.NOT_STARTED; in EntityResolver() 157 status = Status.NOT_STARTED; in reset() 195 public Status processChar(char input) { in processChar() 197 Preconditions.checkState(status != Status.NOT_STARTED || sb.length() == 0); in processChar() 198 if (status == Status.NOT_STARTED) { in processChar() 201 status = Status.IN_PROGRESS; in processChar() 203 } else if (status == Status.IN_PROGRESS) { in processChar() [all …]
|