Searched refs:startOffset (Results 1 - 25 of 124) sorted by path

12345

/macosx-10.9.5/AppleRAID-4.0.6/
H A DAppleRAIDUserLib.c446 UInt64 startOffset; // jbod & lvg member in struct:memberInfo
615 if (number) CFNumberGetValue(number, kCFNumberSInt64Type, &info->startOffset);
2515 // XXXTOC use kAppleRAIDMemberStartKey to find a member's startOffset
/macosx-10.9.5/CF-855.17/
H A DCFBinaryPList.c731 CF_PRIVATE bool __CFBinaryPlistCreateObjectFiltered(const uint8_t *databytes, uint64_t datalen, uint64_t startOffset, const CFBinaryPlistTrailer *trailer, CFAllocatorRef allocator, CFOptionFlags mutabilityOption, CFMutableDictionaryRef objects, CFMutableSetRef set, CFIndex curDepth, CFSetRef keyPaths, CFPropertyListRef *plist);
888 bool __CFBinaryPlistGetOffsetForValueFromArray2(const uint8_t *databytes, uint64_t datalen, uint64_t startOffset, const CFBinaryPlistTrailer *trailer, CFIndex idx, uint64_t *offset, CFMutableDictionaryRef objects) { argument
890 if (startOffset < objectsRangeStart || objectsRangeEnd < startOffset) FAIL_FALSE;
891 const uint8_t *ptr = databytes + startOffset;
918 @param startOffset The offset at which the dictionary starts.
927 bool __CFBinaryPlistGetOffsetForValueFromDictionary3(const uint8_t *databytes, uint64_t datalen, uint64_t startOffset, const CFBinaryPlistTrailer *trailer, CFTypeRef key, uint64_t *koffset, uint64_t *voffset, Boolean unused, CFMutableDictionaryRef objects) { argument
932 // Require that startOffset is in the range of the object table
934 if (startOffset < objectsRangeStart || objectsRangeEnd < startOffset) FAIL_FALS
1061 __CFBinaryPlistCreateObjectFiltered(const uint8_t *databytes, uint64_t datalen, uint64_t startOffset, const CFBinaryPlistTrailer *trailer, CFAllocatorRef allocator, CFOptionFlags mutabilityOption, CFMutableDictionaryRef objects, CFMutableSetRef set, CFIndex curDepth, CFSetRef keyPaths, CFPropertyListRef *plist) argument
1559 __CFBinaryPlistCreateObject(const uint8_t *databytes, uint64_t datalen, uint64_t startOffset, const CFBinaryPlistTrailer *trailer, CFAllocatorRef allocator, CFOptionFlags mutabilityOption, CFMutableDictionaryRef objects, CFPropertyListRef *plist) argument
[all...]
H A DForFoundationOnly.h414 CF_EXPORT bool __CFBinaryPlistGetOffsetForValueFromArray2(const uint8_t *databytes, uint64_t datalen, uint64_t startOffset, const CFBinaryPlistTrailer *trailer, CFIndex idx, uint64_t *offset, CFMutableDictionaryRef objects);
415 CF_EXPORT bool __CFBinaryPlistGetOffsetForValueFromDictionary3(const uint8_t *databytes, uint64_t datalen, uint64_t startOffset, const CFBinaryPlistTrailer *trailer, CFTypeRef key, uint64_t *koffset, uint64_t *voffset, Boolean unused, CFMutableDictionaryRef objects);
416 CF_EXPORT bool __CFBinaryPlistCreateObject(const uint8_t *databytes, uint64_t datalen, uint64_t startOffset, const CFBinaryPlistTrailer *trailer, CFAllocatorRef allocator, CFOptionFlags mutabilityOption, CFMutableDictionaryRef objects, CFPropertyListRef *plist);
/macosx-10.9.5/ICU-511.35/icuSources/test/perf/ubrkperf/
H A Dubrkperf.cpp90 UniCharCount startOffset = 0, breakOffset = 0, numUniChars = textSize;
91 startOffset = 0;
94 while (startOffset < numUniChars)
97 startOffset, &breakOffset);
98 //require_action(status == noErr, EXIT, printf( "**UCFindTextBreak failed: startOffset %d, status %d\n", (int)startOffset, (int)status));
99 //require_action((breakOffset <= numUniChars),EXIT, printf("**UCFindTextBreak breakOffset too big: startOffset %d, breakOffset %d\n", (int)startOffset, (int)breakOffset));
106 startOffset = breakOffset;
110 startOffset
[all...]
H A Dubrkperfold.cpp316 UniCharCount startOffset = 0, breakOffset = 0, numUniChars = textSize; local
317 startOffset = 0;
320 while (startOffset < numUniChars)
323 startOffset, &breakOffset);
324 //require_action(status == noErr, EXIT, printf( "**UCFindTextBreak failed: startOffset %d, status %d\n", (int)startOffset, (int)status));
325 //require_action((breakOffset <= numUniChars),EXIT, printf("**UCFindTextBreak breakOffset too big: startOffset %d, breakOffset %d\n", (int)startOffset, (int)breakOffset));
332 startOffset = breakOffset;
336 startOffset
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/bytecode/
H A DCodeBlock.cpp97 unsigned unlinkedStartOffset = unlinked->startOffset();
98 unsigned linkedStartOffset = executable->source().startOffset();
104 delta + unlinked->startOffset() + unlinked->sourceLength()));
1678 unsigned startOffset = sourceOffset + unlinkedExecutable->startOffset(); local
1680 SourceCode code(m_source, startOffset, startOffset + sourceLength, firstLine, startColumn);
1692 unsigned startOffset = sourceOffset + unlinkedExecutable->startOffset(); local
1694 SourceCode code(m_source, startOffset, startOffse
[all...]
H A DCodeBlock.h182 int& startOffset, int& endOffset, unsigned& line, unsigned& column);
H A DExpressionRangeInfo.h102 uint32_t startOffset : 7; member in struct:JSC::ExpressionRangeInfo
H A DUnlinkedCodeBlock.cpp94 , m_functionStartOffset(node->functionStart() - source.startOffset())
96 , m_startOffset(node->source().startOffset() - source.startOffset())
125 unsigned startOffset = sourceOffset + m_startOffset; local
127 SourceCode code(source.provider(), startOffset, startOffset + m_sourceLength, firstLine, startColumn);
246 int startOffset;
250 expressionRangeForBytecodeOffset(bytecodeOffset, divot, startOffset, endOffset, line, column);
255 int& divot, int& startOffset, int& endOffset, unsigned& line, unsigned& column)
260 startOffset
244 ASSERT(bytecodeOffset < instructions().size()); int divot; int startOffset; int endOffset; unsigned line; unsigned column; expressionRangeForBytecodeOffset(bytecodeOffset, divot, startOffset, endOffset, line, column); return line; } void UnlinkedCodeBlock::expressionRangeForBytecodeOffset(unsigned bytecodeOffset, int& divot, int& startOffset, int& endOffset, unsigned& line, unsigned& column) { ASSERT(bytecodeOffset < instructions().size()); if (!m_expressionInfo.size()) { startOffset = 0; endOffset = 0; divot = 0; line = 0; column = 0; return; } Vector<ExpressionRangeInfo>& expressionInfo = m_expressionInfo; int low = 0; int high = expressionInfo.size(); while (low < high) { int mid = low + (high - low) / 2; if (expressionInfo[mid].instructionOffset <= bytecodeOffset) low = mid + 1; else high = mid; } if (!low) low = 1; ExpressionRangeInfo& info = expressionInfo[low - 1]; startOffset = info.startOffset; endOffset = info.endOffset; divot = info.divotPoint; switch (info.mode) { case ExpressionRangeInfo::FatLineMode: info.decodeFatLineMode(line, column); break; case ExpressionRangeInfo::FatColumnMode: info.decodeFatColumnMode(line, column); break; case ExpressionRangeInfo::FatLineAndColumnMode: { unsigned fatIndex = info.position; ExpressionRangeInfo::FatPosition& fatPos = m_rareData->m_expressionInfoFatPositions[fatIndex]; line = fatPos.line; column = fatPos.column; break; } } } void UnlinkedCodeBlock::addExpressionInfo(unsigned instructionOffset, int divot, int startOffset, int endOffset, unsigned line, unsigned column) { if (divot > ExpressionRangeInfo::MaxDivot) { divot = 0; startOffset = 0; endOffset = 0; } else if (startOffset > ExpressionRangeInfo::MaxOffset) { startOffset = 0; endOffset = 0; } else if (endOffset > ExpressionRangeInfo::MaxOffset) argument
[all...]
H A DUnlinkedCodeBlock.h107 unsigned startOffset() const { return m_startOffset; } function in class:JSC::UnlinkedFunctionExecutable
251 int startOffset, int endOffset, unsigned line, unsigned column);
451 int& startOffset, int& endOffset, unsigned& line, unsigned& column);
/macosx-10.9.5/JavaScriptCore-7537.78.1/bytecompiler/
H A DBytecodeGenerator.cpp1704 RegisterID* BytecodeGenerator::emitCall(RegisterID* dst, RegisterID* func, ExpectedFunction expectedFunction, CallArguments& callArguments, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned line, unsigned lineStart) argument
1706 return emitCall(op_call, dst, func, expectedFunction, callArguments, divot, startOffset, endOffset, line, lineStart);
1737 RegisterID* BytecodeGenerator::emitCallEval(RegisterID* dst, RegisterID* func, CallArguments& callArguments, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned line, unsigned lineStart) argument
1739 return emitCall(op_call_eval, dst, func, NoExpectedFunction, callArguments, divot, startOffset, endOffset, line, lineStart);
1817 RegisterID* BytecodeGenerator::emitCall(OpcodeID opcodeID, RegisterID* dst, RegisterID* func, ExpectedFunction expectedFunction, CallArguments& callArguments, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned line, unsigned lineStart) argument
1840 emitExpressionInfo(divot, startOffset, endOffset, line, lineStart);
1874 RegisterID* BytecodeGenerator::emitCallVarargs(RegisterID* dst, RegisterID* func, RegisterID* thisRegister, RegisterID* arguments, RegisterID* firstFreeRegister, RegisterID* profileHookRegister, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned line, unsigned lineStart) argument
1882 emitExpressionInfo(divot, startOffset, endOffset, line, lineStart);
1934 RegisterID* BytecodeGenerator::emitConstruct(RegisterID* dst, RegisterID* func, ExpectedFunction expectedFunction, CallArguments& callArguments, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned line, unsigned lineStart) argument
1958 emitExpressionInfo(divot, startOffset, endOffse
[all...]
H A DBytecodeGenerator.h377 void emitExpressionInfo(int divot, int startOffset, int endOffset, unsigned line, int lineStart) argument
379 int sourceOffset = m_scopeNode->source().startOffset();
397 m_codeBlock->addExpressionInfo(instructionOffset, divot, startOffset, endOffset, line, column);
473 RegisterID* emitCall(RegisterID* dst, RegisterID* func, ExpectedFunction, CallArguments&, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned line, unsigned lineStart);
474 RegisterID* emitCallEval(RegisterID* dst, RegisterID* func, CallArguments&, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned line, unsigned lineStart);
475 RegisterID* emitCallVarargs(RegisterID* dst, RegisterID* func, RegisterID* thisRegister, RegisterID* arguments, RegisterID* firstFreeRegister, RegisterID* profileHookRegister, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned line, unsigned lineStart);
481 RegisterID* emitConstruct(RegisterID* dst, RegisterID* func, ExpectedFunction, CallArguments&, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned line, unsigned lineStart);
585 RegisterID* emitCall(OpcodeID, RegisterID* dst, RegisterID* func, ExpectedFunction, CallArguments&, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned line, unsigned lineStart);
H A DNodesCodegen.cpp213 location.startOffset = startPosition;
894 generator.emitExpressionInfo(startOffset(), 0, 0, lineNo(), lineStartOffset());
1485 generator.emitDebugHook(WillExecuteStatement, firstLine(), lastLine(), startOffset(), lineStartOffset());
1528 generator.emitDebugHook(WillExecuteStatement, firstLine(), lastLine(), startOffset(), lineStartOffset());
1535 generator.emitDebugHook(DidReachBreakpoint, firstLine(), lastLine(), startOffset(), lineStartOffset());
1543 generator.emitDebugHook(WillExecuteStatement, firstLine(), lastLine(), startOffset(), lineStartOffset());
1552 generator.emitDebugHook(WillExecuteStatement, firstLine(), lastLine(), startOffset(), lineStartOffset());
1597 generator.emitDebugHook(WillExecuteStatement, firstLine(), lastLine(), startOffset(), lineStartOffset());
1634 generator.emitDebugHook(WillExecuteStatement, lastLine(), lastLine(), startOffset(), lineStartOffset());
1639 generator.emitDebugHook(WillExecuteStatement, lastLine(), lastLine(), startOffset(), lineStartOffse
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/interpreter/
H A DInterpreter.cpp460 int startOffset = 0; local
467 codeBlock->expressionRangeForBytecodeOffset(bytecodeOffset, divotPoint, startOffset, endOffset, line, column);
469 int expressionStart = divotPoint - startOffset;
634 void StackFrame::expressionInfo(int& divot, int& startOffset, int& endOffset, unsigned& line, unsigned& column) argument
636 codeBlock->expressionRangeForBytecodeOffset(bytecodeOffset, divot, startOffset, endOffset, line, column);
H A DInterpreter.h132 void expressionInfo(int& divot, int& startOffset, int& endOffset, unsigned& line, unsigned& column);
/macosx-10.9.5/JavaScriptCore-7537.78.1/parser/
H A DASTBuilder.h286 body->setLoc(bodyStartLine, bodyEndLine, location.startOffset, location.lineStartOffset);
303 body->setLoc(bodyStartLine, bodyEndLine, location.startOffset, location.lineStartOffset);
310 body->setLoc(bodyStartLine, bodyEndLine, location.startOffset, location.lineStartOffset);
347 body->setLoc(bodyStartLine, bodyEndLine, location.startOffset, location.lineStartOffset);
354 block->setLoc(startLine, endLine, location.startOffset, location.lineStartOffset);
361 result->setLoc(start, end, location.startOffset, location.lineStartOffset);
368 result->setLoc(start, end, location.startOffset, location.lineStartOffset);
375 result->setLoc(start, end, location.startOffset, location.lineStartOffset);
382 result->setLoc(startLine, endLine, location.startOffset, location.lineStartOffset);
390 result->setLoc(start, end, location.startOffset, locatio
[all...]
H A DLexer.h371 tokenLocation->startOffset = offsetFromSourcePtr(start);
373 ASSERT(tokenLocation->startOffset >= tokenLocation->lineStartOffset);
H A DNodeConstructors.h47 , m_startOffset(location.startOffset)
50 ASSERT(location.startOffset >= location.lineStartOffset);
105 inline ResolveNode::ResolveNode(const JSTokenLocation& location, const Identifier& ident, unsigned startOffset, unsigned divotLine, unsigned divotLineStart) argument
108 , m_startOffset(startOffset)
249 inline EvalFunctionCallNode::EvalFunctionCallNode(const JSTokenLocation& location, ArgumentsNode* args, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
251 , ThrowableExpressionData(divot, startOffset, endOffset, divotLine, divotLineStart)
257 inline FunctionCallValueNode::FunctionCallValueNode(const JSTokenLocation& location, ExpressionNode* expr, ArgumentsNode* args, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
259 , ThrowableExpressionData(divot, startOffset, endOffset, divotLine, divotLineStart)
265 inline FunctionCallResolveNode::FunctionCallResolveNode(const JSTokenLocation& location, const Identifier& ident, ArgumentsNode* args, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
267 , ThrowableExpressionData(divot, startOffset, endOffse
273 FunctionCallBracketNode(const JSTokenLocation& location, ExpressionNode* base, ExpressionNode* subscript, ArgumentsNode* args, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
282 FunctionCallDotNode(const JSTokenLocation& location, ExpressionNode* base, const Identifier& ident, ArgumentsNode* args, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
291 CallFunctionCallDotNode(const JSTokenLocation& location, ExpressionNode* base, const Identifier& ident, ArgumentsNode* args, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
296 ApplyFunctionCallDotNode(const JSTokenLocation& location, ExpressionNode* base, const Identifier& ident, ArgumentsNode* args, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
301 PostfixNode(const JSTokenLocation& location, ExpressionNode* expr, Operator oper, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
306 DeleteResolveNode(const JSTokenLocation& location, const Identifier& ident, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
313 DeleteBracketNode(const JSTokenLocation& location, ExpressionNode* base, ExpressionNode* subscript, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
321 DeleteDotNode(const JSTokenLocation& location, ExpressionNode* base, const Identifier& ident, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
353 PrefixNode(const JSTokenLocation& location, ExpressionNode* expr, Operator oper, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
539 ReadModifyResolveNode(const JSTokenLocation& location, const Identifier& ident, Operator oper, ExpressionNode* right, bool rightHasAssignments, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
558 ReadModifyBracketNode(const JSTokenLocation& location, ExpressionNode* base, ExpressionNode* subscript, Operator oper, ExpressionNode* right, bool subscriptHasAssignments, bool rightHasAssignments, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
570 AssignBracketNode(const JSTokenLocation& location, ExpressionNode* base, ExpressionNode* subscript, ExpressionNode* right, bool subscriptHasAssignments, bool rightHasAssignments, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
581 AssignDotNode(const JSTokenLocation& location, ExpressionNode* base, const Identifier& ident, ExpressionNode* right, bool rightHasAssignments, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
591 ReadModifyDotNode(const JSTokenLocation& location, ExpressionNode* base, const Identifier& ident, Operator oper, ExpressionNode* right, bool rightHasAssignments, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
602 AssignErrorNode(const JSTokenLocation& location, unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
825 ForInNode(VM* vm, const JSTokenLocation& location, const Identifier& ident, ExpressionNode* in, ExpressionNode* expr, StatementNode* statement, unsigned divot, int startOffset, int endOffset, unsigned divotLine, unsigned divotLineStart) argument
[all...]
H A DNodes.cpp55 void StatementNode::setLoc(unsigned firstLine, unsigned lastLine, int startOffset, int lineStartOffset) argument
59 m_startOffset = startOffset;
85 , m_startStartOffset(startLocation.startOffset)
97 , m_startStartOffset(startLocation.startOffset)
H A DNodes.h133 int startOffset() const { return m_startOffset; } function in class:JSC::Node
182 void setLoc(unsigned firstLine, unsigned lastLine, int startOffset, int lineStartOffset);
265 ThrowableExpressionData(unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
267 , m_divotStartOffset(startOffset)
275 void setExceptionSourceCode(unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
279 m_divotStartOffset = startOffset;
312 ThrowableSubExpressionData(unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
313 : ThrowableExpressionData(divot, startOffset, endOffset, divotLine, divotLineStart)
361 ThrowablePrefixedSubExpressionData(unsigned divot, unsigned startOffset, unsigned endOffset, unsigned divotLine, unsigned divotLineStart) argument
362 : ThrowableExpressionData(divot, startOffset, endOffse
[all...]
H A DParser.cpp85 m_token.m_location.endOffset = source.startOffset();
86 m_token.m_location.lineStartOffset = source.startOffset();
166 unsigned startOffset = m_token.m_location.startOffset; local
179 m_lexer->setOffset(startOffset, startLineStartOffset);
788 *directiveLiteralLength = m_token.m_location.endOffset - m_token.m_location.startOffset;
838 int functionStart = m_token.m_location.startOffset;
866 endLocation.startOffset = cachedInfo->closeBraceOffset;
868 ASSERT(endLocation.startOffset >= endLocation.lineStartOffset);
1359 int startOffset local
[all...]
H A DParser.h527 return m_token.m_location.startOffset;
1041 endLocation.startOffset = m_lexer->currentOffset();
H A DParserTokens.h164 JSTokenLocation() : line(0), lineStartOffset(0), startOffset(0) { }
169 startOffset = location.startOffset;
175 unsigned startOffset; member in struct:JSC::JSTokenLocation
H A DSourceCode.h100 int startOffset() const { return m_startChar; } function in class:JSC::SourceCode
H A DSourceProviderCacheItem.h64 token.m_location.startOffset = closeBraceOffset;

Completed in 331 milliseconds

12345