/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
open_wmemstream.c | 43 struct state *st = v; local 47 end = (st->pos + l); 49 if (end >= st->size) { 51 size_t sz = st->size * 8 / 5; 55 p = reallocarray(st->string, sz, sizeof(wchar_t)); 58 bzero(p + st->size, (sz - st->size) * sizeof(wchar_t)); 59 *st->pbuf = st->string = p; 60 st->size = sz 82 struct state *st = v; local 116 struct state *st = v; local 126 struct state *st; local [all...] |
/bootable/recovery/otautil/ |
DirUtil.cpp | 39 struct stat st; local 42 err = stat(path, &st); 46 if (S_ISDIR(st.st_mode)) { 167 struct stat st; local 173 if (lstat(path, &st) < 0) { 178 if (!S_ISDIR(st.st_mode)) {
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
RFC2965PortAttributeHandler.java | 69 StringTokenizer st = new StringTokenizer(portValue, ","); local 70 int[] ports = new int[st.countTokens()]; 73 while(st.hasMoreTokens()) { 74 ports[i] = Integer.parseInt(st.nextToken().trim());
|
/external/curl/src/ |
tool_cb_dbg.c | 104 size_t st = 0; local 116 (void)fwrite(data + st, i - st + 1, 1, output); 117 st = i + 1; 123 (void)fwrite(data + st, i - st + 1, 1, output);
|
/external/fio/crc/ |
sha3.h | 22 uint64_t st[25]; member in struct:fio_sha3_ctx
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
linux_core_dumper_unittest.cc | 84 struct stat st; local 85 if (stat(core_file.c_str(), &st) != 0) {
|
/external/google-breakpad/src/common/linux/ |
google_crashdump_uploader.cc | 177 struct stat st; local 178 int err = stat(minidump_pathname_.c_str(), &st);
|
/external/iproute2/tc/ |
q_choke.c | 207 struct tc_choke_xstats *st; local 212 if (RTA_PAYLOAD(xstats) < sizeof(*st)) 215 st = RTA_DATA(xstats); 217 st->marked, st->early, st->pdrop, st->other, st->matched);
|
q_pie.c | 193 struct tc_pie_xstats *st; local 198 if (RTA_PAYLOAD(xstats) < sizeof(*st)) 201 st = RTA_DATA(xstats); 204 (double)st->prob / (double)0xffffffff, st->delay, 205 st->avg_dq_rate); 207 st->packets_in, st->overlimit, st->dropped, st->maxq [all...] |
q_red.c | 206 struct tc_red_xstats *st; local 211 if (RTA_PAYLOAD(xstats) < sizeof(*st)) 214 st = RTA_DATA(xstats); 216 st->marked, st->early, st->pdrop, st->other);
|
/external/ipsec-tools/src/racoon/ |
plainrsa-gen.c | 161 struct stat st; local 187 if (stat(fname, &st) >= 0) {
|
/external/kmod/testsuite/ |
test-testsuite.c | 122 struct stat st; local 129 if (stat("/lib/modules/a", &st) < 0) {
|
/external/libchrome/base/ |
os_compat_android.cc | 136 struct stat st; local 141 ret = stat(path, &st); 146 if (!S_ISDIR(st.st_mode)) { // Not a directory
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.status/ |
status.pass.cpp | 46 file_status st = status(p, ec); local 48 TEST_CHECK(st.type() == file_type::not_found); 49 TEST_CHECK(st.permissions() == perms::unknown); 52 TEST_CHECK_NO_THROW(st = status(p)); 53 TEST_CHECK(st.type() == file_type::not_found); 54 TEST_CHECK(st.permissions() == perms::unknown); 85 file_status st = status(TC.p, ec); local 87 TEST_CHECK(st.type() == file_type::none); 88 TEST_CHECK(st.permissions() == perms::unknown); 125 file_status st = status(TC.p, ec) local 156 file_status st = status(p, ec); local [all...] |
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.symlink_status/ |
symlink_status.pass.cpp | 45 file_status st = symlink_status(p, ec); local 47 TEST_CHECK(st.type() == file_type::not_found); 48 TEST_CHECK(st.permissions() == perms::unknown); 51 TEST_CHECK_NO_THROW(st = status(p)); 52 TEST_CHECK(st.type() == file_type::not_found); 53 TEST_CHECK(st.permissions() == perms::unknown); 78 file_status st = symlink_status(p, ec); local 80 TEST_CHECK(st.type() == file_type::none); 81 TEST_CHECK(st.permissions() == perms::unknown); 99 file_status st = symlink_status(sym_points_in_dir, ec) local 133 file_status st = symlink_status(TC.p, ec); local 167 file_status st = symlink_status(p, ec); local 181 file_status st = symlink_status(sym, ec); local [all...] |
/external/libnl/src/ |
nl-link-stats.c | 47 uint64_t st = rtnl_link_get_stat(link, id); local 51 rtnl_link_stat2str(id, buf, sizeof(buf)), st);
|
/external/llvm/unittests/IR/ |
TypeBuilderTest.cpp | 222 std::vector<Type*> st; local 223 st.push_back(TypeBuilder<int, cross>::get(Context)); 224 st.push_back(TypeBuilder<int*, cross>::get(Context)); 225 st.push_back(TypeBuilder<void*[], cross>::get(Context)); 226 static StructType *const result = StructType::get(Context, st); 245 std::vector<Type*> st; local 246 st.push_back(TypeBuilder<types::i<32>, cross>::get(Context)); 247 st.push_back(TypeBuilder<types::i<32>*, cross>::get(Context)); 248 st.push_back(TypeBuilder<types::i<8>*[], cross>::get(Context)); 249 static StructType *const result = StructType::get(Context, st); [all...] |
/external/ltp/testcases/kernel/device-drivers/drm/user_space/ |
user_tdrm.c | 49 struct stat st; local 67 if (!(st.st_mode & S_IFDIR)) { 81 rc = stat(DEVICE_NAME, &st); 99 if ((!(st.st_mode & S_IFCHR)) || (st.st_rdev != devt)) {
|
/external/ltp/testcases/kernel/device-drivers/tbio/tbio_user/ |
tbio.c | 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 85 struct stat st; local 109 if (stat(DEVICE_NAME, &st)) { 114 if ((st.st_mode & S_IFBLK) && (st.st_rdev == devt)) {
|
/external/ltp/testcases/kernel/syscalls/madvise/ |
madvise01.c | 42 static struct stat st; variable in typeref:struct:stat 81 SAFE_FSTAT(fd, &st); 84 sfile = SAFE_MMAP(NULL, st.st_size, 89 amem = SAFE_MMAP(NULL, st.st_size, 97 SAFE_MUNMAP(sfile, st.st_size); 98 SAFE_MUNMAP(amem, st.st_size); 106 TEST(madvise(*(tc->addr), st.st_size, tc->advice));
|
/external/ltp/testcases/kernel/syscalls/signal/ |
signal06.c | 123 stack_t st = { local 137 sigaltstack(&st, NULL);
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zProperties.cpp | 159 const CStatProp &st = pr.StatProp;
local 160 *propID = st.PropID;
161 *varType = st.vt;
163 if (st.lpwstrName)
164 *name = ::SysAllocString(st.lpwstrName);
|
/external/mesa3d/src/gallium/state_trackers/dri/ |
dri_context.c | 108 st_share = ((struct dri_context *)sharedContextPrivate)->st; 123 ctx->st = stapi->create_context(stapi, &screen->base, &attribs, &ctx_err, 125 if (ctx->st == NULL) { 151 ctx->st->st_manager_private = (void *) ctx; 154 if (ctx->st->cso_context) { 155 ctx->pp = pp_init(ctx->st->pipe, screen->pp_enabled, ctx->st->cso_context); 156 ctx->hud = hud_create(ctx->st->pipe, ctx->st->cso_context); 163 if (ctx && ctx->st) 260 struct st_context_iface *st; local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_pixeltransfer.c | 46 struct st_context *st = st_context(ctx); local 47 struct pipe_context *pipe = st->pipe; 88 update_pixel_transfer(struct st_context *st) 90 struct gl_context *ctx = st->ctx; 94 if (!st->pixel_xfer.pixelmap_texture) { 95 st->pixel_xfer.pixelmap_texture = st_create_color_map_texture(ctx); 96 st->pixel_xfer.pixelmap_sampler_view = 97 st_create_texture_sampler_view(st->pipe, 98 st->pixel_xfer.pixelmap_texture); 100 load_color_map_texture(ctx, st->pixel_xfer.pixelmap_texture) [all...] |
st_cb_flush.c | 51 is_front_buffer_dirty(struct st_context *st) 53 struct gl_framebuffer *fb = st->ctx->DrawBuffer; 64 display_front_buffer(struct st_context *st) 66 struct gl_framebuffer *fb = st->ctx->DrawBuffer; 73 st_manager_flush_frontbuffer(st); 78 void st_flush(struct st_context *st, 82 FLUSH_VERTICES(st->ctx, 0); 83 FLUSH_CURRENT(st->ctx, 0); 85 st_flush_bitmap_cache(st); 87 st->pipe->flush(st->pipe, fence, flags) 114 struct st_context *st = st_context(ctx); local 134 struct st_context *st = st_context(ctx); local 171 struct st_context *st = st_context(ctx); local 188 struct st_context *st = data; local [all...] |