Home
last modified time | relevance | path

Searched full:wrap (Results 1 – 25 of 7568) sorted by relevance

12345678910>>...303

/external/flashrom/tests/
Dmeson.build38 '-Wl,--wrap=strdup',
39 '-Wl,--wrap=physunmap',
40 '-Wl,--wrap=physmap',
41 '-Wl,--wrap=pcidev_init',
42 '-Wl,--wrap=pcidev_readbar',
43 '-Wl,--wrap=spi_send_command',
44 '-Wl,--wrap=sio_write',
45 '-Wl,--wrap=sio_read',
46 '-Wl,--wrap=open',
47 '-Wl,--wrap=open64',
[all …]
/external/deqp/android/cts/main/src/
Dgles2-test-issues.txt13 dEQP-GLES2.functional.texture.wrap.clamp_clamp_nearest_pot_etc1
14 dEQP-GLES2.functional.texture.wrap.clamp_clamp_nearest_pot_rgba4444
15 dEQP-GLES2.functional.texture.wrap.clamp_mirror_nearest_pot_etc1
16 dEQP-GLES2.functional.texture.wrap.clamp_repeat_nearest_pot_etc1
17 dEQP-GLES2.functional.texture.wrap.mirror_clamp_nearest_pot_etc1
18 dEQP-GLES2.functional.texture.wrap.mirror_mirror_nearest_pot_etc1
19 dEQP-GLES2.functional.texture.wrap.mirror_repeat_nearest_pot_etc1
20 dEQP-GLES2.functional.texture.wrap.repeat_clamp_nearest_pot_etc1
21 dEQP-GLES2.functional.texture.wrap.repeat_mirror_nearest_pot_etc1
22 dEQP-GLES2.functional.texture.wrap.repeat_mirror_nearest_pot_rgba4444
[all …]
/external/deqp/external/openglcts/data/gl_cts/data/mustpass/gles/aosp_mustpass/3.2.6.x/src/
Dgles2-test-issues.txt13 dEQP-GLES2.functional.texture.wrap.clamp_clamp_nearest_pot_etc1
14 dEQP-GLES2.functional.texture.wrap.clamp_clamp_nearest_pot_rgba4444
15 dEQP-GLES2.functional.texture.wrap.clamp_mirror_nearest_pot_etc1
16 dEQP-GLES2.functional.texture.wrap.clamp_repeat_nearest_pot_etc1
17 dEQP-GLES2.functional.texture.wrap.mirror_clamp_nearest_pot_etc1
18 dEQP-GLES2.functional.texture.wrap.mirror_mirror_nearest_pot_etc1
19 dEQP-GLES2.functional.texture.wrap.mirror_repeat_nearest_pot_etc1
20 dEQP-GLES2.functional.texture.wrap.repeat_clamp_nearest_pot_etc1
21 dEQP-GLES2.functional.texture.wrap.repeat_mirror_nearest_pot_etc1
22 dEQP-GLES2.functional.texture.wrap.repeat_mirror_nearest_pot_rgba4444
[all …]
/external/deqp/external/openglcts/data/gl_cts/data/mustpass/gles/aosp_mustpass/3.2.5.x/src/
Dgles2-test-issues.txt13 dEQP-GLES2.functional.texture.wrap.clamp_clamp_nearest_pot_etc1
14 dEQP-GLES2.functional.texture.wrap.clamp_clamp_nearest_pot_rgba4444
15 dEQP-GLES2.functional.texture.wrap.clamp_mirror_nearest_pot_etc1
16 dEQP-GLES2.functional.texture.wrap.clamp_repeat_nearest_pot_etc1
17 dEQP-GLES2.functional.texture.wrap.mirror_clamp_nearest_pot_etc1
18 dEQP-GLES2.functional.texture.wrap.mirror_mirror_nearest_pot_etc1
19 dEQP-GLES2.functional.texture.wrap.mirror_repeat_nearest_pot_etc1
20 dEQP-GLES2.functional.texture.wrap.repeat_clamp_nearest_pot_etc1
21 dEQP-GLES2.functional.texture.wrap.repeat_mirror_nearest_pot_etc1
22 dEQP-GLES2.functional.texture.wrap.repeat_mirror_nearest_pot_rgba4444
[all …]
/external/deqp/external/openglcts/data/gl_cts/data/mustpass/gles/aosp_mustpass/main/src/
Dgles2-test-issues.txt13 dEQP-GLES2.functional.texture.wrap.clamp_clamp_nearest_pot_etc1
14 dEQP-GLES2.functional.texture.wrap.clamp_clamp_nearest_pot_rgba4444
15 dEQP-GLES2.functional.texture.wrap.clamp_mirror_nearest_pot_etc1
16 dEQP-GLES2.functional.texture.wrap.clamp_repeat_nearest_pot_etc1
17 dEQP-GLES2.functional.texture.wrap.mirror_clamp_nearest_pot_etc1
18 dEQP-GLES2.functional.texture.wrap.mirror_mirror_nearest_pot_etc1
19 dEQP-GLES2.functional.texture.wrap.mirror_repeat_nearest_pot_etc1
20 dEQP-GLES2.functional.texture.wrap.repeat_clamp_nearest_pot_etc1
21 dEQP-GLES2.functional.texture.wrap.repeat_mirror_nearest_pot_etc1
22 dEQP-GLES2.functional.texture.wrap.repeat_mirror_nearest_pot_rgba4444
[all …]
/external/deqp/external/openglcts/data/gl_cts/data/mustpass/gles/aosp_mustpass/3.2.3.x/src/
Dgles2-test-issues.txt13 dEQP-GLES2.functional.texture.wrap.clamp_clamp_nearest_pot_etc1
14 dEQP-GLES2.functional.texture.wrap.clamp_clamp_nearest_pot_rgba4444
15 dEQP-GLES2.functional.texture.wrap.clamp_mirror_nearest_pot_etc1
16 dEQP-GLES2.functional.texture.wrap.clamp_repeat_nearest_pot_etc1
17 dEQP-GLES2.functional.texture.wrap.mirror_clamp_nearest_pot_etc1
18 dEQP-GLES2.functional.texture.wrap.mirror_mirror_nearest_pot_etc1
19 dEQP-GLES2.functional.texture.wrap.mirror_repeat_nearest_pot_etc1
20 dEQP-GLES2.functional.texture.wrap.repeat_clamp_nearest_pot_etc1
21 dEQP-GLES2.functional.texture.wrap.repeat_mirror_nearest_pot_etc1
22 dEQP-GLES2.functional.texture.wrap.repeat_mirror_nearest_pot_rgba4444
[all …]
/external/pytorch/torch/csrc/jit/runtime/static/
Dte_wrapper.cpp42 std::shared_ptr<TEWrapper> wrap, in wrapTECompute()
54 wrap->update(std::move(cg)); in wrapTECompute()
55 return wrap; in wrapTECompute()
59 std::shared_ptr<TEWrapper> wrap, in wrapTECompute()
63 wrap->update(std::move(cg)); in wrapTECompute()
64 return wrap; in wrapTECompute()
74 std::shared_ptr<TEWrapper> wrap, in wrapTECompute()
78 return wrap; in wrapTECompute()
82 std::shared_ptr<TEWrapper> wrap, in wrapTECompute()
85 return wrap; in wrapTECompute()
[all …]
/external/deqp/external/openglcts/data/gl_cts/data/mustpass/gles/aosp_mustpass/3.2.4.x/src/
Dgles2-test-issues.txt13 dEQP-GLES2.functional.texture.wrap.clamp_clamp_nearest_pot_etc1
14 dEQP-GLES2.functional.texture.wrap.clamp_clamp_nearest_pot_rgba4444
15 dEQP-GLES2.functional.texture.wrap.clamp_mirror_nearest_pot_etc1
16 dEQP-GLES2.functional.texture.wrap.clamp_repeat_nearest_pot_etc1
17 dEQP-GLES2.functional.texture.wrap.mirror_clamp_nearest_pot_etc1
18 dEQP-GLES2.functional.texture.wrap.mirror_mirror_nearest_pot_etc1
19 dEQP-GLES2.functional.texture.wrap.mirror_repeat_nearest_pot_etc1
20 dEQP-GLES2.functional.texture.wrap.repeat_clamp_nearest_pot_etc1
21 dEQP-GLES2.functional.texture.wrap.repeat_mirror_nearest_pot_etc1
22 dEQP-GLES2.functional.texture.wrap.repeat_mirror_nearest_pot_rgba4444
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DGzipInflatingBufferTest.java108 gzipInflatingBuffer.addGzippedBytes(ReadableBuffers.wrap(gzippedData)); in gzipInflateWorks()
119 gzipInflatingBuffer.addGzippedBytes(ReadableBuffers.wrap(gzippedData, 0, initialBytes)); in splitGzipStreamWorks()
128 ReadableBuffers.wrap(gzippedData, initialBytes, gzippedData.length - initialBytes)); in splitGzipStreamWorks()
137 gzipInflatingBuffer.addGzippedBytes(ReadableBuffers.wrap(gzippedData)); in inflateBytesObeysOffsetAndLength()
159 gzipInflatingBuffer.addGzippedBytes(ReadableBuffers.wrap(gzippedData)); in concatenatedStreamsWorks()
160 gzipInflatingBuffer.addGzippedBytes(ReadableBuffers.wrap(gzippedTruncatedData)); in concatenatedStreamsWorks()
161 gzipInflatingBuffer.addGzippedBytes(ReadableBuffers.wrap(gzippedData)); in concatenatedStreamsWorks()
162 gzipInflatingBuffer.addGzippedBytes(ReadableBuffers.wrap(gzippedTruncatedData)); in concatenatedStreamsWorks()
186 gzipInflatingBuffer.addGzippedBytes(ReadableBuffers.wrap(gzippedData)); in requestingTooManyBytesStillReturnsEndOfBlock()
200 gzipInflatingBuffer.addGzippedBytes(ReadableBuffers.wrap(gzippedData)); in closeStopsDecompression()
[all …]
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_cipher.nist_kw.data1 KW AES-128 wrap - Decrypt empty buffer
5 KWP AES-128 wrap - Decrypt empty buffer
9 KW AES-128 wrap rfc 3394
13 KW AES-192 wrap rfc 3394
17 KW AES-256 wrap rfc 3394 [#1]
21 KW AES-256 wrap rfc 3394 [#2]
145 KW AES-128 wrap CAVS 17.4 COUNT 0 PLEN 16 [#1]
149 KW AES-128 wrap CAVS 17.4 COUNT 0 PLEN 16 [#2]
153 KW AES-128 wrap CAVS 17.4 COUNT 0 PLEN 32
157 KW AES-128 wrap CAVS 17.4 COUNT 0 PLEN 24
[all …]
/external/mbedtls/tests/suites/
Dtest_suite_cipher.nist_kw.data1 KW AES-128 wrap - Decrypt empty buffer
5 KWP AES-128 wrap - Decrypt empty buffer
9 KW AES-128 wrap rfc 3394
13 KW AES-192 wrap rfc 3394
17 KW AES-256 wrap rfc 3394 [#1]
21 KW AES-256 wrap rfc 3394 [#2]
145 KW AES-128 wrap CAVS 17.4 COUNT 0 PLEN 16 [#1]
149 KW AES-128 wrap CAVS 17.4 COUNT 0 PLEN 16 [#2]
153 KW AES-128 wrap CAVS 17.4 COUNT 0 PLEN 32
157 KW AES-128 wrap CAVS 17.4 COUNT 0 PLEN 24
[all …]
/external/rust/android-crates-io/crates/textwrap/src/
Dwrap.rs9 /// Wrap a line of text at a given width.
21 /// use textwrap::wrap;
23 /// let lines = wrap("Memory safety without garbage collection.", 15);
35 /// use textwrap::{wrap, Options};
40 /// let lines = wrap("Memory safety without garbage collection.", &options);
51 /// By default, `wrap` will try to ensure an even right margin by
58 /// As an example, using the first-fit algorithm to wrap the famous
63 /// # use textwrap::{WrapAlgorithm::FirstFit, Options, wrap};
65 /// # let lines = wrap("To be, or not to be: that is the question",
87 /// # use textwrap::{Options, WrapAlgorithm, wrap};
[all …]
/external/python/cpython3/Lib/test/test_ctypes/
Dtest_as_parameter.py26 def wrap(self, param): member in BasicWrapTestCase
32 …result = f(self.wrap(1), self.wrap("x"), self.wrap(3), self.wrap(4), self.wrap(5.0), self.wrap(6.0…
48 result = f(self.wrap(pointer(v)))
53 result = f(self.wrap(pointer(v)))
57 result = f(self.wrap(p))
74 f(self.wrap(2**18), self.wrap(cb))
89 result = f(self.wrap(-10), self.wrap(cb))
96 result = f(self.wrap(-10), self.wrap(cb))
99 result = f(self.wrap(-10), self.wrap(cb))
107 self.assertRaises(ArgumentError, f, self.wrap(-10), self.wrap(cb))
[all …]
/external/sdv/vsomeip/third_party/boost/date_time/test/
Dtestwrapping_int.cpp25 check("add with wrap", wi.add(1) == 1); in main()
31 check("subtract no wrap", wi.subtract(1) == 0); in main()
33 check("subtract no wrap", wi.subtract(3601) == 2); in main()
44 check("add with wrap - return", wi2.add(121) == 2); in main()
45 check("add with wrap - value", wi2 == 1); in main()
53 check("subtract negative value to cause wrap", in main()
56 check("add negative value to cause wrap", in main()
62 check("add up to wrap value", (wi4.add(4) == 0 && wi4 == 5)); in main()
63 check("add over the wrap value", (wi4.add(1) == 1 && wi4 == 1)); in main()
64 check("add over the wrap value X 2", (wi4.add(10) == 2 && wi4 == 1)); in main()
[all …]
/external/pytorch/torch/csrc/autograd/utils/
Dwrap_outputs.h3 // Wrap tensor operation outputs as PyObject*
23 inline PyObject* wrap(bool value) { in wrap() function
31 inline PyObject* wrap(c10::DeviceIndex value) { in wrap() function
35 inline PyObject* wrap(int64_t value) { in wrap() function
39 inline PyObject* wrap(double value) { in wrap() function
43 inline PyObject* wrap(c10::complex<double> value) { in wrap() function
49 inline PyObject* wrap(void* value) { in wrap() function
53 inline PyObject* wrap(THPDtype* dtype) { in wrap() function
57 inline PyObject* wrap(at::ScalarType scalarType) { in wrap() function
61 inline PyObject* wrap(THPLayout* layout) { in wrap() function
[all …]
/external/leakcanary2/leakcanary-android-core/src/test/java/leakcanary/internal/activity/screen/
DLeakTraceWrapperTest.kt11 val wrapped = LeakTraceWrapper.wrap(string, 4) in short string stays identical()
19 val wrapped = LeakTraceWrapper.wrap(string, 4) in string at width stays identical()
27 val wrapped = LeakTraceWrapper.wrap(string, 4) in string at width no newline stays identical()
35 val wrapped = LeakTraceWrapper.wrap(string, 4) in string wrapped without newline stays has no trailing newline()
40 @Test fun `wrap line at space removing space`() { in wrap line at space removing space()
43 val wrapped = LeakTraceWrapper.wrap(string, 4) in wrap line at space removing space()
48 @Test fun `wrap line at space keeps prefix`() { in wrap line at space keeps prefix()
52 val wrapped = LeakTraceWrapper.wrap(string, prefix.length + 4) in wrap line at space keeps prefix()
57 @Test fun `wrap line at space keeps non breaking space`() { in wrap line at space keeps non breaking space()
59 val wrapped = LeakTraceWrapper.wrap(string, 5) in wrap line at space keeps non breaking space()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp79 return wrap(new LLVMContext()); in LLVMContextCreate()
82 LLVMContextRef LLVMGetGlobalContext() { return wrap(&*GlobalContext); } in LLVMGetGlobalContext()
149 return wrap(Attribute::getWithByValType(Ctx, NULL)); in LLVMCreateEnumAttribute()
152 return wrap(Attribute::get(Ctx, AttrKind, Val)); in LLVMCreateEnumAttribute()
169 return wrap(Attribute::get(*unwrap(C), StringRef(K, KLength), in LLVMCreateStringAttribute()
231 return wrap(new Module(ModuleID, *GlobalContext)); in LLVMModuleCreateWithName()
236 return wrap(new Module(ModuleID, *unwrap(C))); in LLVMModuleCreateWithNameInContext()
343 Result[i].Metadata = wrap(ModuleFlag.Val); in LLVMCopyModuleFlagsMetadata()
378 return wrap(unwrap(M)->getModuleFlag({Key, KeyLen})); in LLVMGetModuleFlag()
460 return wrap(InlineAsm::get(unwrap<FunctionType>(Ty), in LLVMGetInlineAsm()
[all …]
/external/llvm/lib/IR/
DCore.cpp80 return wrap(new LLVMContext()); in LLVMContextCreate()
83 LLVMContextRef LLVMGetGlobalContext() { return wrap(&*GlobalContext); } in LLVMGetGlobalContext()
136 return wrap(Attribute::get(*unwrap(C), (Attribute::AttrKind)KindID, Val)); in LLVMCreateEnumAttribute()
153 return wrap(Attribute::get(*unwrap(C), StringRef(K, KLength), in LLVMCreateStringAttribute()
215 return wrap(new Module(ModuleID, *GlobalContext)); in LLVMModuleCreateWithName()
220 return wrap(new Module(ModuleID, *unwrap(C))); in LLVMModuleCreateWithNameInContext()
303 return wrap(&unwrap(M)->getContext()); in LLVMGetModuleContext()
357 return wrap(&unwrap(Ty)->getContext()); in LLVMGetTypeContext()
399 return wrap(IntegerType::get(*unwrap(C), NumBits)); in LLVMIntTypeInContext()
483 return wrap(FunctionType::get(unwrap(ReturnType), Tys, IsVarArg != 0)); in LLVMFunctionType()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/IR/
DCore.cpp94 return wrap(new LLVMContext()); in LLVMContextCreate()
97 LLVMContextRef LLVMGetGlobalContext() { return wrap(&getGlobalContext()); } in LLVMGetGlobalContext()
161 return wrap(Attribute::get(Ctx, AttrKind, Val)); in LLVMCreateEnumAttribute()
179 return wrap(Attribute::get(Ctx, AttrKind, unwrap(type_ref))); in LLVMCreateTypeAttribute()
184 return wrap(Attr.getValueAsType()); in LLVMGetTypeAttributeValue()
190 return wrap(Attribute::get(*unwrap(C), StringRef(K, KLength), in LLVMCreateStringAttribute()
256 return wrap(new Module(ModuleID, getGlobalContext())); in LLVMModuleCreateWithName()
261 return wrap(new Module(ModuleID, *unwrap(C))); in LLVMModuleCreateWithNameInContext()
368 Result[i].Metadata = wrap(ModuleFlag.Val); in LLVMCopyModuleFlagsMetadata()
403 return wrap(unwrap(M)->getModuleFlag({Key, KeyLen})); in LLVMGetModuleFlag()
[all …]
/external/libvpx/test/
Dconvolve_test.cc1128 #define WRAP(func, bd) \ macro
1139 WRAP(convolve_copy_sse2, 8)
1140 WRAP(convolve_avg_sse2, 8)
1141 WRAP(convolve_copy_sse2, 10)
1142 WRAP(convolve_avg_sse2, 10)
1143 WRAP(convolve_copy_sse2, 12)
1144 WRAP(convolve_avg_sse2, 12)
1145 WRAP(convolve8_horiz_sse2, 8)
1146 WRAP(convolve8_avg_horiz_sse2, 8)
1147 WRAP(convolve8_vert_sse2, 8)
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/ExecutionEngine/Orc/
DOrcV2CBindings.cpp134 Materialize(Tmp, wrap(R.release())); in materialize()
139 Discard(Ctx, wrap(&JD), wrap(OrcV2CAPIHelper::getRawPoolEntryPtr(Name))); in discard()
298 LLVMOrcLookupStateRef LSR = ::wrap(OrcV2CAPIHelper::extractLookupState(LS)); in tryToGenerate()
312 ::wrap(OrcV2CAPIHelper::getRawPoolEntryPtr(KV.first)); in tryToGenerate()
318 auto Err = unwrap(TryToGenerate(::wrap(this), Ctx, &LSR, CLookupKind, in tryToGenerate()
319 ::wrap(&JD), CJDLookupFlags, in tryToGenerate()
341 [=](Error Err) { ReportError(Ctx, wrap(std::move(Err))); }); in LLVMOrcExecutionSessionSetErrorReporter()
346 return wrap( in LLVMOrcExecutionSessionGetSymbolStringPool()
356 return wrap( in LLVMOrcExecutionSessionIntern()
387 wrap(OrcV2CAPIHelper::getRawPoolEntryPtr(KV.first)), in LLVMOrcExecutionSessionLookup()
[all …]
/external/llvm/unittests/IR/
DConstantRangeTest.cpp25 static ConstantRange Wrap; member in __anonde4f07250111::ConstantRangeTest
32 ConstantRange ConstantRangeTest::Wrap(APInt(16, 0xaaa), APInt(16, 0xa)); member in __anonde4f07250111::ConstantRangeTest
74 EXPECT_FALSE(Wrap.isFullSet()); in TEST_F()
75 EXPECT_FALSE(Wrap.isEmptySet()); in TEST_F()
76 EXPECT_TRUE(Wrap.isWrappedSet()); in TEST_F()
77 EXPECT_TRUE(Wrap.contains(APInt(16, 0x0))); in TEST_F()
78 EXPECT_TRUE(Wrap.contains(APInt(16, 0x9))); in TEST_F()
79 EXPECT_FALSE(Wrap.contains(APInt(16, 0xa))); in TEST_F()
80 EXPECT_FALSE(Wrap.contains(APInt(16, 0xaa9))); in TEST_F()
81 EXPECT_TRUE(Wrap.contains(APInt(16, 0xaaa))); in TEST_F()
[all …]
/external/rust/android-crates-io/crates/clap_builder/src/output/textwrap/
Dmod.rs5 //! - `LineWrapper` is able to incrementally wrap which will help with `StyledStr
14 pub(crate) fn wrap(content: &str, hard_width: usize) -> String { in wrap() function
20 total.extend(wrapper.wrap(line)); in wrap()
26 pub(crate) fn wrap(content: &str, _hard_width: usize) -> String { in wrap() function
34 fn wrap(content: &str, hard_width: usize) -> Vec<String> { in wrap() function
35 super::wrap(content, hard_width) in wrap()
44 assert_eq!(wrap("foo", 10), vec!["foo"]); in no_wrap()
49 assert_eq!(wrap("foo bar baz", 5), vec!["foo", "bar", "baz"]); in wrap_simple()
55 wrap("To be, or not to be, that is the question.", 10), in to_be_or_not()
62 assert_eq!(wrap("foo bar baz", 10), vec!["foo bar", "baz"]); in multiple_words_on_first_line()
[all …]
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/clap_builder-4.5.21/src/output/textwrap/
Dmod.rs5 //! - `LineWrapper` is able to incrementally wrap which will help with `StyledStr`
14 pub(crate) fn wrap(content: &str, hard_width: usize) -> String { in wrap() function
20 total.extend(wrapper.wrap(line)); in wrap()
26 pub(crate) fn wrap(content: &str, _hard_width: usize) -> String { in wrap() function
34 fn wrap(content: &str, hard_width: usize) -> Vec<String> { in wrap() function
35 super::wrap(content, hard_width) in wrap()
44 assert_eq!(wrap("foo", 10), vec!["foo"]); in no_wrap()
49 assert_eq!(wrap("foo bar baz", 5), vec!["foo", "bar", "baz"]); in wrap_simple()
55 wrap("To be, or not to be, that is the question.", 10), in to_be_or_not()
62 assert_eq!(wrap("foo bar baz", 10), vec!["foo bar", "baz"]); in multiple_words_on_first_line()
[all …]
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/clap_builder-4.5.21/src/output/textwrap/
Dmod.rs5 //! - `LineWrapper` is able to incrementally wrap which will help with `StyledStr`
14 pub(crate) fn wrap(content: &str, hard_width: usize) -> String { in wrap() function
20 total.extend(wrapper.wrap(line)); in wrap()
26 pub(crate) fn wrap(content: &str, _hard_width: usize) -> String { in wrap() function
34 fn wrap(content: &str, hard_width: usize) -> Vec<String> { in wrap() function
35 super::wrap(content, hard_width) in wrap()
44 assert_eq!(wrap("foo", 10), vec!["foo"]); in no_wrap()
49 assert_eq!(wrap("foo bar baz", 5), vec!["foo", "bar", "baz"]); in wrap_simple()
55 wrap("To be, or not to be, that is the question.", 10), in to_be_or_not()
62 assert_eq!(wrap("foo bar baz", 10), vec!["foo bar", "baz"]); in multiple_words_on_first_line()
[all …]

12345678910>>...303