/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
MatrixUtilsTests.java | 41 final float[][] retval = new float[2][2]; 43 MatrixUtils.multiply(matrixA, matrixB, retval); 48 MatrixUtils.dump("multi", retval); 50 assertEqualsFloat(retval[0][0], 19); 51 assertEqualsFloat(retval[0][1], 22); 52 assertEqualsFloat(retval[1][0], 43); 53 assertEqualsFloat(retval[1][1], 50); 67 final float[][] retval = new float[N][N]; 74 MatrixUtils.multiply(matrix, inverse, retval); 80 assertEqualsFloat(((i == j) ? 1.0f : 0.0f), retval[i][j]) [all...] |
SmoothingUtilsTests.java | 32 final float[][] retval = new float[4][1]; local 34 SmoothingUtils.get3DParameters(xs, ys, retval); 36 MatrixUtils.dump("3d", retval); 39 MatrixUtilsTests.assertEqualsFloat(retval[i][0], 1.0f, 0.001f);
|
/external/e2fsprogs/e2fsck/ |
badblocks.c | 30 errcode_t retval; local 41 retval = ext2fs_block_iterate(fs, EXT2_BAD_INO, 0, 0, 43 if (retval) { 44 com_err("ext2fs_block_iterate", retval, "%s", 54 retval = ext2fs_read_bb_inode(fs, &bb_list); 55 if (retval) { 56 com_err("ext2fs_read_bb_inode", retval, "%s", 86 retval = ext2fs_read_bb_FILE(fs, f, &bb_list, invalid_block); 91 if (retval) { 92 com_err("ext2fs_read_bb_FILE", retval, "%s" [all...] |
iscan.c | 55 errcode_t retval; local 83 if ((retval = ext2fs_sync_device(fd, 1))) { 84 com_err("ext2fs_sync_device", retval, 94 errcode_t retval = 0; local 106 retval = ext2fs_open(device_name, 0, 108 if (retval) { 109 com_err(program_name, retval, _("while trying to open '%s'"), 116 retval = ext2fs_open_inode_scan(fs, inode_buffer_blocks, &scan); 117 if (retval) { 118 com_err(program_name, retval, _("while opening inode scan")) [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
insn.c | 57 yasm_insn_operand *retval = yasm_xmalloc(sizeof(yasm_insn_operand)); local 59 retval->type = YASM_INSN__OPERAND_REG; 60 retval->data.reg = reg; 61 retval->seg = 0; 62 retval->targetmod = 0; 63 retval->size = 0; 64 retval->deref = 0; 65 retval->strict = 0; 67 return retval; 73 yasm_insn_operand *retval = yasm_xmalloc(sizeof(yasm_insn_operand)) local 89 yasm_insn_operand *retval = yasm_xmalloc(sizeof(yasm_insn_operand)); local 106 yasm_insn_operand *retval; local [all...] |
/external/chromium_org/third_party/codesighs/ |
nm2tsv.c | 107 char* retval = inScan; local 109 while('\0' != *retval && 0 == isspace(*retval)) 111 retval++; 114 return retval; 150 int retval = 0; local 160 while(0 == retval && NULL != fgets(lineBuffer, sizeof(lineBuffer), inOptions->mInput)) 262 retval = __LINE__; 263 ERROR_REPORT(retval, lineBuffer, "Malformed input line."); 267 if(0 == retval && 0 != ferror(inOptions->mInput) 282 int retval = 0; local 489 int retval = 0; local [all...] |
msdump2symdb.c | 210 const char* retval = inString; local 212 while('\0' != *retval && isspace(*retval)) 214 retval++; 217 return retval; 226 const char* retval = inString; local 228 while('\0' != *retval && !isspace(*retval)) 230 retval++; 233 return retval; 258 const char* retval = NULL; local 285 const char* retval = NULL; local 323 int retval = 0; local 706 int retval = 0; local 728 int retval = 0; local 782 int retval = 0; local 820 int retval = 0; local 869 int retval = 0; local 1074 int retval = 0; local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
tst_badblocks.c | 70 errcode_t retval; local 74 retval = ext2fs_badblocks_list_create(&bb, 5); 75 if (retval) { 76 com_err("create_test_list", retval, "while creating list"); 77 return retval; 80 retval = ext2fs_badblocks_list_add(bb, vec[i]); 81 if (retval) { 82 com_err("create_test_list", retval, 85 return retval; 94 errcode_t retval; local 174 errcode_t retval; local 220 errcode_t retval; local 272 errcode_t retval; local [all...] |
imager.c | 67 errcode_t retval; local 77 retval = EXT2_ET_MISSING_INODE_TABLE; 85 retval = io_channel_read_blk64(fs->io, blk, c, buf); 86 if (retval) 102 retval = errno; 115 retval = errno; 119 retval = EXT2_ET_SHORT_WRITE; 129 retval = 0; 133 return retval; 146 errcode_t retval; local 195 errcode_t retval; local 245 errcode_t retval; local 286 errcode_t retval; local 361 errcode_t retval; local [all...] |
extent.c | 190 errcode_t retval; local 200 retval = ext2fs_get_mem(sizeof(struct ext2_extent_handle), &handle); 201 if (retval) 202 return retval; 212 retval = ext2fs_read_inode(fs, ino, handle->inode); 213 if (retval) 233 retval = EXT2_ET_INODE_NOT_EXTENT; 237 retval = ext2fs_extent_header_verify(eh, sizeof(handle->inode->i_block)); 238 if (retval) 244 retval = ext2fs_get_mem(((handle->max_depth+1) 281 errcode_t retval; local 541 errcode_t retval; local 610 errcode_t retval; local 710 int retval = 0; local 823 errcode_t retval = 0; local 1055 errcode_t retval; local 1148 errcode_t ec, retval = 0; local 1463 errcode_t retval = 0; local [all...] |
punch.c | 51 errcode_t retval; local 73 retval = ext2fs_read_ind_block(fs, b, block_buf); 74 if (retval) 75 return retval; 77 retval = ind_punch(fs, inode, block_buf + fs->blocksize, 81 if (retval) 82 return retval; 83 retval = ext2fs_write_ind_block(fs, b, block_buf); 84 if (retval) 85 return retval; 105 errcode_t retval; local 188 errcode_t retval = 0; local 254 errcode_t retval; local 417 errcode_t retval; local [all...] |
tst_getsize.c | 30 errcode_t retval; local 38 retval = ext2fs_get_device_size(argv[1], 1024, &blocks); 39 if (retval) { 40 com_err(argv[0], retval, "while getting device size");
|
rw_bitmaps.c | 36 errcode_t retval; local 55 retval = io_channel_alloc_buf(fs->io, 0, &block_buf); 56 if (retval) 63 retval = io_channel_alloc_buf(fs->io, 0, &inode_buf); 64 if (retval) 77 retval = ext2fs_get_block_bitmap_range2(fs->block_map, 79 if (retval) 94 retval = io_channel_write_blk64(fs->io, blk, 1, 96 if (retval) { 97 retval = EXT2_ET_BLOCK_BITMAP_WRITE 152 errcode_t retval; local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
ExtensionHeaderList.java | 49 ExtensionHeaderList retval = new ExtensionHeaderList(headerName); local 50 retval.clonehlist(this.hlist); 51 return retval; 63 StringBuffer retval = new StringBuffer(); local 67 retval.append(eh.encode()); 69 return retval.toString();
|
ReplyTo.java | 84 String retval = ""; local 86 retval += LESS_THAN; 88 retval += address.encode(); 90 retval += GREATER_THAN; 93 retval += SEMICOLON + parameters.encode(); 95 return retval;
|
/external/nist-sip/java/gov/nist/javax/sip/header/extensions/ |
ReferredBy.java | 55 String retval = ""; 57 retval += LESS_THAN; 59 retval += address.encode(); 61 retval += GREATER_THAN; 65 retval += SEMICOLON + parameters.encode(); 67 return retval;
|
/external/nist-sip/java/gov/nist/javax/sip/header/ims/ |
ServiceRoute.java | 71 StringBuffer retval = new StringBuffer(); local 73 retval.append(LESS_THAN); 75 retval.append(address.encode()); 77 retval.append(GREATER_THAN); 81 retval.append(SEMICOLON + this.parameters.encode()); 82 return retval.toString();
|
PAssertedService.java | 52 StringBuffer retval = new StringBuffer(); local 54 retval.append(ParameterNamesIms.SERVICE_ID); 58 retval.append(ParameterNamesIms.SERVICE_ID_LABEL).append("."); 60 retval.append(this.getSubserviceIdentifiers()); 65 retval.append(ParameterNamesIms.APPLICATION_ID_LABEL).append("."); 66 retval.append(this.getApplicationIdentifiers()); 69 return retval.toString(); 110 PAssertedService retval = (PAssertedService) super.clone(); local 111 return retval;
|
PPreferredService.java | 51 StringBuffer retval = new StringBuffer(); local 53 retval.append(ParameterNamesIms.SERVICE_ID); 57 retval.append(ParameterNamesIms.SERVICE_ID_LABEL).append("."); 59 retval.append(this.getSubserviceIdentifiers()); 65 retval.append(ParameterNamesIms.APPLICATION_ID_LABEL).append("."); 66 retval.append(this.getApplicationIdentifiers()); 69 return retval.toString(); 111 PPreferredService retval = (PPreferredService) super.clone(); local 112 return retval;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
ByteArrayDictBuffer.java | 41 final int retval = readUnsignedByte(); local 42 return (retval << 8) + readUnsignedByte(); 47 final int retval = readUnsignedShort(); local 48 return (retval << 8) + readUnsignedByte(); 53 final int retval = readUnsignedShort(); local 54 return (retval << 16) + readUnsignedShort();
|
/sdk/emulator/opengl/shared/OpenglOsUtils/ |
osThreadWin.cpp | 58 DWORD retval; local 59 if (!GetExitCodeThread(m_thread,&retval)) { 66 *exitStatus = retval; 80 DWORD retval; local 81 if (!GetExitCodeThread(m_thread,&retval)) { 86 *exitStatus = retval;
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/Perf-Trace-Util/ |
Context.c | 32 int retval; local 38 retval = common_pc(scripting_context); 40 return Py_BuildValue("i", retval); 48 int retval; local 54 retval = common_flags(scripting_context); 56 return Py_BuildValue("i", retval); 64 int retval; local 70 retval = common_lock_depth(scripting_context); 72 return Py_BuildValue("i", retval);
|
/external/qemu/distrib/sdl-1.2.15/src/thread/irix/ |
SDL_syssem.c | 103 int retval; local 110 retval = 0; 116 retval = SDL_MUTEX_TIMEDOUT; 118 return retval; 123 int retval; local 130 retval = 0; 137 retval = -1; 139 return retval; 144 int retval; local 162 retval = SDL_SemTryWait(sem) 202 int retval; local [all...] |
/system/keymaster/ |
google_keymaster_utils.cpp | 22 uint8_t* retval = new uint8_t[size]; local 23 if (retval != NULL) 24 memcpy(retval, buf, size); 25 return retval;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
iiisext.h | 155 HRESULT (WINAPI *QueryInterface)(IISApplicationPool *This,struct GUID *riid,void **ppvObj,void *retval); 156 HRESULT (WINAPI *AddRef)(IISApplicationPool *This,unsigned __LONG32 *retval); 157 HRESULT (WINAPI *Release)(IISApplicationPool *This,unsigned __LONG32 *retval); 158 HRESULT (WINAPI *GetTypeInfoCount)(IISApplicationPool *This,unsigned UINT *pctinfo,void *retval); 159 HRESULT (WINAPI *GetTypeInfo)(IISApplicationPool *This,unsigned UINT itinfo,unsigned __LONG32 lcid,void **pptinfo,void *retval); 160 HRESULT (WINAPI *GetIDsOfNames)(IISApplicationPool *This,struct GUID *riid,signed char **rgszNames,unsigned UINT cNames,unsigned __LONG32 lcid,signed __LONG32 *rgdispid,void *retval); 161 HRESULT (WINAPI *Invoke)(IISApplicationPool *This,signed __LONG32 dispidMember,struct GUID *riid,unsigned __LONG32 lcid,unsigned short wFlags,struct DISPPARAMS *pdispparams,VARIANT *pvarResult,struct EXCEPINFO *pexcepinfo,unsigned UINT *puArgErr,void *retval); 162 HRESULT (WINAPI *get_Name)(IISApplicationPool *This,BSTR *retval); 163 HRESULT (WINAPI *get_Class)(IISApplicationPool *This,BSTR *retval); 164 HRESULT (WINAPI *get_GUID)(IISApplicationPool *This,BSTR *retval); [all...] |