/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowEnvironmentTest.java | 12 import android.os.Environment; 27 ShadowEnvironment.setExternalStorageState(Environment.MEDIA_REMOVED); in tearDown() 32 assertThat(Environment.getExternalStorageState()).isEqualTo(Environment.MEDIA_REMOVED); in getExternalStorageState_shouldReturnStorageState() 33 ShadowEnvironment.setExternalStorageState(Environment.MEDIA_MOUNTED); in getExternalStorageState_shouldReturnStorageState() 34 assertThat(Environment.getExternalStorageState()).isEqualTo(Environment.MEDIA_MOUNTED); in getExternalStorageState_shouldReturnStorageState() 39 assertThat(Environment.getExternalStorageDirectory().exists()).isTrue(); in getExternalStorageDirectory_shouldReturnDirectory() 44 final File path = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MOVIES); in getExternalStoragePublicDirectory_shouldReturnDirectory() 46 …assertThat(path).isEqualTo(new File(ShadowEnvironment.EXTERNAL_FILES_DIR.toFile(), Environment.DIR… in getExternalStoragePublicDirectory_shouldReturnDirectory() 51 File path1 = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MOVIES); in getExternalStoragePublicDirectory_shouldReturnSameDirectory() 52 File path2 = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MOVIES); in getExternalStoragePublicDirectory_shouldReturnSameDirectory() [all …]
|
/external/v8/tools/gcmole/ |
D | gcmole.cc | 275 class Environment; 289 static ExprEffect NoneWithEnv(Environment* env) { in NoneWithEnv() 298 Environment* env() { in env() 299 return reinterpret_cast<Environment*>(effect_ & ~kAllEffects); in env() 307 ExprEffect(int effect, Environment* env) in ExprEffect() 319 class Environment { class 321 Environment() = default; 323 static Environment Unreachable() { in Unreachable() 324 Environment env; in Unreachable() 329 static Environment Merge(const Environment& l, in Merge() [all …]
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | Environment.h | 56 class Environment { 66 Environment(BindingsTy eb) in Environment() function 82 static void Profile(llvm::FoldingSetNodeID& ID, const Environment* env) { in Profile() 92 bool operator==(const Environment& RHS) const { 105 typedef Environment::BindingsTy::Factory FactoryTy; 111 Environment getInitialEnvironment() { in getInitialEnvironment() 112 return Environment(F.getEmptyMap()); in getInitialEnvironment() 116 Environment bindExpr(Environment Env, const EnvironmentEntry &E, SVal V, 119 Environment removeDeadBindings(Environment Env,
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Environment.cpp | 60 SVal Environment::lookupExpr(const EnvironmentEntry &E) const { in lookupExpr() 69 SVal Environment::getSVal(const EnvironmentEntry &Entry, in getSVal() 110 Environment EnvironmentManager::bindExpr(Environment Env, in bindExpr() 116 return Environment(F.remove(Env.ExprBindings, E)); in bindExpr() 120 return Environment(F.add(Env.ExprBindings, E, V)); in bindExpr() 146 Environment 147 EnvironmentManager::removeDeadBindings(Environment Env, in removeDeadBindings() 154 Environment NewEnv = getInitialEnvironment(); in removeDeadBindings() 164 for (Environment::iterator I = Env.begin(), E = Env.end(); in removeDeadBindings() 188 void Environment::print(raw_ostream &Out, const char *NL, in print() [all …]
|
/external/libchrome/base/ |
D | environment_unittest.cc | 30 std::unique_ptr<Environment> env(Environment::Create()); in TEST_F() 37 std::unique_ptr<Environment> env(Environment::Create()); in TEST_F() 65 std::unique_ptr<Environment> env(Environment::Create()); in TEST_F() 70 std::unique_ptr<Environment> env(Environment::Create()); in TEST_F() 85 std::unique_ptr<Environment> env(Environment::Create()); in TEST_F()
|
D | base_paths_posix.cc | 85 std::unique_ptr<Environment> env(Environment::Create()); in PathProviderPosix() 112 std::unique_ptr<Environment> env(Environment::Create()); in PathProviderPosix()
|
D | environment.cc | 27 class EnvironmentImpl : public Environment { 133 Environment::~Environment() = default; 136 std::unique_ptr<Environment> Environment::Create() { in Create() 140 bool Environment::HasVar(StringPiece variable_name) { in HasVar()
|
/external/clang/lib/Format/ |
D | TokenAnalyzer.h | 39 class Environment { 41 Environment(SourceManager &SM, FileID ID, ArrayRef<CharSourceRange> Ranges) in Environment() function 44 Environment(FileID ID, std::unique_ptr<FileManager> FileMgr, in Environment() function 54 static std::unique_ptr<Environment> 82 TokenAnalyzer(const Environment &Env, const FormatStyle &Style); 98 const Environment &Env;
|
/external/minijail/ |
D | testrunner.cc | 17 class Environment : public ::testing::Environment { class 19 ~Environment() override = default; 30 ::testing::AddGlobalTestEnvironment(new Environment()); in main()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiObjectManagementTests.cpp | 233 struct Environment struct 245 Environment (Context& context, deUint32 maxResourceConsumers_) in Environment() function 258 Environment (const PlatformInterface& vkp_, in Environment() argument 286 Dependency (const Environment& env, const typename Case::Parameters& params) in Dependency() 351 const Environment env (context.getPlatformInterface(), in computeSystemMemoryUsage() 456 Resources (const Environment&, const Parameters&) {} in Resources() 464 static Move<VkInstance> create (const Environment& env, const Resources&, const Parameters& params) in create() 526 Resources (const Environment& env, const Parameters& params) in Resources() 565 static Move<VkDevice> create (const Environment& env, const Resources& res, const Parameters&) in create() 625 Resources (const Environment& env, const Parameters& params) in Resources() [all …]
|
/external/v8/src/compiler/ |
D | bytecode-graph-builder.cc | 29 class BytecodeGraphBuilder::Environment : public ZoneObject { class in v8::internal::compiler::BytecodeGraphBuilder 31 Environment(BytecodeGraphBuilder* builder, int register_count, 79 Environment* Copy(); 80 void Merge(Environment* other, const BytecodeLivenessState* liveness); 90 explicit Environment(const Environment* copy); 131 BytecodeGraphBuilder::Environment* parent_; 137 BytecodeGraphBuilder::Environment::Environment( in Environment() function in v8::internal::compiler::BytecodeGraphBuilder::Environment 191 BytecodeGraphBuilder::Environment::Environment( in Environment() function in v8::internal::compiler::BytecodeGraphBuilder::Environment 192 const BytecodeGraphBuilder::Environment* other) in Environment() 208 int BytecodeGraphBuilder::Environment::RegisterToValuesIndex( in RegisterToValuesIndex() [all …]
|
/external/pdfium/testing/ |
D | unit_test_main.cpp | 22 class Environment : public testing::Environment { class 44 Environment* env_ = nullptr; 59 env_ = new Environment(); in main()
|
D | embedder_test_main.cpp | 31 class Environment : public testing::Environment { class 64 Environment* env_ = nullptr; 75 env_ = new Environment(); in main()
|
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/ |
D | SimpleThreadPool.h | 20 template <typename Environment> 24 explicit SimpleThreadPoolTempl(int num_threads, Environment env = Environment()) 121 typedef typename Environment::Task Task; 122 typedef typename Environment::EnvThread Thread; 136 Environment env_;
|
/external/libchrome/mojo/public/tools/fuzzers/ |
D | mojo_parse_message_proto_fuzzer.cc | 48 struct Environment { struct 49 Environment() : message_loop(base::MessageLoop::TYPE_UI) { in Environment() function 63 static Environment* env = new Environment(); in DEFINE_PROTO_FUZZER()
|
D | mojo_parse_message_fuzzer.cc | 37 struct Environment { struct 38 Environment() : message_loop(base::MessageLoop::TYPE_UI) { in Environment() function 53 static Environment* env = new Environment(); in LLVMFuzzerTestOneInput() argument
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowEnvironment.java | 8 import android.os.Environment; 23 @Implements(Environment.class) 25 private static String externalStorageState = Environment.MEDIA_REMOVED; 187 Environment.UserEnvironment userEnvironment = in addExternalDir() 188 ReflectionHelpers.getStaticField(Environment.class, "sCurrentUser"); in addExternalDir() 193 Environment.UserEnvironment userEnvironment = in addExternalDir() 194 ReflectionHelpers.getStaticField(Environment.class, "sCurrentUser"); in addExternalDir()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/Misc/ |
D | Stats.cs | 38 using Environment = System.Environment; typedef 125 string personalFolder = Environment.GetFolderPath( Environment.SpecialFolder.Personal ); in GetAbsoluteFileName()
|
/external/apache-commons-bcel/src/examples/Mini/ |
D | Environment.java | 34 public class Environment implements Cloneable { class 42 public Environment(int size) { in Environment() method in Environment 47 private Environment(Vector<EnvEntry>[] table) { in Environment() method in Environment 52 public Environment() { in Environment() method in Environment 175 return new Environment(copy); in clone()
|
/external/vulkan-validation-layers/tests/ |
D | test_environment.h | 33 class Environment : public ::testing::Environment { 35 Environment();
|
D | test_environment.cpp | 40 Environment::Environment() : default_dev_(0) { in Environment() function in vk_testing::Environment 50 bool Environment::parse_args(int argc, char **argv) { in parse_args() 77 void Environment::SetUp() { in SetUp() 150 void Environment::TearDown() { in TearDown()
|
/external/libchrome/base/test/ |
D | scoped_environment_variable_override.h | 13 class Environment; variable 25 base::Environment* GetEnv() { return environment_.get(); } in GetEnv() 30 std::unique_ptr<Environment> environment_;
|
/external/sl4a/Utils/src/com/googlecode/android_scripting/ |
D | FileUtils.java | 21 import android.os.Environment; 44 String state = Environment.getExternalStorageState(); in externalStorageMounted() 45 return Environment.MEDIA_MOUNTED.equals(state) in externalStorageMounted() 46 || Environment.MEDIA_MOUNTED_READ_ONLY.equals(state); in externalStorageMounted() 136 return new File(Environment.getExternalStorageDirectory(), "Download"); in getExternalDownload()
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
D | JSystem.cs | 74 return Environment.NewLine; in getProperty() 80 return Environment.GetFolderPath( Environment.SpecialFolder.Personal ); in getProperty()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | JSystem.cs | 73 return Environment.NewLine; in getProperty() 79 return Environment.GetFolderPath( Environment.SpecialFolder.Personal ); in getProperty()
|