/external/ltp/testcases/kernel/syscalls/clone/ |
clone02.c | 406 char buff[20]; local 408 if (((read(fd_parent, buff, sizeof(buff))) == -1) && (errno == EBADF))
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/preprocessing/ |
text.py | 105 buff = np.frombuffer(document_mv[:self.max_document_length], 107 yield np.pad(buff, (0, self.max_document_length - len(buff)), 'constant')
|
/frameworks/compile/slang/ |
slang_rs_reflect_utils.cpp | 133 static bool GenerateSegmentMethod(const char *buff, int blen, int bitwidth, 151 out << std::setw(4) << static_cast<int>(buff[written]) << ","; 185 char *buff = new char[SEG_SIZE]; local 189 while ((read_length = fread(buff, 1, SEG_SIZE, pfin)) > 0) { 190 GenerateSegmentMethod(buff, read_length, bitwidth, seg_num, out); 194 delete[] buff;
|
/device/generic/goldfish/sensors/ |
sensors_qemu.c | 300 char buff[256]; local 301 int len = qemud_channel_recv(fd, buff, sizeof(buff) - 1U); 311 buff[len] = 0; 312 D("%s(fd=%d): received [%s]", __FUNCTION__, fd, buff); 317 if (!strcmp((const char*)buff, "wake")) { 329 if (sscanf(buff, "acceleration:%g:%g:%g", params+0, params+1, params+2) 341 if (sscanf(buff, "gyroscope:%g:%g:%g", params+0, params+1, params+2) 354 if (sscanf(buff, "orientation:%g:%g:%g", params+0, params+1, params+2) 369 if (sscanf(buff, "magnetic:%g:%g:%g", params+0, params+1, params+2 [all...] |
/external/google-benchmark/src/ |
sysinfo.cc | 89 DataPtr Buff; 92 ValueUnion() : Size(0), Buff(nullptr, &std::free) {} 96 Buff(::new (std::malloc(Size)) DataT(), &std::free) {} 100 explicit operator bool() const { return bool(Buff); } 102 char* data() const { return Buff->bytes; } 107 if (Size == sizeof(Buff->uint32_value)) 108 return static_cast<int32_t>(Buff->uint32_value); 109 else if (Size == sizeof(Buff->uint64_value)) 110 return static_cast<int64_t>(Buff->uint64_value); 115 if (Size == sizeof(Buff->uint32_value) [all...] |
/external/icu/icu4c/source/common/unicode/ |
ucurr.h | 70 * @param buff fill in buffer. Can be NULL for preflighting. 72 * preflighting. If it is non-zero, the buff parameter 82 UChar* buff, 366 * @param buff fill in buffer. Can be NULL for preflighting. 368 * preflighting. If it is non-zero, the buff parameter 380 UChar* buff,
|
/external/libcxx/utils/google-benchmark/src/ |
sysinfo.cc | 89 DataPtr Buff; 92 ValueUnion() : Size(0), Buff(nullptr, &std::free) {} 96 Buff(::new (std::malloc(Size)) DataT(), &std::free) {} 100 explicit operator bool() const { return bool(Buff); } 102 char* data() const { return Buff->bytes; } 107 if (Size == sizeof(Buff->uint32_value)) 108 return static_cast<int32_t>(Buff->uint32_value); 109 else if (Size == sizeof(Buff->uint64_value)) 110 return static_cast<int64_t>(Buff->uint64_value); 115 if (Size == sizeof(Buff->uint32_value) [all...] |
/hardware/interfaces/dumpstate/1.0/vts/functional/ |
VtsHalDumpstateV1_0TargetTest.cpp | 90 char buff; local 91 ASSERT_EQ(1, read(fds[0], &buff, 1)) << "dumped nothing";
|
/hardware/nxp/secure_element/libese-spi/p73/pal/ |
phNxpEsePal.cpp | 229 * \param[in] buff - Array to be udpated 236 void* phPalEse_memset(void* buff, int val, size_t len) { 237 return memset(buff, val, len);
|
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/inc/ |
PCLmGenerator.h | 114 * Initializes the output buffer with buff and size 116 void initOutBuff(char *buff, sint32 size); 124 * Writes buff to the outputBuffer 126 void write2Buff(ubyte *buff, int buffSize);
|
/external/python/cpython3/Lib/idlelib/ |
rpc.py | 345 buff = b'' variable in class:SocketIO 351 if len(self.buff) < self.bufneed: 361 self.buff += s 366 if self.bufstate == 0 and len(self.buff) >= 4: 367 s = self.buff[:4] 368 self.buff = self.buff[4:] 373 if self.bufstate == 1 and len(self.buff) >= self.bufneed: 374 packet = self.buff[:self.bufneed] 375 self.buff = self.buff[self.bufneed: [all...] |
/external/f2fs-tools/tools/sg_write_buffer/ |
sg_cmds_basic2.c | 679 unsigned char buff[MODE_RESP_ARB_LEN]; local 691 memset(buff, 0, msense10_hlen); 694 sub_pg_code, buff, msense10_hlen, true, 698 0 /* pc */, pg_code, sub_pg_code, buff, 702 n = buff[0]; 706 m = sg_msense_calc_length(buff, msense10_hlen, mode6, NULL) - resid; 720 if ((n > 11) && (0 == (n % 2)) && (0 == buff[4]) && 721 (0 == buff[5]) && (0 == buff[6])) { 722 buff[1] = n [all...] |
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/ |
phNxpExtns_MifareStd.cpp | 41 uint8_t* buff, uint16_t* buffSz); 62 phNciNfc_TransceiveInfo_t tTranscvInfo, uint8_t bBlockAddr, uint8_t* buff, 65 phNciNfc_TransceiveInfo_t tTranscvInfo, uint8_t* buff, uint16_t* buffSz); 71 static NFCSTATUS nativeNfcExtns_doTransceive(uint8_t* buff, uint16_t buffSz); 1852 uint8_t* buff = NULL; local [all...] |
/device/google/accessory/arduino/AndroidAccessory/ |
AndroidAccessory.cpp | 263 int AndroidAccessory::read(void *buff, int len, unsigned int nakLimit) 265 return usb.newInTransfer(1, in, len, (char *)buff, nakLimit); 268 int AndroidAccessory::write(void *buff, int len) 270 usb.outTransfer(1, out, len, (char *)buff);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
llex.h | 60 Mbuffer *buff; /* buffer for tokens */ member in struct:LexState
|
lparser.h | 115 LUAI_FUNC Closure *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff,
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_common_test.cc | 98 char buff[100]; local 99 EXPECT_TRUE(SanitizerGetThreadName(buff, sizeof(buff) - 1)); 100 EXPECT_EQ(0, internal_strcmp(buff, names[i]));
|
/external/freetype/src/tools/ftfuzzer/ |
ftfuzzer.cc | 139 const FT_Byte* buff; local 146 reinterpret_cast<const void**>( &buff ), 154 vw->insert( vw->end(), buff, buff + size );
|
ftmutator.cc | 71 const uint8_t* buff; local 78 reinterpret_cast<const void**>( &buff ), 86 vw->insert( vw->end(), buff, buff + size );
|
/external/syslinux/com32/lib/sys/module/ |
common.h | 58 extern int image_read(void *buff, size_t size, struct elf_module *module);
|
/external/syslinux/com32/lua/src/ |
llex.h | 60 Mbuffer *buff; /* buffer for tokens */ member in struct:LexState
|
lparser.h | 115 LUAI_FUNC Closure *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff,
|
/external/syslinux/core/elflink/ |
common.h | 49 extern int image_read(void *buff, size_t size, struct elf_module *module);
|
/hardware/libhardware/include/hardware/ |
fb.h | 143 void (*dump)(struct framebuffer_device_t* dev, char *buff, int buff_len);
|
/hardware/nxp/secure_element/libese-spi/p73/inc/ |
phNxpEse_Api.h | 241 * \param[in] buff - Array to be udpated 248 void* phNxpEse_memset(void* buff, int val, size_t len);
|