/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
ltablib.c | 95 size_t lsep;
local 97 const char *sep = luaL_optlstring(L, 2, "", &lsep);
104 luaL_addlstring(&b, sep, lsep);
|
lstrlib.c | 109 size_t l, lsep;
local 112 const char *sep = luaL_optlstring(L, 3, "", &lsep);
114 else if (l + lsep < l || l + lsep >= MAXSIZE / n) /* may overflow? */
117 size_t totallen = n * l + (n - 1) * lsep;
122 if (lsep > 0) { /* avoid empty 'memcpy' (may be expensive) */
123 memcpy(p, sep, lsep * sizeof(char)); p += lsep;
|
/external/skia/third_party/lua/src/ |
ltablib.c | 95 size_t lsep; local 97 const char *sep = luaL_optlstring(L, 2, "", &lsep); 104 luaL_addlstring(&b, sep, lsep);
|
lstrlib.c | 109 size_t l, lsep; local 112 const char *sep = luaL_optlstring(L, 3, "", &lsep); 114 else if (l + lsep < l || l + lsep >= MAXSIZE / n) /* may overflow? */ 117 size_t totallen = n * l + (n - 1) * lsep; 122 if (lsep > 0) { /* avoid empty 'memcpy' (may be expensive) */ 123 memcpy(p, sep, lsep * sizeof(char)); p += lsep;
|
/external/syslinux/com32/lua/src/ |
ltablib.c | 95 size_t lsep; local 97 const char *sep = luaL_optlstring(L, 2, "", &lsep); 104 luaL_addlstring(&b, sep, lsep);
|
lstrlib.c | 109 size_t l, lsep; local 112 const char *sep = luaL_optlstring(L, 3, "", &lsep); 114 else if (l + lsep < l || l + lsep >= MAXSIZE / n) /* may overflow? */ 117 size_t totallen = n * l + (n - 1) * lsep; 122 if (lsep > 0) { /* avoid empty 'memcpy' (may be expensive) */ 123 memcpy(p, sep, lsep * sizeof(char)); p += lsep;
|
/prebuilts/go/darwin-x86/src/path/filepath/ |
path_test.go | 153 const lsep = filepath.ListSeparator const 157 {string([]byte{'a', lsep, 'b'}), []string{"a", "b"}}, 158 {string([]byte{lsep, 'a', lsep, 'b'}), []string{"", "a", "b"}},
|
/prebuilts/go/linux-x86/src/path/filepath/ |
path_test.go | 153 const lsep = filepath.ListSeparator const 157 {string([]byte{'a', lsep, 'b'}), []string{"a", "b"}}, 158 {string([]byte{lsep, 'a', lsep, 'b'}), []string{"", "a", "b"}},
|