Home
last modified time | relevance | path

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

12

/system/core/adb/
Dadb_utils_test.cpp89 auto wrap = [](const std::string& x) { return '\'' + x + '\''; }; local
91 EXPECT_EQ(wrap(q), escape_arg("'"));
92 EXPECT_EQ(wrap(q + q), escape_arg("''"));
93 EXPECT_EQ(wrap(q + "abc" + q), escape_arg("'abc'"));
94 EXPECT_EQ(wrap(q + "abc"), escape_arg("'abc"));
95 EXPECT_EQ(wrap("abc" + q), escape_arg("abc'"));
96 EXPECT_EQ(wrap("abc" + q + "def"), escape_arg("abc'def"));
97 EXPECT_EQ(wrap("a" + q + "b" + q + "c"), escape_arg("a'b'c"));
98 EXPECT_EQ(wrap("a" + q + "bcde" + q + "f"), escape_arg("a'bcde'f"));
/system/chre/build/arch/
Dhexagon.mk63 TARGET_SO_LDFLAGS += --wrap=malloc
64 TARGET_SO_LDFLAGS += --wrap=calloc
65 TARGET_SO_LDFLAGS += --wrap=free
66 TARGET_SO_LDFLAGS += --wrap=realloc
67 TARGET_SO_LDFLAGS += --wrap=memalign
68 TARGET_SO_LDFLAGS += --wrap=__stack_chk_fail
/system/tools/hidl/build/
Dhidl_interface.go173 ctx.AddDependency(ctx.Module(), nil, wrap("", g.properties.Interfaces, hidlInterfaceSuffix)...)
453 Outputs: concat(wrap(name.dir(), interfaces, "All.cpp"), wrap(name.dir(), types, ".cpp")),
463 Outputs: concat(wrap(name.dir()+"I", interfaces, ".h"),
464 wrap(name.dir()+"Bs", interfaces, ".h"),
465 wrap(name.dir()+"BnHw", interfaces, ".h"),
466 wrap(name.dir()+"BpHw", interfaces, ".h"),
467 wrap(name.dir()+"IHw", interfaces, ".h"),
468 wrap(name.dir(), types, ".h"),
469 wrap(name.dir()+"hw", types, ".h")),
562 Outputs: wrap(name.dir()+"A", concat(interfaces, types), ".cpp"),
[all …]
Dutils.go18 func wrap(prefix string, strs []string, suffix string) []string { func
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/
Dprofiling.gradle17 // Exclude wrap.sh for architectures not built.
22 .collect{ "**/" + it + "/wrap.sh" }
27 // Add lib/xxx/wrap.sh in the apk. This is to enable java profiling on Android O
53 def wrapFile = new File(dir, "wrap.sh")
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/app/
Dprofiling.gradle17 // Exclude wrap.sh for architectures not built.
22 .collect{ "**/" + it + "/wrap.sh" }
27 // Add lib/xxx/wrap.sh in the apk. This is to enable java profiling on Android O
53 def wrapFile = new File(dir, "wrap.sh")
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/
Dprofiling.gradle16 // Exclude wrap.sh for architectures not built.
21 .collect{ "**/" + it + "/wrap.sh" }
26 // Add lib/xxx/wrap.sh in the apk. This is to enable java profiling on Android O
52 def wrapFile = new File(dir, "wrap.sh")
/system/chre/util/include/chre/util/
Dbuffer.h72 void wrap(ElementType *buffer, size_t size) { in wrap() function
73 BufferBase::wrap(buffer, size); in wrap()
Dbuffer_base.h46 void wrap(void *buffer, size_t size);
/system/netd/libnetdutils/
DSlice.cpp38 std::string toHex(const Slice s, int wrap) { in toHex() argument
46 if ((++count % wrap) == 0) { in toHex()
/system/chre/util/tests/
Dbuffer_test.cc41 buffer.wrap(buf, ARRAY_SIZE(buf)); in TEST()
71 buffer.wrap(buf, ARRAY_SIZE(buf)); in TEST()
/system/core/fs_mgr/
Dfs_mgr_remount.cpp228 auto wrap = is_wrapped(overlayfs_candidates, *it); in main() local
229 if (wrap) { in main()
231 << wrap->mount_point << ", switching"; in main()
232 partition = system_mount_point(*wrap); in main()
/system/chre/util/
Dbuffer_base.cc29 void BufferBase::wrap(void *buffer, size_t size) { in wrap() function in chre::BufferBase
/system/chre/core/
Dhost_comms_manager.cc52 msgToHost->message.wrap(static_cast<uint8_t *>(messageData), messageSize); in sendMessageToHostFromNanoapp()
/system/netd/libnetdutils/include/netdutils/
DSlice.h138 std::string toHex(const Slice s, int wrap = INT_MAX);
/system/core/libmemunreachable/
DREADME.md23 adb shell setprop wrap.[process] "\$\@"
33 adb shell setprop wrap.[process] "''"
/system/update_engine/scripts/
Dpayload_info.py143 ext_str = '\n '.join(textwrap.wrap(ext_str, 74))
/system/extras/verity/
DBootSignature.java206 ByteBuffer image = ByteBuffer.wrap(data); in getSignableImageSize()
/system/extras/simpleperf/doc/
DREADME.md178 If you are on Android >= O, we can use [wrap.sh](#https://developer.android.com/ndk/guides/wrap-scr…
186 Step 2: Add wrap.sh in lib/`arch` directories. wrap.sh runs the app without passing any debug flags
187 to ART, so the app runs as a release app. wrap.sh can be done by adding the script below in
210 def wrapFile = new File(dir, "wrap.sh")
232 and it also needs wrap.sh to use the compiled Java code. To compile Java code, we can pass
/system/chre/platform/shared/idl/
Dhost_messages.fbs268 /// structure (root type), so we must wrap it in a table.
/system/media/camera/docs/
Dhtml.mako41 table { border-collapse:collapse; table-layout: fixed; width: 100%; word-wrap: break-word }
/system/sepolicy/prebuilts/api/27.0/public/
Dfile.te337 # asanwrapper (run a sanitized app_process, to be used with wrap properties)
/system/sepolicy/prebuilts/api/28.0/public/
Dfile.te398 # asanwrapper (run a sanitized app_process, to be used with wrap properties)
/system/sepolicy/public/
Dfile.te490 # asanwrapper (run a sanitized app_process, to be used with wrap properties)
/system/sepolicy/prebuilts/api/29.0/public/
Dfile.te490 # asanwrapper (run a sanitized app_process, to be used with wrap properties)

12