/external/iptables/extensions/ |
libxt_pkttype.c | 63 static void parse_pkttype(const char *pkttype, struct xt_pkttype_info *info) 70 info->pkttype=supported_types[i].pkttype; 79 struct xt_pkttype_info *info = cb->data; local 82 parse_pkttype(cb->arg, info); 84 info->invert = 1; 87 static void print_pkttype(const struct xt_pkttype_info *info) 92 if(supported_types[i].pkttype==info->pkttype) 98 printf("%d", info->pkttype); /* in case we didn't find an entry in named-packtes */ 104 const struct xt_pkttype_info *info = (const void *)match->data; local 106 printf(" PKTTYPE %s= ", info->invert ? "!" : "") 112 const struct xt_pkttype_info *info = (const void *)match->data; local [all...] |
libxt_CONNSECMARK.c | 38 struct xt_connsecmark_target_info *info = cb->data; local 43 info->mode = CONNSECMARK_SAVE; 46 info->mode = CONNSECMARK_RESTORE; 57 static void print_connsecmark(const struct xt_connsecmark_target_info *info) 59 switch (info->mode) { 69 xtables_error(OTHER_PROBLEM, PFX "invalid mode %hhu\n", info->mode); 77 const struct xt_connsecmark_target_info *info = local 81 print_connsecmark(info); 87 const struct xt_connsecmark_target_info *info = local 91 print_connsecmark(info); [all...] |
libxt_connlimit.c | 51 struct xt_connlimit_info *info = (void *)match->data; local 54 memset(info->v6_mask, 0xFF, sizeof(info->v6_mask)); 59 struct xt_connlimit_info *info = cb->data; local 66 info->flags |= XT_CONNLIMIT_INVERT; 70 info->flags |= XT_CONNLIMIT_INVERT; 77 info->flags &= ~XT_CONNLIMIT_DADDR; 84 info->flags |= XT_CONNLIMIT_DADDR; 131 const struct xt_connlimit_info *info = (const void *)match->data; local 134 (info->flags & XT_CONNLIMIT_DADDR) ? "dst" : "src" 142 const struct xt_connlimit_info *info = (const void *)match->data; local 152 const struct xt_connlimit_info *info = (const void *)match->data; local 170 const struct xt_connlimit_info *info = (const void *)match->data; local [all...] |
libxt_set.c | 57 struct xt_set_info_v0 *info = &myinfo->match_set; local 64 if (info->u.flags[0]) 70 info->u.flags[0] |= IPSET_MATCH_INV; 83 get_set_byname(optarg, (struct xt_set_info *)info); 84 parse_dirs_v0(argv[optind], info); 85 DEBUGP("parse: set index %u\n", info->index); 96 print_match_v0(const char *prefix, const struct xt_set_info_v0 *info) 101 get_set_byid(setname, info->index); 103 (info->u.flags[0] & IPSET_MATCH_INV) ? " !" : "", 107 if (!info->u.flags[i] 119 const struct xt_set_info_match_v0 *info = (const void *)match->data; local 127 const struct xt_set_info_match_v0 *info = (const void *)match->data; local 144 struct xt_set_info *info = &myinfo->match_set; local 204 const struct xt_set_info_match_v1 *info = (const void *)match->data; local 212 const struct xt_set_info_match_v1 *info = (const void *)match->data; local [all...] |
libxt_string.c | 79 parse_string(const char *s, struct xt_string_info *info) 83 strncpy(info->pattern, s, XT_STRING_MAX_PATTERN_SIZE); 84 info->patlen = strnlen(s, XT_STRING_MAX_PATTERN_SIZE); 91 parse_hex_string(const char *s, struct xt_string_info *info) 130 info->pattern[sindex] = s[i+1]; 152 info->pattern[sindex] = (char) schar; 158 info->pattern[sindex] = s[i]; 165 info->patlen = sindex; 259 const struct xt_string_info *info = local 262 int invert = (revision == 0 ? info->u.v0.invert 283 const struct xt_string_info *info = local [all...] |
libipt_DNAT.c | 47 append_range(struct ipt_natinfo *info, const struct nf_nat_range *range) 52 size = XT_ALIGN(sizeof(*info) + info->mr.rangesize * sizeof(*range)); 54 info = realloc(info, size); 55 if (!info) 58 info->t.u.target_size = size; 59 info->mr.range[info->mr.rangesize] = *range; 60 info->mr.rangesize++ 154 struct ipt_natinfo *info = (void *)(*cb->target); local 215 const struct ipt_natinfo *info = (const void *)target; local 230 const struct ipt_natinfo *info = (const void *)target; local [all...] |
libipt_SNAT.c | 47 append_range(struct ipt_natinfo *info, const struct nf_nat_range *range) 52 size = XT_ALIGN(sizeof(*info) + info->mr.rangesize * sizeof(*range)); 54 info = realloc(info, size); 55 if (!info) 58 info->t.u.target_size = size; 59 info->mr.range[info->mr.rangesize] = *range; 60 info->mr.rangesize++ 154 struct ipt_natinfo *info = (void *)(*cb->target); local 215 const struct ipt_natinfo *info = (const void *)target; local 230 const struct ipt_natinfo *info = (const void *)target; local [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadHandler.java | 42 synchronized void enqueueDownload(DownloadInfo info) { 43 if (!mDownloadsQueue.containsKey(info.mId)) { 45 Log.i(TAG, "enqueued download. id: " + info.mId + ", uri: " + info.mUri); 47 mDownloadsQueue.put(info.mId, info); 57 DownloadInfo info = mDownloadsQueue.get(id); local 58 info.startDownloadThread(); 92 for (DownloadInfo info : mDownloadsInProgress.values()) { 93 Log.i(TAG, "** progress: " + info.mId + ", " + info.mUri) [all...] |
DownloadService.java | 65 * The Service's view of the list of downloads, mapping download IDs to the corresponding info 312 DownloadInfo info = mDownloads.get(id); local 313 if (info != null) { 314 updateDownload(reader, info, now); 316 info = insertDownload(reader, now); 319 if (info.shouldScanFile() && !scanFile(info, true, false)) { 323 if (info.hasCompletionNotification()) { 326 long next = info.nextAction(now); 344 for (DownloadInfo info : mDownloads.values()) 428 DownloadInfo info = reader.newDownloadInfo(this, mSystemFacade); local 470 DownloadInfo info = mDownloads.get(id); local [all...] |
/external/proguard/src/proguard/optimize/info/ |
ParameterUsageMarker.java | 21 package proguard.optimize.info; 222 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); local 223 if (info != null) 225 info.setParameterSize(parameterSize); 235 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); local 236 return info != null ? info.getParameterSize() : 0; 245 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); local 246 if (info != null) 248 info.setParameterUsed(variableIndex) 258 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); local 271 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); local 282 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); local [all...] |
NonPrivateMemberMarker.java | 21 package proguard.optimize.info; 139 FieldOptimizationInfo info = FieldOptimizationInfo.getFieldOptimizationInfo(field); local 140 if (info != null) 142 info.setCanNotBeMadePrivate(); 152 FieldOptimizationInfo info = FieldOptimizationInfo.getFieldOptimizationInfo(field); local 153 return info != null && 154 info.canBeMadePrivate(); 160 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); local 161 if (info != null) 163 info.setCanNotBeMadePrivate() 173 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); local [all...] |
ReadWriteFieldMarker.java | 21 package proguard.optimize.info; 131 FieldOptimizationInfo info = FieldOptimizationInfo.getFieldOptimizationInfo(field); local 132 if (info != null) 134 info.setRead(); 141 FieldOptimizationInfo info = FieldOptimizationInfo.getFieldOptimizationInfo(field); local 142 return info == null || 143 info.isRead(); 149 FieldOptimizationInfo info = FieldOptimizationInfo.getFieldOptimizationInfo(field); local 150 if (info != null) 152 info.setWritten() 159 FieldOptimizationInfo info = FieldOptimizationInfo.getFieldOptimizationInfo(field); local [all...] |
/frameworks/base/core/java/com/android/internal/net/ |
LegacyVpnInfo.java | 57 LegacyVpnInfo info = new LegacyVpnInfo(); 58 info.key = in.readString(); 59 info.state = in.readInt(); 60 info.intent = in.readParcelable(null); 61 return info;
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
CompletionInfoTest.java | 84 CompletionInfo info = new CompletionInfo(ID, POSITION, TEXT, LABEL); local 85 assertCompletionInfo(info); 87 assertEquals(0, info.describeContents()); 88 assertNotNull(info.toString()); 91 info.writeToParcel(p, 0); 98 private void assertCompletionInfo(CompletionInfo info) { 99 assertEquals(ID, info.getId()); 100 assertEquals(POSITION, info.getPosition()); 101 assertEquals(TEXT, info.getText().toString()); 102 assertEquals(LABEL, info.getLabel().toString()) [all...] |
/external/chromium/chrome/browser/ |
memory_details_mac.cc | 136 ProcessMemoryInformation info; local 137 info.pid = *it; 138 info.type = ChildProcessInfo::UNKNOWN_PROCESS; 146 if (process_info.GetProcInfo(info.pid, &proc_info)) { 157 info.product_name = version_info->product_name(); 158 info.version = version_info->product_version(); 160 info.product_name = process_data_[index].name; 161 info.version = string16(); 164 // Memory info. 165 process_info.GetCommittedKBytesOfPID(info.pid, &info.committed) 196 ProcessMemoryInformation info; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_blit.c | 74 SDL_BlitInfo info; local 78 info.s_pixels = (Uint8 *)src->pixels + 81 info.s_width = srcrect->w; 82 info.s_height = srcrect->h; 83 info.s_skip=src->pitch-info.s_width*src->format->BytesPerPixel; 84 info.d_pixels = (Uint8 *)dst->pixels + 87 info.d_width = dstrect->w; 88 info.d_height = dstrect->h; 89 info.d_skip=dst->pitch-info.d_width*dst->format->BytesPerPixel [all...] |
/external/skia/src/animator/ |
SkBuildCondensedInfo.cpp | 22 #error "SK_USE_CONDENSED_INFO must be zero to build condensed info" 25 #error "SK_BUILD_FOR_WIN32 must be defined to build condensed info" 37 static void AddInfo(SkDisplayTypes type, const SkMemberInfo* info, int infoCount) { 39 gInfos[type] = info; 44 SkASSERT(info[inner].fCount < 256); 45 int offset = (int) info[inner].fOffset; 48 if (info[inner].fType == SkType_BaseClassInfo) { 49 const SkMemberInfo* innerInfo = (const SkMemberInfo*) info[inner].fName; 52 *gUnknownsCounts.append() = info[inner].fCount; 55 if (info[inner].fType != SkType_BaseClassInfo && info[inner].fName [all...] |
/external/v8/src/ |
compiler.cc | 165 static void AbortAndDisable(CompilationInfo* info) { 166 // Disable optimization for the shared function info and mark the 167 // code as non-optimizable. The marker on the shared function info 170 // regenerated and set on the shared function info it is marked as 172 // function info. 173 Handle<SharedFunctionInfo> shared = info->shared_info(); 178 info->SetCode(code); 180 isolate->compilation_cache()->MarkForLazyOptimizing(info->closure()); 183 info->closure()->PrintName(); 185 reinterpret_cast<intptr_t>(*info->closure())) [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
ApplicationInfoTest.java | 59 ApplicationInfo info = new ApplicationInfo(); local 62 info.packageName = mPackageName; 63 ApplicationInfo copy = new ApplicationInfo(info); 64 assertEquals(info.packageName, copy.packageName); 79 ApplicationInfo info = ApplicationInfo.CREATOR.createFromParcel(p); local 80 assertEquals(mApplicationInfo.taskAffinity, info.taskAffinity); 81 assertEquals(mApplicationInfo.permission, info.permission); 82 assertEquals(mApplicationInfo.processName, info.processName); 83 assertEquals(mApplicationInfo.className, info.className); 84 assertEquals(mApplicationInfo.theme, info.theme) [all...] |
/external/jpeg/ |
jmemname.c | 204 read_backing_store (j_common_ptr cinfo, backing_store_ptr info, 208 if (fseek(info->temp_file, file_offset, SEEK_SET)) 210 if (JFREAD(info->temp_file, buffer_address, byte_count) 217 write_backing_store (j_common_ptr cinfo, backing_store_ptr info, 221 if (fseek(info->temp_file, file_offset, SEEK_SET)) 223 if (JFWRITE(info->temp_file, buffer_address, byte_count) 230 close_backing_store (j_common_ptr cinfo, backing_store_ptr info) 232 fclose(info->temp_file); /* close the file */ 233 unlink(info->temp_name); /* delete the file */ 238 TRACEMSS(cinfo, 1, JTRC_TFILE_CLOSE, info->temp_name) [all...] |
jmem-android.c | 99 read_backing_store (j_common_ptr cinfo, backing_store_ptr info, 103 if (fseek(info->temp_file, file_offset, SEEK_SET)) 105 if (JFREAD(info->temp_file, buffer_address, byte_count) 112 write_backing_store (j_common_ptr cinfo, backing_store_ptr info, 116 if (fseek(info->temp_file, file_offset, SEEK_SET)) 118 if (JFWRITE(info->temp_file, buffer_address, byte_count) 125 close_backing_store (j_common_ptr cinfo, backing_store_ptr info) 127 fclose(info->temp_file); 155 * behind the scenes. We don't have to use info->temp_name[] at all; 160 jpeg_open_backing_store (j_common_ptr cinfo, backing_store_ptr info, [all...] |
/external/webkit/Source/WebKit/gtk/tests/ |
testhittestresult.c | 36 TestInfo* info; member in struct:__anon13567 42 TestInfo* info; local 44 info = g_slice_new(TestInfo); 45 info->data = g_strdup(data); 46 info->flag = flag; 48 return info; 52 test_info_destroy(TestInfo* info) 54 g_free(info->data); 55 g_slice_free(TestInfo, info); 63 fixture->info = (TestInfo*)data 79 TestInfo* info = (TestInfo*)data; local 124 TestInfo* info = (TestInfo*)data; local [all...] |
/external/icu4c/common/ |
uts46.cpp | 69 IDNAInfo &info, UErrorCode &errorCode) const { 73 info, errorCode).toUTF8(dest); local 79 IDNAInfo &info, UErrorCode &errorCode) const { 83 info, errorCode).toUTF8(dest); local 89 IDNAInfo &info, UErrorCode &errorCode) const { 93 info, errorCode).toUTF8(dest); local 99 IDNAInfo &info, UErrorCode &errorCode) const { 103 info, errorCode).toUTF8(dest); local 118 IDNAInfo &info, UErrorCode &errorCode) const; 122 IDNAInfo &info, UErrorCode &errorCode) const 507 destString, info, errorCode); local 1228 IDNAInfo info; local 1244 IDNAInfo info; local 1260 IDNAInfo info; local 1276 IDNAInfo info; local 1292 IDNAInfo info; local 1308 IDNAInfo info; local 1324 IDNAInfo info; local 1340 IDNAInfo info; local [all...] |
/external/icu4c/io/ |
uprntf_p.c | 79 * @param info A pointer to a <TT>u_printf_spec_info</TT> struct containing 89 const u_printf_spec_info *info, 93 ufmt_type_info info; member in struct:u_printf_info 123 const u_printf_spec_info *info, 128 if(info->fShowSign) { 134 if (info->fSpace) { 162 const u_printf_spec_info *info, 167 if(info->fShowSign) { 182 const u_printf_spec_info *info, 196 const u_printf_spec_info *info, 1220 u_printf_spec_info *info = &(spec.fInfo); local [all...] |
/external/e2fsprogs/ext2ed/ |
dir_com.c | 82 struct struct_file_info search_dir_entries (int (*action) (struct struct_file_info *info),int *status) 100 struct struct_file_info info; /* Temporary variables used to */ local 104 info=first_file_info; /* Start from the first entry - Read it */ 105 low_read (info.buffer,file_system_info.block_size,info.global_block_offset); 106 dir_entry_ptr=(struct ext2_dir_entry_2 *) (info.buffer+info.dir_entry_offset); 108 while (info.file_offset < info.file_length) { /* While we haven't reached the end */ 110 *status=return_code=action (&info); /* Call the client function to test * 220 struct struct_file_info info; local 346 struct struct_file_info info; local [all...] |