HomeSort by relevance Sort by last modified time
    Searched defs:result_bytes (Results 1 - 7 of 7) sorted by null

  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
htonl.c 12 uint8_t result_bytes[4]; local
13 result_bytes[0] = (uint8_t) ((hostlong >> 24) & 0xFF);
14 result_bytes[1] = (uint8_t) ((hostlong >> 16) & 0xFF);
15 result_bytes[2] = (uint8_t) ((hostlong >> 8) & 0xFF);
16 result_bytes[3] = (uint8_t) (hostlong & 0xFF);
19 memcpy(&result, result_bytes, 4);
htons.c 12 uint8_t result_bytes[2]; local
13 result_bytes[0] = (uint8_t) ((hostshort >> 8) & 0xFF);
14 result_bytes[1] = (uint8_t) (hostshort & 0xFF);
17 memcpy(&result, result_bytes, 2);
  /external/chromium_org/native_client_sdk/src/examples/api/socket/
echo_server.cc 26 uint8_t result_bytes[2]; local
27 result_bytes[0] = (uint8_t) ((hostshort >> 8) & 0xFF);
28 result_bytes[1] = (uint8_t) (hostshort & 0xFF);
31 memcpy(&result, result_bytes, 2);
  /external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/
echo_server.cc 27 uint8_t result_bytes[2]; local
28 result_bytes[0] = (uint8_t) ((hostshort >> 8) & 0xFF);
29 result_bytes[1] = (uint8_t) (hostshort & 0xFF);
32 memcpy(&result, result_bytes, 2);
  /external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
filesystem_test.cc 44 int result_bytes = 0; local
98 EXPECT_EQ(0, file->Write(attrs, buf1, sizeof(buf1), &result_bytes));
99 EXPECT_EQ(sizeof(buf1), result_bytes); local
102 EXPECT_EQ(0, file->Read(attrs, buf1, sizeof(buf1), &result_bytes));
103 EXPECT_EQ(sizeof(buf1), result_bytes); local
171 int result_bytes; local
176 ASSERT_EQ(0, file->Write(attrs, buf, strlen(buf), &result_bytes));
177 ASSERT_EQ(strlen(buf), result_bytes); local
182 ASSERT_EQ(0, file->Read(attrs, read_buf, sizeof(read_buf), &result_bytes));
183 ASSERT_EQ(0, result_bytes);
297 int result_bytes = 0; local
308 EXPECT_EQ(strlen(msg), result_bytes); local
321 int result_bytes = 0; local
332 EXPECT_EQ(strlen(msg), result_bytes); local
352 int result_bytes = 0; local
363 EXPECT_EQ(strlen(msg), result_bytes); local
    [all...]
http_fs_test.cc 102 int result_bytes = 0; local
110 EXPECT_EQ(0, node->Read(attr, buf, sizeof(buf) - 1, &result_bytes));
111 EXPECT_EQ(sizeof(buf) - 1, result_bytes);
116 ASSERT_EQ(0, node->Read(attr, buf, sizeof(buf) - 1, &result_bytes));
117 ASSERT_EQ(strlen("abcdefg"), result_bytes);
118 buf[result_bytes] = 0;
123 EXPECT_EQ(0, node->Read(attr, &buf[0], sizeof(buf), &result_bytes));
124 EXPECT_EQ(0, result_bytes);
132 int result_bytes = 0; local
140 EXPECT_EQ(0, node->Read(attr, buf, sizeof(buf) - 1, &result_bytes));
216 int result_bytes = 0; local
    [all...]
mem_fs_node_test.cc 72 int result_bytes = 0; local
95 EXPECT_EQ(0, file.Read(attr, buf2, sizeof(buf2), &result_bytes));
96 EXPECT_EQ(0, result_bytes);
99 EXPECT_EQ(0, file.Write(attr, buf1, sizeof(buf1), &result_bytes));
100 EXPECT_EQ(sizeof(buf1), result_bytes); local
103 EXPECT_EQ(0, file.Read(attr, buf2, sizeof(buf2), &result_bytes));
104 EXPECT_EQ(sizeof(buf1), result_bytes); local
114 EXPECT_EQ(ENOTDIR, file.GetDents(0, &d, sizeof(d), &result_bytes));
124 int result_bytes = 0; local
137 ASSERT_EQ(0, file.Write(attr, data, sizeof(data), &result_bytes));
138 ASSERT_EQ(sizeof(data), result_bytes); local
147 EXPECT_EQ(sizeof(buffer), result_bytes); local
153 EXPECT_EQ(sizeof(buffer), result_bytes); local
201 int result_bytes = 0; local
    [all...]

Completed in 509 milliseconds